stm32wba54ce
stm32wba54ce
stm32wba54ce
Features
• Includes ST state-of-the-art patented
technology
• Ultra-low power radio
– 2.4 GHz radio UFQFPN32 (5 x 5 mm) UFBGA59 (5 x 5 mm)
– RF transceiver supporting Bluetooth® Low UFQFPN48 (7 x 7 mm)
Energy specification 5.4,
– Embedded regulator LDO and SMPS
IEEE 802.15.4-2015 PHY and MAC,
step-down converter supporting switch
supporting Thread, Matter and Zigbee®
on-the-fly and voltage scaling
– Proprietary protocols
• Core: Arm® 32-bit Cortex®-M33 CPU with
– RX sensitivity: -96 dBm (Bluetooth® Low
TrustZone®, MPU, DSP, and FPU running at
Energy at 1 Mbps), -97.5 dBm (IEEE
up to 100 MHz
802.15.4 at 250 kbps)
– Programmable output power, +10 dBm with • ART Accelerator: 8-Kbyte instruction cache
1 dB steps allowing 0-wait-state execution from flash
memory (frequency up to 100 MHz,
– Support for external PA
150 DMIPS)
– Isochronous channel (Auracast/Unicast),
AOA/AOD, long range • Benchmarks
– Packet traffic arbitration – 1.5 DMIPS/MHz (Drystone 2.1)
– Integrated balun to reduce BOM – 410 CoreMark® (4.10 CoreMark/MHz)
– Single crystal operation • Real time clock (RTC) with hardware calendar,
– Suitable for systems requiring compliance alarms, and calibration
with radio frequency regulations ETSI EN • Clock sources
300 328, EN 300 440, FCC CFR47 Part 15 – 32 MHz crystal oscillator
and ARIB STD-T66 – 32 kHz crystal oscillator (LSE)
• Operating conditions: – Internal low-power 32 kHz (±5%) RC
– 1.71 to 3.6 V power supply – Internal low frequency 32 kHz RC
– - 40 °C to 85/105 °C temperature range (500 ppm/ °C)
• Ultra-low power platform with – Internal 16 MHz factory trimmed RC (±1%)
FlexPowerControl – PLL for system clock, audio and ADC
– Autonomous peripherals with DMA, • Memories
functional down to Stop 1 mode – 1 MB flash memory with ECC, including
– 160 nA Standby mode (16 wake-up pins) 256 Kbytes with 100k cycles
– 0.9 µA Standby mode with 64 KB SRAM – 128 KB SRAM, including 64 KB with parity
– 6.5 µA Stop mode with 64 KB SRAM check
– 23 µA/MHz Run mode at 3.3 V – 512-byte (32 rows) OTP
– Radio: Rx 4.4 mA / Tx at 0 dBm 5.2 mA
• Rich analog peripherals (independent supply) – Root of trust thanks to unique boot entry
– 12-bit ADC 2.5 Msps, up to 16-bit with and secure hide protection area (HDP)
hardware oversampling – SFI (secure firmware installation) thanks to
– Two ultra-low power comparators embedded RSS (root secure services)
• Communication peripherals – Secure data storage with root hardware
unique key (RHUK)
– One SAI (serial audio interface)
– Secure firmware upgrade support with
– Three UARTs (ISO 7816, IrDA, modem)
TF-M
– Two SPIs
– Two AES co-processors, including one with
– Two I2C Fm+ (1 Mbit/s), SMBus/PMBus® DPA resistance
• System peripherals – Public key accelerator, DPA resistant
– Touch sensing controller, up to 20 sensors, – HASH hardware accelerator
supporting touch key, linear, and rotary – True random number generator, NIST
touch sensors SP800-90B compliant
– One 16-bit, advanced motor control timer – 96-bit unique ID
– Three 16-bit timers – Active tampers
– One 32-bit timer – CRC calculation unit
– Two low-power 16-bit timers (available in
• General purpose input/output:
Stop mode)
– Up to 35 I/Os (most of them 5 V-tolerant)
– Two Systick timers
with interrupt capability
– Two watchdogs
• Development support
– 8-channel DMA controller, functional in
Stop mode – Serial wire debug (SWD), JTAG
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3 Functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.1 Arm Cortex-M33 core with TrustZone, MPU, DSP, and FPU . . . . . . . . . . 17
3.2 ART Accelerator (ICACHE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.3 Memory protection unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.4 Multi-AHB bus matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.5 Embedded flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.5.1 Flash memory protections when TrustZone is activated . . . . . . . . . . . . 21
3.5.2 FLASH privilege protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.6 Embedded SRAMs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.6.1 SRAMs TrustZone security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.6.2 SRAMs privilege protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.7 Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.8 Global TrustZone controller (GTZC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.9 TrustZone security architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.9.1 TrustZone peripheral classification . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.9.2 Default TrustZone security state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.10 2.4 GHz RADIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.11 PTA interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.12 Power supply management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.12.1 Power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.12.2 Power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.12.3 Reset mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.12.4 PWR TrustZone security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.13 Reset and clock controller (RCC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.13.1 RCC TrustZone security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
3.14 General-purpose input/output (GPIO) . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
3.14.1 GPIO TrustZone security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
3.15 System configuration controller (SYSCFG) . . . . . . . . . . . . . . . . . . . . . . . 41
3.15.1 SYSCFG TrustZone security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
5 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
5.1 Parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
5.1.1 Minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
5.1.2 Typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
5.1.3 Typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
5.1.4 Loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
5.1.5 Pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
5.1.6 Power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
5.1.7 Current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
5.2 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
5.3 Operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
5.3.1 Summary of main performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
5.3.2 General operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
5.3.3 RF characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
5.3.4 RF IEEE802.15.4 characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
5.3.5 Operating conditions at power-up/power-down . . . . . . . . . . . . . . . . . . . 89
5.3.6 Embedded reset and power control block characteristics . . . . . . . . . . . 90
5.3.7 Embedded voltage reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
5.3.8 Supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
5.3.9 Wake-up time from low-power modes and voltage scaling
transition times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
5.3.10 External clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . 104
5.3.11 Internal clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . 108
5.3.12 PLL characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
5.3.13 Flash memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
5.3.14 EMC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
5.3.15 Electrical sensitivity characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
5.3.16 I/O current injection characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
5.3.17 I/O port characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
5.3.18 NRST pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
5.3.19 Extended interrupt and event controller input (EXTI) characteristics . . 118
5.3.20 Wake-up pin (WKUP) characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . 119
List of tables
Table 47. Current consumption in Run mode on LDO, with different codes running
from flash memory, Cache ON (2-way), Prefetch OFF. . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Table 48. Current consumption in Run mode on SMPS, with different codes running
from flash memory, Cache ON (2-way), Prefetch OFF. . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Table 49. Current consumption in Sleep modes, flash memory in power-down. . . . . . . . . . . . . . . . . 95
Table 50. Flash memory static power consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Table 51. Current consumption in Stop 0 mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Table 52. Current consumption in Stop 1 mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Table 53. Current consumption in Standby retention mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Table 54. Current consumption in Standby mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Table 55. Peripheral typical dynamic current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Table 56. Low-power mode wake-up timings - LDO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Table 57. Low-power mode wake-up timings - SMPS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Table 58. Regulator modes transition times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Table 59. Wake-up time using USART/LPUART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Table 60. HSE32 crystal requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Table 61. HSE32 clock source requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Table 62. LSE oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Table 63. LSE clock source requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Table 64. LSE external clock bypass mode characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Table 65. HSI16 oscillator characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Table 66. LSI1 oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Table 67. LSI2 oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Table 68. PLL characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Table 69. Flash memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Table 70. Flash memory endurance and data retention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Table 71. EMS characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Table 72. EMI characteristics for fHSE = 32 MHz and fHCLK = 100 MHz . . . . . . . . . . . . . . . . . . . . 112
Table 73. ESD absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Table 74. Electrical sensitivity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Table 75. I/O current injection susceptibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Table 76. I/O static characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Table 77. Output voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Table 78. Output AC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Table 79. NRST pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Table 80. EXTI input characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Table 81. WKUP input characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Table 82. Analog switches booster characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Table 83. 12-bit ADC4 characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Table 84. Maximum RAIN for 12-bit ADC4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Table 85. 12-bit ADC4 accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Table 86. Temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Table 87. VCORE monitoring characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Table 88. COMP characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Table 89. TIMx characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Table 90. IWDG min/max timeout period at 32 kHz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Table 91. WWDG min/max timeout value at 100 MHz (PCLK). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Table 92. I2C analog filter characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Table 93. USART characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Table 94. SPI characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Table 95. SAI characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Table 96. JTAG characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
List of figures
1 Introduction
This document provides the ordering information and mechanical device characteristics of
the STM32WBA5xxx microcontrollers, based on Arm® cores(a). It must be read in
conjunction with the reference manual (RM0493), available from the STMicroelectronics
website www.st.com.
Throughout the whole document TBD indicates a value to be defined.
For information on the device errata with respect to the datasheet and reference manual
refer to the STM32WBA5xxx errata sheet (ES0592), available from the STMicroelectronics
website www.st.com.
For information on the Arm® Cortex®-M33 core, refer to the Cortex®-M33 Technical
Reference Manual, available on the www.arm.com website.
For information on Bluetooth®, refer to www.bluetooth.com.
.
a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
2 Description
The STM32WBA5xxx multiprotocol wireless and ultra-low power devices embed a powerful
and ultra-low power radio compliant with the Bluetooth® SIG Low Energy specification 5.4.
They operate at a frequency of up to 100 MHz.
The devices integrate a 2.4 GHz RADIO supporting Bluetooth Low Energy, and make
possible to use proprietary protocols.
The STM32WBA5xxx are based on a high-performance Arm Cortex-M33 32-bit RISC core,
featuring a single-precision floating-point unit (FPU), supporting all the Arm single-precision
data-processing instructions and all the data types. This core also implements a full set of
DSP (digital signal processing) instructions and a memory protection unit (MPU) that
enhances the application security.
The devices embed high-speed memories (up to 1 Mbyte of flash memory and up to
128 Kbytes of SRAM), an extensive range of enhanced I/Os and peripherals connected to
AHB and APB buses on the 32-bit multi-AHB bus matrix.
The devices offer security foundation compliant with the TBSA (trusted-based security
architecture) requirements from Arm. It embeds the necessary security features to
implement a secure boot, secure data storage, and secure firmware update. Besides these
capabilities, the devices incorporate a secure firmware installation feature that allows the
customer to secure the provisioning of the code during its production. A flexible life cycle is
managed thanks to multiple levels readout protection and debug unlock with password.
Firmware hardware isolation is supported thanks to securable peripherals, memories and
I/Os, and privilege configuration of peripherals and memories.
Several protection mechanisms are available for embedded flash memory and SRAM:
readout protection, write protection, secure, and hide protection areas.
The devices embed several peripherals reinforcing security: a fast AES coprocessor, a
secure AES coprocessor with DPA resistance and hardware unique key that can be shared
by hardware with fast AES, a PKA (public key accelerator) with DPA resistance, a HASH
hardware accelerator, and a true random number generator.
Active tamper detection and protection against transient perturbation attacks, is achieved
thanks to several internal monitoring generating secret data erase in case of attack. This
helps to fit the PCI requirements for point of sales applications.
Hardware semaphores enable the synchronization between software processes.
The devices offer one 12-bit ADC (2.5 Msps), two comparators, a low-power RTC, one
32-bit general-purpose timer, one 16-bit PWM timer for motor control, three 16-bit general-
purpose timers, and two 16-bit low-power timers. They also feature standard and advanced
communication interfaces, namely two I2Cs, two SPIs, one SAI, two USARTs, and one
low-power UART. The feature set is product-dependent.
The STM32WBA5xxx operate in the -40 °C to 105 °C (120 °C junction) temperature range
from a 1.71 to 3.6 V power supply.
The design of low-power applications is enabled by a comprehensive set of power-saving
modes.
Many peripherals (including radio, communication, analog, and timer peripherals) can be
functional and autonomous in Stop mode with direct memory access thanks to BAM
(background autonomous mode) support.
Some independent power supplies are supported, like an analog independent supply input
for ADC and comparators, and radio dedicated supply inputs for the 2.4 GHz RADIO.
The STM32WBA5xxx devices offer three packages, up to 59 pins, with or without SMPS.
STM32WBA54CG
STM32WBA55CG
STM32WBA55UG
STM32WBA54KE
STM32WBA54CE
STM32WBA55CE
STM32WBA55UE
Feature
Flash memory density (Kbytes) 1024 512 1024 512 1024 512 1024 512
SRAM1 64 KB 32 KB 64 KB 32 KB 64 KB 32 KB 64 KB 32 KB
SRAM density
SRAM2 64 KB
Bluetooth Low Energy Yes
802.15.4 Yes
SMPS No Yes
PTA Yes
External PA support Yes
BLE AoA, AoD support Yes
Real time clock (RTC) Yes
Backup registers 32 x 32-bit
Advanced control 1 (16-bit)
General purpose 1 (32-bit) + 3 (16-bit)
Low power 2 (16-bit)
Timers
SysTick 2
Watchdog
(independent, 2
window)
STM32WBA54KG
STM32WBA54CG
STM32WBA55CG
STM32WBA55UG
STM32WBA54KE
STM32WBA54CE
STM32WBA55CE
STM32WBA55UE
Feature
SPI 2
I2C 2
Communication
SAI 1
interfaces
USART 2
LPUART 1
(1)
Tamper pins (active tampers) 3 (2) 6 (5)
Wake-up pins 8 15 14 16
GPIOs 20 35 31 35
Capacitive sensing (channels) 12 20 16 20
12-bit ADC 1 (8 channels) 1 (9 channels) 1 (8 channels) 1 (10 channels)
Analog comparator 2
True random number generator Yes
SAES, AES Yes
Public key accelerator (PKA) Yes
HASH Yes
Maximum CPU frequency 100 MHz
Ambient operating temperature:-40 to 85 °C and -40 to 105 °C
Operating temperature
Junction temperature: -40 to 105 °C and -40 to 120 °C
Operating voltage 1.71 to 3.6 V
Package UFQFPN32 UFQFPN48 UFBGA59
1. Active tampers in output sharing mode (one output shared by all inputs).
Figure 1 shows the general block diagram of the devices (some blocks are not available on
some versions).
DBGMCU
AHB5 32 MHz
Sequence SRAM
JTAG/SWD
MCPBB2 Power
8-channel TAMP
management
GPIO Ports Temp oC
MCPBB1 regulator / SMPS
A, B, C, H sensor
SYSCFG
HSEM GTZC-TZSC
COMP
SPI3 ADC4
SAES
3 Functional overview
3.1 Arm Cortex-M33 core with TrustZone, MPU, DSP, and FPU
The Cortex-M33 with TrustZone, MPU, DSP and FPU is a highly energy-efficient processor
designed for microcontrollers and deeply embedded applications, especially those requiring
efficient security.
The Cortex-M33 processor delivers a high computational performance with low-power
consumption and an advanced response to interrupts. It features:
• Arm TrustZone technology, using the Armv8-M main extension supporting secure and
non-secure states
• MPUs (memory protection units), supporting up to 16 regions for secure and
non-secure applications
• Configurable SAU (secure attribute unit) supporting up to eight memory regions as
secure or non-secure
• Floating-point arithmetic functionality, with support for single precision arithmetic
The processor supports a set of DSP instructions for efficient signal processing and
complex algorithm execution.
The Cortex-M33 processor supports the following bus interfaces:
• System AHB (S-AHB) bus: used for instruction fetch and data access to the memory-
mapped SRAM, peripheral, and Vendor_SYS regions of the Armv8-M memory map.
• Code AHB (C-AHB) bus: used for instruction fetch and data access to the code region
of the Armv8-M memory map.
Table 4. Access status versus protection level and execution modes when TZEN = 0
User execution
RDP Debug/boot from RAM/bootloader(1)
Area (boot from flash memory)
level
Read Write Erase Read Write Erase
Table 4. Access status versus protection level and execution modes when TZEN = 0 (continued)
User execution
RDP Debug/boot from RAM/bootloader(1)
Area (boot from flash memory)
level
Read Write Erase Read Write Erase
1 Yes No No Yes No No
System memory (2)
2 Yes No No N/A N/A N/A
1 Yes Yes(4) N/A Yes Yes(4) N/A
Option bytes(3)
2 Yes No N/A N/A N/A N/A
1 Yes Yes(5) N/A Yes Yes (5)
N/A
OTP
2 Yes Yes(5) N/A N/A N/A N/A
1 Yes Yes N/A No No N/A(6)
Backup registers
2 Yes Yes N/A N/A N/A N/A
1 Yes Yes N/A No No N/A(7)
SRAM2
2 Yes Yes N/A N/A N/A N/A
1. When the protection level 2 is active, the debug port, the boot from RAM, and the boot from system memory are disabled.
2. The system memory is only read-accessible, whatever the protection level (0, 1 or 2) and execution mode.
3. Option bytes are accessible only through the flash memory interface registers and OPSTRT bit.
4. The flash main memory is erased when the RDP option byte changes from level 1 to level 0.
5. OTP can be written only once.
6. The backup registers are erased when RDP changes from level 1 to level 0.
7. All SRAMs are erased when RDP changes from level 1 to level 0.
Table 5. Access status versus protection level and execution modes when TZEN = 1
User execution
RDP Debug/bootloader(1)
Area (boot from flash memory)
level
Read Write Erase Read Write Erase
(2) (2)
0.5 Yes Yes Yes Yes Yes Yes(2)
Flash main memory 1 Yes Yes Yes No No No(5)
2 Yes Yes Yes N/A N/A N/A
0.5 Yes No No Yes No No
System memory (3) 1 Yes No No Yes No No
2 Yes No No N/A N/A N/A
0.5 Yes Yes(5) N/A Yes Yes (5) N/A
(4) (5) (5)
Option bytes 1 Yes Yes N/A Yes Yes N/A
2 Yes No N/A N/A N/A N/A
0.5 Yes Yes(6) N/A Yes Yes(6) N/A
OTP 1 Yes Yes(6) N/A Yes Yes(6) N/A
(6)
2 Yes Yes N/A N/A N/A N/A
Table 5. Access status versus protection level and execution modes when TZEN = 1 (continued)
User execution
RDP Debug/bootloader(1)
Area (boot from flash memory)
level
Read Write Erase Read Write Erase
(2) (2)
0.5 Yes Yes N/A Yes Yes N/A(7)
Backup registers 1 Yes Yes N/A No No N/A(7)
2 Yes Yes N/A N/A N/A N/A
0.5 Yes Yes N/A Yes(2) Yes (2)
N/A(8)
SRAM2 1 Yes Yes N/A No No N/A(8)
2 Yes Yes N/A N/A N/A N/A
1. When the protection level 2 is active, the debug port and the bootloader mode are disabled.
2. Depends upon TrustZone security access rights.
3. The system memory is only read-accessible, whatever the protection level (0, 1 or 2) and execution mode.
4. Option bytes are accessible only through the flash registers interface and OPSTRT bit.
5. The flash main memory is erased when the RDP option byte regresses from level 1 to level 0.
6. OTP can be written only once.
7. The backup registers are erased when RDP changes from level 1 to level 0.5 or level 0.
8. All SRAMs are erased when RDP changes from level 1 to level 0.5 or level 0.
The whole nonvolatile memory embeds the ECC (error correction code) feature supporting:
• single-error detection and correction
• double-error detection
• ECC fail address report
When TrustZone is enabled by setting the TZEN option bit, the boot space must be in the
secure area. The SECBOOTADD0[24:0] option bytes are used to select the boot secure
memory address.
A unique boot entry option can be selected by setting the BOOT_LOCK option bit, allowing
to boot always at the address selected by SECBOOTADD0[24:0] option bytes. All other boot
options are ignored.
The boot address option bytes allow any boot memory address to be programmed. The
allowed address space depends on the flash memory RDP level.
If the programmed boot memory address is out of the allowed memory mapped area when
RDP level is 0.5 or higher, the default boot address is forced either in secure or non-secure
flash memory, depending on TrustZone security option, as detailed in Table 8.
When TrustZone is enabled, the SAU (security attribution unit) and IDAU (implementation
defined attribution unit) define the access permissions based on secure and non-secure
state.
• SAU: up to eight SAU configurable regions are available for security attribution.
• IDAU: provides a first memory partition as non-secure or non-secure callable attributes.
It is then combined with the results from the SAU security attribution, and the higher
security state is selected.
Based on IDAU security attribution, the flash memory, system SRAM and peripheral
memory space is aliased twice for secure and non-secure states.
Table 9 shows an example of typical SAU regions configuration based on IDAU regions.
Table 9. Example of memory map security attribution versus SAU configuration regions
SAU security
IDAU security Final security
Region description Address range attribution typical
attribution attribution
configuration
0x0000 0000
Reserved Non-secure Secure or non-secure or Non-secure callable
0x07FF FFFF
0x0800 0000
Non-secure
Code 0x0BFF FFFF
flash memory and SRAM 0x0C00 0000
Non-secure callable Secure or NSC
0x0FFF FFFF
0x1000 0000
0x17FF FFFF
Reserved Non-secure
0x1800 0000
Non-secure
0x1FFF FFFF
0x2000 0000
Non-secure
0x2FFF FFFF
SRAM
0x3000_0000
Non-secure callable Secure or Non-secure callable
0x3FFF FFFF
0x4000 0000
Non-secure
0x4FFF FFFF
Peripherals
0x5000 0000
Non-secure callable Secure or Non-secure callable
0x5FFF FFFF
0x6000 0000
Reserved Non-secure Secure or non-secure or Non-secure callable
0xDFFF FFFF
AHB bus
VDDRF
I
Rx VDDANA
Demodulator BPF LNA
RADIO interrupt Q
External PA control
IQ Matching RF
AoA/AoD Tx
Low layer protocol Modulator generator
antenna control
VDDANA only available on packages with SMPS. On LDO packages VDDANA is double bonded with VDDRF.
In QFN packages VSSRF is connected to exposed pad.
The VDDHPA pin is provided to connect to an external capacitor (typical value 470 nF).
RADIO domain
VDDANA
VDDRF
VDDRFPA 2.4 GHz RADIO
VDDHPA
VSSRF(2)
VDDA domain
VDDA ADC
Comparators
VSSA(2)
VDD domain
VDD I/O ring
Reset block
Temperature sensor
VCORE domain
1 x PLL
Internal RC oscillators Core
Standby circuitry
SRAM1
VDD (Wakeup logic, IWDG) SRAM2
Voltage regulator
LDO regulator Digital
VCORE peripherals
VDD11
VLXSMPS SMPS regulator
VDDSMPS
VSSSMPS Flash memory
Backup domain
VDD LSE crystal 32 kHz oscillator
RTC, TAMP, Backup registers,
VSS RCC_BDCR1.
(Exposed pad)(1)
(1) Exposed pad is only available on QFN packages.
(2) Not available on all packages. When not available connected to VSS pin.
MS55615V1
Caution: When SMPS devices are used in an LDO application, without inductor between VLXSMPS
and VDD11, VDDSMPS and VLXSMPS must be connected to ground.
RADIO domain
VDDA domain
VDDA ADC
Comparators
VDD domain
VDD VCORE domain
I/O ring
Reset block Core
Temperature sensor
1 x PLL SRAM1
Internal RC oscillators SRAM2
Standby circuitry
VDD Digital
(Wakeup logic, IWDG) VCORE peripherals
VCAP
LDO regulator
Flash memory
Backup domain
VDD LSE crystal 32 kHz oscillator
RTC, TAMP, Backup registers, RCC_BDCR.
VSS
(Exposed pad)
MS55616V1
3.6
VDDX(1)
VDD
VBOR0
0.3
Invalid supply area VDDX < VDD + 300 mV VDDX independent from VDD
MSv47490V1
Low-power modes
The devices support different low-power modes to achieve the best compromise between
low-power consumption, startup time, available peripherals, and available wake-up sources.
Functional overview
Table 10. Operating modes overview
Flash
Mode Regulator(1) CPU SRAM Clocks DMA and peripherals(2) Wake-up source
memory
Range 1 All
Run Yes ON(3) ON Any N/A
Range 2 All except 2.4 GHz RADIO
Range 1 All
Sleep No ON ON(4) Any Any interrupt or event
Range 2 All except 2.4 GHz RADIO
BOR, PVD, RTC, TAMP, IWDG, Reset pin, all I/Os, BOR, PVD,
SLEEP_TIMER, RTC, TAMP, IWDG, SLEEP_TIMER,
ADC4(7) (temperature sensor), ADC4 (temperature sensor),
USARTx (x = 1, 2)(8), USARTx (x = 1, 2),
LPUART1, LPUART1,
LSE SPIx (x = 1, 2)(9),
Range 1 SPIx (x = 1, 2),
Stop 0 No OFF ON(5) LSI I2Cx (x = 1, 2)(10),
DS14127 Rev 5
(6)
I2Cx (x = 1, 2),
LPTIMx (x = 1, 2)(11), LPTIMx (x = 1, 2),
GPIO, GPDMA1(12), GPDMA1,
2.4 GHz RADIO 2.4 GHz RADIO
All other peripherals are frozen.
Range 2 All from Stop 0 Range 1 except 2.4 GHz RADIO
BOR, PVD, Reset pin, all I/Os,
RTC, TAMP, IWDG, SLEEP_TIMER, BOR, PVD, RTC, TAMP, IWDG, SLEEP_TIMER,
ADC4 and temperature sensor), ADC4 and temperature sensor,
USARTx (x = 1, 2), USARTx (x = 1, 2),
LSE LPUART1, LPUART1,
Stop 1(13) LPR No OFF ON(5)
LSI SPIx (x = 1, 2), SPIx (x = 1, 2),
I2Cx (x = 1, 2), I2Cx (x = 1, 2),
LPTIMx (x = 1, 2), LPTIMx (x = 1, 2)
STM32WBA5xxx
GPIO
All other peripherals are frozen.
Table 10. Operating modes overview (continued)
STM32WBA5xxx
Flash
Mode Regulator(1) CPU SRAM Clocks DMA and peripherals(2) Wake-up source
memory
Powered off
retention
LSE I/O configuration can be retained, BOR, RTC, TAMP, IWDG, SLEEP_TIMER
OFF floating, pull-up or pull-down.
LSI
Powered
Standby OFF All from mode Standby retention, except SLEEP_TIMER
off
1. LPR means that the main regulator is OFF and the low-power regulator is ON.
2. All peripherals can be active or clock gated to save power consumption.
3. The flash memory can be put in power-down and its clock can be gated off when executing from SRAM.
4. The SRAM1 and SRAM2 clocks can be gated on or off independently.
DS14127 Rev 5
Functional overview
33/149
Functional overview STM32WBA5xxx
Here below some use-cases that can be done while remaining in Stop mode:
• A/D conversion triggered by a low-power timer (or any other trigger)
– wake-up from Stop mode on analog watchdog if the A/D conversion result is out of
programmed thresholds
– wake-up from Stop mode on DMA buffer event
• I2C slave reception or transmission, SPI reception, UART/LPUART reception
– wake-up at the end of peripheral transfer or on DMA buffer event
2
• I C master transfer, SPI transmission, UART/LPUART transmission, triggered by a
low-power timer (or any other trigger):
– example: sensor periodic read
– wake-up at the end of peripheral transfer or on DMA buffer event
• Bridges between peripherals
– example: ADC converted data transferred by communication peripherals
• Data transfer from/to GPIO to/from SRAM for:
– controlling external components
– implementing data transmission and reception protocols
Peripheral
capability
capability
capability
capability
Wake-up
Wake-up
Wake-up
Wake-up
Range 1
Range 2
Range 1
Range 2
Range 1
Range 2
- - -
CPU Y R R - R - - - - -
(2) O(2)
Flash memory O R - R - R - R -
SRAM1 O O O(3) - O(3) - O(3) - O(3) -
(3) O(4) O(3) O(3) O(3)
SRAM2 O O O - -
Backup registers O O O - R - R - R -
ICACHE O R R - R - - - - -
2.4 GHz RADIO O R O R O R O R - - - - -
2.4 GHz RADIO SRAM O R O R O R - R - R - - -
SLEEP_TIMER O O O O O O O O - -
BOR Y Y Y Y Y Y Y Y Y Y
PVD O O O O O O - - - -
(5)
HSI16 O O O - O(5) - - - - -
HSE32 O O O(6) - - - - - - - -
LSI O O O - O - O - O -
LSE O O O - O - O - O -
HSECSS O O O - O - - - - - -
Peripheral
capability
capability
capability
capability
Wake-up
Wake-up
Wake-up
Wake-up
Range 1
Range 2
Range 1
Range 2
Range 1
Range 2
- - -
LSECSS O O O O O O O O O O
IWDG O O O O O O O O O O
RTC O O O O O O O O O O
Up Up to Up to
TAMP tamper pins Up to 5 Up to 5 Up to 5 O O O O
to 5 5 5
GPIO pins O O O O O O O/R(7) O(8) O/R(7) O(8)
U(S)ARTx (x = 1, 2) O O O O(9) O O(9) - - - -
LPUART1 O O O O(9) O O(9) - - - -
I2Cx (x = 1, 2) O O O O(10) O O(10) - - - -
SPIx (x = 1, 2) O O O O(11) O O(11) - - - -
ADC4 O O O O(12) O O(12) - - - -
COMPx (x = 1, 2) O O O O O O - - - -
LPTIMx (x = 1, 2) O O O O(13) O O(13) - - - -
GPDMA1 O O O O(14) R - - - - -
PTACONV O O O R - R - - - - -
TIMx (x = 1, 2, 3, 16, 17) O O R - R - - - - -
SAI1 O O R - R - - - - -
TSC O O R - R - - - - -
RNG O O R - R - - - - -
AES and SAES O O R - R - - - - -
PKA O O R - R - - - - -
HASH O O R - R - - - - -
CRC O O R - R - - - - -
WWDG O O R - R - - - - -
SysTick timer O O R - R - - - - -
HSEM O R R - R - - - - -
DBGMCU O O O(15) - O(15) - O(16) - O(16) -
1. Legend: Y = yes (enabled). O = optional (disabled by default, can be enabled by software).R = retained, - = not available.
Gray cells highlight the wake-up capability in each mode.
2. The flash memory can be configured in power-down mode. By default, it is not in power-down mode.
3. The SRAMs can be powered on or off independently.
4. Parity error interrupt or NMI wake-up from Stop mode.
5. Some peripherals with autonomous mode and wake-up from Stop capability can request HSI16 to be enabled. In this case,
the oscillator is woken up by the peripheral, and is automatically put off when no peripheral needs it.
6. The 2.4 GHz RADIO peripheral in autonomous mode request HSE32 to be enabled. In this case, the oscillator is kept
active by the peripheral, and is automatically put off when it no longer needs it.
7. I/O levels can be retained with pull-up, pull-down, or floating.
8. There are 16 wake-up pins available.
9. U(S)ART and LPUART reception and transmission are functional and autonomous in Stop mode in asynchronous and in
SPI master modes, and generate a wake-up interrupt on transfer events.
10. I2C reception and transmission is functional and autonomous in Stop mode and generates a wake-up interrupt on transfer
events.
11. SPI reception and transmission is functional and autonomous in Stop mode and generates a wake-up interrupt on transfer
events.
12. A/D conversion is functional and autonomous in Stop mode, and generates a wake-up interrupt on conversion events.
13. LPTIM is functional and autonomous in Stop mode, and generates a wake-up interrupt on events.
14. GPDMA transfers are functional and autonomous in Stop 0 mode, and generates a wake-up interrupt on transfer events.
15. DBGMCU remains accessible trough AP0.
16. DBGMCU remains accessible through AP0 when CDBGPWRUPREQ is set.
• Clock prescaler: to get the best trade-off between speed and current consumption, the
clock frequency to the CPU and peripherals can be adjusted by a programmable
prescaler.
• Clock selection system: clock sources can be changed safely on-the-fly in Run mode
through a configuration register.
• Clock management: to reduce the power consumption, the clock controller can stop the
clock to the core, individual peripherals, or memory.
• System clock source: different clock sources can be used to drive the system clock
SYSCLK:
– HSE32 (32 MHz high-speed external crystal oscillator), trimmable by software.
The HSE32 can also be used with an external clock.
– HSI16 (16 MHz high-speed internal RC oscillator), trimmable by software.
– System PLL that can be fed by HSE32 or HSI16 with a maximum output frequency
at 100 MHz.
• Auxiliary clock source: three ultra-low power clock sources that can be used to drive,
for instance, the real-time clock:
– LSE (32.000 kHz or 32.768 kHz low-speed external crystal oscillator), supporting
programmable drive capability modes. The LSE can also be configured in bypass
mode for an external clock.
– LSI1 (32 kHz low-speed internal RC oscillators), also used to drive the
independent watchdog. The LSI1 clock absolute accuracy is ±5%, it can be
divided by 128 to output a 250 Hz as source clock.
– LSI2 (32 kHz high stability, ±500 ppm), can be used to drive the 2.4 GHz RADIO
sleep timer.
• Peripheral clock sources: several peripherals have their own independent kernel clock
whatever the system clock. The PLL has three independent outputs allowing the
highest flexibility and can generate clocks for the ADC and the RNG.
• Startup clock: after reset, the microcontroller restarts by default with the HSI16. The
prescaler ratio and clock source can be changed by the application program as soon
as the code execution starts.
• CSS (Clock security systems): these features can be enabled by software.
– If a HSE32 clock failure occurs, the system clock automatically switches to HSI16
and a software interrupt is generated if enabled.
– LSE failure can also be detected and generates an interrupt, in this case the clock
switches to LSI.
• Clock-out capability:
– MCO (microcontroller clock output): outputs one of the internal clocks for external
use by the application. (only available in Run, Sleep and Stop mode)
– LSCO (low-speed clock output): outputs LSI or LSE in all operating modes.
Several prescalers allow AHB and APB frequencies configuration. The maximum frequency
of the AHB and the APB clock domains is 100 MHz, except for AHB5 domain, limited to
32 MHz.
LSE OSC
OSC32_OUT 32.768 kHz or
32.000 kHz LSE
OSC32_IN
LSE CSS LSI to 2.4 GHz RADIO sleep timer
LSI /1000 HPRE hclk1 to CPU, AHB1, AHB2, Flash, SRAM1, SRAM2
/1,2,4,8,16
LSE to CPU FCLK
/32
HSE32 /8
LSI to CPU
sysclkpre LSE system timer
APB1 pclk1 to APB1
MCO hclk5 PPRE1
/1 - 16
/1,2,4,8,16 to TIM2, 3
pll1rclk /1 or /2
APB2 pclk2
HSI16 PLLRPRE to APB2
pll1rclk PPRE2
/1,2,4,8,16 to TIM1, 16, 17
pll1qclk HSE32 /1 or /2
HSEPRE SYSCLK
/1, 2
pll1pclk to AHB4
HSI16 APB7
OSC_OUT HSE OSC pclk7
PPRE7
32 MHz HSE32 to APB7
HPRE5 /1,2,4,8,16
HSE_RF /1,2,3,4,6 hclk5
OSC_IN HDIV5 to AHB5
HSE CSS
/1,2
SW, SWS
HSI16 RC system clock
16 MHz source control
to 2.4 GHz RADIO RF
HSI16 pclk1
to SAES kernel pclk2
/M hclk1
HSE32PRE SYSCLK
to UART2 kernel SYSCLK
to 2.4 GHz RADIO kernel to UART1
EN HSI16
HSI16 kernel
PLL1 HSI16
LSE
ref_ck pll1pclk pll1qclk LSE
xN /P /2
to RNG kernel
SYSCLK LSI pclk1
pll1qclk pclk7
/Q
HSI16 LSE HSI16
to LPTIM2 kernel SYSCLK to
/R pll1rclk LPUART1
pll1qclk to SAI1 kernel LSI
HSI16 kernel
hclk1 LSE
pll1pclk LSE
power control, and generates an interrupt request to the CPU NVIC and events to the CPU
event input.
The EXTI wake-up requests allow the system to be woken up from Stop modes.
The interrupt request and event request generation can also be used in Run and Sleep
modes. The EXTI also includes the peripheral interconnect EXTI multiplexer I/O port
selection.
The EXTI main features are the following:
• All event inputs allowed to wake up the system
• Configurable events (signals from I/Os or peripherals able to generate a pulse)
– Selectable active trigger edge
– Interrupt pending status register bit independent for the rising and falling edge
– Individual interrupt and event generation mask, used for conditioning the CPU
wake-up, interrupt and event generation
– Software trigger possibility
• TrustZone secure events
– The access to control and configuration bits of secure input events can be made
secure
• EXTI I/O port selection for peripheral interconnect use.
Resolution 12 bits
Maximum sampling speed for 14-bit resolution 2.5 Msps
Hardware offset calibration X
Hardware linearity calibration -
Single-ended inputs X
Differential inputs -
• 528 or 743 clock cycle latency in ECB encryption mode for SAES processing one
128-bit block of data with, respectively, 128- or 256-bit key
• 51 or 75 clock cycle latency in ECB encryption mode for AES processing one 128-bit
block of data with, respectively, 128- or 256-bit key
• Integrated round key scheduler to compute the last round key for AES ECB/CBC
decryption
• 256-bit register for storing the cryptographic key (four 32-bit registers), with key
atomicity enforcement
• 128-bit registers for storing initialization vectors (four 32-bit registers)
• One 32-bit input buffer and one 32-bit output buffer
• Automatic data flow control with support of single-transfer direct memory access (DMA)
using two channels (one for incoming data, one for processed data)
• Data swapping logic to support 1-, 8-, 16- or 32-bit data
• Possibility for software to suspend a message if the SAES/AES needs to process
another message with a higher priority (suspend/resume operation)
• SAES additional features:
– Security context enforcement for keys
– Hardware secret key encryption/ decryption (wrapped key mode) and sharing with
faster AES peripheral (Shared key mode)
– Protection against DPA (differential power analysis) and related side-channel
attacks
– Optional hardware loading of two hardware secret keys (BHK, DHUK) that can be
XORed together
On top of standard AES encryption and decryption with a key loaded by software, SAES
peripheral makes possible the following advanced use cases:
• Allow or deny the sharing of a key between a secure and a non-secure application,
enforced by hardware
• Encrypt once a key using side-channel resistant AES, then share it to a faster AES
engine by decrypting it (Shared key mode)
• On-chip encrypted storage using secret DHUK
• Transport key generation by encrypting the device public unique ID with the application
secret BHK
• Binding of device secure storage keys, using the secret derived hardware unique key
(DHUK) XORed with the secret boot hardware key (BHK). If BHK is lost, the whole
device secure storage is lost.
Note: Encrypted storage or derived keys that are using DHUK or BHK, cannot be used anymore
when a security breach is detected.
• Automatic data flow control with support of direct memory access (DMA) using one
channel. Single or fixed burst of 4 supported.
• Interruptible message digest computation, on a per-32-bit word basis
– Re-loadable digest registers
– Hashing computation suspend/resume mechanism, including using DMA
3.31.1 USART/UART
The U(S)ART offers a flexible means to perform full-duplex data exchange with external
equipments requiring an industry standard NRZ asynchronous serial data format. A very
wide range of baud rates can be achieved through a fractional baud rate generator.
The U(S)ART supports both synchronous one-way and half-duplex single-wire
communications, as well as LIN (local interconnection network), Smartcard protocol, IrDA
(infrared data association) SIR ENDEC specifications, and modem operations (CTS/RTS).
Multiprocessor communications are also supported.
High-speed data communications up to 20 Mbauds are possible by using the direct memory
access (DMA) for multibuffer configuration.
The U(S)ART main features are:
• Full-duplex asynchronous communication
• NRZ standard format (mark/space)
• Configurable oversampling method by 16 or 8 to achieve the best compromise
between speed and clock tolerance
• Baud rate generator systems
• Two internal FIFOs for transmit and receive data
Each FIFO can be enabled/disabled by software and come with a status flag.
• A common programmable transmit and receive baud rate
• Dual-clock domain with dedicated kernel clock for peripherals independent from PCLK
• Auto baud rate detection
• Programmable data word length (7, 8 or 9 bits)
• Programmable data order with MSB-first or LSB-first shifting
• Configurable stop bits (1 or 2 stop bits)
• Synchronous Master/Slave mode and clock output/input for synchronous
communications
• SPI slave transmission underrun error flag
• Single-wire half-duplex communications
• Continuous communications using DMA
• Received/transmitted bytes are buffered in reserved SRAM using centralized DMA
• Separate enable bits for transmitter and receiver
• Separate signal polarity control for transmission and reception
• Swappable Tx/Rx pin configuration
• Hardware flow control for modem and RS-485 transceiver
• Communication control/error detection flags
• Parity control:
– Transmits parity bit
– Checks parity of received data byte
• Interrupt sources with flags
• Multiprocessor communications: wake-up from Mute mode by idle line detection or
address mark detection
• Autonomous functionality in Stop mode with wake-up from stop capability
• LIN master synchronous break send capability and LIN slave break detection capability
– 13-bit break generation and 10/11-bit break detection when USART is hardware
configured for LIN
• IrDA SIR encoder decoder supporting 3/16-bit duration for Normal mode
• Smartcard mode
– Supports the T = 0 and T = 1 asynchronous protocols for smartcards as defined in
the ISO/IEC 7816-3 standard
– 0.5 and 1.5 stop bits for Smartcard operation
• Support for Modbus communication
– Timeout feature
– CR/LF character recognition
3.31.2 LPUART
The LPUART supports bidirectional asynchronous serial communication with minimum
power consumption. It also supports half-duplex single-wire communication and modem
operations (CTS/RTS). It allows multiprocessor communication.
Only a 32.768 kHz clock (LSE) is needed to allow LPUART communication up to
9600 baud. Therefore, even in Stop mode, the LPUART can wait for an incoming frame
while having an extremely low energy consumption. Higher-speed clock can be used to
reach higher baudrates.
The LPUART interface can be served by the DMA controller.
The LPUART main features are:
• Full-duplex asynchronous communications
• NRZ standard format (mark/space)
• Programmable baud rate
• From 300 baud/s to 9600 baud/s using a 32.768 kHz clock source
• Higher baud rates can be achieved by using a higher frequency clock source
• Two internal FIFOs to transmit and receive data
Each FIFO can be enabled/disabled by software and come with status flags for FIFOs
states.
• Dual-clock domain with dedicated kernel clock for peripherals independent from PCLK
• Programmable data word length (7 or 8 or 9 bits)
• Programmable data order with MSB-first or LSB-first shifting
• Configurable stop bits (1 or 2 stop bits)
• Single-wire half-duplex communications
• Continuous communications using DMA
• Received/transmitted bytes are buffered in reserved SRAM using centralized DMA
• Separate enable bits for transmitter and receiver
• Separate signal polarity control for transmission and reception
• Swappable Tx/Rx pin configuration
• Hardware flow control for modem and RS-485 transceiver
• Transfer detection flags:
– Receive buffer full
– Transmit buffer empty
• Hardware CRC feature can secure communication at the end of transaction by:
– Adding CRC value in Tx mode
– Automatic CRC error checking for Rx mode
• Error detection with interrupt capability in case of data overrun, CRC error, data
underrun at slave, mode fault at master
• Two 16 x or 8 x 8-bit embedded Rx and TxFIFOs with DMA capability
• Programmable number of data in transaction
• Configurable FIFO thresholds (data packing)
• Configurable behavior at slave underrun condition (support of cascaded circular
buffers)
• Autonomous functionality in Stop modes (handling of the transaction flow and required
clock distribution) with wake-up from stop capability
• Optional status pin RDY signalizing the slave device ready to handle the data flow.
OSC_OUT
VDDRFPA
VDDHPA
OSC_IN
VDDRF
VCAP
VDD
RF
32
31
30
29
28
27
26
25
PB12 1 24 NRST
PA8 2 23 VDD
PA7 3 22 PH3-BOOT0
PA6 4 21 PB15
VDDA 5
UFQFPN32 20 PA12
PA5 6 19 PA13
PA2 7 exposed pad VSS 18 PA14
PA1 8 17 PA15
10
12
13
14
15
16
11
9
PB9
PB8
PC15-OSC32_OUT
PC14-OSC32_IN
VDD
PB4
PB3
PA0
MS55611V1
VDDHPA
OSC_IN
VDDRF
VCAP
PB13
PB14
PA10
VDD
PA9
RF
48
47
46
45
44
43
42
41
40
39
38
37
PB12 1 36 NRST
PB11 2 35 VDD
PA8 3 34 PH3-BOOT0
PA7 4 33 PB15
PA6 5 32 PB0
VDDA 6 31 PB1
PA5 7
UFQFPN48 30 PB2
PA3 8 29 PA11
PB10 9 28 PA12
PA2 10 27 PA13
VDD 11 exposed pad VSS 26 PA14
PA1 12 25 PA15
13
14
15
16
17
18
19
20
21
22
23
24
PB9
PB8
PC15-OSC32_OUT
PC14-OSC32_IN
PC13
PB7
PB6
PB5
VDD
PB4
PB3
PA0
MS55605V1
OSC_OUT
VDDRFPA
VDDANA
VDDHPA
OSC_IN
VDDRF
VDD11
PB14
PA10
VDD
PA9
RF
48
47
46
45
44
43
42
41
40
39
38
37
VSSSMPS 1 36 NRST
VDDSMPS 2 35 VDD
VLXSMPS 3 34 PH3-BOOT0
PB12 4 33 PB15
PA8 5 32 PB0
PA7 6 31 PB1
PA6 7
UFQFPN48 30 PB2
VDDA 8 29 PA11
PA5 9 28 PA12
PA2 10 27 PA13
VDD 11 exposed pad VSS 26 PA14
PA1 12 25 PA15
13
14
15
16
17
18
19
20
21
22
23
24
PB9
PB8
PC15-OSC32_OUT
PC14-OSC32_IN
PC13
PB7
PB6
PB5
VDD
PB4
PB3
PA0
MS55612V1
VLX PH3_
C SMPS
PB12 VDD11 VDD
BOOT0
PB15
PC15_
G PA4 PA3 PA2 OSC32_ PC13 PB6 PB3 PA15
OUT
PC14_
H PA0 PA1 PB9 OSC32_ PB8 PB7 PB5 PB4
IN
MS55613V1
Unless otherwise specified in brackets below the pin name, the pin function during and after
Pin name
reset is the same as the actual pin name
S Supply pin
FT 5 V-tolerant I/O
RF RF I/O
I/O structure RST Bidirectional reset pin with weak pull-up resistor
Notes Unless otherwise specified by a note, all I/Os are set as analog inputs during and after reset.
Alternate
Functions selected through GPIOx_AFR registers
Pin functions
functions Additional
Functions directly selected/enabled through peripheral registers
functions
1. The related I/O structures in Table 24 are a concatenation of various options. Examples: FT_a, FT_fa, FT_f.
Number
I/O structure
UFQFPN48 SMPS
Notes
UFBGA59 SMPS
UFQFPN48
Name (function
Type
after reset)
- - 1 A1 VSSSMPS S - - - -
- - 2 B1 VDDSMPS S - - - -
- - 3 C1 VLXSMPS S - - - -
- - - D4 VSS S - - - -
LPTIM1_CH1, LPTIM1_ETR,
- 2 - D2 PB11 I/O FT_ -
LPUART1_TX, EVENTOUT
MCO, TIM2_CH2, LPTIM1_CH2,
2 3 5 D1 PA8 I/O FT_a - SPI3_RDY, USART1_RX, TSC_G1_IO1, ADC4_IN1
SAI1_FS_A, EVENTOUT
- - - F2 VSSA S - - - -
5 6 8 F1 VDDA S - - - -
USART1_CK, TSC_G4_IO3,
- 9 - - PB10 I/O FT_a - -
TIM16_BKIN, EVENTOUT
- 11 11 - VDD S - - - -
Number
I/O structure
UFQFPN48 SMPS
Notes
UFBGA59 SMPS
UFQFPN48
Name (function
Type
after reset)
- - - E3 VSS S - - - -
WKUP2,
TIM1_BKIN2, TSC_G5_IO1,
- 18 18 G5 PC13 I/O FT_a - RTC_TS/RTC_OUT1,
EVENTOUT
TAMP_IN4/TAMP_OUT5
14 - - F5 VDD S - - - -
- - - E5 VSS S - - - -
- 22 22 - VDD S - - - -
JTDO/TRACESWO, TIM1_CH4,
LPTIM1_IN2, USART2_CK, I2C1_SDA,
16 24 24 G7 PB3 I/O FT_fa - SPI1_MISO, TSC_G3_IO2, -
TIM17_CH1N, PTA_ACTIVE,
EVENTOUT
Number
I/O structure
UFQFPN48 SMPS
Notes
UFBGA59 SMPS
UFQFPN48
Name (function
Type
after reset)
JTMS/SWDIO, IR_OUT,
19 27 27 F8 PA13 I/O FT_ - -
PTA_PROIORITY, EVENTOUT
TIM1_CH2N, USART2_RTS_DE,
- 31 31 D8 PB1 I/O FT_f - WKUP4
I2C1_SDA, I2C3_SDA, EVENTOUT
TIM1_CH3N, LPTIM2_IN2,
- 32 32 D7 PB0 I/O FT_ - -
USART2_TX, EVENTOUT
TIM1_BKIN2, USART2_CTS,
I2C1_SMBA, I2C3_SMBA,
21 33 33 C8 PB15 I/O TT_ - -
LPUART1_CTS, RF_EXTPABYP,
TIM16_BKIN, PTA_GRANT, EVENTOUT
RF_EXTPABYP, PTA_GRANT,
22 34 34 C7 PH3-BOOT0 I/O TT_ - TAMP_IN2/TAMP_OUT1
EVENTOUT
23 35 35 C6 VDD S - - - -
- - - D6 VSS S - - - -
25 37 37 A8 RF I/O RF - - -
- - - A7 VSSRF S - - - -
26 38 38 B4 VDDHPA S - - - -
- - - B7 VSSRF S - - - -
- - 39 B6 VDDANA S - - - -
27 39 40 A6 VDDRF S - - - -
28 40 41 A5 OSC_OUT O RF - - -
Number
I/O structure
UFQFPN48 SMPS
Notes
UFBGA59 SMPS
UFQFPN48
Name (function
Type
after reset)
29 41 42 B5 OSC_IN I RF - - -
30 42 43 A4 VDDRFPA S - - - -
- - - E4 VDD S - - - -
31 43 44 D5 VDD S - - - -
32 44 - - VCAP S - - - -
- - 45 C3 VDD11 S - - - -
STM32WBA5xxx
Table 25. Alternate function AF0 to AF7(1)
AF0 AF1 AF2 AF3 AF4 AF5 AF6 AF7
Port
LPTIM1/2
LPTIM1/SYS_AF TIM1/2 USART2 I2C1/3 SPI1 I2C3/SPI3 USART1
/TIM1/2/3
B
PB8 LPTIM1_ETR TIM1_CH1 TIM3_ETR USART2_RX - - SPI3_MOSI -
PB9 - TIM1_CH3N TIM3_CH4 IR_OUT - - SPI3_MISO -
PB10 - - - - - - - USART1_CK
PB11 LPTIM1_CH1 - LPTIM1_ETR - - - - -
PB12 - TIM2_CH1 TIM2_ETR - - SPI1_RDY - USART1_TX
PB13 - - TIM3_CH4 - - - - -
PB14 RTC_REFIN - TIM3_CH3 - - - - USART1_TX
PB15 - TIM1_BKIN2 - USART2_CTS I2C1_SMBA - I2C3_SMBA -
PC13 - - TIM1_BKIN2 - - - - -
C PC14 - - - - - - - -
STM32WBA5xxx
PC15 - - - - - - - -
H PH3 - - - - - - - -
1. For AF8 to AF15 refer to Table 26.
Table 26. Alternate function AF8 to AF15(1)
STM32WBA5xxx
AF8 AF9 AF10 AF11 AF12 AF13 AF14 AF15
Port
LPTIM2/
LPUART1 TSC - - - LPTIM2 EVENTOUT
TIM3/16/17
PB0 - - - - - - - EVENTOUT
PB1 - - - - - - - EVENTOUT
PB2 - - - - - - - EVENTOUT
PB3 - TSC_G3_IO2 - - - - TIM17_CH1N EVENTOUT
PB4 - TSC_G3_IO1 - - - - TIM17_CH1 EVENTOUT
PB5 LPUART1_TX TSC_G5_IO4 - - - - - EVENTOUT
PB6 - TSC_G5_IO3 - - - - - EVENTOUT
PB7 - TSC_G5_IO2 - - - - - EVENTOUT
B
DS14127 Rev 5
STM32WBA5xxx
H PH3 - - - - - - - EVENTOUT
1. For AF0 to AF7 refer to Table 25.
STM32WBA5xxx Electrical characteristics
5 Electrical characteristics
Figure 11. Pin loading conditions Figure 12. Pin input voltage
MS19210V1
MS19211V1
Level shifter
GPIOs IO (CPU, digital
IN
logic and memories)
VSS
VDDA
VDDA VDDA
100 nF VREF+
+ 1 μF
VREF- ADC
VSSA
VDD
VDDRFPA
100 nF
VDDHPA
2.4 GHz RADIO
470 nF VDD
VDDRF
100 nF VSSRF
DT56257V2
(Exposed pad) VSS VSS
To all modules
Backup circuitry
(LSE, RTC, TAMP,
and backup registers)
VDD VCORE
n x VDD VDDIO
Regulator
n x 100 nF
+ 10 μF
OUT
Level shifter
GPIOs IO (CPU, digital
IN
logic and memories)
VSS
VDDA
VDDA VDDA
100 nF VREF+
+ 1 μF ADC
VREF- COMPs
VSSA(1) VSSA 1. VSSA pin is not available
VDD on all packages. When not
available, it is connected to
VDDSMPS VSS pin.
SMPS / LDO
10 μF VLXSMPS regulator 2. VSSRF pin is not
available on all packages.
2.2 μH When not available, it is
VDD11 connected to VSS pin.
4.7 μF
VSSSMPS
VDDANA
100 nF
VDDRFPA
Backup circuitry
(LSE, RTC, TAMP,
and backup registers)
VDD VCORE
n x VDD VDDIO
Regulator
n x 100 nF
+ 10 μF
OUT
Level shifter
GPIOs IO (CPU, digital,
IN
logic and memories)
VSS
VDDA
VDDA VDDA
100 nF VREF+
+ 1 μF ADC
VREF- COMPs
1. VSSA pin is not available
VSSA(1) VSSA on all packages. When not
VDD available, it is connected to
VSS pin.
VDDSMPS
SMPS / LDO 2. VSSRF pin is not available
10 μF VLXSMPS regulator on all packages. When not
available, it is connected to
2.2 μH
VSS pin.
VDD11
4.7 μF
VSSSMPS
VDDANA
100 nF
VDD VDDRFPA
Caution: Each power supply pair (VDD / VSS, VDDA / VSS, VDDRFPA / VSS, VDDRF / VSS) must be
decoupled with filtering ceramic capacitors as shown. These capacitors must be placed as
close as possible to (or below) the appropriate pins to ensure correct device functionality.
Caution: VDD and VDDRF must be connected to the same supply.
VDDSMPS VDDSMPS
DT56256V1
VDDRFPA VDDRFPA
∑IVDD Total current into sum of all VDD power lines (source)(1) 200
∑IVSS Total current out of sum of all VSS ground lines (sink)(1) 200
(1)
IVDD(PIN) Maximum current into each VDD power pin (source) 100
IVSS(PIN) Maximum current out of each VSS ground pin (sink)(1) 100
IIO Output current sunk by any I/O and control pin 20 mA
(2)
Total output current sunk by sum of all I/Os and control pins 120
∑I(PIN)
(2)
Total output current sourced by sum of all I/Os and control pins 120
IINJ(PIN)(3)(4) Injected current on FT_xxx, TT_xx, RST pins –5/+0
∑|IINJ(PIN)| (5)
Total injected current (sum of all I/Os and control pins) ±25
1. All main power (VDD, VDDA, VDDRF, VDDRFPA, VDDANA, VDDSMPS) and ground (VSS, VSSA, VSSRF, VSSSMPS)
pins must always be connected to the external power supplies, in the permitted range.
2. This current consumption must be correctly distributed over all I/Os and control pins. The total output current must not be
sunk/sourced between two consecutive power supply pins.
3. Positive injection (when VIN > VDD) is not possible on these I/Os and does not occur for input voltages lower than the
specified maximum value.
4. A negative injection is induced by VIN < VSS. IINJ(PIN) must never be exceeded. Refer also to Table 27 for the maximum
allowed input voltage values.
5. When several inputs are submitted to a current injection, the maximum ∑|IINJ(PIN)| is the absolute sum of the negative
injected currents (instantaneous values).
5.3.3 RF characteristics
1. Evaluated by characterization, not tested in production, unless otherwise specified. Measured in conducted mode, based
on reference design (see AN5165), using output power specific external RF filter and impedance matching networks to
interface with a 50 Ω antenna.
1. Evaluated by characterization, not tested in production, unless otherwise specified. Measured in conducted mode, based
on reference design (see AN5165), using output power specific external RF filter and impedance matching networks to
interface with a 50 Ω antenna.
Out of band blocking (for desired 2000 to 2399 MHz -35 -35 -22 -
POBB1Mbps
signal at -67 dBm and 1 Mbps) 2484 to 2999 MHz -35 -35 -15 -
3 to 12.75 GHz -30 -30 -10 -
|f2 - f1| = 3 MHz -50 -37 -
PIMD2Mbps Intermodulation 2Mbps |f2 - f1| = 4 MHz -50 -50 -30 -
|f2 - f1| = 5 MHz -50 -30 -
30 to 2000 MHz -30 -30 -10 - dBm
Out of band blocking (for desired 2000 to 2399 MHz -35 -35 -33 -
POBB2Mbps
signal at -67 dBm and 2 Mbps) 2484 to 2999 MHz -35 -35 -19 -
3 to 12.75 GHz -30 -30 -10 -
Adj = ±1 MHz 6 - -2 6
Adj = 2 MHz -26 - -38 -26
Adj = ±1 MHz 11 - -2 11
Adj = 2 MHz -21 - -34 -21
Adj = ±1 MHz 15 - 0 15
Adj = 2 MHz -17 - -38 -17
Adj = ±2 MHz 15 - 0 15
Adj = 4 MHz -17 - -35 -17
Table 37. RF Bluetooth Low Energy power consumption for VDD = 3.3 V(1)(2)
Symbol Parameter Typ Unit
Table 37. RF Bluetooth Low Energy power consumption for VDD = 3.3 V(1)(2) (continued)
Symbol Parameter Typ Unit
1. Evaluated by characterization, not tested in production, unless otherwise specified. Measured in conducted mode, based
on reference design (see AN5165), using output power specific external RF filter and impedance matching networks to
interface with a 50 Ω antenna.
2. Suitable for systems targeting compliance with worldwide radio-frequency regulations ETSI EN 300 328 and EN 300 440
Class 2 (Europe), FCC CFR47 Part 15 (US), and ARIB STD-T66 (Japan).
1. Guaranteed by characterization results, unless otherwise specified. Measured in conducted mode, based on reference
design (see AN5165), using output power specific external RF filter and impedance matching networks to interface with a
50 Ω antenna.
tRSTTEMPO(1) Reset temporization after VBOR0 threshold detection VDD rising - - 900 μs
VDD rising 1.60 1.66 1.71
VBOR0(2) Brown-out reset threshold 0
VDD falling 1.58 1.64 1.69
VDD rising 1.98 2.08 2.17
VBOR1(2) Brown-out reset threshold 1
VDD falling 1.90 2.00 2.10
VDD rising 2.18 2.29 2.39
VBOR2(2) Brown-out reset threshold 2 V
VDD falling 2.08 2.18 2.25
VDD rising 2.48 2.59 2.70
VBOR3(2) Brown-out reset threshold 3
VDD falling 2.39 2.50 2.61
VDD rising 2.76 2.88 3.00
VBOR4(2) Brown-out reset threshold 4
VDD falling 2.67 2.79 2.90
VDD rising 2.03 2.13 2.23
VPVD0(2) Programmable voltage detector threshold 0
VDD falling 1.93 2.03 2.12
VDD rising 2.18 2.29 2.39
VPVD1(2) PVD threshold 1
VDD falling 2.08 2.18 2.28
VDD rising 2.33 2.44 2.55
VPVD2(2) PVD threshold 2
VDD falling 2.23 2.34 2.44
VDD rising 2.47 2.59 2.70
VPVD3(2) PVD threshold 3 V
VDD falling 2.39 2.50 2.61
VDD rising 2.60 2.72 2.83
VPVD4(2) PVD threshold 4
VDD falling 2.50 2.62 2.73
VDD rising 2.76 2.88 3.00
VPVD5(2) PVD threshold 5
VDD falling 2.66 2.78 2.90
VDD rising 2.83 2.96 3.08
VPVD6(2) PVD threshold 6
VDD falling 2.76 2.88 3.00
Vhyst_BOR0(2) BOR0 hysteresis voltage - - 20 -
mV
Vhyst_BOR_PVD(2) BOR1, 2, 3, 4 and PVD hysteresis voltage - - 80 -
tsampling_BOR0(2) BOR0 ultra-low power sampling monitoring period ULPEN = 1 - 12 30 ms
BOR1, 2, 3, 4 and PVD consumption from VDD,
IDD_BOR_PVD(1) and additional BOR0 consumption for ULPMEN = 0 - - 1.7 2.5 μA
vs. ULPMEN = 1 (3)
1. Specified by design, not tested in production.
Table 45. Current consumption in Run modes on LDO, code with data processing running
from flash memory, Cache ON (1-way), prefetch OFF, VDD = 3.3 V(1)(2)(3)
Conditions Typ
Symbol Parameter Unit
- Voltage fHCLK1 25 °C 55 °C 85 °C
scaling
fHCLK1 = fHSI16 = 16 MHz Range 2 16 MHz 0.91 0.95 1.10
Supply
IDD(Run) current in fHCLK1 = fHSE32 = 32 MHz 32 MHz 2.29 2.41 2.73 mA
Run mode Range 1
fHCLK1 = HSE32 + PLL > 32 MHz 100 MHz 6.16 6.30 6.63
1. Evaluated by characterization, not tested in production, unless otherwise specified.
2. Reduced code used for characterization.
3. All peripherals disabled, SRAM1 and SRAM2 enabled.
Table 46. Current consumption in Run modes on SMPS, code with data processing running
from flash memory, Cache ON (1-way), prefetch OFF, VDD = 3.3 V(1)(2)(3)
Conditions Typ
Symbol Parameter Unit
- Voltage fHCLK1 25 °C 55 °C 85 °C
scaling
fHCLK1 = fHSI16 = 16 MHz Range 2 16 MHz 0.45 0.46 0.53
Supply
IDD(Run) current in fHCLK1 = fHSE32 = 32 MHz 32 MHz 1.47 1.55 1.73 mA
Run mode Range 1
fHCLK1 = HSE32 + PLL > 32 MHz 100 MHz 3.35 3.48 3.66
1. Guaranteed by characterization results, unless otherwise specified.
2. Reduced code used for characterization results
3. All peripherals disabled, SRAM1 and SRAM2 enabled.
Electrical characteristics
fHCLK1 = HSE32 + PLL at
100 MHz Dhrystone 2.1 6.92 7.04 7.07 69.2 70.4 70.7
Fibonacci 5.85 5.97 6.01 58.5 59.7 60.1
While(1) 4.45 4.58 4.61 44.5 45.8 46.1
1. Evaluated by characterization, not tested in production, unless otherwise specified.
93/149
Table 48. Current consumption in Run mode on SMPS, with different codes running
94/149
Electrical characteristics
from flash memory, Cache ON (2-way), Prefetch OFF(1)
Typ Typ
Conditions
Symbol
25 °C 25 °C
Parameter Unit Unit
STM32WBA5xxx
While(1) 3.65 2.74 2.63 36.5 27.4 26.3
1. Guaranteed by characterization results, unless otherwise specified.
STM32WBA5xxx Electrical characteristics
IDD (Flash) Static consumption in normal mode PD = 1 versus PD = 0 44.6 48.5 59.0
Additional static consumption in µA
IDD (Flash_LPM) LPM = 1 versus LPM = 0 25.2 26.2 28.7
normal versus low-power mode
1. Evaluated by characterization, not tested in production, unless otherwise specified.
this supply current consumption can be avoided by configuring these I/Os in analog mode.
This is the case of ADC input pins, which must be configured as analog inputs.
Caution: Any floating input pin can settle to an intermediate voltage level or switch inadvertently, as a
result of external electromagnetic noise. To avoid current consumption related to floating
pins, they must be configured in analog mode, or forced internally to a definite digital value.
This can be done by using pull-up/down resistors, or by configuring the pins in output mode.
I/O dynamic current consumption
The I/Os used in application increase the consumption measured previously (see Table 55).
When an I/O pin switches, it uses the current from the I/O supply voltage to supply the pin
circuitry, and to charge/discharge the capacitive load (internal and external) connected to it:
I SW = V DD × f SW × C
where:
• ISW is the current sunk by a switching I/O to charge/discharge the capacitive load
• VDD is the I/O supply voltage
• fSW is the I/O switching frequency
• C is the total capacitance seen by the I/O pin: C = CINT + CEXT + CS
– CINT is the I/O pin capacitance
– CEXT is any connected external device pin capacitance
– CS is the PCB board capacitance
The pin is configured in push-pull output mode, and is toggled by software at a fixed
frequency.
On-chip peripheral current consumption
The power consumption of the digital part of the peripherals is given in Table 55, while that
of the analog part (when applicable) is indicated in the related sections.
The MCU is put under the following conditions:
• All I/O pins are in analog mode
• The given value is calculated by measuring the difference of the current consumptions:
– when the peripheral is clocked on
– when the peripheral is clocked off
• The ambient operating temperature and supply voltage conditions summarized in
Table 31
4. The AHB to APB bridge is automatically active when at least one peripheral is ON on the APB.
Note: For information about oscillator trimming, refer to AN5042 “Precise HSE frequency and
startup time tuning for STM32 wireless MCUs”, available on www.st.com.
32.000
fLSE Oscillator frequency(2) - - or - kHz
32.768
Includes initial accuracy, stability
over temperature, aging and Bluetooth
fTOL Frequency tolerance -500 - 500 ppm
frequency pulling due to incorrect Low Energy
load capacitance
LSEDRV = medium-low drive capability - 450 -
LSE current
IDD(LSE) LSEDRV = medium-high drive capability - 590 - nA
consumption
LSEDRV = high drive capability - 700 -
LSEDRV = medium-low drive capability - - 0.75
Maximum critical
Gmcritmax LSEDRV = medium-high drive capability - - 1.70 µA/V
crystal Gm
LSEDRV = high drive capability - - 2.70
Internal stray parasitic
CS_PARA - - 3 - pF
capacitance(3)
tSU(LSE) Startup time(4) VDD is stabilized - 2 - s
1. Specified by design, not tested in production.
2. For information on selecting the crystal, refer to AN2867 ‘Oscillator design guide for STM8AF/AL/S, STM32 MCUs and
MPUs”.
3. CS_PARA is the equivalent capacitance seen by the crystal due to OSC32_IN and OSC32_OUT internal parasitic
capacitances.
4. Time measured from when the LSE is enabled by software, until a stable LSE oscillation is reached. This value is
measured for a standard crystal, and can vary significantly with the crystal used.
OSC32_IN fLSE
OSC32_OUT
CL2
MS30253V2
Note: No external resistors are required between OSC32_IN and OSC32_OUT, and it is forbidden
to add one.
The clock input waveforms are shown in Figure 19 and Figure 20.
VLSE_ext_PP
DT56259V1
t
DuCyLSE DuCyLSE
VLSE_ext
tLSE = 1/fLSE
VLSE_ext_PP
DT56258V1
In bypass mode the LSE oscillator is switched off, and the input pin OSC32_IN is a standard
GPIO.
VDD = 3.0 V, TJ = 30 °C
15.92 16 16.08
calibrated during production
1.71 V ≤ VDD ≤ 3.6 V,
fHSI16 Frequency after factory calibration 15.84 16 16.16 MHz
TJ = -10 °C to 100 °C(1)
1.71 V ≤ VDD ≤ 3.6 V,
15.65 16 16.35
TJ = -40 °C to 130 °C (1)
TRIM(2) User trimming step - 18 29 40 kHz
DuCyHSI16 (2) Duty cycle - 45 - 55 %
tsu(HSI16)(2) Startup time - - 2.5 3.6
μs
tstab(HSI16)(2) Stabilization time - - 4 6
IDD(HSI16)(2) Power consumption - - 150 210 μA
1. Evaluated by characterization, not tested in production, unless otherwise specified. It does not take into account package
and soldering effects.
2. Specified by design, not tested in production.
Voltage limits to apply on any I/O pin to VDD = 3.3 V, TA = +25 °C, fHCLK1 = 100 MHz,
VFESD 3B
induce a functional disturbance UFQFPN48 conforming to IEC 61000-4-2
Fast transient voltage burst limits to apply
VDD = 3.3 V, TA = +25 °C, fHCLK1 = 100 MHz,
VEFTB through 100 pF on VDD and VSS pins to 5A
UFQFPN48 conforming to IEC 61000-4-4
induce a functional disturbance
1. Evaluated by characterization, not tested in production, unless otherwise specified.
Table 72. EMI characteristics for fHSE = 32 MHz and fHCLK = 100 MHz(1)
Symbol Parameter Conditions Monitored frequency band Value Unit
Static latch-up
The following complementary static tests are required on three parts to assess the latch-up
performance:
• a supply overvoltage is applied to each power supply pin
• a current injection is applied to each input, output and configurable I/O pin.
These tests are compliant with EIA/JESD 78A IC latch-up standard.
I/O input
VIL - - 0.3 x VDD
low level voltage
1.58 V ≤ VDD ≤ 3.6 V V
I/O input
VIH 0.7 x VDD - -
high level voltage
Vhys(1) Input hysteresis - - 250 - mV
VIN ≤ Max(VDD, VDDA) - - 150
(1) I/O input leakage
Ilkg Max(VDD, VDDA) < VIN ≤ Max(VDD, VDDA) + 1 V - - 2000 nA
current(2)(3)
Max(VDD, VDDA) + 1 V < VIN ≤ 5.5 V - - 500
Weak pull-up
RPU - 30 40 50
equivalent resistor(4)
kΩ
Weak pull-down
RPD - 30 40 50
equivalent resistor(4)
CIO I/O pin capacitance - - 5 - pF
1. Specified by design, not tested in production.
2. This parameter represents the pad leakage of the I/O itself. The total product pad leakage is provided by the following
formula: ITotal_Ileak_max = 10 μA + [number of I/Os where VIN is applied on the pad] x Ilkg max.
3. To sustain a voltage higher than Min (VDD, VDDA) + 0.3 V, the internal pull-up and pull-down resistors must be disabled.
4. The pull-up and pull-down resistors are designed with a true resistance in series with a switchable PMOS/NMOS. This
PMOS/NMOS contribution to the series resistance is minimal (~10%).
All I/Os are CMOS- and TTL-compliant (no software configuration required). Their
characteristics cover more than the strict CMOS-technology or TTL parameters. The
coverage of these requirements is shown in Figure 21.
MSv69136V1
Output low level voltage for an I/O pin |IIO| = 20 mA, 2.7 V ≤ VDD ≤ 3.6 V - 0.4
VOLFM+(2)
in Fm+ mode |IIO| = 10 mA, 1.58 V ≤ VDD ≤ 3.6 V - 0.4
1. The IIO current sourced or sunk by the device must always respect the absolute maximum rating specified in Table 27, and
the sum of the currents sourced or sunk by all the I/Os (I/O ports and control pins) must always respect the absolute
maximum ratings ΣI(PIN).
2. Specified by design, not tested in production.
Output AC characteristics
Unless otherwise specified, the parameters given in Table 78 are at ambient temperature
and under the supply voltage conditions summarized in Table 31.
The definition and values of output AC characteristics are given, respectively, in Figure 22
and in Table 78.
Output rise and fall CL = 30 pF, 1.58 V ≤ VDD < 2.7 V - 6.0
tr/tf ns
time CL = 10 pF, 2.7 V ≤ VDD ≤ 3.6 V - 2.0
CL = 10 pF, 1.58 V ≤ VDD < 2.7 V - 4.1
Fmax Maximum frequency CL = 550 pF, 1.58 V ≤ VDD ≤ 3.6 V - 1 MHz
Fm+ CL = 550 pF, 1.58 V ≤ VDD ≤ 3.6 V - 100
tf Output fall time(5) ns
CL = 100 pF, 1.58 V ≤ VDD < 3.6 V - 50
1. Specified by design, not tested in production.
2. PB15 and PH3 output and input frequency must not exceed 16 kHz, PC14 and PC15 output and input
frequency must not exceed 250 kHz, for these IOs OSPEED must be kept at low speed.
3. The I/O speed is configured using the OSPEED bits, Fm+ is configured in SYSCFG. Refer to the product
reference manual for the description.
4. I/O compensation system enabled.
5. The fall time is defined between 70% and 30% of the output waveform according to the I2C specification.
50% 50%
10% 90%
t r(IO)out t f(IO)out
Maximum frequency is achieved with a duty cycle at (45 - 55%) when loaded by the
specified capacitance.
MS32132V4
External
reset circuit(1) VDD
RPU
NRST(2) Internal reset
Filter
0.1 μF(3)
MS19878V3
Conversion voltage
VAIN(3) - 0 - VDDA V
range
Resolution 12 bits, Tj = 130 °C - - 2.2
47 276
68 288
12 bits 12.5 19.5
100 306
150 336
Table 84. Maximum RAIN for 12-bit ADC4(1) (2) (3) (continued)
Resolution RAIN (Ω) Sampling time (ns) Sampling cycles at 35 MHz Sampling cycles at 55 MHz
220 377
330 442 19.5
39.5
470 526
680 650
1000 840 39.5
79.5
1500 1134
Table 84. Maximum RAIN for 12-bit ADC4(1) (2) (3) (continued)
Resolution RAIN (Ω) Sampling time (ns) Sampling cycles at 35 MHz Sampling cycles at 55 MHz
47 45
68 46
100 48 3.5
150 53 3.5
220 59
330 69
470 81
7.5
680 101
1000 130 7.5
8 bits 1500 177 12.5
2200 242
12.5 19.5
3300 345
4700 475 19.5
39.5
6800 670
39.5
10000 963
79.5
15000 1417
79.5
22000 2040
33000 2995 814.5
814.5
47000 4158
47 32
68 32
100 33
1.5
150 35
3.5
220 37
330 41
470 49
6 bits 680 61 3.5
1000 79
7.5
1500 106
2200 146 7.5
12.5
3300 207
4700 286 12.5 19.5
6800 404 19.5
39.5
10000 584 39.5
Table 84. Maximum RAIN for 12-bit ADC4(1) (2) (3) (continued)
Resolution RAIN (Ω) Sampling time (ns) Sampling cycles at 35 MHz Sampling cycles at 55 MHz
VREF+ VDDA
[1LSB = (or )]
Output code 2n 2n
EG
(1) Example of an actual transfer curve
2n-1 (2) Ideal transfer curve
2n-2 (3) End-point correlation line
2n-3 (2)
n = ADC resolution
ET = total unadjusted error: maximum deviation
(3) between the actual and ideal transfer curves
ET
7 (1) EO = offset error: maximum deviation between the first
actual transition and the first ideal one
6
EL EG = gain error: deviation between the last ideal
5 EO
transition and the last actual one
4 ED = differential linearity error: maximum deviation
ED between actual steps and the ideal one
3
2 EL = integral linearity error: maximum deviation between
1 any actual transition and the end point correlation line
1 LSB ideal
0 VREF+ (VDDA)
(1/2n)*VREF+
(2/2n)*VREF+
(3/2n)*VREF+
(4/2n)*VREF+
(5/2n)*VREF+
(6/2n)*VREF+
(7/2n)*VREF+
(2n-3/2n)*VREF+
(2n-2/2n)*VREF+
(2n-1/2n)*VREF+
(2n/2n)*VREF+
VSSA
MSv19880V6
VDDA(4) VREF+(4)
MSv67871V3
- 1 - tTIMxCLK
tres(TIM) Timer resolution time
fTIMxCLK = 100 MHz 10 - ns
/4 0 0.325 512
/8 1 0.750 1024
/16 2 1.500 2048
/32 3 3.0 4096
/64 4 6.0 8192 ms
/128 5 12.0 16384
/256 6 24.0 32768
/512 7 48.0 65536
/1024 Others 96.0 131072
1. The exact timings depend upon the phasing of the APB interface clock vs. the IWDG kernel clock, hence there is always a
full kernel clock period of uncertainty.
2. Specified by design, not tested in production.
/1 0 0.040 1.621
/2 1 0.081 5.242
/4 2 0.163 10.485
/8 3 0.327 20.971
ms
/16 4 0.655 41.943
/32 5 1.310 83.886
/64 6 2.621 167.772
/128 7 5.242 335.544
tAF Maximum pulse width of spikes suppressed by the analog filter 50(2) 190(3) ns
1. Specified by design, not tested in production.
2. Spikes with widths below tAF min are filtered.
3. Spikes with widths above tAF max are not filtered.
1/fCK
CK output
CPHA = 0
CPOL = 0
CPHA = 0
CK output CPOL = 1
CPHA = 1
CPOL = 0
CPHA = 1
CPOL = 1
tw(CKH)
tsu(RX) tw(CKL)
RX
INPUT MSB IN BIT6 IN LSB IN
th(RX)
TX
OUTPUT MSB OUT BIT1 OUT LSB OUT
tv(TX) th(TX)
MSv65386V4
NSS
input
1/fCK th(NSS)
tsu(NSS) tw(CKH)
CPHA = 0
CK input
CPOL = 0
CPHA = 0
CPOL = 1
TX output First bit OUT Next bits OUT Last bit OUT
th(RX)
tsu(RX)
NSS input
tc(SCK) th(NSS)
CPOL=0
CPHA=0
CPOL=1
ta(SO) tw(SCKL) tv(SO) th(SO) tf(SCK) tdis(SO)
MISO output First bit OUT Next bits OUT Last bit OUT
th(SI)
tsu(SI)
MSv41658V1
tc(SCK)
CPOL=0
CPHA=1
CPOL=1
ta(SO) tw(SCKL) tv(SO) th(SO) tr(SCK) tdis(SO)
MISO output First bit OUT Next bits OUT Last bit OUT
tsu(SI) th(SI)
MSv41659V1
SCK Output
CPHA=0
CPOL=0
CPHA=0
CPOL=1
SCK Output
CPHA=1
CPOL=0
CPHA=1
CPOL=1
tw(SCKH) tr(SCK)
tsu(MI)
tw(SCKL) tf(SCK)
MISO
INPUT MSB IN BIT6 IN LSB IN
th(MI)
MOSI
MSB OUT BIT1 OUT LSB OUT
OUTPUT
tv(MO) th(MO)
ai14136d
SAI_SCK_X
(CKSTR = 0)
SAI_SCK_X
(CKSTR = 1)
th(FS)
SAI_FS_X
(output)
tv(FS) tv(SD_MT) th(SD_MT)
SAI_SD_X
(transmit) Slot n Slot n+2
tsu(SD_MR) th(SD_MR)
SAI_SD_X
(receive) Slot n
MS32771V2
SAI_SCK_X
(CKSTR = 0)
SAI_SCK_X
(CKSTR = 1)
SAI_FS_X
(input)
tsu(FS) tv(SD_ST) th(SD_ST)
SAI_SD_X
Slot n
(receive)
MS32772V2
TCK
tsu(TMS/TDI) th(TMS/TDI)
tw(TCKL) tw(TCKH)
TDI/TMS
tov(TDO) toh(TDO)
TDO
MSv40458V1
SWCLK
tov(SWDIO) toh(SWDIO)
SWDIO
(transmit)
MSv40459V1
6 Package information
ddd C
e A1
C
A3
SEATINGPLANE
D1
b
E2 b
E1 E
1
L
32
D2 L
PIN 1 Identifier
A0B8_ME_V3
5.30
3.80
0.60
32 25
1 24
3.45
5.30 3.80
3.45
0.50
0.30 8 17
9 16 0.75
3.80
A0B8_FP_V2
A
E E
T Seating
plane
ddd A1
e b
Detail Y
D
Y
Exposed pad
area D2
1
L
48
C 0.500x45°
pin1 corner R 0.125 typ.
E2 Detail Z
48
Z
A0B9_ME_V3
7.30
6.20
48 37
1 36
0.20 5.60
7.30
5.80
6.20
5.60
0.30
12 25
13 24
0.50 0.75
0.55
5.80
A0B9_FP_V2
ddd C
PIN A1 CORNER
A1
A
TOP VIEW A4 A2
SIDE VIEW
F
1 2 3 4 5 6 7 8
H
G
F
e E
D D1 D
C
B
A
b (nX)
e eee C A B
A
fff C
E1
B E
BOTTOM VIEW
B0FS_UFBGA59_ME_V1
Dpad
Dsm
BGA_WLCSP_FT_V1
Pitch 0.5 mm
Dpad 0,300 mm
Dsm 0.400 mm typ. (depends on soldermask registration tolerance)
Stencil opening 0.300 mm
Stencil thickness 0.100 mm
UFQFPN32 - 5 mm x 5 mm 36.6
ΘJA Thermal resistance junction-ambient UFQFPN48 - 7 mm x 7 mm 28.4
UFBGA59 - 5 mm x 5 mm TBD
UFQFPN32 - 5 mm x 5 mm 18.3
ΘJB Thermal resistance junction-board UFQFPN48 - 7 mm x 7 mm 12.8 °C / W
UFBGA59 - 5 mm x 5 mm TBD
UFQFPN32 - 5 mm x 5 mm 14.3
ΘJC Thermal resistance junction-case UFQFPN48 - 7 mm x 7 mm 10.0
UFBGA59 - 5 mm x 5 mm TBD
7 Ordering information
Device family
STM32 = Arm® based 32-bit microcontroller
Product type
WB = Wireless Bluetooth®
Device subfamily
A52 = Reduced set of features
A54 = Full set of features, LDO
A55 = Full set of features, SMPS
Pin count
K = 32 pins
C = 48 pins
U = 59 pins
Flash memory size
G = 1 Mbyte
E = 512 Kbytes
Package
U = UFQFPN
I = UFBGA
Temperature range
6 = Industrial temperature range, -40 to 85 °C (105 °C junction)
7 = Industrial temperature range, -40 to 105 °C (120 °C junction)
Packing
TR = tape and reel
xxx = programmed parts
For a list of available options (memory, package, and so on), or for further information on
any aspect of this device, contact your nearest ST sales office.
The STMicroelectronics group of companies (ST) places a high value on product security,
which is why the ST product(s) identified in this documentation may be certified by various
security certification bodies and/or may implement our own security measures as set forth
herein. However, no level of security certification and/or built-in security measures can
guarantee that ST products are resistant to all forms of attacks. As such, it is the
responsibility of each of ST's customers to determine if the level of security provided in an
ST product meets the customer needs both in relation to the ST product alone, as well as
when combined with other components and/or software for the customer end product or
application. In particular, take note that:
• ST products may have been certified by one or more security certification bodies, such
as Platform Security Architecture (www.psacertified.org) and/or Security Evaluation
standard for IoT Platforms (www.trustcb.com). For details concerning whether the ST
product(s) referenced herein have received security certification along with the level
and current status of such certification, either visit the relevant certification standards
website or go to the relevant product page on www.st.com for the most up to date
information. As the status and/or level of security certification for an ST product can
change from time to time, customers should re-check security certification status/level
as needed. If an ST product is not shown to be certified under a particular security
standard, customers should not assume it is certified.
• Certification bodies have the right to evaluate, grant and revoke security certification in
relation to ST products. These certification bodies are therefore independently
responsible for granting or revoking security certification for an ST product, and ST
does not take any responsibility for mistakes, evaluations, assessments, testing, or
other activity carried out by the certification body with respect to any ST product.
• Industry-based cryptographic algorithms (such as AES, DES, or MD5) and other open
standard technologies which may be used in conjunction with an ST product are based
on standards which were not developed by ST. ST does not take responsibility for any
flaws in such cryptographic algorithms or open technologies or for any methods which
have been or may be developed to bypass, decrypt or crack such algorithms or
technologies.
• While robust security testing may be done, no level of certification can absolutely
guarantee protections against all attacks, including, for example, against advanced
attacks which have not been tested for, against new or unidentified forms of attack, or
against any form of attack when using an ST product outside of its specification or
intended use, or in conjunction with other components or software which are used by
customer to create their end product or application. ST is not responsible for resistance
against such attacks. As such, regardless of the incorporated security features and/or
any information or support that may be provided by ST, each customer is solely
responsible for determining if the level of attacks tested for meets their needs, both in
relation to the ST product alone and when incorporated into a customer end product or
application.
• All security features of ST products (inclusive of any hardware, software,
documentation, and the like), including but not limited to any enhanced security
features added by ST, are provided on an "AS IS" BASIS. AS SUCH, TO THE EXTENT
PERMITTED BY APPLICABLE LAW, ST DISCLAIMS ALL WARRANTIES, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, unless the
applicable written and signed contract terms specifically provide otherwise.
9 Revision history
,
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and
improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on
ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order
acknowledgment.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or
the design of purchasers’ products.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. For additional information about ST trademarks, refer to www.st.com/trademarks. All other
product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.