Power control (PWR)
Stop 0 mode
Mode entry
Mode exit
Wakeup latency
5.3.7
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
Low-power run mode.
Refer to
206/2083
WFI (Wait for Interrupt) or WFE (Wait for Event) while:
– SLEEPDEEP bit is set in Cortex
– No interrupt (for WFI) or event (for WFE) is pending
– LPMS = "000" in PWR_CR1
On Return from ISR while:
– SLEEPDEEP bit is set in Cortex
– SLEEPONEXIT = 1
– No interrupt is pending
– LPMS = "000" in PWR_CR1
Note: To enter Stop 0 mode, all EXTI Line pending bits (in
register 1
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 86: STM32G4 Series vector
If WFE was used for entry and SEVONPEND = 0:
Any EXTI Line configured in event mode. Refer to
event
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
toTable 86: STM32G4 Series vector
Wakeup event: refer to
Longest wakeup time between: HSI16 wakeup time and Flash wakeup time
from Stop 0 mode.
Table 36: Stop 1 mode
Table 35. Stop 0 mode
Description
(EXTI_PR1)), and the peripheral flags generating wakeup
management.
Section 2.3.2: Wakeup event management
for details on how to enter and exit Stop 1 mode.
RM0440 Rev 1
®
-M4 with FPU System Control register
®
-M4 with FPU System Control register
table.
Section 2.3.2: Wakeup
table.
RM0440
Pending
Need help?
Do you have a question about the STM32G4 Series and is the answer not in the manual?