STM32L052x6 STM32L052x8
STM32L052x6 STM32L052x8
STM32L052x6 STM32L052x8
Features
FBGA
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.1 Device overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.2 Ultra-low-power device continuum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3 Functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.1 Low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.2 Interconnect matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.3 Arm® Cortex®-M0+ core with MPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.4 Reset and supply management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.4.1 Power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.4.2 Power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.4.3 Voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.5 Clock management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.6 Low-power real-time clock and backup registers . . . . . . . . . . . . . . . . . . . 27
3.7 General-purpose inputs/outputs (GPIOs) . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.8 Memories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.9 Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.10 Direct memory access (DMA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.11 Analog-to-digital converter (ADC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.12 Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.12.1 Internal voltage reference (VREFINT) . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.13 Digital-to-analog converter (DAC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.14 Ultra-low-power comparators and reference voltage . . . . . . . . . . . . . . . . 31
3.15 System configuration controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.16 Touch sensing controller (TSC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.17 Timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.17.1 General-purpose timers (TIM2, TIM21 and TIM22) . . . . . . . . . . . . . . . . 33
3.17.2 Low-power Timer (LPTIM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.17.3 Basic timer (TIM6) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.17.4 SysTick timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
4 Pin descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5 Memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
6 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
6.1 Parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
6.1.1 Minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
6.1.2 Typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
6.1.3 Typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
6.1.4 Loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
6.1.5 Pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
6.1.6 Power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
6.1.7 Current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
6.2 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
6.3 Operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
6.3.1 General operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
6.3.2 Embedded reset and power control block characteristics . . . . . . . . . . . 60
6.3.3 Embedded internal reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . 61
6.3.4 Supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
6.3.5 Wakeup time from low-power mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
6.3.6 External clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
6.3.7 Internal clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
6.3.8 PLL characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
6.3.9 Memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
6.3.10 EMC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
List of tables
List of figures
Figure 43. TFBGA64 – 64-ball, 5 x 5 mm, 0.5 mm pitch, thin profile fine pitch ball
,grid array recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Figure 44. TFBGA64 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Figure 45. LQFP48 - 48-pin, 7 x 7 mm low-profile quad flat package outline . . . . . . . . . . . . . . . . . . 122
Figure 46. LQFP48 - 48-pin, 7 x 7 mm low-profile quad flat recommended footprint . . . . . . . . . . . . 123
Figure 47. LQFP48 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Figure 48. UFQFPN48 - 48 leads, 7x7 mm, 0.5 mm pitch, ultra thin fine pitch quad flat
package outline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Figure 49. UFQFPN48 - 48 leads, 7x7 mm, 0.5 mm pitch, ultra thin fine pitch quad flat
package recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Figure 50. UFQFPN48 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Figure 51. Standard WLCSP36 - 2.61 x 2.88 mm, 0.4 mm pitch wafer level chip scale
package outline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Figure 52. Standard WLCSP36 - 2.61 x 2.88 mm, 0.4 mm pitch wafer level chip scale
recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Figure 53. Standard WLCSP36 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . 130
Figure 54. Thin WLCSP36 - 2.61 x 2.88 mm, 0.4 mm pitch wafer level chip scale
package outline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Figure 55. Thin WLCSP36 - 2.61 x 2.88 mm, 0.4 mm pitch wafer level chip scale
package recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Figure 56. Standard WLCSP36 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . 133
Figure 57. LQFP32 - 32-pin, 7 x 7 mm low-profile quad flat package outline . . . . . . . . . . . . . . . . . . 134
Figure 58. LQFP32 - 32-pin, 7 x 7 mm low-profile quad flat recommended footprint . . . . . . . . . . . . 135
Figure 59. LQFP32 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Figure 60. UFQFPN32 - 32-pin, 5x5 mm, 0.5 mm pitch ultra thin fine pitch quad flat
package outline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Figure 61. UFQFPN32 - 32-pin, 5x5 mm, 0.5 mm pitch ultra thin fine pitch quad flat
recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Figure 62. UFQFPN32 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Figure 63. Thermal resistance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
1 Introduction
The ultra-low-power STM32L052x6/8 are offered in 8 different package types: from 32 pins
to 64 pins. Depending on the device chosen, different sets of peripherals are included, the
description below gives an overview of the complete range of peripherals proposed in this
family.
These features make the ultra-low-power STM32L052x6/8 microcontrollers suitable for a
wide range of applications:
• Gas/water meters and industrial sensors
• Healthcare and fitness equipment
• Remote control and user interface
• PC peripherals, gaming, GPS equipment
• Alarm system, wired and wireless sensors, video intercom
This STM32L052x6/8 datasheet should be read in conjunction with the STM32L0x2xx
reference manual (RM0376).
For information on the Arm®(a) Cortex®-M0+ core please refer to the Cortex®-M0+ Technical
Reference Manual, available from the www.arm.com website.
Figure 1 shows the general block diagram of the device family.
a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
2 Description
Flash (Kbytes) 32 64
RAM (Kbytes) 8 8
General-
3 3
purpose
Timers
Basic 1 1
LPTIMER 1 1
RTC/SYSTICK/IWDG/
1/1/1/1 1/1/1/1
WWDG
I2C 2 1 2 2 1 2
Communic
USART 2 2
ation
interfaces LPUART 1 0 1 1 0 1
USB/
1/(0) 1/(1) 1/(0) 1/(1)
(VDD_USB)
Clocks:
0/1/1/1/1 0/1/1/1/1 1/1/1/1/1 1/1/1/1/1 0/1/1/1/1 0/1/1/1/1 1/1/1/1/1 1/1/1/1/1
HSE/LSE/HSI/MSI/LSI
12-bit synchronized
1 1 1 1 1 1 1 1
ADC
10 10 10 16(3) 10 10 10 16(3)
Number of channels
12-bit DAC 1 1
Number of channels 1 1
Comparators 2
Capacitive sensing
14 17 24(3) 14 17 24(3)
channels
Temp
SWD SWD sensor
FLASH
EEPROM
BOOT ADC1 AINx
MISO, MOSI,
FIREWALL SPI1
CORTEX M0+ CPU SCK, NSS
Fmax:32MHz RAM
USART1 RX, TX, RTS,
MPU DBG A CTS, CK
P
DMA1 TIM21 2ch
NVIC B
2
EXTI
TIM22 2ch
BRIDGE
COMP1 INP, INM, OUT
TSC
COMP2 INP, INM, OUT
CRC
IN1, IN2,
BRIDGE LPTIM1 ETR, OUT
SCL, SDA,
WWDG I2C1
SMBA
PC[0:15] GPIO PORT C
SCL, SDA,
I2C2
A SMBA
PD[2] GPIO PORT D P
B RX, TX, RTS,
USART2
1 CTS, CK
MSI RTC
BCKP REG
WKUPx RESET & CLK
OSC32_IN, LSE
OSC32_OUT
PVD_IN
VREF_OUT
PMU
NRST
VDDA
VDD REGULATOR
MS3388V1
3 Functional overview
CPU Y -- Y -- -- --
Flash memory O O O O -- --
RAM Y Y Y Y Y --
Backup registers Y Y Y Y Y Y
EEPROM O O O O -- --
Brown-out reset
O O O O O O O O
(BOR)
DMA O O O O -- --
Programmable
Voltage Detector O O O O O O -
(PVD)
Power-on/down
Y Y Y Y Y Y Y Y
reset (POR/PDR)
High Speed (2)
O O -- -- --
Internal (HSI)
High Speed
O O O O -- --
External (HSE)
Low Speed Internal
O O O O O O
(LSI)
Low Speed
O O O O O O
External (LSE)
Multi-Speed
O O Y Y -- --
Internal (MSI)
Inter-Connect
Y Y Y Y Y --
Controller
RTC O O O O O O O
RTC Tamper O O O O O O O O
Auto WakeUp
O O O O O O O O
(AWU)
USB O O -- -- -- O --
(3)
USART O O O O O O --
LPUART O O O O O(3) O --
SPI O O O O -- --
I2C O O -- -- O(4) O --
ADC O O -- -- -- --
DAC O O O O O --
Temperature
O O O O O --
sensor
Comparators O O O O O O --
16-bit timers O O O O -- --
LPTIMER O O O O O O
IWDG O O O O O O O O
WWDG O O O O -- --
Touch sensing
O O -- -- -- --
controller (TSC)
SysTick Timer O O O O --
GPIOs O O O O O O 2 pins
Wakeup time to
0 µs 0.36 µs 3 µs 32 µs 3.5 µs 50 µs
Run mode
0.4 µA (No 0.28 µA (No
RTC) VDD=1.8 V RTC) VDD=1.8 V
• Startup clock
After reset, the microcontroller restarts by default with an internal 2 MHz clock (MSI).
The prescaler ratio and clock source can be changed by the application program as
soon as the code execution starts.
• Clock security system (CSS)
This feature can be enabled by software. If an HSE clock failure occurs, the master
clock is automatically switched to HSI and a software interrupt is generated if enabled.
Another clock security system can be enabled, in case of failure of the LSE it provides
an interrupt or wakeup event which is generated if enabled.
• Clock-out capability (MCO: microcontroller clock output)
It outputs one of the internal clocks for external use by the application.
Several prescalers allow the configuration of the AHB frequency, each APB (APB1 and
APB2) domains. The maximum frequency of the AHB and the APB domains is 32 MHz. See
Figure 2 for details on the clock tree.
@V18 1 MHz
Clock
Recovery
LPTIMCLK
System Peripheral
LSE
clock enable
HSI16
SYSCLK
PCLK Peripheral LPUART/
clock enable UARTCLK
I2C1CLK
usb_en 48MHz
USBCLK
MS33392V1
3.8 Memories
The STM32L052x6/8 devices have the following features:
• 8 Kbytes of embedded SRAM accessed (read/write) at CPU clock speed with 0 wait
states. With the enhanced bus matrix, operating the RAM does not lead to any
performance penalty during accesses to the system bus (AHB and APB buses).
• The non-volatile memory is divided into three arrays:
– 32 or 64 Kbytes of embedded Flash program memory
– 2 Kbytes of data EEPROM
– Information block containing 32 user and factory options bytes plus 4 Kbytes of
system memory
The user options bytes are used to write-protect or read-out protect the memory (with
4 Kbyte granularity) and/or readout-protect the whole memory with the following options:
• Level 0: no protection
• Level 1: memory readout protected.
The Flash memory cannot be read from or written to if either debug features are
connected or boot in RAM is selected
• Level 2: chip readout protected, debug features (Cortex-M0+ serial wire) and boot in
RAM selection disabled (debugline fuse)
The firewall protects parts of code/data from access by the rest of the code that is executed
outside of the protected area. The granularity of the protected code segment or the non-
volatile data segment is 256 bytes (Flash memory or EEPROM) against 64 bytes for the
volatile data segment (RAM).
The whole non-volatile memory embeds the error correction code (ECC) feature.
TIM2
TIM2 is based on 16-bit auto-reload up/down counter. It includes a 16-bit prescaler. It
features four independent channels each for input capture/output compare, PWM or one-
pulse mode output.
The TIM2 general-purpose timers can work together or with the TIM21 and TIM22 general-
purpose timers via the Timer Link feature for synchronization or event chaining. Their
counter can be frozen in debug mode. Any of the general-purpose timers can be used to
generate PWM outputs.
TIM2 has independent DMA request generation.
This timer is capable of handling quadrature (incremental) encoder signals and the digital
outputs from 1 to 3 hall-effect sensors.
In addition, I2C1 provides hardware support for SMBus 2.0 and PMBus 1.1: ARP capability,
Host notify protocol, hardware CRC (PEC) generation/verification, timeouts verifications and
ALERT protocol management. I2C1 also has a clock domain independent from the CPU
clock, allowing the I2C1 to wake up the MCU from Stop mode on address match.
Modbus communication X
Auto baud rate detection (4 modes) X
Driver Enable X
1. X = supported.
2. This mode allows using the USART as an SPI master.
4 Pin descriptions
BOOT0
PC12
PC10
PC11
PA15
PA14
VDD
VSS
PD2
PB9
PB8
PB7
PB6
PB5
PB4
PB3
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
VDD 1 48 VDD_USB
PC13 2 47 VSS
PC14-OSC32_IN 3 46 PA13
PC15-OSC32_OUT 4 45 PA12
PH0 -OSC_IN 5 44 PA11
PH1-OSC_OUT 6 43 PA10
NRST 7 42 PA9
PC0 8 41 PA8
PC1 9 LQFP64 40 PC9
PC2 10 39 PC8
PC3 11 38 PC7
VSSA 12 37 PC6
VDDA 13 36 PB15
PA0 14 35 PB14
PA1 15 34 PB13
PA2 16 33 PB12
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
PA3
PA4
PA5
PA6
PA7
PB0
PB1
PB2
PB10
PB11
PC4
PC5
VDD
VSS
VDD
VSS
MS34742V2
1 2 3 4 5 6 7 8
PC14-
A OSC32 PC13 PB9 PB4 PB3 PA15 PA14 PA13
_IN
PC15-
B VDD PB8 BOOT PD2 PC11 PC10 PA12
OSC32
0
_OUT
PH0-
VSS PB7 PB5 PC12 PA10 PA9 PA11
C OSC_IN
PH1-
D OSC_ VDD PB6 VSS VSS VSS PA8 PC9
OUT
VDD_
E NRST PC1 PC0 VDD VDD
USB
PC7 PC8
MSv34744V4
BOOT0
PA15
PA14
VDD
VSS
PB9
PB8
PB7
PB6
PB5
PB4
PB3
48 47 46 45 44 43 42 41 40 39 38 37
VDD 1 36 VDD_USB
PC13 2 35 VSS
PC14-OSC32_IN 3 34 PA13
PC15-OSC32_OUT 4 33 PA12
PH0-OSC_IN 5 32 PA11
PH1-OSC_OUT 6 LQFP48 31 PA10
NRST 7 30 PA9
VSSA 8 29 PA8
VDDA 9 28 PB15
PA0 10 27 PB14
PA1 11 26 PB13
PA2 12 25 PB12
13 14 15 16 17 18 19 20 21 22 23 24
PB10
PB11
PA3
PA4
PA5
PA6
PA7
PB0
PB1
PB2
VDD
VSS
MS34746V2
PA15
PA14
VDD
VSS
PB9
PB8
PB7
PB6
PB5
PB4
PB3
48
47
46
45
44
43
42
41
40
39
38
37
VDD 1 36 VDD_USB
PC13 2 35 VSS
PC14-OSC32_IN 3 34 PA13
PC15-OSC32_OUT 4 33 PA12
PH0-OSC_IN 5 32 PA11
PH1-OSC_OUT 6 31 PA10
NRST 7
UFQFPN48 30 PA9
VSSA 8 29 PA8
VDDA 9 28 PB15
PA0 10 27 PB14
PA1 11 26 PB13
PA2 12 25 PB12
13
14
15
16
17
18
19
20
21
22
23
24
PB0
PB1
PB2
VSS
PB10
VDD
PA3
PA4
PA5
PA6
PA7
PB11
MSv62417V1
A PC14-
PA13 PA15 PB4 PB7 VDD OSC32
_IN
MSv37853V1
PA15
VSS
PB7
PB6
PB5
PB4
PB3
32 31 30 29 28 27 26 25
VDD 1 24 PA14
PC14-OSC32_IN 2 23 PA13
PC15-OSC32_OUT 3 22 PA12
NRST 4 LQFP32 21 PA11
VDDA 5 20 PA10
PA0 6 19 PA9
PA1 7 18 PA8
PA2 8 9 10 11 12 1 3 14 15 1617 VDD
PB0
PB1
VSS
PA3
PA4
PA5
PA6
PA7
MSv35429V3
BOOT0
PA15
PB8
PB7
PB6
PB5
PB4
PB3
32 31 30 29 28 27 26 25
VDD 1 24 PA14
PC14-OSC32_IN 2 23 PA13
PC15-OSC32_OUT 3 22 PA12
NRST 4 VSS 21 PA11
VDDA 5 20 PA10
PA0 6 19 PA9
PA1 7 18 PA8
PA2 8 9 10 11 12 13 14 15 1617 VDD
PB0
PB1
PB2
PA3
PA4
PA5
PA6
PA7
MSv37854V2
Unless otherwise specified in brackets below the pin name, the pin function during and
Pin name
after reset is the same as the actual pin name
S Supply pin
Pin type I Input only pin
I/O Input / output pin
FT 5 V tolerant I/O
FTf 5 V tolerant I/O, FM+ capable
I/O structure TC Standard 3.3V I/O
B Dedicated BOOT0 pin
RST Bidirectional reset pin with embedded weak pull-up resistor
Unless otherwise specified by a note, all I/Os are set as floating inputs during and after
Notes
reset.
Alternate
Functions selected through GPIOx_AFR registers
functions
Pin functions
Additional
Functions directly selected/enabled through peripheral registers
functions
I/O structure
Pin type
Pin name
WLCSP36(1)
UFQFPN48
Notes
Additional
TFBGA64
UFQFN32
LQFP32
LQFP48
LQFP64
(function after Alternate functions
functions
reset)
- - - 1 1 1 B2 VDD S - - - -
RTC_TAMP1/
- - - 2 2 2 A2 PC13 I/O FT - - RTC_TS/RTC
_OUT/WKUP2
PC14-
2 2 A6 3 3 3 A1 OSC32_IN I/O FT - - OSC32_IN
(PC14)
PC15-
3 3 B6 4 4 4 B1 OSC32_OUT I/O TC - - OSC32_OUT
(PC15)
PH0-OSC_IN
- - - 5 5 5 C1 I/O TC - USB_CRS_SYNC OSC_IN
(PH0)
PH1-OSC_OUT
- - - 6 6 6 D1 I/O TC - - OSC_OUT
(PH1)
LPTIM1_IN1,
- - - - - 8 E3 PC0 I/O FT - EVENTOUT, ADC_IN10
TSC_G7_IO1
LPTIM1_OUT,
- - - - - 9 E2 PC1 I/O FT - EVENTOUT, ADC_IN11
TSC_G7_IO2
LPTIM1_IN2,
- - - - - 10 F2 PC2 I/O FT - SPI2_MISO/I2S2_MC ADC_IN12
K, TSC_G7_IO3
LPTIM1_ETR,
- - - - - 11 - PC3 I/O FT - SPI2_MOSI/I2S2_SD, ADC_IN13
TSC_G7_IO4
- - - 8 8 12 F1 VSSA S - - - -
- - E6 - - - G1 VREF+ S - - - -
5 5 D5 9 9 13 H1 VDDA S - - - -
I/O structure
Pin type
Pin name
WLCSP36(1)
UFQFPN48
Notes
Additional
UFQFN32
TFBGA64
LQFP32
LQFP48
LQFP64
(function after Alternate functions
functions
reset)
TIM2_CH1,
COMP1_INM6
TSC_G1_IO1,
, ADC_IN0,
6 6 D4 10 10 14 G2 PA0 I/O TC - USART2_CTS,
RTC_TAMP2/
TIM2_ETR,
WKUP1
COMP1_OUT
EVENTOUT,
TIM2_CH2,
TSC_G1_IO2, COMP1_INP,
7 7 F6 11 11 15 H2 PA1 I/O FT -
USART2_RTS/ ADC_IN1
USART2_DE,
TIM21_ETR
TIM21_CH1,
TIM2_CH3,
COMP2_INM6
8 8 E5 12 12 16 F3 PA2 I/O FT - TSC_G1_IO3,
, ADC_IN2
USART2_TX,
COMP2_OUT
TIM21_CH2,
TIM2_CH4, COMP2_INP,
9 9 F5 13 13 17 G3 PA3 I/O FT -
TSC_G1_IO4, ADC_IN3
USART2_RX
- - - - - 18 C2 VSS S - - - -
- - - - - 19 D2 VDD S - - - -
COMP1_INM4
SPI1_NSS,
,
(2) TSC_G2_IO1,
10 10 E4 14 14 20 H3 PA4 I/O TC COMP2_INM4
USART2_CK,
, ADC_IN4,
TIM22_ETR
DAC_OUT
SPI1_SCK, COMP1_INM5
TIM2_ETR, ,
11 11 F4 15 15 21 F4 PA5 I/O TC -
TSC_G2_IO2, COMP2_INM5
TIM2_CH1 , ADC_IN5
SPI1_MISO,
TSC_G2_IO3,
LPUART1_CTS,
12 12 E3 16 16 22 G4 PA6 I/O FT - ADC_IN6
TIM22_CH1,
EVENTOUT,
COMP1_OUT
I/O structure
Pin type
Pin name
WLCSP36(1)
UFQFPN48
Notes
Additional
UFQFN32
TFBGA64
LQFP32
LQFP48
LQFP64
(function after Alternate functions
functions
reset)
SPI1_MOSI,
TSC_G2_IO4,
13 13 F3 17 17 23 H4 PA7 I/O FT - TIM22_CH2, ADC_IN7
EVENTOUT,
COMP2_OUT
EVENTOUT,
- - - - - 24 H5 PC4 I/O FT - ADC_IN14
LPUART1_TX
LPUART1_RX,
- - - - - 25 H6 PC5 I/O FT - ADC_IN15
TSC_G3_IO1
EVENTOUT, ADC_IN8,
14 14 D3 18 18 26 F5 PB0 I/O FT -
TSC_G3_IO2 VREF_OUT
TSC_G3_IO3,
ADC_IN9,
15 15 C3 19 19 27 G5 PB1 I/O FT - LPUART1_RTS/
VREF_OUT
LPUART1_DE
LPTIM1_OUT,
- 16 F2 20 20 28 G6 PB2 I/O FT - -
TSC_G3_IO4
TIM2_CH3,
TSC_SYNC,
- - E2 21 21 29 G7 PB10 I/O FT - LPUART1_TX, -
SPI2_SCK,
I2C2_SCL
EVENTOUT,
TIM2_CH4,
- - D2 22 22 30 H7 PB11 I/O FT - TSC_G6_IO1, -
LPUART1_RX,
I2C2_SDA
16 - - 23 23 31 D6 VSS S - - - -
17 17 F1 24 24 32 E5 VDD S - - - -
SPI2_NSS/I2S2_WS,
LPUART1_RTS/
LPUART1_DE,
- - - 25 25 33 H8 PB12 I/O FT - -
TSC_G6_IO2,
I2C2_SMBA,
EVENTOUT
I/O structure
Pin type
Pin name
WLCSP36(1)
UFQFPN48
Notes
Additional
UFQFN32
TFBGA64
LQFP32
LQFP48
LQFP64
(function after Alternate functions
functions
reset)
SPI2_SCK/I2S2_CK,
TSC_G6_IO3,
- - - 26 26 34 G8 PB13 I/O FTf - LPUART1_CTS, -
I2C2_SCL,
TIM21_CH1
SPI2_MISO/I
2S2_MCK,
RTC_OUT,
TSC_G6_IO4,
- - - 27 27 35 F8 PB14 I/O FTf - -
LPUART1_RTS/
LPUART1_DE,
I2C2_SDA,
TIM21_CH2
SPI2_MOSI/I2S2_SD,
- - - 28 28 36 F7 PB15 I/O FT - -
RTC_REFIN
TIM22_CH1,
- - - - - 37 F6 PC6 I/O FT - -
TSC_G8_IO1
TIM22_CH2,
- - - - - 38 E7 PC7 I/O FT - -
TSC_G8_IO2
TIM22_ETR,
- - - - - 39 E8 PC8 I/O FT - -
TSC_G8_IO3
TIM21_ETR,
- - - - - 40 D8 PC9 I/O FT - USB_NOE, -
TSC_G8_IO4
MCO,
USB_CRS_SYNC,
18 18 E1 29 29 41 D7 PA8 I/O FT - -
EVENTOUT,
USART1_CK
MCO, TSC_G4_IO1,
19 19 D1 30 30 42 C7 PA9 I/O FT - -
USART1_TX
TSC_G4_IO2,
20 20 C1 31 31 43 C6 PA10 I/O FT - -
USART1_RX
SPI1_MISO,
EVENTOUT,
21 21 C2 32 32 44 C8 PA11(3) I/O FT - TSC_G4_IO3, USB_DM
USART1_CTS,
COMP1_OUT
I/O structure
Pin type
Pin name
WLCSP36(1)
UFQFPN48
Notes
Additional
UFQFN32
TFBGA64
LQFP32
LQFP48
LQFP64
(function after Alternate functions
functions
reset)
SPI1_MOSI,
EVENTOUT,
TSC_G4_IO4,
22 22 B1 33 33 45 B8 PA12(3) I/O FT - USB_DP
USART1_RTS/
USART1_DE,
COMP2_OUT
- - - 35 35 47 D5 VSS S - - - -
- - - 36 36 48 E6 VDD_USB S - - - -
SPI1_NSS,
TIM2_ETR,
25 25 A2 38 38 50 A6 PA15 I/O FT - EVENTOUT, -
USART2_RX,
TIM2_CH1
- - - - - 53 C5 PC12 I/O FT - - -
LPUART1_RTS/
- - - - - 54 B5 PD2 I/O FT - -
LPUART1_DE
SPI1_SCK,
TIM2_CH2,
26 26 B3 39 39 55 A5 PB3 I/O FT - COMP2_INN
TSC_G5I_O1,
EVENTOUT
SPI1_MISO,
EVENTOUT,
27 27 A3 40 40 56 A4 PB4 I/O FT - COMP2_INP
TSC_G5_IO2,
TIM22_CH1
SPI1_MOSI,
LPTIM1_IN1,
28 28 C4 41 41 57 C4 PB5 I/O FT - COMP2_INP
I2C1_SMBA,
TIM22_CH2
I/O structure
Pin type
Pin name
WLCSP36(1)
UFQFPN48
Notes
Additional
UFQFN32
TFBGA64
LQFP32
LQFP48
LQFP64
(function after Alternate functions
functions
reset)
USART1_TX,
I2C1_SCL,
29 29 B4 42 42 58 D3 PB6 I/O FTf - COMP2_INP
LPTIM1_ETR,
TSC_G5_IO3
USART1_RX,
I2C1_SDA, COMP2_INP,
30 30 A4 43 43 59 C3 PB7 I/O FTf -
LPTIM1_IN2, PVD_IN
TSC_G5_IO4
31 31 C5 44 44 60 B4 BOOT0 B - - - -
TSC_SYNC,
- 32 B5 45 45 61 B3 PB8 I/O FTf - -
I2C1_SCL
EVENTOUT,
- - - 46 46 62 A3 PB9 I/O FTf - I2C1_SDA, -
SPI2_NSS/I2S2_WS
32 - D6 47 47 63 D4 VSS S - - - -
1 1 A5 48 48 64 E4 VDD S - - - -
1. PB9/12/13/14/15, PH0/1 and PC13 GPIOs should be configured as output and driven Low, even if they are not available on
this package.
2. PA4 offers a reduced touch sensing sensitivity. It is thus recommended to use it as sampling capacitor I/O.
3. These pins are powered by VDD_USB. For all characteristics that refer to VDD, VDD_USB must be used instead.
STM32L052x6 STM32L052x8
PA14 SWCLK - - - USART2_TX - - -
PA15 SPI1_NSS - TIM2_ETR EVENTOUT USART2_RX TIM2_CH1 - -
STM32L052x6 STM32L052x8
Table 18. Alternate function port B
AF0 AF1 AF2 AF3 AF4 AF5 AF6
Pin descriptions
PB15 SPI2_MOSI/I2S2_SD - RTC_REFIN - - - -
50/150
Pin descriptions
51/150
Table 19. Alternate function port C
AF0 AF1 AF2 AF3
STM32L052x6 STM32L052x8
PC14 - - - -
PC15 - - - -
STM32L052x6 STM32L052x8
Table 20. Alternate function port D
AF0
Port
LPUART1
PH0 USB_CRS_SYNC
Port H
PH1 -
DS10182 Rev 10
Pin descriptions
52/150
STM32L052x6 STM32L052x8 Memory mapping
5 Memory mapping
Refer to the product line reference manual for details on the memory mapping as well as the
boundary addresses for all peripherals.
6 Electrical characteristics
Figure 10. Pin loading conditions Figure 11. Pin input voltage
ai17851c ai17852c
Standby-power circuitry
(OSC32,RTC,Wake-up
logic, RTC backup
registers)
Level shifter
OUT
IO
GP I/Os Logic Kernel logic
IN
(CPU,
Digital &
VDD Memories)
VDD
Regulator
N × 100 nF
+ 1 × 10 μF
VSS
VDDA
VDDA
VREF
VREF+
100 nF Analog:
+ 1 μF 100 nF ADC/ RC,PLL,COMP,
VREF- DAC ….
+ 1 μF
VSSA
VSS
USB
VDD_USB transceiver
MSv34738V1
NxVDD
N × 100 nF
+ 1 × 10 μF
NxVSS
MSv34711V1
ΣIVDD(2) Total current into sum of all VDD power lines (source)(1) 105
ΣIVSS(2) Total current out of sum of all VSS ground lines (sink) (1)
105
ΣIVDD_USB Total current into VDD_USB power lines (source) 25
IVDD(PIN) Maximum current into each VDD power pin (source)(1) 100
(1)
IVSS(PIN) Maximum current out of each VSS ground pin (sink) 100
Output current sunk by any I/O and control pin except FTf
16
pins
IIO
Output current sunk by FTf pins 22
Output current sourced by any I/O and control pin -16
mA
Total output current sunk by sum of all IOs and control pins
90
except PA11 and PA12(2)
ΣIIO(PIN) Total output current sunk by PA11 and PA12 25
Total output current sourced by sum of all IOs and control
-90
pins(2)
Injected current on FT, FTf, RST and B pins -5/+0(3)
IINJ(PIN)
Injected current on TC pin ± 5(4)
ΣIINJ(PIN) Total injected current (sum of all I/O and control pins)(5) ± 25
1. All main power (VDD, VDDA) and ground (VSS, VSSA) pins must always be connected to the external power
supply, 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 referring to high pin count
LQFP packages.
3. Positive current injection is not possible on these I/Os. A negative injection is induced by VIN<VSS. IINJ(PIN)
must never be exceeded. Refer to Table 22 for maximum allowed input voltage values.
4. A positive injection is induced by VIN > VDD while a negative injection is induced by VIN < VSS. IINJ(PIN)
must never be exceeded. Refer to Table 22: Voltage characteristics 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
positive and negative injected currents (instantaneous values).
VDD_ Standard operating voltage, USB USB peripheral used 3.0 3.6
V
USB domain(2) USB peripheral not used 0 3.6
Input voltage on FT, FTf and RST 2.0 V ≤ VDD ≤ 3.6 V -0.3 5.5
pins(3) 1.65 V ≤ VDD ≤ 2.0 V -0.3 5.2
VIN V
Input voltage on BOOT0 pin - 0 5.5
Input voltage on TC pin - -0.3 VDD+0.3
TFBGA64 package - 327
LQFP64 package - 444
LQFP48 package - 363
Table 26. Embedded reset and power control block characteristics (continued)
Symbol Parameter Conditions Min Typ Max Unit
VREFINT out(2) Internal reference voltage – 40 °C < TJ < +125 °C 1.202 1.224 1.242 V
TVREFINT Internal reference startup time - - 2 3 ms
VDDA and VREF+ voltage during
VVREF_MEAS - 2.99 3 3.01 V
VREFINT factory measure
Including uncertainties
Accuracy of factory-measured
AVREF_MEAS due to ADC and - - ±5 mV
VREFINT value(3)
VDDA/VREF+ values
TCoeff(4) Temperature coefficient –40 °C < TJ < +125 °C - 25 100 ppm/°C
ACoeff(4) Long-term stability 1000 hours, T= 25 °C - - 1000 ppm
VDDCoeff(4) Voltage coefficient 3.0 V < VDDA < 3.6 V - - 2000 ppm/V
ADC sampling time when
TS_vrefint(4)(5) reading the internal reference - 5 10 - µs
voltage
Startup time of reference
TADC_BUF(4) - - - 10 µs
voltage buffer for ADC
Consumption of reference
IBUF_ADC(4) - - 13.5 25 µA
voltage buffer for ADC
IVREF_OUT(4) VREF_OUT output current(6) - - - 1 µA
CVREF_OUT(4) VREF_OUT output load - - - 50 pF
Consumption of reference
ILPBUF(4) voltage buffer for VREF_OUT - - 730 1200 nA
and COMP
VREFINT_DIV1(4) 1/4 reference voltage - 24 25 26
%
VREFINT_DIV2(4) 1/2 reference voltage - 49 50 51
VREFINT
VREFINT_DIV3(4) 3/4 reference voltage - 74 75 76
1. Refer to Table 40: Peripheral current consumption in Stop and Standby mode for the value of the internal reference current
consumption (IREFINT).
2. Guaranteed by test in production.
3. The internal VREF value is individually measured in production and stored in dedicated EEPROM bytes.
4. Guaranteed by design.
5. Shortest sampling time can be determined in the application by multiple iterations.
6. To guarantee less than 1% VREF_OUT deviation.
Table 29. Current consumption in Run mode, code with data processing running from Flash
Symbol Parameter Conditions fHCLK Typ Max(1) Unit
Dhrystone 555
CoreMark 585
Range 3,
Fibonacci 440
VCORE=1.2 V, 4 MHz µA
VOS[1:0]=11 while(1) 355
Supply
IDD current in fHSE = fHCLK up to while(1), prefetch
353
(Run Run mode, 16 MHz included, OFF
from code fHSE = fHCLK/2 above Dhrystone 6.3
Flash) executed 16 MHz (PLL ON)(1)
from Flash CoreMark 6.3
Range 1,
Fibonacci 6.55
VCORE=1.8 V, 32 MHz mA
VOS[1:0]=01 while(1) 5.4
while(1), prefetch
5.2
OFF
1. Oscillator bypassed (HSEBYP = 1 in RCC_CR register).
Figure 14. IDD vs VDD, at TA= 25/55/85/105 °C, Run mode, code running from
Flash memory, Range 2, HSE, 1WS
IDD (mA)
3.00
2.50
2.00
1.50
1.00
0.50
0 VDD (V)
1.80E+00 2.00E+00 2.20E+00 2.40E+00 2.60E+00 2.80E+00 3.00E+00 3.20E+00 3.40E+00 3.60E+00
MSv34792V1
Figure 15. IDD vs VDD, at TA= 25/55/85/105 °C, Run mode, code running from
Flash memory, Range 2, HSI16, 1WS
IDD (mA)
3.00
2.50
2.00
1.50
1.00
0.50
0 VDD (V)
1.80E+00 2.00E+00 2.20E+00 2.40E+00 2.60E+00 2.80E+00 3.00E+00 3.20E+00 3.40E+00 3.60E+00
MSv34793V1
Table 31. Current consumption in Run mode, code with data processing running from RAM
Symbol Parameter Conditions fHCLK Typ Max(1) Unit
Dhrystone 450
Range 3, CoreMark 575
VCORE=1.2 V, 4 MHz µA
Supply current in VOS[1:0]=11 Fibonacci 370
fHSE = fHCLK up to
IDD (Run Run mode, code while(1) 340
16 MHz included,
from executed from
fHSE = fHCLK/2 above Dhrystone 5.1
RAM) RAM, Flash
16 MHz (PLL ON)(2)
switched off Range 1, CoreMark 6.25
VCORE=1.8 V, 32 MHz mA
VOS[1:0]=01 Fibonacci 4.4
while(1) 4.7
1. Guaranteed by characterization results, unless otherwise specified.
2. Oscillator bypassed (HSEBYP = 1 in RCC_CR register).
1 MHz 43.5 90
Range 3,
VCORE=1.2 V, 2 MHz 72 120
VOS[1:0]=11
4 MHz 130 180
fHSE = fHCLK up to 4 MHz 160 210
Range 2,
16 MHz included,
VCORE=1.5 V, 8 MHz 305 370
fHSE = fHCLK/2 above
VOS[1:0]=10
16 MHz (PLL ON)(2) 16 MHz 590 710
8 MHz 370 430
Range 1,
Supply current VCORE=1.8 V, 16 MHz 715 860
in Sleep VOS[1:0]=01
mode, Flash 32 MHz 1650 1900
OFF 65 kHz 18 65
Range 3,
MSI clock VCORE=1.2 V, 524 kHz 31.5 75
VOS[1:0]=11
4.2 MHz 140 210
Range 2,
VCORE=1.5 V, 16 MHz 665 830
HSI16 clock source VOS[1:0]=10
(16 MHz) Range 1,
VCORE=1.8 V, 32 MHz 1750 2100
VOS[1:0]=01
IDD (Sleep) µA
1 MHz 57.5 130
Range 3,
VCORE=1.2 V, 2 MHz 84 170
VOS[1:0]=11
4 MHz 150 280
fHSE = fHCLK up to 4 MHz 170 310
Range 2,
16 MHz included,
CORE=1.5 V, 8 MHz 315 420
fHSE = fHCLK/2 above
(2) VOS[1:0]=10
16 MHz (PLL ON) 16 MHz 605 770
8 MHz 380 460
Range 1,
Supply current VCORE=1.8 V, 16 MHz 730 950
in Sleep VOS[1:0]=01
mode, Flash 32 MHz 1650 2400
ON 65 kHz 29.5 110
Range 3,
MSI clock VCORE=1.2 V, 524 kHz 44.5 130
VOS[1:0]=11
4.2 MHz 150 270
Range 2,
VCORE=1.5 V, 16 MHz 680 950
HSI16 clock source VOS[1:0]=10
(16 MHz) Range 1,
VCORE=1.8 V, 32 MHz 1750 2100
VOS[1:0]=01
1. Guaranteed by characterization results at 125 °C, unless otherwise specified.
TA = − 40 to 25°C 8.5 10
Figure 16. IDD vs VDD, at TA= 25/55/ 85/105/125 °C, Low-power run mode, code running
from RAM, Range 3, MSI (Range 0) at 64 KHz, 0 WS
IDD (mA)
3.50E-02
3.00E-02
2.50E-02
2.00E-02
1.50E-02
1.00E-02
5.00E-03
0 VDD (V)
1.80 2.00 2.20 2.40 2.60 2.80 3.00 3.20 3.40 3.60
0 WS - 55°C
0 WS - 85°C
0 WS – 25°C
0 WS - 105°C
0 WS - 125°C MSv34794V3
TA = − 40 to 25°C 0.41 1
TA = 55°C 0.63 2.1
IDD (Stop) Supply current in Stop mode TA= 85°C 1.7 4.5 µA
TA = 105°C 4 9.6
TA = 125°C 11 24(2)
1. Guaranteed by characterization results at 125 °C, unless otherwise specified.
2. Guaranteed by test in production.
Figure 17. IDD vs VDD, at TA= 25/55/ 85/105/125 °C, Stop mode with RTC enabled
and running on LSE Low drive
IDD (mA)
1.20E-02
1.00E-02
8.00E-03
6.00E-03
4.00E-03
2.00E-03
0
1.80 2.00 2.20 2.40 2.60 2.80 3.00 3.20 3.40 3.60
VDD (V)
55°C
85°C
25°C
105°C
125°C MSv34795V3
Figure 18. IDD vs VDD, at TA= 25/55/85/105/125 °C, Stop mode with RTC disabled,
all clocks OFF
IDD (mA)
1.40E-02
1.20E-02
1.00E-02
8.00E-03
6.00E-03
4.00E-03
2.00E-03
0 VDD (V)
1.80 2.00 2.20 2.40 2.60 2.80 3.00 3.20 3.40 3.60
55 °C
85 °C
25 °C
105 °C
125 °C
MSv34796V3
HSI 1
HSI/4 0,7
IDD (Wakeup from Supply current during Wakeup from
MSI clock = 4,2 MHz 0,7
Stop) Stop mode
MSI clock = 1,05 MHz 0,4
MSI clock = 65 KHz 0,1
mA
IDD (Reset) Reset pin pulled down - 0,21
IDD (Wakeup from With Fast wakeup set MSI clock = 2,1 MHz 0,5
StandBy) With Fast wakeup disabled MSI clock = 2,1 MHz 0,12
CRS 2.5 2 2 2
DAC1 4 3.5 3 2.5
I2C1 11 9.5 7.5 9
I2C2 4 3.5 3 2.5
LPTIM1 10 8.5 6.5 8
LPUART1 8 6.5 5.5 6 µA/MHz
APB1
SPI2 9 4.5 3.5 4 (fHCLK)
µA
CSS is ON or
1 8 32 MHz
User external clock source PLL is used
fHSE_ext
frequency CSS is OFF,
0 8 32 MHz
PLL not used
VHSEH OSC_IN input pin high level voltage 0.7VDD - VDD
V
VHSEL OSC_IN input pin low level voltage VSS - 0.3VDD
tw(HSE)
OSC_IN high or low time 12 - -
tw(HSE)
- ns
tr(HSE)
OSC_IN rise or fall time - - 20
tf(HSE)
Cin(HSE) OSC_IN input capacitance - 2.6 - pF
DuCy(HSE) Duty cycle 45 - 55 %
IL OSC_IN Input leakage current VSS ≤ VIN ≤ VDD - - ±1 µA
1. Guaranteed by design.
VHSEH
90%
10%
VHSEL
tr(HSE) tW(HSE) t
tf(HSE) tW(HSE)
THSE
ai18232c
VLSEH
90%
10%
VLSEL
tr(LSE) tW(LSE) t
tf(LSE) tW(LSE)
TLSE
ai18233c
1. Guaranteed by design.
2. Guaranteed by characterization results. tSU(HSE) is the startup time measured from the moment it is
enabled (by software) to a stabilized 8 MHz oscillation is reached. This value is measured for a standard
crystal resonator and it can vary significantly with the crystal manufacturer.
For CL1 and CL2, it is recommended to use high-quality external ceramic capacitors in the
5 pF to 25 pF range (typ.), designed for high-frequency applications, and selected to match
the requirements of the crystal or resonator (see Figure 21). CL1 and CL2 are usually the
same size. The crystal manufacturer typically specifies a load capacitance which is the
series combination of CL1 and CL2. PCB and MCU pin capacitance must be included (10 pF
can be used as a rough estimate of the combined pin and board capacitance) when sizing
CL1 and CL2. Refer to the application note AN2867 “Oscillator design guide for ST
microcontrollers” available from the ST website www.st.com.
fHSE to core
Rm
CO RF
Lm
CL1
Cm OSC_IN
gm
Resonator
Consumption
control
Resonator
STM32
OSC_OUT
CL2
ai18235b
Note: For information on selecting the crystal, refer to the application note AN2867 “Oscillator
design guide for ST microcontrollers” available from the ST website www.st.com.
OSC32_IN fLSE
OSC32_OUT
CL2
MS30253V2
Note: An external resistor is not required between OSC32_IN and OSC32_OUT and it is forbidden
to add one.
4.00%
3.00%
2.00%
1.00%
1.65V min
0.00%
3V typ
-60 -40 -20 0 20 40 60 80 100 120 140
-1.00% 3.6V max
1.65V max
-2.00%
3.6V min
-3.00%
-4.00%
-5.00%
-6.00%
MSv34791V1
MSI range 0 - 40
MSI range 1 - 20
MSI range 2 - 10
MSI range 3 - 4
MSI range 4 - 2.5
tSTAB(MSI)(2) MSI oscillator stabilization time µs
MSI range 5 - 2
MSI range 6,
Voltage range 1 - 2
and 2
MSI range 3,
- 3
Voltage range 3
Any range to
- 4
range 5
fOVER(MSI) MSI oscillator frequency overshoot MHz
Any range to
- 6
range 6
1. This is a deviation for an individual part, once the initial frequency has been measured.
2. Guaranteed by characterization results.
Operating voltage
VDD - 1.65 - 3.6 V
Read / Write / Erase
Table 53. Flash memory and data EEPROM endurance and retention
Value
Symbol Parameter Conditions Unit
Min(1)
Table 53. Flash memory and data EEPROM endurance and retention (continued)
Value
Symbol Parameter Conditions Unit
Min(1)
TA = +25 °C,
Electrostatic discharge
VESD(HBM) conforming to 2 2000
voltage (human body model)
ANSI/JEDEC JS-001
V
Electrostatic discharge TA = +25 °C,
VESD(CDM) voltage (charge device conforming to C4 500
model) ANSI/ESD STM5.3.1.
1. Guaranteed by characterization results.
Static latch-up
Two complementary static tests are required on six 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.
VDD≤ VIN ≤ 5 V
- - 500
FTf I/Os
VDD≤ VIN ≤ 5 V
PA11, PA12 and - - 10 µA
BOOT0
RPU Weak pull-up equivalent resistor(5) VIN = VSS 25 45 65 kΩ
RPD Weak pull-down equivalent resistor(5) VIN = VDD 25 45 65 kΩ
CIO I/O pin capacitance - - 5 - pF
1. Guaranteed by characterization.
2. Hysteresis voltage between Schmitt trigger switching levels. Guaranteed by characterization results.
3. With a minimum of 200 mV. Guaranteed by characterization results.
4. The max. value may be exceeded if negative current is injected on adjacent pins.
5. Pull-up and pull-down resistors are designed with a true resistance in series with a switchable PMOS/NMOS. This
MOS/NMOS contribution to the series resistance is minimum (~10% order).
V DD
= 0.3
1.3 V ILmax
Input range not
guaranteed
CMOS standard requirements VILmax = 0.3VDD
VILmax 0.7
0.6
VDD (V)
2.0 2.7 3.0 3.3 3.6
MSv34789V1
V DD
= 0.3
1.3 V ILmax
Input range not
guaranteed
VILmax 0.8
0.7 TTL standard requirements VILmax = 0.8 V
VDD (V)
2.0 2.7 3.0 3.3 3.6
MSv34790V1
Input/output AC characteristics
The definition and values of input/output AC characteristics are given in Figure 26 and
Table 61, respectively.
Unless otherwise specified, the parameters given in Table 61 are derived from tests
performed under ambient temperature and VDD supply voltage conditions summarized in
Table 25.
50% 50%
10% 90%
Maximum frequency is achieved if (tr + tf) ≤ (2/3)T and if the duty cycle is (45-55%)
when loaded by CL specified in the table “ I/O AC characteristics”.
ai14131d
([WHUQDO
UHVHWFLUFXLW 9''
538
1567 ,QWHUQDOUHVHW
)LOWHU
)
069
TS
R AIN < -------------------------------------------------------------
- – R ADC
N+2
f ADC × C ADC × ln ( 2 )
The simplified formula above (Equation 1) is used to determine the maximum external
impedance allowed for an error below 1/4 of LSB. Here N = 12 (from 12-bit resolution).
0
1 2 3 4 5 6 7 4093 4094 4095 4096 VDDA
MS19880V2
VDDA
MSv34712V1
1. Refer to Table 63: ADC characteristics for the values of RAIN, RADC and CADC.
2. Cparasitic represents the capacitance of the PCB (dependent on soldering and PCB layout quality) plus the
pad capacitance (roughly 7 pF). A high Cparasitic value will downgrade conversion accuracy. To remedy
this, fADC should be reduced.
Figure 30. Power supply and reference decoupling (VREF+ not connected to VDDA)
STM32Lxx
VREF+
1 μF // 100 nF VDDA
1 μF // 100 nF
VSSA / VREF–
MS39601V1
Figure 31. Power supply and reference decoupling (VREF+ connected to VDDA)
STM32Lxx
VREF+/VDDA
1 μF // 100 nF
VREF–/VSSA
MS39602V1
CL ≤ 50 pF, RL ≥ 5 kΩ
- 1.5 3
DAC output buffer ON
DNL(2) Differential non linearity(4)
No RLOAD, CL ≤ 50 pF
- 1.5 3
DAC output buffer OFF
CL ≤ 50 pF, RL ≥ 5 kΩ
- 2 4
DAC output buffer ON
INL(2) Integral non linearity(5)
No RLOAD, CL ≤ 50 pF LSB
- 2 4
DAC output buffer OFF
CL ≤ 50 pF, RL ≥ 5 kΩ
- ±10 ±25
DAC output buffer ON
Offset(2) Offset error at code 0x800 (6)
No RLOAD, CL ≤ 50 pF
- ±5 ±8
DAC output buffer OFF
No RLOAD, CL ≤ 50 pF
Offset1(2) Offset error at code 0x001(7) - ±1.5 ±5
DAC output buffer OFF
VDDA = 3.3V
VREF+= 3.0 V
-20 -10 0
TA = 0 to 50 °C
Offset error temperature DAC output buffer OFF
dOffset/dT(2) µV/°C
coefficient (code 0x800) VDDA = 3.3V
VREF+= 3.0 V
0 20 50
TA = 0 to 50 °C
DAC output buffer ON
CL ≤ 50 pF, RL ≥ 5 kΩ
- +0.1 / -0.2% +0.2 / -0.5%
DAC output buffer ON
Gain(2) Gain error(8) %
No RLOAD, CL ≤ 50 pF
- +0 / -0.2% +0 / -0.4%
DAC output buffer OFF
VDDA = 3.3V
VREF+= 3.0 V
-10 -2 0
TA = 0 to 50 °C
Gain error temperature DAC output buffer OFF
dGain/dT(2) µV/°C
coefficient VDDA = 3.3V
VREF+= 3.0 V
-40 -8 0
TA = 0 to 50 °C
DAC output buffer ON
CL ≤ 50 pF, RL ≥ 5 kΩ
- 12 30
DAC output buffer ON
TUE(2) Total unadjusted error LSB
No RLOAD, CL ≤ 50 pF
- 8 12
DAC output buffer OFF
Buffer(1)
RL
12-bit
digital to DAC_OUTx
analog
converter
CL
MSv45341V1
1. The DAC integrates an output buffer that can be used to reduce the output impedance and to drive external
loads directly without the use of an external operational amplifier. The buffer can be bypassed by
configuring the BOFFx bit in the DAC_CR register.
6.3.18 Comparators
1 - tTIMxCLK
tres(TIM) Timer resolution time
fTIMxCLK = 32 MHz 31.25 - ns
The analog spike filter is compliant with I2C timings requirements only for the following
voltage ranges:
• Fast mode Plus: 2.7 V ≤ VDD ≤ 3.6 V and voltage scaling Range 1
• Fast mode:
– 2 V ≤ VDD ≤ 3.6 V and voltage scaling Range 1 or Range 2.
– VDD < 2 V, voltage scaling Range 1 or Range 2, Cload < 200 pF.
In other ranges, the analog filter should be disabled. The digital filter can be used instead.
Note: In Standard mode, no spike filter is required.
Range 1 100(3)
Maximum pulse width of spikes that
tAF Range 2 50(2) - ns
are suppressed by the analog filter
Range 3 -
1. Guaranteed by characterization results.
2. Spikes with widths below tAF(min) are filtered.
3. Spikes with widths above tAF(max) are not filtered
SPI characteristics
Unless otherwise specified, the parameters given in the following tables are derived from
tests performed under ambient temperature, fPCLKx frequency and VDD supply voltage
conditions summarized in Table 25.
Refer to Section 6.3.12: I/O current injection characteristics for more details on the
input/output alternate function characteristics (NSS, SCK, MOSI, MISO).
Master mode 16
Slave mode - -
16
receiver
Master mode 8
Slave mode Transmitter
fSCK 8
SPI clock frequency 1.65<VDD<3.6V - - MHz
1/tc(SCK)
Slave mode Transmitter
8(2)
2.7<VDD<3.6V
Duty cycle of SPI clock
Duty(SCK) Slave mode 30 50 70 %
frequency
tsu(NSS) NSS setup time Slave mode, SPI presc = 2 4*Tpclk - -
th(NSS) NSS hold time Slave mode, SPI presc = 2 2*Tpclk - -
tw(SCKH)
SCK high and low time Master mode Tpclk-2 Tpclk Tpclk+2
tw(SCKL)
tsu(MI) Master mode 0 - -
Data input setup time
tsu(SI) Slave mode 3 - -
th(MI) Master mode 11 - -
Data input hold time ns
th(SI) Slave mode 4.5 - -
ta(SO Data output access time Slave mode 18 - 52
tdis(SO) Data output disable time Slave mode 12 - 42
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
Figure 34. SPI timing diagram - slave mode and CPHA = 1(1)
NSS input
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
High
NSS input
tc(SCK)
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
INP UT MSB IN BIT6 IN LSB IN
th(MI)
MOSI
MSB OUT B I T1 OUT LSB OUT
OUTPUT
tv(MO) th(MO)
ai14136d
I2S characteristics
Note: Refer to the I2S section of the product reference manual for more details about the sampling
frequency (Fs), fMCK, fCK and DCK values. These values reflect only the digital peripheral
behavior, source clock precision might slightly change them. DCK depends mainly on the
ODD bit value, digital contribution leads to a min of (I2SDIV/(2*I2SDIV+ODD) and a max of
(I2SDIV+ODD)/(2*I2SDIV+ODD). Fs max is supported for each mode/condition.
1. Measurement points are done at CMOS levels: 0.3 × VDD and 0.7 × VDD.
2. LSB transmit/receive of the previously transmitted byte. No LSB transmit/receive is sent before the first
byte.
USB characteristics
The USB interface is USB-IF certified (full speed).
Input levels
Output levels
Figure 38. USB timings: definition of data signal rise and fall time
Cross over
points
Differential
data lines
VCRS
VSS
tf tr
ai14137b
tr Rise time(2) CL = 50 pF 4 20 ns
(2)
tf Fall Time CL = 50 pF 4 20 ns
trfm Rise/ fall time matching tr/tf 90 110 %
VCRS Output signal crossover voltage 1.3 2.0 V
1. Guaranteed by design.
2. Measured from 10% to 90% of the data signal. For more detailed informations, please refer to USB
Specification - Chapter 7 (version 2.0).
7 Package information
SEATING PLANE
C
A2
A
0.25 mm
GAUGE PLANE
A1
c
ccc C
A1
D K
D1 L
D3 L1
48 33
32
49
b
E1
E3
64 17
PIN 1 1 16
IDENTIFICATION e
5W_ME_V3
A - - 1.600 - - 0.0630
A1 0.050 - 0.150 0.0020 - 0.0059
A2 1.350 1.400 1.450 0.0531 0.0551 0.0571
b 0.170 0.220 0.270 0.0067 0.0087 0.0106
c 0.090 - 0.200 0.0035 - 0.0079
D - 12.000 - - 0.4724 -
D1 - 10.000 - - 0.3937 -
D3 - 7.500 - - 0.2953 -
E - 12.000 - - 0.4724 -
E1 - 10.000 - - 0.3937 -
E3 - 7.500 - - 0.2953 -
e - 0.500 - - 0.0197 -
K 0° 3.5° 7° 0° 3.5° 7°
L 0.450 0.600 0.750 0.0177 0.0236 0.0295
L1 - 1.000 - - 0.0394 -
ccc - - 0.080 - - 0.0031
1. Values in inches are converted from mm and rounded to 4 decimal digits.
48 33
0.3
49 0.5 32
12.7
10.3
10.3
64 17
1.2
1 16
7.8
12.7
ai14909c
R
STM32L052
R8T6
Date code
Y WW
Pin 1
indentifier
MSv39140V1
1. Parts marked as “ES”, “E” or accompanied by an Engineering Sample notification letter, are not yet
qualified and therefore not approved for use in production. ST is not responsible for any consequences
resulting from such use. In no event will ST be liable for the customer using any of these engineering
samples in production. ST’s Quality department must be contacted prior to any decision to use these
engineering samples to run a qualification activity.
A E1
E e F
H
F
D D1
Øb (64 balls) e
Ø eee M C B A
Ø fff M C
B A
1 8
C Seating plane
ddd C
A4
A2 A1 A
SIDE VIEW
R8_ME_V4
Table 81. TFBGA64 – 64-ball, 5 x 5 mm, 0.5 mm pitch thin profile fine pitch ball grid
array package outline
millimeters inches(1)
Symbol
Min Typ Max Min Typ Max
A - - 1.200 - - 0.0472
A1 0.150 - - 0.0059 - -
A2 - 0.200 - - 0.0079 -
A4 - - 0.600 - - 0.0236
b 0.250 0.300 0.350 0.0098 0.0118 0.0138
D 4.850 5.000 5.150 0.1909 0.1969 0.2028
D1 - 3.500 - - 0.1378 -
E 4.850 5.000 5.150 0.1909 0.1969 0.2028
E1 - 3.500 - - 0.1378 -
e - 0.500 - - 0.0197 -
F - 0.750 - - 0.0295 -
Table 81. TFBGA64 – 64-ball, 5 x 5 mm, 0.5 mm pitch thin profile fine pitch ball grid
array package outline (continued)
millimeters inches(1)
Symbol
Min Typ Max Min Typ Max
Figure 43. TFBGA64 – 64-ball, 5 x 5 mm, 0.5 mm pitch, thin profile fine pitch ball
,grid array recommended footprint
Dpad
Dsm
R8_FP_V1
Table 82. TFBGA64 recommended PCB design rules (0.5 mm pitch BGA)
Dimension Recommended values
Pitch 0.5
Dpad 0.280 mm
0.370 mm typ. (depends on the soldermask
Dsm
registration tolerance)
Stencil opening 0.280 mm
Stencil thickness Between 0.100 mm and 1.125 mm
Pad trace width 0.100 mm
Product identification(1)
L052R8H6
Y WW
Revision
code
Ball A1 R
MSv39141V1
1. Parts marked as “ES”, “E” or accompanied by an Engineering Sample notification letter, are not yet
qualified and therefore not approved for use in production. ST is not responsible for any consequences
resulting from such use. In no event will ST be liable for the customer using any of these engineering
samples in production. ST’s Quality department must be contacted prior to any decision to use these
engineering samples to run a qualification activity.
SEATING
PLANE
C
A2
A
A1
c
0.25 mm
GAUGE PLANE
ccc C
D K
A1
L
D1 L1
D3
36 25
37 24
E1
E3
E
48 13
PIN 1
IDENTIFICATION 1 12
e 5B_ME_V2
Table 83. LQFP48 - 48-pin, 7 x 7 mm low-profile quad flat package mechanical data
millimeters inches(1)
Symbol
Min Typ Max Min Typ Max
A - - 1.600 - - 0.0630
A1 0.050 - 0.150 0.0020 - 0.0059
A2 1.350 1.400 1.450 0.0531 0.0551 0.0571
b 0.170 0.220 0.270 0.0067 0.0087 0.0106
c 0.090 - 0.200 0.0035 - 0.0079
D 8.800 9.000 9.200 0.3465 0.3543 0.3622
D1 6.800 7.000 7.200 0.2677 0.2756 0.2835
D3 - 5.500 - - 0.2165 -
E 8.800 9.000 9.200 0.3465 0.3543 0.3622
E1 6.800 7.000 7.200 0.2677 0.2756 0.2835
E3 - 5.500 - - 0.2165 -
e - 0.500 - - 0.0197 -
L 0.450 0.600 0.750 0.0177 0.0236 0.0295
L1 - 1.000 - - 0.0394 -
k 0° 3.5° 7° 0° 3.5° 7°
ccc - - 0.080 - - 0.0031
1. Values in inches are converted from mm and rounded to 4 decimal digits.
0.30
36 25
37 24
0.20
7.30
9.70 5.80
7.30
48 13
1 12
1.20
5.80
9.70
ai14911d
Product identification(1)
STM32L
052C8T6
Date code
Y WW Revision code
Pin 1
indentifier
R
MSv39139V2
1. Parts marked as “ES”, “E” or accompanied by an Engineering Sample notification letter, are not yet
qualified and therefore not approved for use in production. ST is not responsible for any consequences
resulting from such use. In no event will ST be liable for the customer using any of these engineering
samples in production. ST’s Quality department must be contacted prior to any decision to use these
engineering samples to run a qualification activity.
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
Table 84. UFQFPN48 - 48 leads, 7x7 mm, 0.5 mm pitch, ultra thin fine pitch quad flat
package mechanical data
millimeters inches(1)
Symbol
Min Typ Max Min Typ Max
Figure 49. UFQFPN48 - 48 leads, 7x7 mm, 0.5 mm pitch, ultra thin fine pitch quad flat
package recommended footprint
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
Product identification(1)
STM32L052
C8U6
Date code
Y WW
Revision code
Pin 1
indentifier
R
MSv62456V1
1. Parts marked as “ES”, “E” or accompanied by an Engineering Sample notification letter, are not yet
qualified and therefore not approved for use in production. ST is not responsible for any consequences
resulting from such use. In no event will ST be liable for the customer using any of these engineering
samples in production. ST’s Quality department must be contacted prior to any decision to use these
engineering samples to run a qualification activity.
A G
Detail A
e2
e
F
6 1 A3
A2
A
Bump side Side view
Bump
A1
orientation E eee Z A1
reference
aaa Z
Øb (36 balls) b
4x Seating plane
ccc Z X Y
ddd Z
Wafer back side Detail A
(rotated 90 °)
A01Y_ME_V2
Table 85. Standard WLCSP36 - 2.61 x 2.88 mm, 0.4 mm pitch wafer level chip scale
mechanical data
millimeters inches(1)
Symbol
Min Typ Max Min Typ Max
A - - 0.59 - - 0.023
A1 - 0.18 - - 0.007 -
A2 - 0.38 - - 0.015 -
A3 - 0.025(2) - - 0.001 -
b 0.22 0.25 0.28 0.009 0.010 0.011
D 2.59 2.61 2.63 0.102 0.103 0.104
E 2.86 2.88 2.90 0.112 0.113 0.114
e - 0.40 - - 0.016 -
e1 - 2.00 - - 0.079 -
e2 - 2.00 - - 0.079 -
Table 85. Standard WLCSP36 - 2.61 x 2.88 mm, 0.4 mm pitch wafer level chip scale
mechanical data (continued)
millimeters inches(1)
Symbol
Min Typ Max Min Typ Max
F - 0.305(3) - - 0.012 -
G - 0.440(3) - - 0.017 -
aaa - - 0.100 - - 0.004
bbb - - 0.100 - - 0.004
ccc - - 0.100 - - 0.004
ddd - - 0.050 - - 0.002
eee - - 0.050 - - 0.002
1. Values in inches are converted from mm and rounded to the 3rd decimal place.
2. Nominal dimension rounded to the 3rd decimal place results from process capability.
3. Calculated dimensions are rounded to the 3rd decimal place.
Figure 52. Standard WLCSP36 - 2.61 x 2.88 mm, 0.4 mm pitch wafer level chip scale
recommended footprint
Dpad
Dsm MS18965V2
Pitch 0.4 mm
260 µm max. (circular)
Dpad
220 µm recommended
Dsm 300 µm min. (for 260 µm diameter pad)
PCB pad design Non-solder mask defined via underbump allowed
Ball A1
identifier
Product identification(1)
L05266
Revision
code
R
Date code = Year + week
Y WW
MSv39600V1
1. Parts marked as “ES”, “E” or accompanied by an Engineering Sample notification letter, are not yet
qualified and therefore not approved for use in production. ST is not responsible for any consequences
resulting from such use. In no event will ST be liable for the customer using any of these engineering
samples in production. ST’s Quality department must be contacted prior to any decision to use these
engineering samples to run a qualification activity.
DETAIL A
e2
e
b
e
A
A3
BOTTOM VIEW A2
SIDE VIEW
BUMP
E
A1
A1 ORIENTATION
REFERENCE eee Z
aaa
D b (36x)
ccc Z X Y
TOP VIEW ddd Z
SEATING PLANE
DETAIL A
ROTATED 90
A097_ME_V2
Table 87. Thin WLCSP36 - 2.61 x 2.88 mm, 0.4 mm pitch wafer level chip scale
package mechanical data
millimeters inches(1)
Symbol
Min Typ Max Min Typ Max
A - - 0.33 - - 0.013
A1 - 0.10 - - 0.004 -
A2 - 0.20 - - 0.008 -
(2)
A3 - 0.025 - - 0.001 -
b 0.16 0.19 0.22 0.006 0.007 0.009
D 2.59 2.61 2.63 0.102 0.103 0.104
E 2.86 2.88 2.90 0.112 0.113 0.114
e - 0.40 - - 0.016 -
e1 - 2.00 - - 0.079 -
e2 - 2.00 - - 0.079 -
F - 0.305(3) - - 0.012 -
G - 0.440(3) - - 0.017 -
aaa - - 0.10 - - 0.004
bbb - - 0.10 - - 0.004
ccc - - 0.10 - - 0.004
ddd - - 0.05 - - 0.002
eee - - 0.05 - - 0.002
1. Values in inches are converted from mm and rounded to the 3rd decimal place.
2. Back side coating. Nominal dimension rounded to the 3rd decimal place results from process capability.
3. Calculated dimensions are rounded to 3rd decimal place.
Figure 55. Thin WLCSP36 - 2.61 x 2.88 mm, 0.4 mm pitch wafer level chip scale
package recommended footprint
Dpad
Dsm MS18965V2
Pitch 0.4 mm
260 µm max. (circular)
Dpad
220 µm recommended
Dsm 300 µm min. (for 260 µm diameter pad)
PCB pad design Non-solder mask defined via underbump allowed
Ball A1
identifier
Product identification(1)
L05286D
Revision
code
R
Date code
Y WW
MSv62457V1
1. Parts marked as “ES”, “E” or accompanied by an Engineering Sample notification letter, are not yet
qualified and therefore not approved for use in production. ST is not responsible for any consequences
resulting from such use. In no event will ST be liable for the customer using any of these engineering
samples in production. ST’s Quality department must be contacted prior to any decision to use these
engineering samples to run a qualification activity.
SEATING
PLANE
C
A2
A
c
A1
0.25 mm
GAUGE PLANE
ccc C
K
D
L
A1
D1
L1
D3
24 17
25 16
b
E1
E3
32 9
PIN 1
IDENTIFICATION 1 8
e 5V_ME_V2
Table 89. LQFP32 - 32-pin, 7 x 7 mm low-profile quad flat package mechanical data
millimeters inches(1)
Symbol
Min Typ Max Min Typ Max
A - - 1.600 - - 0.0630
A1 0.050 - 0.150 0.0020 - 0.0059
A2 1.350 1.400 1.450 0.0531 0.0551 0.0571
b 0.300 0.370 0.450 0.0118 0.0146 0.0177
c 0.090 - 0.200 0.0035 - 0.0079
D 8.800 9.000 9.200 0.3465 0.3543 0.3622
D1 6.800 7.000 7.200 0.2677 0.2756 0.2835
D3 - 5.600 - - 0.2205 -
E 8.800 9.000 9.200 0.3465 0.3543 0.3622
E1 6.800 7.000 7.200 0.2677 0.2756 0.2835
E3 - 5.600 - - 0.2205 -
e - 0.800 - - 0.0315 -
L 0.450 0.600 0.750 0.0177 0.0236 0.0295
L1 - 1.000 - - 0.0394 -
k 0° 3.5° 7° 0° 3.5° 7°
ccc - - 0.100 - - 0.0039
1. Values in inches are converted from mm and rounded to 4 decimal digits.
1.20
24 17
25 16 0.50
0.30
7.30
6.10
9.70
7.30
32 9
1 8
1.20
6.10
9.70
5V_FP_V2
STM32L
(1)
Product identification
052K8T6
Date code
Y WW
Revision code
Pin 1 indentifier
MSv39137V1
1. Parts marked as “ES”, “E” or accompanied by an Engineering Sample notification letter, are not yet
qualified and therefore not approved for use in production. ST is not responsible for any consequences
resulting from such use. In no event will ST be liable for the customer using any of these engineering
samples in production. ST’s Quality department must be contacted prior to any decision to use these
engineering samples to run a qualification activity.
ddd C
e A1
C
A3
SEATINGPLANE
D1
b
E2 b
E1 E
1
L
32
D2 L
PIN 1 Identifier
A0B8_ME_V3
Table 90. UFQFPN32 - 32-pin, 5x5 mm, 0.5 mm pitch ultra thin fine pitch quad flat
package mechanical data
millimeters inches(1)
Symbol
Min Typ Max Min Typ Max
Figure 61. UFQFPN32 - 32-pin, 5x5 mm, 0.5 mm pitch ultra thin fine pitch quad flat
recommended footprint
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
Product identification(1)
L052K86
Y WW
Revision code
R
Pin 1
MSv39138V1
1. Parts marked as “ES”, “E” or accompanied by an Engineering Sample notification letter, are not yet
qualified and therefore not approved for use in production. ST is not responsible for any consequences
resulting from such use. In no event will ST be liable for the customer using any of these engineering
samples in production. ST’s Quality department must be contacted prior to any decision to use these
engineering samples to run a qualification activity.
4000
3500
UQFN32
3000 LQFP32
Standard
WLCSP36
2500 Thin
PD (mW) WLCSP36
LQFP48
2000 UFQFPN48
LQFP64
1500
TFBGA64
1000
500
0
125 100 75 50 25 0
Temperature (°C)
MSv43764V2
8 Ordering information
Example: STM32 L 052 R 8 T 6 D TR
Device family
STM32 = Arm-based 32-bit microcontroller
Product type
L = Low power
Device subfamily
052 = USB
Pin count
K = 32 pins
T = 36 pins
C = 48/49 pins
R = 64 pins
Package
T = LQFP
H = TFBGA
U = UFQFPN
Y = Standard WLCSP
F = Thin WLCSP
Temperature range
6 = Industrial temperature range, –40 to 85 °C
7 = Industrial temperature range, –40 to 105 °C
3 = Industrial temperature range, –40 to 125 °C
Options
No character = VDD range: 1.8 to 3.6 V and BOR enabled
D = VDD range: 1.65 to 3.6 V and BOR disabled
Packing
TR = tape and reel
No character = tray or tube
For a list of available options (speed, package, etc.) or for further information on any aspect
of this device, please contact your nearest ST sales office.
9 Revision history
27-
Feb- 1 Initial release.
2014
Added WLCSP36 package.
Updated Table 2: Ultra-low-power STM32L052x6/x8 device features and
peripheral counts
Updated Figure 4: STM32L052x6/8 TFBGA64 ballout.
Updated Table 5: Functionalities depending on the working mode (from
Run/active down to standby). Added Section 3.2: Interconnect matrix.
Replaced TTa I/O structure by TC, updated PA0/4/5, PC5/14, BOOT0 and
NRST I/O structure, and added note 3 in Table 16: STM32L052x6/8 pin
definitions.
Updated Table 25: General operating conditions, Table 22: Voltage
characteristics and Table 23: Current characteristics.
Modified conditions in Table 28: Embedded internal reference voltage.
Updated Table 29: Current consumption in Run mode, code with data
processing running from Flash, Table 31: Current consumption in Run mode,
code with data processing running from RAM, Table 33: Current consumption
in Sleep mode, Table 34: Current consumption in Low-power run mode,
Table 35: Current consumption in Low-power sleep mode, and Table 36:
Typical and maximum current consumptions in Stop modeTable 37: Typical and
maximum current consumptions in Standby mode. Added Figure 14: IDD vs
29-Apr- VDD, at TA= 25/55/85/105 °C, Run mode, code running from Flash memory,
2 Range 2, HSE, 1WS, Figure 15: IDD vs VDD, at TA= 25/55/85/105 °C, Run
2014
mode, code running from Flash memory, Range 2, HSI16, 1WS, Figure 16: IDD
vs VDD, at TA= 25/55/ 85/105/125 °C, Low-power run mode, code running
from RAM, Range 3, MSI (Range 0) at 64 KHz, 0 WS, Figure 17: IDD vs VDD,
at TA= 25/55/ 85/105/125 °C, Stop mode with RTC enabled and running on
LSE Low drive and Figure 18: IDD vs VDD, at TA= 25/55/85/105/125 °C, Stop
mode with RTC disabled, all clocks OFF.
Updated Table 44: HSE oscillator characteristics and Table 45: LSE oscillator
characteristics. Added Figure 23: HSI16 minimum and maximum value versus
temperature.
Updated Table 56: ESD absolute maximum ratings, Table 58: I/O current
injection susceptibility and Table 59: I/O static characteristics, and added
Figure 24: VIH/VIL versus VDD (CMOS I/Os) and Figure 25: VIH/VIL versus
VDD (TTL I/Os). Updated Table 60: Output voltage characteristics, Table 61:
I/O AC characteristics, and Figure 26: I/O AC characteristics definition.
Updated Table 63: ADC characteristics, Table 65: ADC accuracy, and
Figure 29: Typical connection diagram using the ADC. Updated Table 68:
Temperature sensor characteristics.
Updated Table 73: SPI characteristics in voltage Range 1 and Table 76: I2S
characteristics.
Added Figure 63: Thermal resistance.
Cover page: changed LQFP32 size, updated core speed, added minimum
supply voltage for ADC, DAC and comparators.
ADC now guaranteed down to 1.65 V.
Updated list of applications in Section 1: Introduction. Changed number of I2S
interfaces to one in Section 2: Description.
Updated Table 2: Ultra-low-power STM32L052x6/x8 device features and
peripheral counts.
Updated RTC/TIM21 in Table 6: STM32L052x6/8 peripherals interconnect
matrix.
Updated Table 3: Functionalities depending on the operating power supply
range.
Split LQFP32/UFQFPN32 pinout schematics into two distinct figures: Figure 8
and Figure 9. Added note related to WLCSP36 package in Table 16:
STM32L052x6/8 pin definitions.
Updated Section 3.4.1: Power supply schemes.
Updated VDDA in Table 25: General operating conditions.
25-Jun- Splitted Table Current consumption in Run mode, code with data processing
3 running from Flash into Table 29 and Table 30 and content updated. Split Table
2014
Current consumption in Run mode, code with data processing running from
RAM into Table 31 and Table 32 and content updated. Updated Table 33:
Current consumption in Sleep mode, Table 34: Current consumption in Low-
power run mode, Table 35: Current consumption in Low-power sleep mode,
Table 36: Typical and maximum current consumptions in Stop mode, Table 37:
Typical and maximum current consumptions in Standby mode, and added
Table 38: Average current consumption during Wakeup.
Updated Table 39: Peripheral current consumption in Run or Sleep mode and
added Table 40: Peripheral current consumption in Stop and Standby mode.
Updated Table 47: HSI48 oscillator characteristics. Removed note 1 below
Figure 21: HSE oscillator circuit diagram.
Updated tLOCK in Table 50: PLL characteristics.
Updated Table 52: Flash memory and data EEPROM characteristics and
Table 53: Flash memory and data EEPROM endurance and retention.
Updated Table 61: I/O AC characteristics.
Updated Table 63: ADC characteristics.
Updated Figure 63: Thermal resistance and added note 1.
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
acknowledgement.
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, please 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.