Power controller (PWR)
RM0090
130/1731
DocID018909 Rev 11
5.3.4 Stop
mode
(STM32F405xx/07xx and STM32F415xx/17xx)
The Stop mode is based on the Cortex
®
-M4 with FPU deepsleep mode combined with
peripheral clock gating. The voltage regulator can be configured either in normal or low-
power mode. In Stop mode, all clocks in the 1.2 V domain are stopped, the PLLs, the HSI
and the HSE RC oscillators are disabled. Internal SRAM and register contents are
preserved.
By setting the FPDS bit in the PWR_CR register, the Flash memory also enters power-down
mode when the device enters Stop mode. When the Flash memory is in power-down mode,
an additional startup delay is incurred when waking up from Stop mode (see
operating modes (STM32F405xx/07xx and STM32F415xx/17xx)
power control register (PWR_CR) for STM32F405xx/07xx and STM32F415xx/17xx
).
Mode exit
If WFI or Return from ISR was used for entry:
Interrupt: Refer to
Table 61: Vector table for STM32F405xx/07xx and
and
Table 62: Vector table for STM32F42xxx and
If WFE was used for entry and SEVONPEND = 0
Wakeup event: Refer to
Section 12.2.3: Wakeup event management
f WFE was used for entry and SEVONPEND = 1
Interrupt even when disabled in NVIC: refer to
STM32F405xx/07xx and STM32F415xx/17xx
and
for STM32F42xxx and STM32F43xxx
or Wakeup event (see
Section 12.2.3: Wakeup event management
Wakeup latency
None
Table 25. Sleep-on-exit entry and exit
Sleep-on-exit
Description
Mode entry
WFI (Wait for Interrupt) or WFE (Wait for Event) while:
– SLEEPDEEP = 0, and
– No interrupt (for WFI) or event (for WFE) is pending.
Refer to the Cortex
®
-M4 with FPU System Control register.
On Return from ISR while:
– SLEEPDEEP = 0, and
– SLEEPONEXIT = 1, and
– No interrupt is pending.
Refer to the Cortex
®
-M4 with FPU System Control register.
Mode exit
Interrupt: refer to
Table 61: Vector table for STM32F405xx/07xx and
and
Table 62: Vector table for STM32F42xxx and
Wakeup latency
None
Table 24. Sleep-now entry and exit (continued)
Sleep-now mode
Description