Auto-Wakeup From Low-Power Mode; Table 47. Shutdown Mode - STMicroelectronics STM32WLEx Reference Manual

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

Advertisement

RM0461
In Shutdown mode, the following features can be selected by programming individual
control bits:
Real-time clock (RTC): this is configured by the RTCEN bit in the Backup domain
control register (RCC_BDCR).
Caution:
In case of V
External 32.768 kHz oscillator (LSE): this is configured by the LSEON bit in the Backup
domain control register (RCC_BDCR)
Exit Shutdown mode
The Shutdown mode is exited according
exiting from Shutdown mode. All registers (except for the ones in the Backup domain) are
reset after wakeup from Shutdown.
Refer to the table below for more details on how to exit Shutdown mode.
Shutdown mode
Mode entry
Mode exit
Wakeup latency
5.4.12

Auto-wakeup from low-power mode

The RTC can be used to wake up the MCU from low-power mode without depending on an
external interrupt (Auto-wakeup mode). The RTC provides a programmable time base for
waking up from Stop (0, 1 or 2) or Standby mode at regular intervals. For this purpose, the
power-down, the RTC content is lost.
DD

Table 47. Shutdown 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 = 0b1xx in PWR_CR1
– WUFx bits are cleared in power status register 1 (PWR_SR1)
On return from ISR while:
– SLEEPDEEP bit is set in Cortex system control register
– SLEEPONEXT = 1
– No interrupt is pending
– LPMS = 0b1xx in PWR_CR1
– Radio IRQ is cleared in the sub-GHz radio.
– WPVDF, WRFBUSY and WUFx bits are cleared in power status register 1
(PWR_SR1)
– The RTC flag corresponding to the chosen wakeup source (RTC Alarm A,
RTC Alarm B, RTC wakeup, synchronous binary counter or timestamp
flags) is cleared
– TAMP flags ITAMPxF and TAMPxF are cleared.
WKUPx pin edge, RTC and TAMP event, external reset in
Reset phase
RM0461 Rev 5
Section
5.4.4. A power-on reset occurs when
Description
Power control (PWR)
NRST
pin
211/1306
229

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