STM32L562xx
Ultra-low-power Arm
®
Cortex
®
-M33 32-bit MCU+TrustZone
®
+FPU,
165DMIPS, up to 512KB Flash, 256KB SRAM, SMPS, AES+PKA
Data brief
Features
Ultra-low-power with FlexPowerControl
•
1.71 V to 3.6 V power supply
•
-40 °C to 85/125 °C temperature range
•
Batch acquisition mode (BAM)
•
225 nA in VBAT mode: supply for RTC and
32x32-bit backup registers
•
33 nA Shutdown mode (5 wakeup pins)
•
110 nA Standby mode (5 wakeup pins)
•
385 nA Standby mode with RTC
•
3.6
μA
Stop 2 with RTC
•
96
μA/MHz
Run mode (LDO mode)
•
60
μA/MHz
Run mode @ 3 V (SMPS step
down converter mode)
•
5 µs wakeup from Stop mode
•
Brownout reset (BOR) in all modes except
shutdown
LQFP100 (14 x 14 mm)
LQFP144 (20 x 20mm)
UFBGA132
(7 x 7 mm)
LQFP48 (7 x 7 mm)
LQFP64 (10 x 10 mm
)
UFQFPN48
(7 x 7 mm)
WLCSP81
(4.36 x 4.07 mm)
FBGA
•
27400 SecureMark-TLS
®
score
Memories
•
Up to 512 Kbytes Flash, two banks read-while-
write
•
256 Kbytes of SRAM including 64 Kbytes with
hardware parity check
•
External memory interface supporting SRAM,
PSRAM, NOR, NAND and FRAM memories
•
OctoSPI memory interface
Core
•
Arm
®
32-bit Cortex
®
-M33 CPU with
TrustZone
®
and FPU
General-purpose input/outputs
•
Up to 114 fast I/Os with interrupt capability
most 5 V-tolerant and up to 14 I/Os with
independent supply down to 1.08 V
ART Accelerator™
•
8 Kbytes instruction cache allowing 0-wait-
state execution from Flash memory and
external memories; frequency up to 110 MHz,
MPU, 165 DMIPS and DSP instructions
Security
•
Arm
®
TrustZone
®
with the ARMv8-M mainline
security extension
•
Up to 8 configurable SAU regions
•
RDP, active tamper, secure firmware upgrade
support, OCTOSPI on-the-fly decryption,
secure hide protection
•
TrustZone aware and securable peripherals
Performance benckmark
•
1.5 DMIPS/MHz (Drystone 2.1)
•
427 Coremark
®
(3.88 Coremark
®
/MHz @ 110
MHz)
Energy benchmark
•
402 ULPMark-CP
®
score
•
59.5 ULPMark-PP
®
score
May 2019
DB3492 Rev 4
1/155
www.st.com
For further information contact your local STMicroelectronics sales office.
STM32L562xx
Power management
•
Embedded regulator (LDO) with three
configurable range output to supply the digital
circuitry
•
SMPS step down converter
•
External SMPS support
•
1x SDMMC interface
2 DMA controller
•
14 DMA channels
Up to 22 capacitive sensing channels:
•
Support touch key, linear and rotary touch
sensors
Clock management
•
4 to 48 MHz crystal oscillator
•
32 kHz crystal oscillator for RTC (LSE)
•
Internal 16 MHz factory-trimmed RC (±1%)
•
Internal low-power 32 kHz RC (±5%)
•
Internal multispeed 100 kHz to 48 MHz
oscillator, auto-trimmed by LSE (better than
±0.25% accuracy)
•
Internal 48 MHz with clock recovery
•
3 PLLs for system clock, USB, audio, ADC
Rich analog peripherals (independent
supply)
•
2x 12-bit ADC 5 Msps, up to 16-bit with
hardware oversampling, 200 µA/Msps
•
2x 12-bit DAC, low-power sample and hold
•
2x operational amplifiers with built-in PGA
•
2x ultra-low-power comparators
•
4x digital filters for sigma delta modulator
Up to 16 timers and 2 watchdogs
•
16x timers: 2 x 16-bit advanced motor-control,
2 x 32-bit and 5 x 16-bit general purpose, 2x
16-bit basic, 3x low-power 16-bit timers
(available in Stop mode), 2x watchdogs, 2x
SysTick timer
•
RTC with HW calendar, alarms and calibration
Cryptographic acceleration
•
Encryption hardware accelerator: AES
(128/256-bit key)
•
Private key acceleration (PKA)
•
1x OTFDEC (On-the-fly decryption) AES-128
in counter (CTR) mode
•
OctoSPI memory encryption
Up to 19 communication peripherals
•
1x USB Type-C™/ USB power delivery
controller
•
1x USB 2.0 full-speed crystal less solution,
LPM and BCD
•
2x SAIs (serial audio interface)
•
4x I2C FM+(1 Mbit/s), SMBus/PMBus
•
6x USARTs (ISO 7816, LIN, IrDA, modem)
•
3x SPIs (7x SPIs with USART and OCTOSPI in
SPI mode)
•
1x FDCAN controller
True random number generator
CRC calculation unit
HASH (SHA-256) hardware accelerator
Debug
•
Development support: serial wire debug
(SWD), JTAG, Embedded Trace Macrocell
(ETM)
96-bit unique ID
Table 1. Device summary
Reference
STM32L562xx
Part numbers
STM32L562CE, STM32L562ME, STM32L562QE, STM32L562RE, STM32L562VE,
STM32L562ZE
2/155
DB3492 Rev 4
STM32L562xx
Contents
Contents
1
2
3
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.8
3.9
Arm
®
Cortex
®
-M33 core with TrustZone
®
and FPU . . . . . . . . . . . . . . . . . 14
ART Accelerator™ (ICACHE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Memory protection unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Embedded Flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Embedded SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Global TrustZone controller (GTZC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
TrustZone security architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.8.1
3.9.1
3.9.2
3.9.3
3.9.4
3.9.5
3.9.6
3.9.7
3.9.8
TrustZone peripheral classification . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
SMPS step down converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Reset mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
VBAT operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
PWR TrustZone security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Power supply management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.10
3.11
3.12
3.13
3.14
3.15
3.16
3.17
Peripheral interconnect matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Reset and clock controller (RCC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Clock recovery system (CRS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
General-purpose inputs/outputs (GPIOs) . . . . . . . . . . . . . . . . . . . . . . . . . 47
Multi-AHB bus matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Direct memory access controller (DMA) . . . . . . . . . . . . . . . . . . . . . . . . . . 49
DMA request router (DMAMUX) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Interrupts and events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
3.17.1
Nested vectored interrupt controller (NVIC) . . . . . . . . . . . . . . . . . . . . . . 51
DB3492 Rev 4
3/155
5
Contents
3.17.2
STM32L562xx
Extended interrupt/event controller (EXTI) . . . . . . . . . . . . . . . . . . . . . . 51
3.18
3.19
3.20
3.21
Cyclic redundancy check calculation unit (CRC) . . . . . . . . . . . . . . . . . . . 52
Flexible static memory controller (FSMC) . . . . . . . . . . . . . . . . . . . . . . . . 52
OctoSPI interface (OctoSPI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Analog-to-digital converter (ADC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
3.21.1
3.21.2
3.21.3
Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Internal voltage reference (VREFINT) . . . . . . . . . . . . . . . . . . . . . . . . . . 56
VBAT battery voltage monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
3.22
3.23
3.24
3.25
3.26
3.27
3.28
3.29
3.30
3.31
3.32
3.33
Digital to analog converter (DAC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Voltage reference buffer (VREFBUF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Comparators (COMP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Operational amplifier (OPAMP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Digital filter for sigma-delta modulators (DFSDM) . . . . . . . . . . . . . . . . . . 58
Touch sensing controller (TSC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Random number generator (RNG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Advanced encryption standard hardware accelerator (AES) . . . . . . . . . . 60
HASH hardware accelerator (HASH) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Public key accelerator PKA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
On-the-fly decryption engine (OTFDEC) . . . . . . . . . . . . . . . . . . . . . . . . . 62
Timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
3.33.1
3.33.2
3.33.3
3.33.4
3.33.5
3.33.6
3.33.7
Advanced-control timer (TIM1, TIM8) . . . . . . . . . . . . . . . . . . . . . . . . . . 63
General-purpose timers (TIM2, TIM3, TIM4, TIM5, TIM15, TIM16,
TIM17) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Basic timers (TIM6 and TIM7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Low-power timer (LPTIM1, LPTIM2 and LPTIM3) . . . . . . . . . . . . . . . . . 64
Independent watchdog (IWDG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Window watchdog (WWDG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
SysTick timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
3.34
3.35
3.36
3.37
3.38
3.39
3.40
4/155
Real-time clock (RTC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Tamper and backup registers (TAMP) . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Inter-integrated circuit interface (I
2
C) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Universal synchronous/asynchronous receiver transmitter (USART) . . . 69
Low-power universal asynchronous receiver transmitter (LPUART) . . . . 70
Serial peripheral interface (SPI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Serial audio interfaces (SAI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
DB3492 Rev 4
STM32L562xx
Contents
3.41
3.42
3.43
3.44
3.45
Secure digital input/output and MultiMediaCards Interface (SDMMC) . . . 71
Controller area network (FDCAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Universal serial bus (USB FS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
USB Type-C™ / USB Power Delivery controller (UCPD) . . . . . . . . . . . . . 72
Development support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
3.45.1
3.45.2
Serial wire JTAG debug port (SWJ-DP) . . . . . . . . . . . . . . . . . . . . . . . . . 73
Embedded Trace Macrocell™ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
4
5
Pinouts and pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
5.1
5.2
5.3
5.4
5.5
5.6
5.7
UFQFPN48 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
LQFP48 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
LQFP64 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
UFBGA132 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
WLCSP81 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
LQFP100 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
LQFP144 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
6
7
Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
DB3492 Rev 4
5/155
5