• Transmitter high output power, programmable
up to +22 dBm
• Transmitter low output power, programmable
up to +15 dBm
• Compliant with the following radio frequency
regulations such as ETSI EN 300 220,
EN 300 113, EN 301 166, FCC CFR 47
Part 15, 24, 90, 101 and the Japanese ARIB
STD-T30, T-67, T-108
• Compatible with standardized or proprietary
protocols such as LoRaWAN
W-MBus and more (fully open wireless
system-on-chip)
Ultra-low-power platform
• 1.8 V to 3.6 V power supply
•
–40 °C to +105 °C temperature range
• Shutdown mode: 31 nA (V
• Standby (+ RTC) mode:
360 nA (V
• Stop2 (+ RTC) mode: 1.07 µA (V
• Active-mode MCU: < 72 µA/MHz (CoreMark
• Active-mode RX: 4.82 mA
• Active-mode TX: 15 mA at 10 dBm and 87 mA
at 20 dBm (LoRa
Core
• 32-bit Arm® Cortex®-M4 CPU
®
, (G)FSK, (G)MSK, BPSK, up to 256KB Flash, 64KB SRAM
®
, (G)FSK, (G)MSK and
–123 dBm for 2-FSK
–148 dBm for LoRa
= 3 V)
DD
®
125 kHz)
DD
®
®
, Sigfox™,
= 3 V)
= 3 V)
DD
®
Datasheet - production data
– Adaptive real-time accelerator (ART
Accelerator) allowing 0-wait-state
execution from Flash memory, frequency
up to 48 MHz, MPU and DSP instructions
– 1.25 DMIPS/MHz (Dhrystone 2.1)
• 32-bit Arm
®
Cortex®-M0+ CPU
– Frequency up to 48 MHz, MPU
– 0.95 DMIPS/MHz (Dhrystone 2.1)
update, secure firmware install and storage and management of secure keys.
These devices offer a 12-bit ADC, a 12-bit DAC low-power sample-and-hold, two
ultra-low-power comparators associated with a high-accuracy reference voltage generator.
The devices embed a low-power RTC with a 32-bit sub-second wakeup counter, one 16-bit
single-channel timer, two 16-bit four-channel timers (supporting motor control), one 32-bit
four-channel timer and three 16-bit ultra-low-power timers.
a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
DS13293 Rev 111/145
14
DescriptionSTM32WL55/54xx
These devices also embed two DMA controllers (7 channels each) allowing any transfer
combination between memory (Flash memory, SRAM1 and SRAM2) and peripheral, using
the DMAMUX1 for flexible DMA channel mapping.
The devices also feature the standard and advanced communication interfaces listed below:
•inter-processor communication controller (mailbox) and semaphores for
communication between the two Arm
®
Cortex®-M cores
•two USART (supporting LIN, smartcard, IrDA, modem control and ISO7816)
•one low-power UART (LPUART)
•three I2C (SMBus/PMBus)
•two SPIs (up to 16 MHz, one supporting I
The operating temperature/voltage ranges are
2
S)
–40 °C to +105 °C (+85 °C with radio)
(a)
from
a 1.8 V to 3.6 V power supply. A comprehensive set of power-saving modes allows the
design of low-power applications.
The devices integrate a high-efficiency SMPS step-down converter and independent power
supplies for ADC, DAC and comparator analog inputs.
A V
dedicated supply allows the LSE 32.768 kHz oscillator, the RTC and the backup
BAT
registers to be backed up. The devices can maintain these functions even if the main V
not present, through a CR2032-like battery, a supercap or a small rechargeable battery.
Feature
CPUArm
Maximum CPU frequency (MHz)48
Flash memory density (Kbytes)256
SRAM density
(Kbytes)
Radio
Radio PA
SRAM132
SRAM232
LoRa
(G)FSK
BPSK
Low output power (up to
15 dBm)
High output power (up to
22 dBm)
Table 2. Main features and peripheral count
STM32WL55Cx
STM32WL54Cx
Available on STM32WL55xx devices.
Not available on STM32WL54xx devices
STM32WL55Jx
STM32WL54Jx
Cortex-M4 and Cortex-M0
Yes(G)MSK
Yes
DD
STM32WL55Ux
STM32WL54Ux
is
General purpose4
Timer
a. Devices with suffix 6 operate up to 85 °C. Devices with suffix 7 can operate up to 105 °C except radio.
12/145DS13293 Rev 1
Low-power3
SysTick1
STM32WL55/54xxDescription
Table 2. Main features and peripheral count (continued)
The devices embed a sub-GHz RF subsystem that interfaces with a generic microcontroller
subsystem using an Arm Cortex-M4 (called CPU1) and an Arm Cortex-M0+ (called CPU2).
An RF low-layer stack is needed and is to be run on CPU1 or CPU2, whereas the host
application code is preferably run on CPU1.
The RF subsystem communication is done through an internal SPI interface.
All secure code must be run by CPU2.
3.2 Arm Cortex-M cores
With its embedded Arm cores, the STM32WL55/54xx devices are compatible with all
Arm tools and software.
Figure 1 shows the general block diagram of the STM32WL55/54xx devices.
Arm Cortex-M4
The Arm Cortex-M4 is a processor for embedded systems. It has been developed to provide
a low-cost platform that meets the needs of MCU implementation, with a reduced pin count
and low-power consumption, while delivering outstanding computational performance and
an advanced response to interrupts.
The Arm Cortex-M4 32-bit RISC processor features exceptional code-efficiency, delivering
the high-performance expected from an Arm core in the memory size usually associated
with 8- and 16-bit devices.
This processor supports a set of DSP instructions that allow efficient signal processing and
complex algorithm execution.
Arm Cortex-M0+
The Arm Cortex-M0+ is an entry-level processor for embedded systems. It has been
developed to provide lowest power consumption in the Cortex-M family, while delivering
good computation performance and response to interrupts.
The Arm Cortex-M0+ 32-bit RISC processor features good code-efficiency with ultra-low
power consumption in the memory size usually associated with 8-bit and 16-bit devices.
The ART Accelerator is a memory accelerator that is optimized for STM32 industry-standard
Arm Cortex-M4 processor. The ART Accelerator balances the inherent performance
advantage of the Arm Cortex-M4 over Flash memory technologies, that normally require the
processor to wait for the Flash memory at higher frequencies.
To release the processor near 60 DMIPS performance at 48 MHz, the ART Accelerator
implements an instruction prefetch queue and branch cache, that increases the program
execution speed from the 64-bit Flash memory. Based on CoreMark benchmark, the
DS13293 Rev 115/145
48
Functional overviewSTM32WL55/54xx
performance achieved thanks to the ART Accelerator is equivalent to 0 wait state program
execution from Flash memory at a CPU frequency up to 48 MHz.
3.4 Memory protection unit (MPU)
The memory protection unit (MPU) is used to manage the CPU1 and CPU2 accesses to
memory, to prevent one task to accidentally corrupt the memory or resources used by any
other active task. This memory area is organized into up to eight protected areas that can in
turn be divided up into eight subareas. The protection area sizes are between 32 bytes and
the whole 4 Gbytes of addressable memory.
The MPU is especially helpful for applications where some critical or certified code must be
protected against the misbehavior of other tasks. It is usually managed by an RTOS (realtime operating system). If a program accesses a memory location that is prohibited by the
MPU, the RTOS can detect it and take action. In an RTOS environment, the kernel can
dynamically update the MPU area setting, based on the process to be executed.
The MPU is optional and can be bypassed for applications that do not need it.
3.5 Memories
3.5.1 Embedded Flash memory
The Flash memory interface manages the accesses from CPU1 AHB ICode/DCode and
CPU2 AHB Sbus to the Flash memory. It implements the access, the erase and program
Flash memory operations, and the read and write protection.
The main features of the Flash memory are listed below:
•Memory organization: 1 bank
–main memory: up to 256 Kbytes
–page size: 2 Kbytes
•72-bit wide data read (64 bits plus 8 ECC bits)
•72-bit wide data write (64 bits plus 8 ECC bits)
•Page erase and mass erase
Flexible protections can be configured thanks to option bytes:
•Readout protection (RDP) to protect the whole memory. Three levels are available:
–Level 0: no readout protection
–Level 1: memory readout protection. The Flash memory cannot be read from or
written to if either debug features are connected, boot in SRAM or bootloader is
selected.
–Level 2: chip readout protection. Debug features (JTAG and serial wire), boot in
SRAM and bootloader selection are disabled (JTAG fuse). This selection can only
be reverted by the secure CPU2.
16/145DS13293 Rev 1
STM32WL55/54xxFunctional overview
Table 3. Access status versus RDP level and execution mode
Area
Main memory
System memory
Option bytes
Backup registers
SRAM2
1. The option byte can be modified by the sub-GHz radio.
2. Erased when RDP changes from Level 1 to Level 0.
RDP
level
ReadWriteEraseReadWriteErase
1YesYesYesNoNoNo
2YesYesYesNANANA
1YesNoNoYesNoNo
2YesNoNoNANANA
1YesYesYesYesYesYes
2Yes No
1YesYes NA
2YesYesNANANANA
1YesYesYes
2YesYesYesNANANA
User execution
(1)
•Write protection (WRP): the protected area is protected against erasing and
programming. Two areas can be selected, with 4-Kbyte granularity.
•Proprietary code readout protection (PCROP): two parts of the Flash memory can be
protected against read and write from third parties. The protected area is execute-only:
it can only be reached by the STM32 CPU1/2, as an instruction code, while all other
accesses (DMA, debug and CPU1/2 data read, write and erase) are strictly prohibited.
Two areas can be selected, with 2-Kbyte granularity. An additional option bit
(PCROP_RDP) is used to select if the PCROP area is erased or not when the RDP
protection is changed from Level 1 to Level 0.
No
(1)
(2)
(2)
Debug, boot from SRAM or boot from
system memory (loader)
NANANA
NoNoNA
NoNoNo
(2)
(2)
A section of the Flash memory can be secured for CPU2, and, in that case, cannot be
accessed by CPU1.
The whole non-volatile memory embeds the error correction code (ECC) feature supporting:
•single error detection and correction
•double error detection
•address of the ECC fail can be read in the FLASH_ECCR register
The embedded Flash memory is shared between CPU1 and CPU2 on a time sharing basis.
A dedicated hardware mechanism allows both CPUs to suspend write/erase operations.
3.5.2 Embedded SRAM
The devices feature up to 64 Kbytes of embedded SRAM, split in two blocks:
•SRAM1: up to 32 Kbytes mapped at address 0x2000 0000
•SRAM2: up to 32 Kbytes located at address 0x2000 8000 (contiguous to SRAM1), also
mirrored at 0x1000 0000, with hardware parity check (this SRAM can be retained in
Standby mode)
The SRAMs can be accessed in read/write with 0 wait states for all CPU1/2 clock speeds.
DS13293 Rev 117/145
48
Functional overviewSTM32WL55/54xx
3.6 Security memory management
The devices contain many security blocks both for the sub-GHz MAC layer and the Host
application, such as:
•securable RNG
•customer keys storage
•secure Flash memory partition for CPU2 only access
•secure SRAM partition, that can be accessed only by CPU2
–modular arithmetic including exponentiation with maximum modulo size of
3136 bits
–elliptic curves over prime field scalar multiplication, ECDSA signature, ECDSA
verification with maximum modulo size of 521 bits
•cyclic redundancy check calculation unit (CRC)
3.7 Boot modes
At startup, BOOT0 pin and BOOT1 option bit are used to select one of the following boot
options:
•Boot from user Flash memory
•Boot from boot system memory (where embedded bootloader is located)
•Boot from embedded SRAM
•Boot from system memory (where the embedded SFI is located)
The bootloader makes possible to download code from USART or SPI.
3.8 Global security controller (GTZC)
The GTZC includes the following sub-blocks:
•TZSC: security controller
This sub-block defines the secure/privileged state of slave peripherals. It also controls
the unprivileged area size for the watermark memory peripheral controller (MPCWM).
•TZIC: security illegal access controller
This sub-block gathers all illegal access events in the system and generates a secure
interrupt towards the secure CPU2 NVIC.
These sub-blocks are used to configure the system security and privilege such as:
•on-chip Flash memory and RAM with programmable privileged protection on both
secure and non-secure memory areas
•AHB and APB peripherals with programmable security and/or privileged access
18/145DS13293 Rev 1
STM32WL55/54xxFunctional overview
MSv62614V1
Sub-GHz radio
Sub-GHz
RF frontend
Radio
control
SUBGHZSPI
hse32
Interrups
RFO_LP
RFO_HP
RFI_P
RFI_N
FSK
modem
LoRa
modem
(note)
Data
and
control
HSE32
OSC_IN
OSC_OUT
BUSY
HSERDY
HSEON
HSEBYPPWR
Note: LoRa modem is only available on STM32WL55xx devices.
VR_PA
VDDPA
PB0_VDDTCXO
3.9 Sub-GHz radio
3.9.1 Introduction
The sub-GHz radio is an ultra-low-power sub-GHz radio operating in the 150 - 960 MHz ISM
band. LoRa, (G)FSK/(G)MSK modulation in transmit and receive, and (D)BPSK in transmit
only, allow an optimal trade-off between range, data rate and power consumption. This subGHz radio is compliant with the LoRaWAN
ETSI EN 300 220, EN 300 113, EN 301 166, FCC CFR 47 part 15, 24, 90, 101 and the ARIB
STD-T30, T-67, T-108.
The sub-GHz radio consists of:
•an analog front-end transceiver, capable of outputting up to + 15 dBm maximum power
on its RFO_LP pin and up to + 22 dBm maximum power on RFO_HP pin
•a digital modem bank providing the following modulation schemes:
–LoRa Rx/Tx with bandwidth (BW) from 7.8 - 500 kHz, spreading factor (SF)
5 - 12, bit rate (BR) from 0.013 to 17.4 Kbit/s (real bitrate)
–FSK and GFSK Rx/Tx with BR from 0.6 to 300 Kbit/s
–(G)MSK Tx with BR from 0 to 10 Kbit/s
–BPSK and DBPSK TX only with bitrate for 100 and 600 bit/s
•a digital control including all data processing and sub-GHz radio configuration control
•a high-speed clock generation
®
specification v1.0 and radio regulations such as
3.9.2 General description
The sub-GHz radio provides an internal processing unit to handle communication with the
system CPU. Communication is handled by commands sent over the SPI interface, and a
set of interrupts is used to signal events. BUSY information signals operation activity and is
used to indicate when the sub-GHz radio commands cannot be received.
The block diagram of the sub-GHz radio system is shown in the figure below.
Figure 2. sub-GHz radio system block diagram
DS13293 Rev 119/145
48
Functional overviewSTM32WL55/54xx
MSv62616V2
VLXSMPS
VFBSMPS (1.55V)
VDDPA
VR_PA (up to 3.1V)
RFO_HP
LDO/SMPS
REG
PA
HP PA
VLXSMPS
VFBSMPS (1.55V)
VDDPA
VR_PA (up to 3.1V)
RFO_HP
LDO/SMPS
REG
PA
HP PA
V
DD
V
DD
V
DD
V
DD
VDDSMPS (1.8 to 3.6V)VDDSMPS (1.8 to 3.6V)
LDO mode
SMPS mode
Note: Use of the SMPS is optional. When SMPS is not used, the BOM can be reduced by removing the coil
between VLXSMPS and VFBSMPS pins.
3.9.3 Transmitter
The transmit chain comprises the modulated output from the modem, that directly
modulates the RF-PLL. An optional pre-filtering of the bit stream can be enabled to reduce
the power in the adjacent channel also dependent on the selected modulation scheme. The
modulated signal from the RF-PLL directly drives the high output power PA (HP PA) or low
output power PA (LP PA).
Transmitter high output power
Transmit high output power up to + 22 dBm, is supported through the RFO_HP RF pin.
For this, the REG PA must be supplied directly from V
on VDDSMPS pin, as shown in the
DD
figure below.
The output power range is programmable in 32 steps of ~ 1 dB. The power amplifier
ramping timing is also programmable.This allows adaptation to meet radio regulation
requirements.
Figure 3. High output power PA
The table below gives the maximum transmit output power versus the V
V
DDPA
Table 4. Sub-GHz radio transmit high output power
supply (V)Transmit output power (dBm)
3.3+ 22
20/145DS13293 Rev 1
2.7+ 20
2.4+ 19
1.8+ 16
supply level.
DDPA
STM32WL55/54xxFunctional overview
MSv62617V2
Note: Use of the SMPS is optional. When SMPS is not used, the BOM can be reduced by removing the coil
between VLXSMPS and VFBSMPS pins.
VLXSMPS
VFBSMPS (1.55V)
VDDPA
VR_PA (up to 1.35V)
RFO_LP
LDO/SMPS
REG
PA
LP PA
LDO modeSMPS mode
VDDSMPS (1.8 to 3.6V)
V
DD
VLXSMPS
VFBSMPS (1.55V)
VDDPA
VR_PA (up to 1.35V)
RFO_LP
LDO/SMPS
REG
PA
V
DD
LP PA
VDDSMPS (1.8 to 3.6V)
Transmitter low output power
The transmit low output power up to + 15 dBm on full VDD range (1.8 to 3.6 V), is supported
through the RFO_LP RF pin. For this, the REG PA must be supplied from the regulated
V
FBSMPS
The output power range is programmable in 32 steps of ~1 dB. The power amplifier ramping
timing is also programmable.This allows adaptation to meet radio regulation requirements.
supply at 1.55 V, as shown in the figure below.
Figure 4. Low output power PA
3.9.4 Receiver
3.9.5 RF-PLL
The receive chain comprises a differential low-noise amplifier (LNA), a down-converter to
low-IF by mixer operation in quadrature configuration. The I and Q signals are low pass
filtered and a ADC converts them into the digital domain. In the digital modem, the
signals are decimated, further down converted and channel filtered. The demodulation is
done according to the selected modulation scheme.
The down mixing to low-IF is done by mixing the receive signal with the local RF-PLL
located in the negative frequency, where -f
frequency, f
is located at f
is the received signal and fif is the intermediate frequency). The wanted signal
rf
= flo + fif.
rf
= -frf + -fif. (where flo is the local RF-PLL
lo
The receiver features automatic I and Q calibration, that improves image rejection. The
calibration is done automatically at startup before using the receiver, and can be requested
by command.
The receiver supports LoRa, (G)MSK and (G)FSK modulations.
The RF-PLL is used as the frequency synthesizer for the generation of the local oscillator
frequency (f
) for both transmit and receive chains. The RF-PLL uses auto calibration and
lo
DS13293 Rev 121/145
48
Functional overviewSTM32WL55/54xx
uses the 32 MHz HSE32 reference. The sub-GHz radio covers all continuous frequencies in
the range between 150 to 960 MHz.
3.9.6 Intermediate frequencies
The sub-GHz radio receiver operates mostly in low-IF configuration, except for specific highbandwidth settings.
The devices embed two different regulators: one LDO and one DC/DC (SMPS). The SMPS
can be optionally switched-on by software to improve the power efficiency. As LDO and
SMPS operate in parallel, the SMPS switch-on is transparent to the user and only the power
efficiency is affected.
3.10.1 Power supply schemes
The devices require a V
independent supplies (V
peripherals:
•V
= 1.8 V to 3.6 V
DD
V
is the external power supply for the I/Os, the system analog blocks such as reset,
DD
power management, internal clocks and low-power regulator. It is provided externally
through VDD pins.
•V
DDSMPS
V
DDSMPS
= 1.8 V to 3.6 V
is the external power supply for the SMPS step-down converter. It is provided
externally through VDDSMPS supply pin and must be connected to the same supply as
V
.
DD
•V
FBSMPS
V
FBSMPS
= 1.45 V to 1.62 V (1.55 V typical)
is the external power supply for the main system regulator. It is provided
externally through VFBSMPS pin and is supplied through the SMPS step-down
converter.
•V
= 0 V to 3.6 V (DAC minimum voltage is 1.71 V without buffer and 1.8 V with
DDA
buffer. COMP and ADC minimum voltage is 1.62 V. VREFBUF minimum voltage is
2.4 V)
V
is the external analog power supply for A/D converters, D/A converters, voltage
DDA
reference buffer, and comparators. The V
voltage (see power-up and power-down limitations below) and must preferably be
connected to V
•V
DDRF
V
DDRF
= 1.8 V to 3.6 V
is an external power supply for the radio. It is provided externally through the
DD
VDDRF pin and must be connected to the same supply as V
•V
DDRF1V5
V
DDRF1V5
= 1.45 V to 1.62 V
is an external power supply for the radio. It is provided externally through the
operating voltage supply between 1.8 V and 3.6 V. Several
DD
DDSMPS
, V
FBSMPS
when these peripherals are not used.
, V
if
DDA
DDA
, V
) can be provided for specific
DDRF
voltage level is independent from the V
.
DD
(kHz)
DD
DS13293 Rev 123/145
48
Functional overviewSTM32WL55/54xx
MSv68044V1
0.3
1
V
BOR0
3.6
Operating modePower-onPower-downtime
V
V
DDA
V
DD
Invalid supply areaV
DDA
< V
DD
+ 300 mV
V
DDA
independent from V
DD
VDDRF1V5 pin and must be connected externally to VFBSMPS.
•V
•VREF-, VREF
= 1.55 V to 3.6 V
BAT
V
is the power supply for RTC, TAMP, external clock 32 kHz oscillator and backup
BAT
registers (through power switch) when V
+
V
is the input reference voltage for ADC and DAC. It is also the output of the
REF+
is not present.
DD
internal voltage reference buffer when enabled.
–When V
–When V
V
can be grounded when ADC/DAC is not active. The internal voltage reference
REF+
DDA
DDA
< 2 V, V
2 V, V
must be equal to V
REF+
must be between 2 V and V
REF+
DDA
.
.
DDA
buffer supports the following output voltages, configured with VRS bit in the
VREFBUF_CSR register:
–V
–V
around 2.048 V: this requires V
REF+
around 2.5 V: this requires V
REF+
DDA
2.4 V.
DDA
2.8 V.
During power up and power down, the following power sequence is required:
1.When V
During power down, V
< 1 V other power supplies (V
DD
can temporarily become lower then other supplies only if the
DD
) must remain below V
DDA
+ 300 mV.
DD
energy provided to the device remains below 1 mJ. This allows external decoupling
capacitors to be discharged with different time constants during this transient phase.
2. When V
An embedded linear voltage regulator is used to supply the internal digital power V
V
is the power supply for digital peripherals, SRAM1 and SRAM2. The Flash memory
CORE
is supplied by V
part V
DDI
.
> 1 V, all other power supplies (V
DD
CORE
and VDD. V
is split in two parts: V
CORE
) become independent.
DDA
part and an interruptible
DDO
CORE
.
Figure 5.
Note:VDD, V
sequence.
DDRF
and V
DDSMPS
must be wired together, so they can follow the same voltage
Power-up/power-down sequence
24/145DS13293 Rev 1
STM32WL55/54xxFunctional overview
MSv50973V1
LDO/SMPS
MR
V
DD
V
LXSMPS
V
FBSMPS
V
BKP
V
DDO
V
DDI
V
BAT
V
RF
V
MAIN
V
LP
V
SW
POR
mode
FW mode
en
RFLDO
V
DDSMPS
V
DDRF1V5
LPR
MSv50974V1
LDO/SMPS
LDO/SMPS supplyLDO supply
RF
LDO
MRLPR
V
DDRF1V5
V
FBSMPS
V
LXSMPS
V
DDSMPS
V
DD
LDO/SMPS
RF
LDO
MRLPR
V
DDRF1V5
V
FBSMPS
V
LXSMPS
V
DDSMPS
V
DD
Figure 6. Power supply overview
The different supply configurations are shown in the figure below.
Figure 7. Supply configurations
DS13293 Rev 125/145
48
Functional overviewSTM32WL55/54xx
The LDO or SMPS step-down converter operating mode can be configured by one of the
following:
•by the MCU using the SMPSEN setting in PWR control register 5 (PWR_CR5), that
depends upon the MCU system operating mode (Run, Stop, Standby or Shutdown).
•by the sub-GHz radio using SetRegulatorMode() command and the sub-GHz radio
operating mode (Sleep, Calibrate, Standby, Standby with HSE32 or Active).
After any POR and NRST reset, the LDO mode is selected. The SMPS selection has priority
over LDO selection.
While the sub-GHz radio is in Standby with HSE32 or in Active mode, the supply mode is
not altered until the sub-GHz radio enters Standby or Sleep mode. The sub-GHz radio
activity may add a delay for entering the MCU software requested supply mode.
The LDO or SMPS supply mode can be checked with the SMPSRDY flag in power status
register 2 (PWR_SR2).
Note:When the radio is active, the supply mode is not changed until after the radio activity is
finished.
During Stop 1, Stop 2 and Standby modes, when the sub-GHz radio is not active, the LDO
or SMPS step-down converter is switched off. When exiting low-power modes (except
Shutdown), the SMPS step-down converter is set by hardware to the mode selected by the
SMPSEN bit in PWR control register 5 (PWR_CR5). SMPSEN is retained in Stop and
Standby modes.
Independently from the MCU software selected supply operating mode, the sub-GHz radio
allows the supply mode selection while the sub-GHz radio is active (thanks to the sub-GHz
radio SetRegulatorMode()command).
The maximum load current delivered by the SMPS can be selected by the sub- GHz radio
SUBGHZ_SMPSC2R register.
The inrush current of the LDO and SMPS step-down converter can be controlled via the
sub- GHz radio SUBGHZ_PCR register. This information is retained in all but the sub-GHz
radio Deep-sleep mode.
The SMPS needs a clock to be functional. If for any reason this clock stops, the device may
be destroyed. To avoid this situation, a clock detection is used to, in case of a clock failure,
switch off the SMPS and enable the LDO. The SMPS clock detection is enabled by the subGHz radio SUBGHZ_SMPSC0R.CLKDE. By default, the SMPS clock detection is disabled
and must be enabled before enabling the SMPS.
Danger:Before enabling the SMPS, the SMPS clock detection must be
enabled in the sub-GHz radio SUBGHZ_SMPSC0R.CLKDE.
3.10.2 Power supply supervisor
The devices integrate a power-on reset/power-down reset, coupled with a Brownout reset
(BOR) circuitry.
BOR0 level cannot be disabled. Other BOR levels can be enabled by user option. When
enabled, BOR is active in all power modes except in Shutdown
26/145DS13293 Rev 1
STM32WL55/54xxFunctional overview
Five BOR thresholds can be selected through option bytes.
During power-on, BOR keeps the device under reset until the supply voltage V
the specified V
•When V
•When V
DD
DD
threshold:
BORx
drops below the selected threshold, a device reset is generated.
is above the V
can start.
The devices feature an embedded PVD (programmable voltage detector) that monitors the
V
power supply and compares it with the V
DD
when V
drops below the V
DD
PVD
threshold. The interrupt service routine can then generate a warning message and/or put
the MCU into a safe state.
The PVD is enabled by software and can be configured to monitor the V
needed for the sub-GHz radio operation. For this, the PVD must select its lowest threshold,
and the PVD and the wakeup must be enabled by the EWPVD bit in PWR_CR3 register.
Only a voltage drop below the PVD level generates a wakeup event.
In addition, the devices embed a PVM (peripheral voltage monitor) that compares the
independent supply voltage V
functional supply range.
Finally, a radio end-of-life monitor provides information on the V
low to operate the sub-GHz radio. When reaching the EOL level, the software must stop all
radio activity in a safe way.
3.10.3 Linear voltage regulator
reaches
DD
upper limit, the device reset is released and the system
BORx
threshold. An interrupt can be generated
threshold and/or when VDD is higher than the V
with a fixed threshold to ensure that the peripheral is in its
DDA
PVD
DD
supply when V
DD
PVD
supply level
DD
is too
Two embedded linear voltage regulators supply all the digital circuitries, except for the
Standby circuitry and the Backup domain. The main regulator (MR) output voltage (V
can be programmed by software to two different power ranges (range 1 and range 2), to
optimize the consumption depending on the system maximum operating frequency.
The voltage regulators are always enabled after a reset. Depending on the application
modes, the V
supply is provided either by the main regulator or by the low-power
CORE
regulator (LPR).
When MR is used, a dynamic voltage scaling is proposed to optimize power as follows:
•range 1: high-performance range
The system clock frequency can be up to 48 MHz. The Flash memory access time for
read access is minimum. Write and erase operations are possible.
•range 2: low-power range
The system clock frequency can be up to 16 MHz.The Flash memory access time for a
read access is increased as compared to range 1. Write and erase operations are
possible.
Note:MR is supplied by VDD during power-on or at wakeup from Stop1, Stop2, Standby or
Shutdown mode. MR is powered by LDO/SMPS after these transition phases.
3.10.4 VBAT operation
The VBAT pin is used to power the device V
from an external battery, an external super-capacitor, or from V
domain (RTC, LSE and backup registers)
BAT
when no external battery
DD
CORE
)
DS13293 Rev 127/145
48
Functional overviewSTM32WL55/54xx
nor an external super-capacitor are present. Three anti-tamper detection pins are available
in VBAT mode.
VBAT operation is automatically activated when V
An internal V
battery charging circuit is embedded and can be activated when VDD is
BAT
present.
Note:When the microcontroller is supplied only from V
alarm/events do not exit it from VBAT operation.
3.11 Low-power modes
The devices support several low-power modes to achieve the best compromise between
low-power consumption, short startup time, available peripherals and available wakeup
sources.
By default, the microcontroller is in Run mode, range 1, after a system or a power-on reset.
It is up to the user to select one of the low-power modes described below:
•Sleep mode: CPU clock off, all peripherals including CPU core peripherals (among
them NVIC, SysTick) can run and wake up the CPU when an interrupt or an event
occurs.
•Low-power run mode (LPRun): when the system clock frequency is reduced below
2 MHz. The code is executed from the SRAM or from the Flash memory. The regulator
is in low-power mode to minimize the operating current.
•Low-power sleep mode (LPSleep): entered from the LPRun mode.
•Stop 0 and Stop 1 modes: the content of SRAM1, SRAM2 and of all registers is
retained. All clocks in the V
disabled. LSI and LSE can be kept running.
RTC can remain active (Stop mode with RTC, Stop mode without RTC). The sub-GHz
radio may remain active independently from the CPUs.
Some peripherals with the wakeup capability can enable HSI16 RC during the Stop
mode to detect their wakeup condition.
Stop 1 offers the largest number of active peripherals and wakeup sources, a smaller
wakeup time but a higher consumption compared with Stop 2.
In Stop 0 mode, the main regulator remains on, resulting in the fastest wakeup time but
with much higher consumption. The active peripherals and wakeup sources are the
same as in Stop 1 mode that uses the low-power regulator.
The system clock, when exiting Stop 0 or Stop 1 mode, can be either MSI up to 48 MHz
or HSI16, depending on the software configuration.
•Stop 2 mode: part of the V
and some peripherals preserve their contents (see Table 7).
All clocks in the V
domain are stopped. PLL, MSI, HSI16 and HSE32 are disabled.
CORE
LSI and LSE can be kept running.
RTC can remain active (Stop 2 mode with RTC, Stop 2 mode without RTC). The subGHz radio may also remain active independent from the CPUs.
Some peripherals with the wakeup capability can enable HSI16 RC during the Stop 2
mode to detect their wakeup condition (see Tab le 7).
The system clock when exiting from Stop 2 mode, can be either MSI up to 48 MHz or
domain are stopped. PLL, MSI, HSI16 and HSE32 are
CORE
domain is powered off. Only SRAM1, SRAM2, CPUs
CORE
is not present.
DD
, external interrupts and RTC
BAT
28/145DS13293 Rev 1
STM32WL55/54xxFunctional overview
HSI16, depending on the software configuration.
•Standby mode: V
domain is powered off. However, it is possible to preserve the
CORE
SRAM2 content as detailed below:
–Standby mode with SRAM2 retention when the RRS bit is set in the PWR control
register 3 (PWR_CR3). In this case, SRAM2 is supplied by the low-power
regulator.
–Standby mode when the RRS bit is cleared in the PWR control register 3
(PWR_CR3). In this case the main regulator and the low-power regulator are
powered off.
All clocks in the V
domain are stopped. PLL, MSI, HSI16 and HSE32 are disabled.
CORE
LSI and LSE can be kept running.
Th RTC can remain active (Standby mode with RTC, Standby mode without RTC). The
sub-GHz radio and the PVD may also remain active when enabled independent from
the CPUs. In Standby mode, the PVD selects its lowest level.
The system clock, when exiting Standby modes, is MSI at 4 MHz.
•Shutdown mode: V
domain is powered off. All clocks in the V
CORE
domain are
CORE
stopped. PLL, MSI, HSI16, LSI and HSE32 are disabled. LSE can be kept running. The
system clock when exiting the Shutdown mode, is MSI at 4 MHz. In this mode, the
supply voltage monitoring is disabled and the product behavior is not guaranteed in
case of a power voltage drop.
The table below summarizes the peripheral features over all available modes. Wakeup
capability is detailed in gray cells.
Table 7. Functionalities depending on system operating mode
Stop 0Stop 1Stop 2Standby Shutdown
Peripheral
Run
Sleep
LPRun
-
LPSleep
Wakeup capability
-
Wakeup capability
-
Wakeup capability
CPU1YRYRR-R-R---- --
CPU2YRYRR
Sub-GHz radio systemOOOOO
(2)
Flash memory
(256 Kbytes)
(2)O(3)
YO
O
(3)
-R-R---- --
OOOOOOO- --
R-R-R-R-R -R
Flash memory interfaceYYYYR-R-R---- --
SRAM1YO
SRAM2 YO
(2)
(2)
Backup registersYYYYR
Brownout reset (BOR)YYYYY
Programmable voltage
detector (PVD)
OOOOO
(2)
YO
(2)
YO
R-R-R---- --
R-R-R-O
-R-R-R-R -R
YYYYYYY- --
OOOOOO
(1)
-
-
Wakeup capability
(4)
-- --
(5)O(5)
---
VBAT
Wakeup capability
DS13293 Rev 129/145
48
Functional overviewSTM32WL55/54xx
Table 7. Functionalities depending on system operating mode
Peripheral
Peripheral voltage monitor
(PVM3)
DMAx (x = 1, 2)OOOOR
DMAMUX1OOOOR
High-speed internal (HSI16)OOOOO
High-speed external (HSE32)OOO
Low-speed internal (LSI)OOOOO
Low-speed external (LSE)OOOOO
Multi-speed internal (MSI)OOOOO
Clock security system (CSS)OOOOR
Clock security system on LSEOOOOO
Run
Sleep
LPRun
LPSleep
OOOOO
(7)O(7)O(7)
(1)
(continued)
Stop 0Stop 1Stop 2Standby Shutdown
-
Wakeup capability
-
Wakeup capability
-
Wakeup capability
-
Wakeup capability
-
Wakeup capability
OOOOO- -- --
-R------ --
-R------ --
(6)
(6)
-O
(7)
-O
(6)
-O
(7)
-O
---- --
(7)
-O
-- --
-O-O-O-- --
-O-O-O-O -O
-O-O---- --
-R------ --
OOOOOOO- --
VBAT
RTC/auto wakeupOOOOO
Number of tamper pins33333
USARTx (x= 1, 2)OOOOO
Low-power UART (LPUART1)OOOOO
I2Cx (x = 1, 2)OOOOO
I2C3OOOOO
SPI1OOOOR
SUBGHZSPIOOOOR
SPI2S2OOOOR
ADCOOOOR
DACOOOOR
VREFBUFOOOOO
COMPx (x = 1, 2)OOOOO
Temperature sensorOOOOR
TIMx (x = 1, 2, 16, 17)OOOOR
LPTIM1OOOOO
LPTIMx (x = 2, 3)OOOOO
Independent watchdog
(IWDG)
OOOOOOOOOOOO- --
OOOOOOOO OO
O3O3O3O3 O3
(8)O(8)O(8)O(8)
(8)O(8)O(8)O(8)O(8)O(8)
(9)O(9)O(9)O(9)
(9)O(9)O(9)O(9)O(9)O(9)
----- --
--- --
----- --
--- --
-R------ --
-R------ --
-R------ --
-R------ --
-R------ --
-O-R---- --
OOOOO- -- --
-R------ --
-R------ --
OOOOO- -- --
OOO- ---- --
30/145DS13293 Rev 1
Loading...
+ 115 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.