maintaining variables through a power cycle

Question about power
Post Reply
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

maintaining variables through a power cycle

Post by YahooArchive »

>from the help line

>Does it have any way to save user data between power cycles.

>If I add the battery I knwo the clock keeps running and when it powers up it
re-starts the program. IS there any way to keep any setpoint between power
cycles? Is there a way to add a battery to holdup the Ram on your design? Or do
I have to add a serial flash device for this?

In the LPC2000 series parts RAM is NOT maintained by Vbat.

The Flash is available for writes (details in the help files under WRITE and
memory maps in the hardware specs section).

In the LPC1700 series RAM is NOT maintained, but 20 bytes in the RTC register
set are held by Vbat (details in the NXP user manual)

Other alternatives would be serial Flash (very cheap and just a few wires to
hook up.

Post Reply