Power control and the watchdog

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

Power control and the watchdog

488 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rfk on Wed Aug 07 06:06:14 MST 2013
Hello,

currently I am working with an LPC1778 based board and want to implement power control. There are 2 SDRAM chips connected to the MCU. On the LPC2214 predecessor board I was using Power-down mode so I wanted to port that functionality to the new board. Unfortunately it seems like the LPC1778 only enters Sleep mode, no matter what's configured in the PCON and SCR registers. My assumption is based on the following facts:

[list=1]
  [*] Depending on the MCU frequency (CCLK) the current consumption of the board only changes relatively, e.g. the Deep Power-down current is higher when powering down from 120 MHz rather than from 30 MHz.
  [*] The standby current consumption of the different modes is always the same, it doesn't matter whether the SCR/PCON registers are configured to Sleep, Deep Sleep, Power-down or even Deep Power-down.
  [*] After wake-up (caused by an interrupt) it is not neccessary to reinitialize the PLL, also the timers remain running all the time.
[/list]

Any thoughts on that?

Another issue is that a configured watchdog resets the system during "standby". I could send the ARM7-MCU into Power-down mode for several minutes with an active watchdog (configured to a few seconds). After wake-up the watchdog was immediately fed and the system continued to run. Maybe this issue is related to the problem above but according to the user manual the watchdog timer continues to run even in Power-down mode. Do I really have to permanently wake up before the timer expires, feed the watchdog and then power-down again?

Thanks in advance.
Labels (1)
0 Kudos
1 Reply

437 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rfk on Tue Nov 12 02:41:32 MST 2013
My issues have been resolved. Seems like you have to power-cycle the MCU after programming it via JTAG to make it enter Power-down mode - a simple reset is not enough. By the way, as the watchdog continues to run in Power-down it is indeed necessary to make the RTC wake the MCU once in a while in order to feed the dog.
0 Kudos