how to store rtc time in lpc 2148 if power down?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to store rtc time in lpc 2148 if power down?

877 Views
atulclassesbalt
Contributor I

I am using lpc 2148 arm7 board from nxp. I have used your example for rtc clock. It is working well but when I switches off the power of the board and again switches on the board the current time is not shown. it is not storing. as there is 3.2 volt on 49 pin of ic. why?

0 Kudos
Reply
1 Reply

709 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Atul,

Have you ensured that your software is not initializing the RTC registers (so, stored values are overwritten)?

Additionally, you could take a look at the following links:

https://www.embeddedrelated.com/showthread/lpc2000/38240-1.php

https://www.lpcware.com/content/forum/rtc-battery-backup

You could also take a look at section 18.5 “RTC usage notes” of the LPC2148 User Manual.


Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply