Is SRAM Preserved in Various Sleep/Power Modes

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Is SRAM Preserved in Various Sleep/Power Modes

977 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Wed Apr 18 23:29:01 MST 2012
[FONT=Tahoma]I'm specifiaclly interested[/FONT] in the LPC1778 (208 pin) part.

[FONT=Tahoma]There are mentions of SRAM preservation for some of the modes, but no statement one way or the other for the rest.

Can anyone give a [I]definative[/I] chart for SRAM value retention for
  SLEEP,  DEEP SLEEP, POWER DOWN, DEEP POWER DOWN, and NOT POWERED (I can hope).

The reason is that I want to detect power fail (i.e. unit is unplugged from supply) and switch to a battery to maintain SRAM (if possible, the same battery used for the RTC).

Obviously, I want the lowest drain on the battery that preserves SRAM so that on next power up certain user data is still available. (I don't care about PLLs, peripheral state etc, but want RTC time/date, as I expect a subsequent POR.)

Note there will be up to 16K of data so the RTC backup registers are not suitable and due to change frequency, I cannot use flash/eeprom for storage.

[B]To Recap, what is the lowest power mode that preserves (main) SRAM?[/B]

Cheers, Mike


[/FONT]
0 项奖励
2 回复数

776 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Thu Apr 19 01:18:01 MST 2012
[FONT=Tahoma]Thanks for the info.
Case closed.[/FONT]
0 项奖励

776 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Europe on Thu Apr 19 00:16:27 MST 2012
Hi,

SRAM is preserved in Sleep mode, Deep Sleep mode and Power-down mode.
When in Deep Power-down mode or not powered, SRAM is not preserved.

Regards,
0 项奖励