Stop 1 Mode; Table 51. Stop 0 Mode - ST STM32WL5 Series Reference Manual

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Hide thumbs Also See for STM32WL5 Series:
Table of Contents

Advertisement

RM0453
When exiting the Stop 0 mode, the MCU is either in Run mode (range 1 or range 2
depending on VOS bit in
LPR is set in the same register.
Stop 0
Mode entry
Mode exit
Wakeup latency
6.5.8

Stop 1 mode

The Stop 1 mode is the same as Stop 0 mode except that the main regulator is off, and only
the low-power regulator is on. Stop 1 mode can be entered from Run mode and from LPRun
mode. The device only enters Stop 1 mode once the low-power regulator is ready. The
PWR control register 1

Table 51. Stop 0 mode

WFI (wait for interrupt) or WFE (wait for event) while:
– SLEEPDEEP bit is set in Cortex system control register
– No interrupt (for WFI) or event (for WFE) is pending
– LPMS = 0b000 in PWR_CR1 and/or PWR_C2CR1 or higher
On return from ISR while:
– SLEEPDEEP bit is set in Cortex system control register
– SLEEPONEXIT = 1
– No interrupt is pending
– LPMS = 0b000 in PWR_CR1 and/or PWR_C2CR1 or higher
Note: To enter Stop 0 mode, all EXTI line pending bits (in
(EXTI_PR1), and
flags generating wakeup interrupts must be cleared. Otherwise, the Stop 0
mode entry procedure is ignored and program execution continues.
If WFI or return from ISR was used for entry
Any EXTI line configured in Interrupt mode (the corresponding EXTI interrupt
vector must be enabled in the NVIC). The interrupt source can be external
interrupts or peripherals with wakeup capability. Refer to
table, and
Table 90: CPU2 vector
If WFE was used for entry and SEVONPEND = 0:
Any EXTI line configured in event mode. Refer to
If WFE was used for entry and SEVONPEND = 1:
Any EXTI line configured in Interrupt mode (even if the corresponding EXTI
interrupt vector is disabled in the NVIC). The interrupt source can be external
interrupts or peripherals with wakeup capability. Refer
table, and
Table 90: CPU2 vector
Wakeup event: refer to
Longest wakeup time between: MSI or HSI16 wakeup time and Flash memory
wakeup time from Stop 0 mode.
RM0453 Rev 1
(PWR_CR1)) or in LPRun mode if the bit
Description
EXTI pending register
(EXTI_PR2)), and the peripheral
table.
table.
Table 93: Wakeup
interrupts.
Power control (PWR)
EXTI pending register
Table 89: CPU1 vector
Table 93: Wakeup
interrupts.
toTable 89: CPU1 vector
247/1461
276

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32WL5 Series and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF