![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 159](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_1721827159.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
159 of 1441
NXP Semiconductors
UM10503
Chapter 12: LPC43xx/LPC43Sxx Power Management Controller (PMC)
12.2.1 Active mode
By default, the LPC43xx/LPC43Sxx is in Active mode, which means that every peripheral
can perform a functional operation at nominal operating conditions.
12.2.2 Sleep mode
In Sleep mode, the CPU clock is shut down to save power; the peripherals can still remain
active and fully functional. The Sleep mode is entered by a WFI or WFE instruction if the
SLEEPDEEP bit in the ARM Cortex-M4 system control register is set to 0. Independently
of the M4 core, each ARM Cortex-M0 core can enter its own sleep mode if the M0 core’s
SLEEPDEEP bit is set to 0 and software issues a WFI/WFE instruction to the M0 core.
The part can wake up from sleep mode through any enabled interrupt in the the core’s
NVIC or any enabled event in the event router if the event router interrupt is enabled in the
NVIC.
12.2.3 Deep-sleep mode
In Deep-sleep mode the CPU clock and peripheral clocks are shut down to save power;
logic states and SRAM memory are maintained. All analog blocks and the BOD control
circuit are powered down.
Remark:
Before entering Deep-sleep mode, program the CGU as follows:
•
Switch the clock source of all base clocks to the IRC.
•
Put the PLLs in power-down mode.
Reprogramming the CGU avoids any undefined or unlocked PLL clocks at wake-up and
minimizes power consumption during Deep-sleep mode.
Any ARM Cortex core can put the part in Deep-sleep mode depending on which core is
enabled in the PD0_SLEEP0_HW_ENA register.
To enter Deep-sleep mode, follow these steps:
1. In the
PD0_SLEEP0_HW_ENA register, enable Deep-sleep mode for the M4 core or the M0
cores.
2. In the
PD0_SLEEP0_MODE register,
write the Deep-sleep value
0x0030 00AA.
3. In the ARM Cortex core control register for the core or cores enabled in step 1, set the
SLEEPDEEP bit.
4. Issue a WFI or WFE instruction for the core or cores enabled in step 1.
The part can wake up from Deep-sleep mode only through a signal on any of the
WAKEUP pins or a signal from the alarm timer or RTC. Enable the wake-up signals in the
event router. See
.
When the LPC43xx wakes up from Deep-sleep mode, the 12 MHz IRC is used as the
clock source for all base clocks.