Cpu2 Boot - ST STM32WL55JC Reference Manual

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

Advertisement

Power control (PWR)
Refer to the product datasheet for more details on voltage regulator and peripherals
operating conditions.
I/O states in LPRun mode
In LPRun mode, all I/O pins keep the same state as in Run mode.
Enter LPRun mode
To enter the LPRun mode, proceed as follows (refer to
1.
Jump into the SRAM and power down the Flash memory by setting the FPDR bit in the
Section 6.6.1: PWR control register 1 (PWR_CR1)
2.
Disable HSE32 clock.
3.
Decrease the HCLK clock frequencies below 2 MHz.
4.
Force the regulator in low-power mode by setting the LPR bit in the
register 1
Exit LPRun mode
To exit the LPRun mode, proceed as follows (refer to
1.
Force the regulator in main mode by clearing the LPR bit in the
(PWR_CR1).
2.
Wait until REGLPF bit is cleared in the
3.
Increase the HCLK clock frequency (enable HSE32 clock when needed).
LPRun mode
Mode entry
Mode exit
Wakeup latency
6.5.3
Enter low-power mode
The MCU enters low-power mode following one of these events:
when MCU executes the WFI (wait for interrupt)
when MCU executes WFE (wait for event) instructions
on return from ISR when the SLEEPONEXIT bit in the CPU system control register is
set
Low-power mode is only be entered if no interrupt or event is pending.
6.5.4
Exit low-power mode
From Sleep and Stop modes, the CPU exits low-power mode depending on the way the
240/1454
(PWR_CR1).
Decrease the system clock frequency below 2 MHz. LPR = 1.
LPR = 0. Wait until REGLPF = 0. Increase the system clock frequency.
Regulator wakeup time from low-power mode
RM0453 Rev 2
Table
(optional).
Table
Power status register 2
Table 47. LPRun
Description
47):
PWR control
47):
PWR control register 1
(PWR_SR2).
RM0453

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Stm32wl5 seriesStm32wl54 series

Table of Contents

Save PDF