Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] LPC2138 rtc battery backup does not work correctly

Status
Not open for further replies.

mi14chal

Newbie level 5
Newbie level 5
Joined
Oct 30, 2010
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,354
I have a problem with an internal RTC in LPC2138 b/c battery backup does not work, when I unplug power supply and then plug it I get a random time it seems that battery backup does not work correctly but why? Here is a schematic of connection page 1: https://wydawnictwo.btc.pl/pdf/zl7arm.pdf and this code I'm using to configure RTC:
Code:
CCR = (1 << 0) | (1 << 4); // Clock enable and choose the external oscillator
 

I found out why it won't work. This module which I bought has connection between Vbat and Vdd... so a battery is not enough to power uC. I chose external RTC and now it works perfectly.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top