EasyManuals Logo

STMicroelectronics STM32WL5 Series User Manual

STMicroelectronics STM32WL5 Series
1450 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #259 background imageLoading...
Page #259 background image
RM0453 Rev 5 259/1450
RM0453 Power control (PWR)
285
exiting the Stop 2 mode, the MCU is in Run mode (range 1 or range 2 depending on VOS bit
in PWR_CR1).
6.5.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 Figure 18). SRAM2 content can be preserved if the bit RRS is set in
the PWR control register 3 (PWR_CR3). In this case the low-power regulator is enabled and
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
BOR0
are used.
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.
Table 53. Stop 2 mode
Stop 2 Description
Mode entry
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 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 = 0b010 in PWR_CR1 and/or PWR_C2CR1 or higher
Note: To enter Stop 2 mode, all EXTI line pending bits in EXTI pending register
(EXTI_PR1), and EXTI pending register (EXTI_PR2)), and the peripheral
flags generating wake-up interrupts must be cleared. Otherwise, the
Standby mode entry procedure is ignored and program execution
continues.
Mode exit
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 wake-up capability. Refer to Table 89:
CPU1 vector table, and Table 90: CPU2 vector table.
Wake-up
latency
Longest wake-up time between: MSI or HSI16 wake-up time and regulator wake-
up time from Low-power mode + flash wake-up time from Stop 2 mode.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

STMicroelectronics STM32WL5 Series Specifications

General IconGeneral
BrandSTMicroelectronics
ModelSTM32WL5 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals