stm32l062 Datasheet
stm32l062 Datasheet
stm32l062 Datasheet
STM32L062C8
Ultra-low-power 32-bit MCU Arm®-based Cortex®-M0+, 64 KB Flash,
8 KB SRAM, 2 KB EEPROM, USB, ADC, DAC, AES
Datasheet - production data
Features
• Ultra-low-power platform
– 1.65 V to 3.6 V power supply
– -40 to 125 °C temperature range
LQFP32 UFQFPN32 Standard and thin
– 0.27 µA Standby mode (2 wakeup pins) (7x7 mm) (5x5 mm) WLCSP36
UFQFPN48 (2.61x2.88 mm)
– 0.4 µA Stop mode (16 wakeup lines) (7x7 mm)
– 0.8 µA Stop mode + RTC + 8-Kbyte RAM – USART, SPI supported
retention • Development support
– 88 µA/MHz in Run mode – Serial wire debug supported
– 3.5 µs wakeup time (from RAM)
• Rich Analog peripherals
– 5 µs wakeup time (from Flash memory)
– 12-bit ADC 1.14 Msps with 10 channels
• Core: Arm® 32-bit Cortex®-M0+ with MPU (down to 1.65 V)
– From 32 kHz up to 32 MHz max. – 12-bit 1 channel DAC with output buffers
– 0.95 DMIPS/MHz (down to 1.8 V)
• Memories – 2x ultra-low-power comparators (window
– 64-Kbyte Flash memory with ECC mode and wake up capability, down to
– 8-Kbyte RAM 1.65 V)
– 2 Kbytes of data EEPROM with ECC • Up to 14 capacitive sensing channels
supporting touchkey, linear and rotary touch
– 20-byte backup register
sensors
– Sector protection against R/W operation
• 7-channel DMA controller, supporting ADC,
• Up to 29 fast I/Os (25 I/Os 5V tolerant)
SPI, I2C, USART, DAC, Timers, AES
• Reset and supply management
• 8x peripheral communication interfaces
– Ultra-safe, low-power BOR (brownout
– 1x USB 2.0 crystal-less, battery charging
reset) with 5 selectable thresholds
detection and LPM
– Ultra-low-power POR/PDR
– 2x USART (ISO 7816, IrDA), 1x UART (low
– Programmable voltage detector (PVD) power)
• Clock sources – 3x SPI 16 Mbits/s
– 32 kHz oscillator for RTC with calibration – Up to 2x I2C (SMBus/PMBus)
– High speed internal 16 MHz factory-
• 9x timers: 1x 16-bit with up to 4 channels, 2x
trimmed RC (+/- 1%)
16-bit with up to 2 channels, 1x 16-bit ultra-low-
– Internal low-power 37 kHz RC power timer, 1x SysTick, 1x RTC, 1x 16-bit
– Internal multispeed low-power 65 kHz to basic for DAC, and 2x watchdogs
4.2 MHz RC (independent/window)
– Internal self calibration of 48 MHz RC for • CRC calculation unit, 96-bit unique ID
USB
• True RNG and firewall protection
– PLL for CPU clock
• Hardware Encryption Engine AES 128-bit
• Pre-programmed bootloader
• All packages are ECOPACK2
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 Analog-to-digital converter (ADC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.12 Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.12.1 Internal voltage reference (VREFINT) . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.13 Digital-to-analog converter (DAC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.14 Ultra-low-power comparators and reference voltage . . . . . . . . . . . . . . . . 29
3.15 System configuration controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.16 Touch sensing controller (TSC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.17 AES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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
3.18.3 Basic timer (TIM6) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4 Pin descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5 Memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
6 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6.1 Parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6.1.1 Minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6.1.2 Typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6.1.3 Typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6.1.4 Loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6.1.5 Pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6.1.6 Power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
6.1.7 Current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
6.2 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
6.3 Operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.3.1 General operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.3.2 Embedded reset and power control block characteristics . . . . . . . . . . . 53
6.3.3 Embedded internal reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . 54
6.3.4 Supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
6.3.5 Wakeup time from low-power mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
6.3.6 External clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
6.3.7 Internal clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
6.3.8 PLL characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
6.3.9 Memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
List of tables
List of figures
1 Introduction
a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
2 Description
Flash (Kbytes) 64
RAM (Kbytes) 8
AES 1
General-purpose 3
Timers Basic 1
LPTIMER 1
RTC/SYSTICK/IWDG/WWDG 1/1/1/1
I2C 1 2
Communication
USART 2
interfaces
LPUART 0 1
USB/(VDD_USB) 1/(0)
GPIOs 27(2) 29 37
12-bit DAC 1
Number of channels 1
Comparators 2
Temp
SWD SWD sensor
FLASH
EEPROM ADC1 AINx
BOOT
MISO, MOSI,
FIREWALL SPI1 SCK, NSS
CORTEX M0+ CPU
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
PB[0:8]
AHB: Fmax 32MHz
SCL, SDA,
WWDG I2C1
SMBA
PC[14:15] GPIO PORT C
LSI IWDG
TIM2 4ch
PLL
MSI RTC
BCKP REG
WKUPx RESET & CLK
OSC32_IN, LSE
OSC32_OUT
PVD_IN
VREF_OUT
PMU
NRST
VDDA
VDD REGULATOR
MSv33387V5
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)
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 --
(3)
LPUART O O O O O O --
SPI O O O O -- --
(4)
I2C O O -- -- O 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
LSD LSD
@V18 1 MHz
@V33 CK_PWR
not deepsleep
HSI16 RC
ck_rchs HSI16
Level shifters / 1,4 not (sleep or FCLK
@V18 deepsleep)
System
Clock not (sleep or HCLK
deepsleep)
/8
MSI SysTick
Timer
HSI16 AHB
PRESC PCLK1 to APB1
/ 1,2,…, 512 32 MHz peripherals
PLLSRC
@V33
PLLCLK APB1 max.
PRESC
ck_pllin PLL / 1,2,4,8,16
X Peripheral
3,4,6,8,12,16, clock enable
24,32,48 to TIMx
If (APB1 presc=1) x1
/ 2,3,4 else x2)
Level shifters
Peripheral
@VDDCORE
clock enable
PCLK2 to APB2
32 MHz peripherals
Dedicated 48MHz PLL output APB2 max.
PRESC
HSI48MSEL
/ 1,2,4,8,16
Peripheral
@V33 clock enable
to TIMx
If (APB2 presc=1) x1
RC 48MHz HSI48 else x2)
Level shifters
@V18 Peripheral
LSI clock enable
Clock
Recovery
LPTIMCLK
System Peripheral
LSE
clock enable
HSI16
SYSCLK
PCLK Peripheral LPUART/
clock enable UARTCLK
I2C1CLK
usb_en 48MHz
USBCLK
MSv34799V1
3.8 Memories
The STM32L062x8 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.
3.17 AES
The AES Hardware Accelerator can be used to encrypt and decrypt data using the AES
algorithm (compatible with FIPS PUB 197, 2001 Nov 26).
• Key scheduler
• Key derivation for decryption
• 128-bit data block processed
• 128-bit key length
• 213 clock cycles to encrypt/decrypt one 128-bit block
• Electronic codebook (ECB), cypher block chaining (CBC), and counter mode (CTR)
supported by hardware.
The AES can be served by the DMA controller.
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.
Only a 32.768 kHz clock (LSE) is needed to allow LPUART communication up to 9600
baud. Therefore, even in Stop mode, the LPUART can wait for an incoming frame while
having an extremely low energy consumption. Higher speed clock can be used to reach
higher baudrates.
LPUART interface can be served by the DMA controller.
4 Pin descriptions
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 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
BOOT0
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
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
MSv31930V5
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
UFQFPN32
UFQFPN48
Notes
WLCSP36
LQFP32
- - - 1 VDD S - - - -
RTC_TAMP1/
- - - 2 PC13 I/O FT - - RTC_TS/RTC
_OUT/WKUP2
PC14-
2 2 A6 3 I/O FT - - OSC32_IN
OSC32_IN
PC15-
3 3 B6 4 I/O TC - - OSC32_OUT
OSC32_OUT
PH0-OSC_IN
- - - 5 I/O TC - USB_CRS_SYNC OSC_IN
(PH0)
I/O structure
Pin type
Pin name
UFQFPN32
UFQFPN48
Notes
WLCSP36
LQFP32
PH1-
- - - 6 OSC_OUT I/O TC - - OSC_OUT
(PH1)
- - E6 - VREF+ S - - - -
- - - 8 VSSA S - - - -
5 5 D5 9 VDDA S - - - -
TIM2_CH1,
COMP1_INM6,
TSC_G1_IO1,
ADC_IN0,
6 6 D4 10 PA0 I/O TC - USART2_CTS,
RTC_TAMP2/WKUP
TIM2_ETR,
1
COMP1_OUT
EVENTOUT,
TIM2_CH2,
TSC_G1_IO2, COMP1_INP,
7 7 F6 11 PA1 I/O FT -
USART2_RTS/ ADC_IN1
USART2_DE,
TIM21_ETR
TIM21_CH1,
TIM2_CH3,
COMP2_INM6,
8 8 E5 12 PA2 I/O FT - TSC_G1_IO3,
ADC_IN2
USART2_TX,
COMP2_OUT
TIM21_CH2,
TIM2_CH4, COMP2_INP,
9 9 F5 13 PA3 I/O FT -
TSC_G1_IO4, ADC_IN3
USART2_RX
SPI1_NSS,
COMP1_INM4,
(1) TSC_G2_IO1,
10 10 E4 14 PA4 I/O TC COMP2_INM4,
USART2_CK,
ADC_IN4, DAC_OUT
TIM22_ETR
SPI1_SCK, TIM2_ETR, COMP1_INM5,
11 11 F4 15 PA5 I/O TC - TSC_G2_IO2, COMP2_INM5,
TIM2_CH1 ADC_IN5
I/O structure
Pin type
Pin name
UFQFPN32
UFQFPN48
Notes
WLCSP36
LQFP32
SPI1_MISO,
TSC_G2_IO3,
LPUART1_CTS,
12 12 E3 16 PA6 I/O FT - ADC_IN6
TIM22_CH1,
EVENTOUT,
COMP1_OUT
SPI1_MOSI,
TSC_G2_IO4,
13 13 F3 17 PA7 I/O FT - TIM22_CH2, ADC_IN7
EVENTOUT,
COMP2_OUT
EVENTOUT, ADC_IN8,
14 14 D3 18 PB0 I/O FT -
TSC_G3_IO2 VREF_OUT
TSC_G3_IO3,
ADC_IN9,
15 15 C3 19 PB1 I/O FT - LPUART1_RTS/
VREF_OUT
LPUART1_DE
LPTIM1_OUT,
- 16 F2 20 PB2 I/O FT - -
TSC_G3_IO4
TIM2_CH3,
TSC_SYNC,
- - E2 21 PB10 I/O FT - -
LPUART1_TX,
I2C2_SCL
EVENTOUT,
TIM2_CH4,
- - D2 22 PB11 I/O FT - -
LPUART1_RX,
I2C2_SDA
16 - - 23 VSS S - - - -
17 17 F1 24 VDD S - - - -
SPI2_NSS/I2S2_WS,
LPUART1_RTS/
LPUART1_DE,
- - - 25 PB12 I/O FT - -
TSC_G6_IO2,
I2C2_SMBA,
EVENTOUT
I/O structure
Pin type
Pin name
UFQFPN32
UFQFPN48
Notes
WLCSP36
LQFP32
SPI2_SCK/I2S2_CK,
TSC_G6_IO3,
- - - 26 PB13 I/O FTf - -
LPUART1_CTS,
I2C2_SCL, TIM21_CH1
SPI2_MISO/I
2S2_MCK, RTC_OUT,
TSC_G6_IO4,
- - - 27 PB14 I/O FTf - LPUART1_RTS/ -
LPUART1_DE,
I2C2_SDA,
TIM21_CH2
SPI2_MOSI/I2S2_SD,
- - - 28 PB15 I/O FT - -
RTC_REFIN
MCO,
USB_CRS_SYNC,
18 18 E1 29 PA8 I/O FT - -
EVENTOUT,
USART1_CK
MCO, TSC_G4_IO1,
19 19 D1 30 PA9 I/O FT - -
USART1_TX
TSC_G4_IO2,
20 20 C1 31 PA10 I/O FT - -
USART1_RX
SPI1_MISO,
EVENTOUT,
21 21 C2 32 PA11 I/O FT - TSC_G4_IO3, USB_DM
USART1_CTS,
COMP1_OUT
SPI1_MOSI,
EVENTOUT,
TSC_G4_IO4,
22 22 B1 33 PA12 I/O FT - USB_DP
USART1_RTS/
USART1_DE,
COMP2_OUT
- - - 35 VSS S - - - -
- - - 36 VDD_USB S - - - -
I/O structure
Pin type
Pin name
UFQFPN32
UFQFPN48
Notes
WLCSP36
LQFP32
SPI1_NSS, TIM2_ETR,
EVENTOUT,
25 25 A2 38 PA15 I/O FT - -
USART2_RX,
TIM2_CH1
SPI1_SCK, TIM2_CH2,
26 26 B3 39 PB3 I/O FT - TSC_G5I_O1, COMP2_INN
EVENTOUT
SPI1_MISO,
EVENTOUT,
27 27 A3 40 PB4 I/O FT - COMP2_INP
TSC_G5_IO2,
TIM22_CH1
SPI1_MOSI,
LPTIM1_IN1,
28 28 C4 41 PB5 I/O FT - COMP2_INP
I2C1_SMBA,
TIM22_CH2
USART1_TX,
I2C1_SCL,
29 29 B4 42 PB6 I/O FTf - COMP2_INP
LPTIM1_ETR,
TSC_G5_IO3
USART1_RX,
I2C1_SDA, COMP2_INP,
30 30 A4 43 PB7 I/O FTf -
LPTIM1_IN2, PVD_IN
TSC_G5_IO4
31 31 C5 44 BOOT0 I B - - -
32 - D6 47 VSS S - - -
1 1 A5 48 VDD S - - -
1. PA4 offers a reduced touch sensing sensitivity. It is thus recommended to use it as sampling capacitor I/O.
SPI1/USART1/2/3
USB/ I2C1/USART1/2
Port /USB/LPTIM/
SPI1/I2C1 LPTIM/TIM2/ I2C1/TSC/ /3/TIM22/ TIM21/
TSC/TIM2/21/22/ TIM2/21/22 COMP1/2
/TIM2/21 EVENTOUT/ EVENTOUT LPUART1 EVENTOUT
EVENTOUT/
SYS_AF EVENTOUT
SYS_AF
USB_CRS_
PA8 MCO - EVENTOUT USART1_CK - - -
SYNC
PA9 MCO - - TSC_G4_IO1 USART1_TX - - -
PA10 - - - TSC_G4_IO2 USART1_RX - - -
PA11 SPI1_MISO - EVENTOUT TSC_G4_IO3 USART1_CTS - - COMP1_OUT
USART1_RTS/
PA12 SPI1_MOSI - EVENTOUT TSC_G4_IO4 - - COMP2_OUT
USART1_DE
PA13 SWDIO - USB_NOE - - - - -
PA14 SWCLK - - - USART2_TX - - -
STM32L062x8
PA15 SPI1_NSS - TIM2_ETR EVENTOUT USART2_RX TIM2_CH1 - -
STM32L062x8
Table 17. Alternate functions for port B
AF0 AF1 AF2 AF3 AF4 AF5 AF6
SPI1/USART1/2/3
/ USB/LPUART1
Port I2C1/USART1/2/3/
USB/LPTIM/ SPI1/ LPTIM/TIM2/ I2C1/TSC/
TIM22/LPUART1/ I2C2
TSC/TIM2/21/22/ /I2C1/TIM2/21 EVENTOUT/ EVENTOUT
EVENTOUT
EVENTOUT/SYS_ SYS_AF
AF
Pin descriptions
45/124
Memory mapping STM32L062x8
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,
+ 1 μF DAC ….
VSSA
VSS
USB
transceiver
VDD_USB
MSv34739V2
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 18 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 18: 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
Standard WLCSP36 - 318
Thin WLCSP36 - 338
Power dissipation at TA = 85 °C
LQFP32 - 351
(range 6) or TA =105 °C (rage 7) (4)
UFQFPN32 - 526
UFQFPN48 - 654
PD mW
StandardWLCSP36 - 79
Thin WLCSP36 - 84
Power dissipation at TA = 125 °C
LQFP32 - 88
(range 3) (4)
UFQFPN32 - 132
UFQFPN48 - 163
Maximum power dissipation (range 6) –40 85
TA Temperature range Maximum power dissipation (range 7) –40 105
Maximum power dissipation (range 3) –40 125
°C
Junction temperature range (range 6) -40 °C ≤ TA ≤ 85 ° –40 105
TJ Junction temperature range (range 7) -40 °C ≤ TA ≤ 105 °C –40 125
Junction temperature range (range 3) -40 °C ≤ TA ≤ 125 °C –40 130
1. It is recommended to power VDD and VDDA from the same source. A maximum difference of 300 mV between VDD and VDDA
can be tolerated during power-up and normal operation.
2. VDD_USB must respect the following conditions:
- When VDD is powered-on (VDD < VDD_min), VDD_USB should be always lower than VDD.
- When VDD is powered-down (VDD < VDD_min), VDD_USB should be always lower than VDD.
- In operating mode, VDD_USB could be lower or higher VDD.
- If the USB is not used, VDD_USB must range from VDD_min to VDD_max to be able to use PA11 and PA12 as standard I/Os.
- If the USB is not used and PA11/PA12 are not used as standard I/Os, VDD_USB must be connected to a VSS or VDD power
supply voltage (VDD_USB must not be left floating).
3. To sustain a voltage higher than VDD+0.3V, the internal pull-up/pull-down resistors must be disabled.
4. If TA is lower, higher PD values are allowed as long as TJ does not exceed TJ max (see Table 78: Thermal characteristics on
page 115).
Table 22. 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 34: 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 25. Current consumption in Run mode, code with data processing running from Flash
Symbol Parameter Conditions fHCLK Typ Max(1) Unit
Figure 11. 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 12. 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 26. Current consumption in Run mode, code with data processing running from RAM
Symbol Parameter Conditions fHCLK Typ Max(1) Unit
65 kHz 34.5 75
Range 3,
MSI clock VCORE=1.2 V, 524 kHz 83 120 µA
VOS[1:0]=11
Supply current in 4.2 MHz 485 540
IDD (Run Run mode, code
Range 2,
from executed from
VCORE=1.5 V, 16 MHz 2.1 2.3
RAM) RAM, Flash
HSI16 clock source VOS[1:0]=10
switched off mA
(16 MHz) Range 1,
VCORE=1.8 V, 32 MHz 5.1 5.6
VOS[1:0]=01
1. Guaranteed by characterization results at 125 °C, unless otherwise specified.
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
Supply current
in Sleep Range 2,
mode, Flash VCORE=1.5 V, 16 MHz 665 830
OFF 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
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
Supply current
in Sleep Range 2,
mode, Flash VCORE=1.5 V, 16 MHz 680 950
ON 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 13. 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 14. 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 15. 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
µA/MHz
APB1 LPUART1 8 6.5 5.5 6
(fHCLK)
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
ADC1(2) 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)
CRC 1.5 1 1 1
(3) (3) (3)
FLASH 0 0 0 0(3)
µA/MHz
AHB DMA1 10 8 6.5 8.5
(fHCLK)
RNG 5.5 1 0.5 0.5
TSC 3 2.5 2 3
µA/MHz
All enabled 283 225 222.5 212.5
(fHCLK)
µA/MHz
PWR 2.5 2 2 1
(fHCLK)
1. Data based on differential IDD measurement between all peripherals OFF an one peripheral with clock
enabled, in the following conditions: fHCLK = 32 MHz (range 1), fHCLK = 16 MHz (range 2), fHCLK = 4 MHz
(range 3), fHCLK = 64kHz (Low-power run/sleep), fAPB1 = fHCLK, fAPB2 = fHCLK, default prescaler value for
each peripheral. The CPU is in Sleep mode in both cases. No I/O pins toggling. Not tested in production.
2. HSI oscillator is OFF for this measure.
3. Current consumption is negligible and close to 0 µA.
µA
Wakeup from Standby mode, FWU bit = 1 fHCLK = MSI = 2.1 MHz 65 130 µs
tWUSTDBY
Wakeup from Standby mode, FWU bit = 0 fHCLK = MSI = 2.1 MHz 2.2 3 ms
Wakeup time required to calculate the
tWUUSART maximum USART/LPUART baudrate Stop mode, regulator in Run
tWUSTOP µs
tWULPUART while waking up from Stop mode using the mode
USART/LPUART
VLSEH
90%
10%
VLSEL
tr(LSE) tW(LSE) t
tf(LSE) tW(LSE)
TLSE
ai18233c
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 45. Flash memory and data EEPROM endurance and retention
Value
Symbol Parameter Conditions Unit
Min(1)
Table 45. 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 21 and
Table 53, respectively.
Unless otherwise specified, the parameters given in Table 53 are derived from tests
performed under ambient temperature and VDD supply voltage conditions summarized in
Table 21.
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 55: 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 25. Power supply and reference decoupling (VREF+ not connected to VDDA)
STM32Lxx
VREF+
1 μF // 100 nF VDDA
1 μF // 100 nF
VSSA
MS41913V1
Figure 26. Power supply and reference decoupling (VREF+ connected to VDDA)
STM32Lxx
VREF+/VDDA
1 μF // 100 nF
VSSA
MS41914V1
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 21.
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 29. 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
USB characteristics
The USB interface is USB-IF certified (full speed).
Input levels
Output levels
Figure 31. 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
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 71. 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 33. 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)
STM32L062
C8U6
Date code
Y WW
Revision code
Pin 1
indentifier
R
MSv63963V1
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 72. 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 72. 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 36. 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
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 74. 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 38. 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
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 76. 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
062K8T6
Date code
Y WW
Revision code
Pin 1 indentifier
MSv37839V1
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 77. 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 43. 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)
L062K86
Y WW
Revision code
R
Pin 1
MSv37855V1
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
UQFN32
2500 LQFP32
PD (mW)
UFQFPN48
2000 Standard
WLCSP36
Thin
1500 WLCSP36
1000
500
0
125 100 75 50 25 0
Temperature (°C)
MSv34780V7
8 Ordering information
Example: STM32 L 062 K 8 U 6 D TR
Device family
STM32 = Arm-based 32-bit microcontroller
Product type
L = Low power
Device subfamily
062 = USB + AES
Pin count
K = 32 pins
T = 36 pins
C = 48/49 pins
Package
T = LQFP
U = UFQFPN
Y = Standard WLCSP
F = Thin WLCSP pins
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
19-
Feb- 1 Initial release.
2014
HSE clock removed in the whole document.
Updated Table 2: Functionalities depending on the operating power supply
range. Added Section 3.2: Interconnect matrix.
Replaced TTa I/O structure by TC, updated PA0/4/5, PC14, BOOT0 and NRST
I/O structure, and added note 2 in Table 15: STM32L062x8 pin definitions.
Updated Table 18: Voltage characteristics and Table 19: Current
characteristics.
Updated Table 25: Current consumption in Run mode, code with data
processing running from Flash and Table 26: Current consumption in Run
mode, code with data processing running from RAM, Table 27: Current
consumption in Sleep mode, Table 28: Current consumption in Low-power run
mode, Table 29: Current consumption in Low-power sleep mode, Table 30:
Typical and maximum current consumptions in Stop mode and Table 31:
Typical and maximum current consumptions in Standby mode. Added
Figure 11: IDD vs VDD, at TA= 25/55/85/105 °C, Run mode, code running from
Flash memory, Range 2, HSE, 1WS, Figure 12: IDD vs VDD, at TA=
29-Apr-
2 25/55/85/105 °C, Run mode, code running from Flash memory, Range 2,
2014
HSI16, 1WS, Figure 13: 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
and Figure 14: IDD vs VDD, at TA= 25/55/ 85/105/125 °C, Stop mode with RTC
enabled and running on LSE Low drive.
Updated Table 37: LSE oscillator characteristics. Added Figure 18: HSI16
minimum and maximum value versus temperature.
Updated Table 48: ESD absolute maximum ratings, Table 50: I/O current
injection susceptibility and Table 51: I/O static characteristics, and added
Figure 19: VIH/VIL versus VDD (CMOS I/Os) and Figure 20: VIH/VIL versus
VDD (TTL I/Os). Updated Table 52: Output voltage characteristics, Table 53:
I/O AC characteristics and Figure 21: I/O AC characteristics definition.
Updated Table 55: ADC characteristics, Table 57: ADC accuracy, and
Figure 24: Typical connection diagram using the ADC. Updated Table 60:
Temperature sensor characteristics.
Updated Table 66: SPI characteristics and Table 69: I2S characteristics.
Added Figure 45: 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.