UM10360 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
User manual Rev. 3 — 19 December 2013  60 of 841
NXP Semiconductors
UM10360
Chapter 4: LPC176x/5x Clocking and power control
When the chip enters the Deep Sleep mode, the main oscillator is powered down, nearly 
all clocks are stopped, and the DSFLAG bit in PCON is set, see Table 44
. The IRC 
remains running and can be configured to drive the Watchdog Timer, allowing the 
Watchdog to wake up the CPU. The 32 kHz RTC oscillator is not stopped and RTC 
interrupts may be used as a wake-up source. The flash is left in the standby mode 
allowing a quick wake-up. The PLLs are automatically turned off and disconnected. The 
CCLK and USBCLK clock dividers automatically get reset to zero.
The processor state and registers, peripheral registers, and internal SRAM values are 
preserved throughout Deep Sleep mode and the logic levels of chip pins remain static. 
The Deep Sleep mode can be terminated and normal operation resumed by either a 
Reset or certain specific interrupts that are able to function without clocks. Since all 
dynamic operation of the chip is suspended, Deep Sleep mode reduces chip power 
consumption to a very low value.
On the wake-up of Deep Sleep mode, if the IRC was used before entering Deep Sleep 
mode, a 2-bit IRC timer starts counting and the code execution and peripherals activities 
will resume after the timer expires (4 cycles). If the main external oscillator was used, the 
12-bit main oscillator timer starts counting and the code execution will resume when the 
timer expires (4096 cycles). The user must remember to re-configure any required PLLs 
and clock dividers after the wake-up.
Wake-up from Deep Sleep mode can be brought about by NMI, External Interrupts EINT0 
through EINT3, GPIO interrupts, the Ethernet Wake-on-LAN interrupt, Brownout Detect, 
an RTC Alarm interrupt, a Watchdog Timer time out, a USB input pin transition (USB 
activity interrupt), or a CAN input pin transition, when the related interrupt is enabled. 
Wake-up will occur whenever any enabled interrupt occurs.
4.8.3 Power-down mode
Power-down mode does everything that Deep Sleep mode does, but also turns off the 
flash memory. Entry to Power-down mode causes the PDFLAG bit in PCON to be set, see 
Table 44
. This saves more power, but requires waiting for resumption of flash operation 
before execution of code or data access in the flash memory can be accomplished.
When the chip enters Power-down mode, the IRC, the main oscillator, and all clocks are 
stopped. The RTC remains running if it has been enabled and RTC interrupts may be 
used to wake up the CPU. The flash is forced into Power-down mode. The PLLs are 
automatically turned off and disconnected. The CCLK and USBCLK clock dividers 
automatically get reset to zero.
Upon wake-up from Power-down mode, if the IRC was used before entering Power-down 
mode, after IRC-start-up time (about 60 s), the 2-bit IRC timer starts counting and 
expiring in 4 cycles. Code execution can then be resumed immediately following the 
expiration of the IRC timer if the code was running from SRAM. In the meantime, the flash 
wake-up timer measures flash start-up time of about 100 s. When it times out, access to 
the flash is enabled. The user must remember to re-configure any required PLLs and 
clock dividers after the wake-up.
Wake-up from Power-down mode can be brought about by NMI, External Interrupts EINT0 
through EINT3, GPIO interrupts, the Ethernet Wake-on-LAN interrupt, Brownout Detect, 
an RTC Alarm interrupt, a USB input pin transition (USB activity interrupt), or a CAN input 
pin transition, when the related interrupt is enabled.