STM32L053R8
STM32L053R8
STM32L053R6 STM32L053R8
Ultra-low-power 32-bit MCU Arm®-based Cortex®-M0+, up to 64KB
Flash, 8KB SRAM, 2KB EEPROM, LCD, USB, ADC, DAC
Datasheet - production data
Features
• Ultra-low-power platform FBGA
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.1 Device overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
2.2 Ultra-low-power device continuum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3 Functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.1 Low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.2 Interconnect matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.3 Arm® Cortex®-M0+ core with MPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.4 Reset and supply management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.4.1 Power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.4.2 Power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.4.3 Voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.5 Clock management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.6 Low-power real-time clock and backup registers . . . . . . . . . . . . . . . . . . . 25
3.7 General-purpose inputs/outputs (GPIOs) . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.8 Memories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.9 Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.10 Direct memory access (DMA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.11 Liquid crystal display (LCD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.12 Analog-to-digital converter (ADC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.13 Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.13.1 Internal voltage reference (VREFINT) . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.13.2 VLCD voltage monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.14 Digital-to-analog converter (DAC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.15 Ultra-low-power comparators and reference voltage . . . . . . . . . . . . . . . . 29
3.16 System configuration controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.17 Touch sensing controller (TSC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.18 Timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.18.1 General-purpose timers (TIM2, TIM21 and TIM22) . . . . . . . . . . . . . . . . 31
3.18.2 Low-power Timer (LPTIM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4 Pin descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5 Memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
6 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.1 Parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.1.1 Minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.1.2 Typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.1.3 Typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.1.4 Loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.1.5 Pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.1.6 Power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
6.1.7 Optional LCD power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
6.1.8 Current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
6.2 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
6.3 Operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
6.3.1 General operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
6.3.2 Embedded reset and power control block characteristics . . . . . . . . . . . 58
6.3.3 Embedded internal reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . 59
6.3.4 Supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
6.3.5 Wakeup time from low-power mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
6.3.6 External clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
6.3.7 Internal clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
List of tables
List of figures
1 Introduction
The ultra-low-power STM32L053x6/8 are offered in 4 different package types: from 48 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 STM32L053x6/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 STM32L053x6/8 datasheet should be read in conjunction with the STM32L0x3xx
reference manual (RM0367).
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-purpose 3 3
Timers Basic 1 1
LPTIMER 1 1
I2C 2 2
Communication
USART 2 2
interfaces
LPUART 1 1
12-bit DAC 1 1
Number of channels 1 1
LCD 1 1 1 1
COM x SEG 4x18 4x32 or 8x28(2) 4x18 4x32 or 8x28(2)
Comparators 2 2
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
LCD1 COMx, SEGx,
LCD_VLCD1
BCKP REG
WKUPx RESET & CLK
OSC32_IN, LSE
OSC32_OUT
PVD_IN
VREF_OUT
PMU
NRST
VDDA
VDD REGULATOR
MSv33794V1
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)
LCD O O O O O --
USB O O -- -- -- O --
(3)
USART O O O O O O --
(3)
LPUART O O O O O 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.
I2C1CLK
usb_en 48MHz
USBCLK
rng_en
48MHz RNG
MS32912V2
3.8 Memories
The STM32L053x6/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.
An analog watchdog feature allows very precise monitoring of the converted voltage of one,
some or all scanned channels. An interrupt is generated when the converted voltage is
outside the programmed thresholds.
The events generated by the general-purpose timers (TIMx) can be internally connected to
the ADC start triggers, to allow the application to synchronize A/D conversions and timers.
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.
Each I2C interface can be served by the DMA controller.
Refer to Table 11 for an overview of I2C interface features.
SMBus X -
Wakeup from STOP X -
1. X = supported.
2. See Table 15: STM32L053x6/8 pin definitions on page 40 for the list of I/Os that feature Fast Mode Plus
capability
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
VLCD 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
PC4
PC5
PB10
PB11
VDD
VSS
VDD
VSS
MS31485V3
1 2 3 4 5 6 7 8
PC14-
A OSC32 PC13 PB9 PB4 PB3 PA15 PA14 PA13
_IN
PC15-
BOOT
B OSC32 VLCD PB8 PD2 PC11 PC10 PA12
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
MSv33795V6
BOOT0
PA15
PA14
VDD
VSS
PB9
PB8
PB7
PB6
PB5
PB4
PB3
48 47 46 45 44 43 42 41 40 39 38 37
VLCD 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
MS31484V3
PA15
PA14
VDD
VSS
PB9
PB8
PB7
PB6
PB5
PB4
PB3
48
47
46
45
44
43
42
41
40
39
38
37
VLCD 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
PB10
VSS
VDD
PA3
PA4
PA5
PA6
PA7
PB11
MSv62439V1
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
Pin name
UFQFPN48
Notes
TFBGA64
LQFP48
LQFP64
1 1 1 B2 VLCD S - - - -
RTC_TAMP1/RTC_TS/RT
2 1 2 A2 PC13 I/O FT - -
C_OUT/WKUP2
PC14-OSC32_IN
3 2 3 A1 I/O FT - - OSC32_IN
(PC14)
PC15-
4 3 4 B1 OSC32_OUT I/O TC - - OSC32_OUT
(PC15)
PH0-OSC_IN
5 4 5 C1 I/O TC - USB_CRS_SYNC OSC_IN
(PH0)
PH1-OSC_OUT
6 5 6 D1 I/O TC - - OSC_OUT
(PH1)
I/O structure
Pin type
Pin name
UFQFPN48
Notes
TFBGA64
LQFP48
LQFP64
LPTIM1_IN1,
LCD_SEG18,
- - 8 E3 PC0 I/O FT - ADC_IN10
EVENTOUT,
TSC_G7_IO1
LPTIM1_OUT,
LCD_SEG19,
- - 9 E2 PC1 I/O FT - ADC_IN11
EVENTOUT,
TSC_G7_IO2
LPTIM1_IN2,
LCD_SEG20,
- - 10 F2 PC2 I/O FT - ADC_IN12
SPI2_MISO/I2S2_MCK,
TSC_G7_IO3
LPTIM1_ETR,
LCD_SEG21,
- - 11 - PC3 I/O FT - ADC_IN13
SPI2_MOSI/I2S2_SD,
TSC_G7_IO4
8 8 12 F1 VSSA S - - - -
- - - G1 VREF+ S - - - -
9 9 13 H1 VDDA S - - - -
TIM2_CH1, TSC_G1_IO1,
COMP1_INM6, ADC_IN0,
10 10 14 G2 PA0 I/O TC - USART2_CTS,
RTC_TAMP2/WKUP1
TIM2_ETR, COMP1_OUT
EVENTOUT, LCD_SEG0,
TIM2_CH2, TSC_G1_IO2,
11 11 15 H2 PA1 I/O FT - USART2_RTS/ COMP1_INP, ADC_IN1
USART2_DE,
TIM21_ETR
TIM21_CH1, LCD_SEG1,
TIM2_CH3, TSC_G1_IO3,
12 12 16 F3 PA2 I/O FT - COMP2_INM6, ADC_IN2
USART2_TX,
COMP2_OUT
TIM21_CH2, LCD_SEG2,
13 13 17 G3 PA3 I/O FT - TIM2_CH4, TSC_G1_IO4, COMP2_INP, ADC_IN3
USART2_RX
- - 18 C2 VSS S - - -
I/O structure
Pin type
Pin name
UFQFPN48
Notes
TFBGA64
LQFP48
LQFP64
- - 19 D2 VDD S - - -
I/O structure
Pin type
Pin name
UFQFPN48
Notes
TFBGA64
LQFP48
LQFP64
23 23 31 D6 VSS S - - -
24 24 32 E5 VDD S - - -
SPI2_NSS/I2S2_WS,
LCD_SEG12,
LPUART1_RTS/
25 25 33 H8 PB12 I/O FT - LCD_VLCD1
LPUART1_DE,
TSC_G6_IO2,
I2C2_SMBA, EVENTOUT
SPI2_SCK/I2S2_CK,
LCD_SEG13,
26 26 34 G8 PB13 I/O FTf - TSC_G6_IO3, -
LPUART1_CTS,
I2C2_SCL, TIM21_CH1
SPI2_MISO/I2S2_MCK,
LCD_SEG14, 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 - LCD_SEG15, -
RTC_REFIN
TIM22_CH1,
- - 37 F6 PC6 I/O FT - LCD_SEG24, -
TSC_G8_IO1
TIM22_CH2,
- - 38 E7 PC7 I/O FT - LCD_SEG25, -
TSC_G8_IO2
TIM22_ETR,
- - 39 E8 PC8 I/O FT - LCD_SEG26, -
TSC_G8_IO3
TIM21_ETR,
- - 40 D8 PC9 I/O FT - LCD_SEG27, USB_NOE, -
TSC_G8_IO4
MCO, LCD_COM0,
29 29 41 D7 PA8 I/O FT - USB_CRS_SYNC, -
EVENTOUT, USART1_CK
I/O structure
Pin type
Pin name
UFQFPN48
Notes
TFBGA64
LQFP48
LQFP64
MCO, LCD_COM1,
30 30 42 C7 PA9 I/O FT - TSC_G4_IO1, -
USART1_TX
LCD_COM2,
31 31 43 C6 PA10 I/O FT - TSC_G4_IO2, -
USART1_RX
SPI1_MISO, EVENTOUT,
(2) TSC_G4_IO3,
32 32 44 C8 PA11 I/O FT USB_DM
USART1_CTS,
COMP1_OUT
SPI1_MOSI, EVENTOUT,
TSC_G4_IO4,
(2)
33 33 45 B8 PA12 I/O FT USART1_RTS/ USB_DP
USART1_DE,
COMP2_OUT
35 35 47 D5 VSS S - - -
36 36 48 E6 VDD_USB S - - -
SPI1_NSS, LCD_SEG17,
38 38 50 A6 PA15 I/O FT - TIM2_ETR, EVENTOUT, -
USART2_RX, TIM2_CH1
LPUART1_TX,
- - 51 B7 PC10 I/O FT - LCD_COM4/LCD_SEG28 -
/LCD_SEG40
LPUART1_RX,
- - 52 B6 PC11 I/O FT - LCD_COM5/LCD_SEG29 -
/LCD_SEG41
LCD_COM6/LCD_SEG30
- - 53 C5 PC12 I/O FT - -
/LCD_SEG42
LPUART1_RTS/
LPUART1_DE,
- - 54 B5 PD2 I/O FT - -
LCD_COM7/LCD_SEG31
/LCD_SEG43
I/O structure
Pin type
Pin name
UFQFPN48
Notes
TFBGA64
LQFP48
LQFP64
SPI1_SCK, LCD_SEG7,
39 39 55 A5 PB3 I/O FT - TIM2_CH2, TSC_G5I_O1, COMP2_INN
EVENTOUT
SPI1_MISO, LCD_SEG8,
EVENTOUT,
40 40 56 A4 PB4 I/O FT - COMP2_INP
TSC_G5_IO2,
TIM22_CH1
SPI1_MOSI, LCD_SEG9,
41 41 57 C4 PB5 I/O FT - LPTIM1_IN1, COMP2_INP
I2C1_SMBA, TIM22_CH2
USART1_TX, I2C1_SCL,
42 42 58 D3 PB6 I/O FTf - LPTIM1_ETR, COMP2_INP
TSC_G5_IO3
USART1_RX, I2C1_SDA,
43 43 59 C3 PB7 I/O FTf - LPTIM1_IN2, COMP2_INP, PVD_IN
TSC_G5_IO4
44 44 60 B4 BOOT0 I B - - -
LCD_SEG16,
45 45 61 B3 PB8 I/O FTf - -
TSC_SYNC, I2C1_SCL
LCD_COM3, EVENTOUT,
46 46 62 A3 PB9 I/O FTf - I2C1_SDA, -
SPI2_NSS/I2S2_WS
47 47 63 D4 VSS S - - - -
48 48 64 E4 VDD S - - - -
1. This GPIO offers a reduced touch sensing sensitivity. It is thus recommended to use it as sampling capacitor I/O.
2. These pins are powered by VDD_USB. For all characteristics that refer to VDD, VDD_USB must be used instead.
STM32L053x6 STM32L053x8
PA13 SWDIO - USB_NOE - - - - -
PA14 SWCLK - - - USART2_TX - - -
PA15 SPI1_NSS LCD_SEG17 TIM2_ETR EVENTOUT USART2_RX TIM2_CH1 - -
1. This GPIO offers a reduced touch sensing sensitivity. It is thus recommended to use it as sampling capacitor I/O.
Table 17. Alternate function port B
STM32L053x6 STM32L053x8
AF0 AF1 AF2 AF3 AF4 AF5 AF6
Pin descriptions
47/136
Table 18. Alternate function port C
Pin descriptions
48/136 AF0 AF1 AF2 AF3
Port C
PC8 TIM22_ETR LCD_SEG26 - TSC_G8_IO3
PC9 TIM21_ETR LCD_SEG27 USB_NOE TSC_G8_IO4
PC10 LPUART1_TX LCD_COM4/LCD_SEG28 - -
PC11 LPUART1_RX LCD_COM5/LCD_SEG29 - -
PC12 - LCD_COM6/LCD_SEG30 - -
PC13 - - - -
PC14 - - - -
STM32L053x6 STM32L053x8
PC15 - - - -
PH0 USB_CRS_SYNC
Port H
PH1 -
DS10152 Rev 9
Pin descriptions
49/136
Memory mapping STM32L053x6 STM32L053x8
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
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
VLCD
VSS LCD
VSS
USB
VDD_USB transceiver
MSv33790V1
VDD Step-up
N x 100 nF Converter
+ 1 x 10 μF
Option 1 VLCD
100 nF LCD
VLCD
Option 2
CEXT
VSS
MSv33791V1
1. Option 1: LCD power supply is provided by a dedicated VLCD supply source, VSEL switch is open.
2. Option 2: LCD power supply is provided by the internal step-up converter, VSEL switch is closed, an
external capacitance is needed for correct behavior of this converter.
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 21 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 21: 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 - 327
Table 25. 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 39: 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 28. 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 12. 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 13. 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 30. 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 14. 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 15. 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 16. 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
LCD1 4 3.5 3 2.5
LPTIM1 10 8.5 6.5 8
µA/MHz
APB1 LPUART1 8 6.5 5.5 6
(fHCLK)
SPI2 9 4.5 3.5 4
USB 8.5 4.5 4 4.5
USART2 14.5 12 9.5 11
TIM2 10.5 8.5 7 9
TIM6 3.5 3 2.5 2
WWDG 3 2 2 2
(2)
ADC1 5.5 5 3.5 4
SPI1 4 3 3 2.5
USART1 14.5 11.5 9.5 12
TIM21 7.5 6 5 5.5 µA/MHz
APB2
TIM22 7 6 5 6 (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 19). 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 52. Flash memory and data EEPROM endurance and retention
Value
Symbol Parameter Conditions Unit
Min(1)
Table 52. 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 (5)
Weak pull-down equivalent resistor 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 24 and
Table 60, respectively.
Unless otherwise specified, the parameters given in Table 60 are derived from tests
performed under ambient temperature and VDD supply voltage conditions summarized in
Table 24.
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 < ---------------------------------------------------------------
N+2
- – R ADC
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 62: 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 28. 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 29. 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 24.
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 32. 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 36. 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
STM32L053
R8T3
Date code
Y WW
Pin 1
indentifier
MSv39320V1
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 41. 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)
L053R8H6
Y WW
Revision
code
Ball A1 R
MSv33797V3
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
053C8T6
Date code
Y WW Revision code
Pin 1
indentifier
R
MSv33796V4
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 47. 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)
STM32L053
C8U6D
Date code
Y WW
Revision code
Pin 1
indentifier
R
MSv62455V1
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
3000
PD (mW) LQFP64
2500
LQFP48
UFQFPN48
2000
TFBGA64
1500
1000
500
0
125 100 75 50 25 0
Temperature (°C)
MSv34778V4
8 Ordering information
Example: STM32 L 053 R 8 T 6 D TR
Device family
STM32 = Arm-based 32-bit microcontroller
Product type
L = Low power
Device subfamily
053 = USB + LCD
Pin count
C = 48/49 pins
R = 64 pins
Package
T = LQFP
H = TFBGA
U = UFQFPN
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
07-
Feb- 1 Initial release.
2014
Updated Table 4: Functionalities depending on the working mode (from
Run/active down to standby). Added Section 3.2: Interconnect matrix.
Updated Figure 4: STM32L053x6/8 TFBGA64 ballout. Added VREF_OUT
additional function to PB0 and PB1, replaced TTa I/O structure by TC, and
updated PA0/4/5 and PC5/14 I/O structure, and added note 2 in Table 15:
STM32L053x6/8 pin definitions.
Updated Table 24: General operating conditions, Table 21: Voltage
characteristics and Table 22: Current characteristics.
Modified conditions in Table 27: Embedded internal reference voltage.
Updated Table 28: Current consumption in Run mode, code with data
processing running from Flash, Table 30: Current consumption in Run mode,
code with data processing running from RAM, Table 32: Current consumption
in Sleep mode, Table 33: Current consumption in Low-power run mode,
Table 34: Current consumption in Low-power sleep mode,Table 35: Typical and
maximum current consumptions in Stop mode and Table 36: Typical and
maximum current consumptions in Standby mode. Added Figure 12: IDD vs
VDD, at TA= 25/55/85/105 °C, Run mode, code running from Flash memory,
Range 2, HSE, 1WS, Figure 13: IDD vs VDD, at TA= 25/55/85/105 °C, Run
mode, code running from Flash memory, Range 2, HSI16, 1WS, Figure 14: IDD
29-Apr- vs VDD, at TA= 25/55/ 85/105/125 °C, Low-power run mode, code running
2
2014 from RAM, Range 3, MSI (Range 0) at 64 KHz, 0 WS, Figure 15: IDD vs VDD,
at TA= 25/55/ 85/105/125 °C, Stop mode with RTC enabled and running on
LSE Low drive and Figure 16: IDD vs VDD, at TA= 25/55/85/105/125 °C, Stop
mode with RTC disabled, all clocks OFF.
Updated Table 43: HSE oscillator characteristics and Table 44: LSE oscillator
characteristics. Added Figure 21: HSI16 minimum and maximum value versus
temperature.
Updated Table 55: ESD absolute maximum ratings, Table 57: I/O current
injection susceptibility, Table 58: I/O static characteristics.
Added Figure 22: VIH/VIL versus VDD (CMOS I/Os) and Figure 23: VIH/VIL
versus VDD (TTL I/Os).
Updated Table 59: Output voltage characteristics, Table 60: I/O AC
characteristics and Figure 24: I/O AC characteristics definition.
Updated Table 62: ADC characteristics, Table 64: ADC accuracy, and
Figure 27: Typical connection diagram using the ADC. Updated Table 66:
Temperature sensor calibration values.
Updated Table 72: SPI characteristics in voltage Range 1 and Table 75: I2S
characteristics.
Added Figure 49: Thermal resistance.
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.