UM10850
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 2.4 — 13 September 2016
82 of 464
NXP Semiconductors
UM10850
Chapter 5: LPC5410x Power Management
Deep-sleep mode eliminates all power used by analog peripherals and all dynamic power
used by the processor itself, memory systems and related controllers, and internal buses.
The processor state and registers, peripheral registers, and internal SRAM values are
maintained, and the logic levels of the pins remain static.
5.3.4.1 Power configuration in Deep-sleep mode
Power consumption in Deep-sleep mode is determined primarily by which analog
wake-up sources remain enabled. Serial peripherals and pin interrupts configured to wake
up the contribute to the power consumption only to the extent that they are clocked by
external sources. All wake-up events (other than reset) must be enabled in the STARTER
registers and in the NVIC. In addition, any related analog block (e.g. the RTC oscillator or
the watchdog oscillator) must be explicitly enabled through the power API function
power_mode_configure() for wake-up. See
.
5.3.4.2 Programming Deep-sleep mode
The following steps must be performed to enter Deep-sleep mode:
1. Select wake-up sources and enable all selected wake-up events in the STARTER
registers (
) and in the NVIC.
2. Select the IRC as the main clock and set the AHBCLKDIV register to 1. See
,
, and
3. Call the power API with the parameter
peripheral
set to enable the analog peripherals
the serve as wake-up sources (see
Table 471 “Chip_POWER_EnterPowerMode
pPWRD->power_mode_configure(DEEP_SLEEP, peripheral);
4. Execute the WFI instruction.
5.3.4.3 Wake-up from Deep-sleep mode
The part can wake up from Deep-sleep mode in the following ways:
•
Using a signal on one of the eight pin interrupts selected in
. Each pin interrupt must also be enabled in the STARTER0 register
(
) and in the NVIC.
•
Using an interrupt from a block such as the watchdog interrupt or RTC interrupt, when
enabled during the reduced power mode via the power API. Also enable the wake-up
sources in the STARTER registers (
and
) and the NVIC.
•
Using a reset from the RESET pin, or the BOD or WWDT (if enabled in the power
API).
•
Using a wake-up signal from any of the serial peripherals that are operating in
Deep-sleep mode. Also enable the wake-up sources in the STARTER registers
(
and
) and the NVIC.
•
GPIO group interrupt signal. The interrupt must also be enabled in the STARTER1
register (
) and in the NVIC.
•
RTC alarm signal or wake-up signal. See
. Interrupts must also be enabled
in the STARTER1 register (
) and in the NVIC.