UM11029
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
User manual
Rev. 1.0 — 16 June 2017
257 of 515
NXP Semiconductors
UM11029
Chapter 15: LPC84x Reduced power modes and power management
15.7.6.2 Programming power-down mode
The following steps must be performed to enter power-down mode:
1. The PM bits in the PCON register must be set to 0x2 (
2. Select the power configuration in power-down mode in the PDSLEEPCFG
(
) register.
3. Select the power configuration after wake-up in the PDAWAKECFG (
register.
4. If any of the available wake-up interrupts are used for wake-up, enable the interrupts
in the interrupt wake-up registers (
,
) and in the NVIC.
5. Select the FRO as the main clock. See
.
6. Write one to the SLEEPDEEP bit in the ARM Cortex-M0+ SCR register (
).
7. Use the ARM WFI instruction.
15.7.6.3 Wake-up from power-down mode
The microcontroller can wake up from power-down mode in the same way as from
deep-sleep mode:
•
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 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 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.
–
Via any of the USART blocks. See
Section 17.3.2 “Configure the USART for
–
Via the I2C. See
.
–
Via any of the SPI blocks. See
Remark:
If the BOD is enabled in active mode and the user needs to disable the BOD
in deep-sleep mode, disable the BOD reset (bit 4 in the BODCTRL register) before
entering power-down mode. After wake-up, enable the BOD reset (bit 4 in the
BODCTRL register).
15.7.7 Deep power-down mode
In deep power-down mode, power and clocks are shut off to the entire chip with the
exception of the WAKEUP pin, RESET pin, and the self-wake-up timer.