UM10462
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 5.5 — 21 December 2016
50 of 523
NXP Semiconductors
UM10462
Chapter 3: LPC11U3x/2x/1x System control block
5. Select the power configuration after wake-up in the PDAWAKECFG (
register.
6. If any of the available wake-up interrupts are needed for wake-up, enable the
interrupts in the interrupt wake-up registers (
,
) and in the NVIC.
7. Write one to the SLEEPDEEP bit in the ARM Cortex-M0 SCR register.
8. Use the ARM WFI instruction.
3.9.4.3 Wake-up from Deep-sleep mode
The microcontroller can wake up from Deep-sleep mode in the following ways:
•
Signal on one of the eight pin interrupts selected in
. Each pin interrupt must
also be enabled in the STARTERP0 register (
) and in the NVIC.
•
BOD signal, if the BOD is enabled in the PDSLEEPCFG register:
–
BOD interrupt using the deep-sleep interrupt wake-up register 1 (
). The
BOD interrupt must be enabled in the NVIC. The BOD interrupt must be selected in
the BODCTRL register.
–
Reset from the BOD circuit. In this case, the BOD circuit must be enabled in the
PDSLEEPCFG register, and the BOD reset must be enabled in the BODCTRL
register (
).
•
WWDT signal, if the watchdog oscillator is enabled in the PDSLEEPCFG register:
–
WWDT interrupt using the interrupt wake-up register 1 (
). The WWDT
interrupt must be enabled in the NVIC. The WWDT interrupt must be set in the
WWDT MOD register.
–
Reset from the watchdog timer. The WWDT reset must be set in the WWDT MOD
register. In this case, the watchdog oscillator must be running in Deep-sleep mode
(see PDSLEEPCFG register), and the WDT must be enabled in the
SYSAHBCLKCTRL register.
•
USB wake-up signal using the interrupt wake-up register 1 (
). For details, see
.
•
GPIO group interrupt signal (see
).
Remark:
If the watchdog oscillator is running in Deep-sleep mode, its frequency
determines the wake-up time.
Remark:
If the application in active mode uses a main clock different from the IRC,
reprogram the clock source for the main clock in the MAINCLKSEL register after waking
up.
3.9.5 Power-down mode
In Power-down mode, the system clock to the processor is disabled as in Sleep mode. All
analog blocks are powered down, except for the BOD circuit and the watchdog oscillator,
which must be selected or deselected during Power-down mode in the PDSLEEPCFG
register. The main clock and therefore all peripheral clocks are disabled except for the
clock to the watchdog timer if the watchdog oscillator is selected. The IRC itself and the
flash are powered down, decreasing power consumption compared to Deep-sleep mode.