Standby Mode; Table 45. Stop 2 Mode - STMicroelectronics STM32WLEx Reference Manual

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Table of Contents

Advertisement

Power control (PWR)
Stop 2
Mode entry
Mode exit
Wakeup latency
5.4.10

Standby mode

The Standby mode allows the lowest power consumption to be achieved with BOR. It is
based on the CPU Deep-Sleep mode, with the voltage regulators disabled (except when
SRAM2 content is preserved). PLL, HSI16, MSI and HSE32 oscillators are also switched
off.
SRAM1 and register contents are lost except for registers in the Backup domain and
Standby circuitry (see
the
PWR control register 3
provides the supply to SRAM2 only. When the SRAM2 retention is enabled the device only
enters Standby mode once the low-power regulator is ready. The REGLPS bit can be used
to check that the low-power regulator is ready. Immediately exiting from Standby mode with
SRAM2 retention may be delayed until the low-power regulator is ready.
BOR is always available in Standby modes. The consumption is increased when thresholds
higher than V
BOR and PDR can be activated to sample periodically the supply voltage. This option
enabled by setting the ULPEN bit of the PWR_CR3 register allows the current consumption
to be decreased in this mode, but any drop of the voltage below the operating conditions
between two active periods of the supply detector results in a non-generation of PDR reset.
I/O states in Standby mode
In Standby mode, the I/Os can be configured either with a pull-up (refer to PWR_PUCRx
registers (x = A, B, C, H)), or with a pull-down (refer to PWR_PDCRx registers (x = A, B, C,
H)), or can be kept in analog state.
208/1306

Table 45. Stop 2 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 = 0b010 in PWR_CR1
On return from ISR while:
– SLEEPDEEP bit is set in Cortex system control register
– SLEEPONEXIT = 1
– No interrupt is pending
– LPMS = 0b010 in PWR_CR1
Note: To enter Stop 2 mode, all EXTI line pending bits in
(EXTI_PR1), and
flags generating wakeup interrupts must be cleared. Otherwise, the
Standby mode entry procedure is ignored and program execution
continues.
Any EXTI line configured in Interrupt mode or event mode (regardless if the
corresponding EXTI interrupt vector is enabled in the NVIC). The interrupt source
can be external interrupts or peripherals with wakeup capability. Refer to
Vector
table.
Longest wakeup time between: MSI or HSI16 wakeup time and regulator wakeup
time from Low-power mode + flash wakeup time from Stop 2 mode.
Figure
14). SRAM2 content can be preserved if the bit RRS is set in
(PWR_CR3). In this case the low-power regulator is enabled and
are used.
BOR0
RM0461 Rev 5
Description
EXTI pending register
(EXTI_PR2)), and the peripheral
RM0461
EXTI pending register
Table 78:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents