STM 32 L 412 KB
STM 32 L 412 KB
STM 32 L 412 KB
Features
Includes ST state-of-the-art patented
LQFP32 (7x7 mm) UFBGA64 (5x5 mm) UFQFPN32 (5x5 mm) WLCSP36
technology LQFP48 (7x7 mm) UFQFPN48 (7x7 mm) (2.6x3.1 mm)
LQFP64 (10x10 mm)
• Ultra-low-power with FlexPowerControl
– 1.71 V to 3.6 V power supply – Internal multispeed 100 kHz to 48 MHz
– -40 °C to 85/125 °C temperature range oscillator, auto-trimmed by LSE (better than
– 300 nA in VBAT mode: supply for RTC and ±0.25 % accuracy)
32x32-bit backup registers – Internal 48 MHz with clock recovery
– 16 nA Shutdown mode (4 wakeup pins) – PLL for system clock
– 32 nA Standby mode (4 wakeup pins) • Up to 52 fast I/Os, most 5 V-tolerant
– 245 nA Standby mode with RTC • RTC with HW calendar, alarms and calibration
– 0.7 µA Stop 2 mode, 0.95 µA with RTC • Up to 12 capacitive sensing channels: support
– 79 µA/MHz run mode (LDO Mode) touchkey, linear and rotary touch sensors
– 28 μA/MHz run mode (@3.3 V SMPS • 10x timers: 1x 16-bit advanced motor-control,
Mode) 1x 32-bit and 2x 16-bit general purpose, 1x 16-
– Batch acquisition mode (BAM) bit basic, 2x low-power 16-bit timers (available
– 4 µs wakeup from Stop mode in Stop mode), 2x watchdogs, SysTick timer
– Brown out reset (BOR) • Memories
– Interconnect matrix – 128 KB single bank flash, proprietary code
• Core: Arm® 32-bit Cortex®-M4 CPU with FPU, readout protection
Adaptive real-time accelerator (ART – 40 KB of SRAM including 8 KB with
Accelerator™) allowing 0-wait-state execution hardware parity check
from flash memory, frequency up to 80 MHz, – Quad SPI memory interface with XIP
MPU, 100DMIPS and DSP instructions capability
• Performance benchmark • Rich analog peripherals (independent supply)
– 1.25 DMIPS/MHz (Drystone 2.1) – 2x 12-bit ADC 5 Msps, up to 16-bit with
– 273.55 CoreMark® (3.42 CoreMark/MHz @ hardware oversampling, 200 µA/Msps
80 MHz) – 1x operational amplifier with built-in PGA
• Energy benchmark – 1x ultra-low-power comparator
– 442 ULPMark-CP® • 12x communication interfaces
– 165 ULPMark-PP® – USB 2.0 full-speed crystal less solution
• Clock Sources with LPM and BCD
– 4 to 48 MHz crystal oscillator – 3x I2C FM+(1 Mbit/s), SMBus/PMBus
– 32 kHz crystal oscillator for RTC (LSE) – 3x USARTs (ISO 7816, LIN, IrDA, modem)
– Internal 16 MHz factory-trimmed RC (±1%) – 1x LPUART (Stop 2 wake-up)
– Internal low-power 32 kHz RC (±5%) – 2x SPIs (and 1x Quad SPI)
– IRTIM (Infrared interface)
• CRC calculation unit, 96-bit unique ID • All packages are ECOPACK2 compliant
Table 1. Device summary
Reference Part numbers
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3 Functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.1 Arm® Cortex®-M4 core with FPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.2 Adaptive real-time memory accelerator (ART Accelerator™) . . . . . . . . . 16
3.3 Memory protection unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.4 Embedded flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.5 Embedded SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.6 Firewall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.7 Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.8 Cyclic redundancy check calculation unit (CRC) . . . . . . . . . . . . . . . . . . . 19
3.9 Power supply management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.9.1 Power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.9.2 Power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.9.3 Voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.9.4 Low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.9.5 Reset mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.9.6 VBAT operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.10 Interconnect matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.11 Clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.12 General-purpose inputs/outputs (GPIOs) . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.13 Direct memory access controller (DMA) . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.14 Interrupts and events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3.14.1 Nested vectored interrupt controller (NVIC) . . . . . . . . . . . . . . . . . . . . . . 37
3.14.2 Extended interrupt/event controller (EXTI) . . . . . . . . . . . . . . . . . . . . . . 37
3.15 Analog to digital converter (ADC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.15.1 Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.15.2 Internal voltage reference (VREFINT) . . . . . . . . . . . . . . . . . . . . . . . . . . 39
3.15.3 VBAT battery voltage monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
3.16 Comparators (COMP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
5 Memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
6 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
6.1 Parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
6.1.1 Minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
6.1.2 Typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
6.1.3 Typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
6.1.4 Loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
6.1.5 Pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
6.1.6 Power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
List of tables
flash, ART disable and power supplied by external SMPS (VDD12 = 1.10 V) . . . . . . . . . 94
Table 36. Typical current consumption in Run modes, with different codesrunning from
flash, ART disable and power supplied by external SMPS (VDD12 = 1.00 V) . . . . . . . . . 95
Table 37. Typical current consumption in Run and Low-power run modes, with different codes
running from SRAM1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Table 38. Typical current consumption in Run, with different codes running from
SRAM1 and power supplied by external SMPS (VDD12 = 1.10 V) . . . . . . . . . . . . . . . . . . 96
Table 39. Typical current consumption in Run, with different codes running from
SRAM1 and power supplied by external SMPS (VDD12 = 1.00 V) . . . . . . . . . . . . . . . . . . 96
Table 40. Current consumption in Sleep and Low-power sleep modes, flash ON . . . . . . . . . . . . . . . 97
Table 41. Current consumption in Sleep, flash ON and power supplied by external SMPS
(VDD12 = 1.10 V) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Table 42. Current consumption in Low-power sleep modes, flash in power-down. . . . . . . . . . . . . . . 98
Table 43. Current consumption in Stop 2 mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Table 44. Current consumption in Stop 1 mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Table 45. Current consumption in Stop 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Table 46. Current consumption in Standby mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Table 47. Current consumption in Shutdown mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Table 48. Current consumption in VBAT mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Table 49. Peripheral current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Table 50. Low-power mode wakeup timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Table 51. Regulator modes transition times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Table 52. Wakeup time using USART/LPUART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Table 53. High-speed external user clock characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Table 54. Low-speed external user clock characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Table 55. HSE oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Table 56. LSE oscillator characteristics (fLSE = 32.768 kHz) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Table 57. HSI16 oscillator characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Table 58. MSI oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .122
Table 59. HSI48 oscillator characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Table 60. LSI oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Table 61. PLL characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Table 62. Flash memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Table 63. Flash memory endurance and data retention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Table 64. EMS characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Table 65. EMI characteristics for fHSE = 8 MHz and fHCLK = 64 MHz . . . . . . . . . . . . . . . . . . . . . 130
Table 66. ESD absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Table 67. Electrical sensitivities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Table 68. I/O current injection susceptibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Table 69. I/O static characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Table 70. Output voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
Table 71. I/O AC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Table 72. NRST pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Table 73. EXTI Input Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Table 74. Analog switches booster characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Table 75. ADC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Table 76. Maximum ADC RAIN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Table 77. ADC accuracy - limited test conditions 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Table 78. ADC accuracy - limited test conditions 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Table 79. ADC accuracy - limited test conditions 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Table 80. ADC accuracy - limited test conditions 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Table 81. COMP characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
List of figures
1 Introduction
This datasheet provides the ordering information and mechanical device characteristics of
the STM32L412xx microcontrollers.
This document should be read in conjunction with the STM32L41x, STM32L42x,
STM32L43x, STM32L44x, STM32L45x, STM32L46x reference manual (RM0394), available
from the STMicroelectronics website www.st.com.
For information on the Arm®(a) Cortex®-M4 core, refer to the Cortex®-M4 Technical
Reference Manual, available from the www.arm.com website.
For information on the device errata with respect to the datasheet and reference manual,
refer to the STM32L412xx errata sheet (ES0456), available on the STMicroelectronics
website www.st.com.
a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
2 Description
STM32L412CB
STM32L412KB
STM32L412TB
STM32L412R8
STM32L412C8
STM32L412K8
STM32L412T8
Peripheral
Flash memory 128KB 64KB 128KB 64KB 128KB 64KB 128KB 64KB
SRAM 40KB
Quad SPI Yes
STM32L412RB
STM32L412CB
STM32L412KB
STM32L412TB
STM32L412R8
STM32L412C8
STM32L412K8
STM32L412T8
Peripheral
Advanced
1 (16-bit)
control
General 2 (16-bit)
purpose 1 (32-bit)
Basic 1 (16-bit)
Timers Low -power 2 (16-bit)
SysTick timer 1
Watchdog
timers
2
(independent,
window)
SPI 2 1
2C
Comm. I 3 2
interfac USART 3 2
es LPUART 1 1
USB FS Yes
RTC Yes
Tamper pins 2 2 1
Random generator Yes
GPIOs(1) 52 38 30 26
Wakeup pins 4 3 2 2
Capacitive sensing
12 6 2
Number of channels
12-bit ADC 2 2 2 2
Number of channels 16 10 10 10
Internal voltage
No
reference buffer
Analog comparator 1
Operational amplifiers 1
Max. CPU frequency 80 MHz
Operating voltage (VDD) 1.71 to 3.6 V
Operating voltage
1.00 to 1.32 V
(VDD12)
Ambient operating temperature: -40 to 85 °C / -40 to 125 °C
Operating temperature
Junction temperature: -40 to 105 °C / -40 to 130 °C
LQFP64 LQFP48 UFQFPN32
Packages WLCSP36
UFBGA64 UFQFPN48 LQFP32
1. In case external SMPS package type is used, 2 GPIO's are replaced by VDD12 pins to connect the SMPS
power supplies hence reducing the number of available GPIO's by 2.
D0[3:0],
NJTRST, JTDI, D1[3:0],
JTCK/SWCLK JTAG & SW Quad SPI memory interface CLK0,
MPU
CLK1
JTDO/SWD, JTDO
ETM NVIC CS
TRACECLK
TRACED[3:0] D-BUS
ARM Cortex-M4
80 MHz
I-BUS
FPU RNG
ACCEL/
CACHE
Flash
ART
S-BUS up to
128 KB
AHB bus-matrix
SRAM2 8 KB
SRAM1 32 KB
IWDG
VBAT = 1.55 to 3.6 V
PD2 GPIO PORT D
Standby
PH[1:0],
GPIO PORT H interface
PH[3] Reset & clock
M AN AGT
control @VBAT
OSC32_IN
XTAL 32 kHz
OSC32_OUT
@ VDD
RTC
RTC_TS
FCLK
PCLKx
U STemperature
AR T 2 M sensor
Bps AWU
HCLKx
RTC_TAMPx
Backup register
RTC_OUT
PHY DM
USB FS
ITF NOE
@ VDDA
smcard
VREF+ USART2 RX, TX, CK, CTS, RTS as AF
VREF Buffer AHB/APB2 AHB/APB1 IrDA
WWDG
I2C1/SMBUS SCL, SDA, SMBA as AF
2 channels, 16b
TIM15
1 compl. channel, BKIN as AF
I2C2/SMBUS SCL, SDA, SMBA as AF
APB2 80MHz
1 channel,
TIM16 16b
1 compl. channel, BKIN as AF
I2C3/SMBUS SCL, SDA, SMBA as AF
1 3 0 M Hz
smcard
A P B(max)
MOSI, MISO,
SPI1
SCK, NSS as AF
@VDDA
FIREWALL
LPTIM2 IN1, OUT, ETR as AF
MSv45999V2
3 Functional overview
Table 3. Access status versus readout protection level and execution modes
Debug, boot from RAM or boot
User execution
Protection from system memory (loader)
Area
level
Read Write Erase Read Write Erase
• Write protection (WRP): the protected area is protected against erasing and
programming. Two areas can be selected, with 2-Kbyte granularity.
• Proprietary code readout protection (PCROP): a part of the flash memory can be
protected against read and write from third parties. The protected area is execute-only:
it can only be reached by the STM32 CPU, as an instruction code, while all other
accesses (DMA, debug and CPU data read, write and erase) are strictly prohibited.
The PCROP area granularity is 64-bit wide. An additional option bit (PCROP_RDP)
allows the user to select if the PCROP area is erased or not when the RDP protection
is changed from Level 1 to Level 0.
The whole non-volatile memory embeds the error correction code (ECC) feature supporting:
• single error detection and correction
• double error detection.
The address of the ECC fail can be read in the ECC register.
3.6 Firewall
The device embeds a Firewall which protects code sensitive and secure data from any
access performed by a code executed outside of the protected areas.
Each illegal access generates a reset which kills immediately the detected intrusion.
The Firewall main features are the following:
• Three segments can be protected and defined thanks to the Firewall registers:
– Code segment (located in flash or SRAM1 if defined as executable protected
area)
– Non-volatile data segment (located in flash)
– Volatile data segment (located in SRAM1)
• The start address and the length of each segments are configurable:
– Code segment: up to 1024 Kbyte with granularity of 256 bytes
– Non-volatile data segment: up to 1024 Kbyte with granularity of 256 bytes
– Volatile data segment: up to 128 Kbyte with a granularity of 64 bytes
• Specific mechanism implemented to open the Firewall to get access to the protected
areas (call gate entry sequence)
• Volatile data segment can be shared or not with the non-protected code
• Volatile data segment can be executed or not depending on the Firewall configuration
The flash readout protection must be set to level 2 in order to reach the expected level of
protection.
The boot loader is located in system memory. It is used to reprogram the flash memory by
using USART, I2C, SPI or USB FS in Device mode through DFU (device firmware upgrade).
BOOT0 value may come from the PH3-BOOT0 pin or from an option bit depending on the
value of a user option bit to free the GPIO pad if needed.
An empty check mechanism is implemented to force the boot from system flash if the first
memory location is not programmed and if the boot selection is configured to boot from main
flash. If the boot selection uses BOOT0 pin to boot from the main flash memory, but the first
flash memory location is found empty, the flash empty check mechanism forces boot from
the system memory (containing embedded bootloader). Then due to bootloader activation,
some of the GPIOs are reconfigured from the High-Z state. Please refer to AN2606 for more
details concerning the bootloader and GPIOs configuration in system memory boot mode.
It is possible to disable this feature by configuring the option bytes (instead of BOOT0 pin) to
force boot from the main flash memory (nSWBOOT0 = 0, nBOOT0 = 1).
Note: VDDIOx is the I/Os general purpose digital functions supply. VDDIOx represents VDDIO1, with
VDDIO1 = VDD.
VDDA domain
A/D converters
VDDA Comparators
VSSA Operational amplifiers
Voltage reference buffer
VDDUSB
USB transceivers
VSS
VDD domain
VDDIO1
VDD I/O ring
Reset block
Temp. sensor
PLL, HSI, MSI, HSI48
VSS
Standby circuitry
(Wakeup logic, IWDG)
VCORE domain
VCORE Core
Voltage regulator Memories
Digital peripherals
Backup domain
LSE crystal 32 K osc
BKP registers
VBAT RCC BDCR register
RTC
MS51448V1
VDDA domain
A/D converters
VDDA Comparators
VSSA Operational amplifiers
Voltage reference buffer
VDDUSB
USB transceivers
VSS
VDD domain
VDDIO1
VDD I/O ring
Reset block
Temp. sensor
PLL, HSI, MSI, HSI48
VSS
Standby circuitry
(Wakeup logic, IWDG)
VCORE domain
VCORE Core
Voltage regulator Memories
Digital peripherals
VDD12
Backup domain
LSE crystal 32 K osc
BKP registers
VBAT RCC BDCR register
RTC
MS49685V1
During power-up and power-down phases, the following power sequence requirements
must be respected:
• When VDD is below 1 V, other power supplies (VDDAVDDUSB) must remain below VDD +
300 mV.
• When VDD is above 1 V, all power supplies are independent.
During the power-down phase, VDD can temporarily become lower than other supplies only
if the energy provided to the MCU remains below 1 mJ; this allows external decoupling
capacitors to be discharged with different time constants during the power-down transient
phase.
3.6
VDDX(1)
VDD
VBOR0
0.3
Invalid supply area VDDX < VDD + 300 mV VDDX independent from VDD
MSv47490V1
Functional overview
Table 4. STM32L412xx modes overview
Mode Regulator(1) CPU Flash SRAM Clocks DMA and Peripherals(2) Wakeup source Consumption(3) Wakeup time
MR range 1 91 µA/MHz
All
SMPS range 2 high 34 µA/MHz
Run Yes ON(4) ON Any N/A N/A
MR range2 79 µA/MHz
All except USB_FS, RNG
SMPS range 2 low 28 µA/MHz
Any to Range 1: 4 µs
LPRun LPR Yes ON(4) ON except All except USB_FS, RNG N/A 83 µA/MHz
to Range 2: 64 µs
PLL
MR range 1 21 µA/MHz
All
SMPS range 2 high Any interrupt or 7.5 µA/MHz
Sleep No ON(4) ON(5) Any 6 cycles
MR range2 event 20 µA/MHz
All except USB_FS, RNG
DS12469 Rev 9
STM32L412xx
MR Range 2
USB_FS(8)
frozen.
Table 4. STM32L412xx modes overview (continued)
STM32L412xx
(1)
Mode Regulator CPU Flash SRAM Clocks DMA and Peripherals(2) Wakeup source Consumption(3) Wakeup time
Functional overview
25/198
Table 4. STM32L412xx modes overview (continued)
26/198
Functional overview
(1)
Mode Regulator CPU Flash SRAM Clocks DMA and Peripherals(2) Wakeup source Consumption(3) Wakeup time
STM32L412xx
STM32L412xx Functional overview
By default, the microcontroller is in Run mode after a system or a power Reset. It is up to the
user to select one of the low-power modes described below:
• Sleep mode
In Sleep mode, only the CPU is stopped. All peripherals continue to operate and can
wake up the CPU when an interrupt/event occurs.
• Low-power run mode
This mode is achieved with VCORE supplied by the low-power regulator to minimize the
regulator's operating current. The code can be executed from SRAM or from flash, and
the CPU frequency is limited to 2 MHz. The peripherals with independent clock can be
clocked by HSI16.
• Low-power sleep mode
This mode is entered from the low-power run mode. Only the CPU clock is stopped.
When wakeup is triggered by an event or an interrupt, the system reverts to the low-
power run mode.
• Stop 0, Stop 1 and Stop 2 modes
Stop mode achieves the lowest power consumption while retaining the content of
SRAM and registers. All clocks in the VCORE domain are stopped, the PLL, the MSI
RC, the HSI16 RC and the HSE crystal oscillators are disabled. The LSE or LSI is still
running.
The RTC can remain active (Stop mode with RTC, Stop mode without RTC).
Some peripherals with wakeup capability can enable the HSI16 RC during Stop mode
to detect their wakeup condition.
Three Stop modes are available: Stop 0, Stop 1 and Stop 2 modes. In Stop 2 mode,
most of the VCORE domain is put in a lower leakage mode.
Stop 1 offers the largest number of active peripherals and wakeup sources, a smaller
wakeup time but a higher consumption than Stop 2. In Stop 0 mode, the main regulator
remains ON, allowing a very fast wakeup time but with much higher consumption.
The system clock when exiting from Stop 0, Stop 1 or Stop 2 modes can be either MSI
up to 48 MHz or HSI16, depending on software configuration.
• Standby mode
The Standby mode is used to achieve the lowest power consumption with BOR. The
internal regulator is switched off so that the VCORE domain is powered off. The PLL, the
MSI RC, the HSI16 RC and the HSE crystal oscillators are also switched off.
The RTC can remain active (Standby mode with RTC, Standby mode without RTC).
The brown-out reset (BOR) always remains active in Standby mode.
The state of each I/O during standby mode can be selected by software: I/O with
internal pull-up, internal pull-down or floating.
After entering Standby mode, SRAM1 and register contents are lost except for registers
in the Backup domain and Standby circuitry. Optionally, SRAM2 can be retained in
Standby mode, supplied by the low-power Regulator (Standby with SRAM2 retention
mode).
The device exits Standby mode when an external reset (NRST pin), an IWDG reset,
WKUP pin event (configurable rising or falling edge), or an RTC event occurs (alarm,
periodic wakeup, timestamp, tamper) or a failure is detected on LSE (CSS on LSE).
The system clock after wakeup is MSI up to 8 MHz.
• Shutdown mode
The Shutdown mode permits to achieve the lowest power consumption. The internal
regulator is switched off so that the VCORE domain is powered off. The PLL, the HSI16,
the MSI, the LSI and the HSE oscillators are also switched off.
The RTC can remain active (Shutdown mode with RTC, Shutdown mode without RTC).
The BOR is not available in Shutdown mode. No power voltage monitoring is possible
in this mode, therefore the switch to Backup domain is not supported.
SRAM1, SRAM2 and register contents are lost except for registers in the Backup
domain.
The device exits Shutdown mode when an external reset (NRST pin), a WKUP pin
event (configurable rising or falling edge), or an RTC event occurs (alarm, periodic
wakeup, timestamp, tamper).
The system clock after wakeup is MSI at 4 MHz.
Wakeup capability
Wakeup capability
Wakeup capability
Wakeup capability
Low- Low-
Peripheral Run Sleep power power VBAT
run sleep - - - -
CPU Y - Y - - - - - - - - - -
Flash memory (up to
O(2) O(2) O(2) O(2) - - - - - - - - -
128 KB)
SRAM1 (32 KB) Y Y(3) Y Y(3) Y - Y - - - - - -
SRAM2 (8 KB) Y Y(3) Y Y(3) Y - Y - O(4) - - - -
Quad SPI O O O O - - - - - - - - -
Backup registers Y Y Y Y Y - Y - Y - Y - Y
Brown-out reset
Y Y Y Y Y Y Y Y Y Y - - -
(BOR)
Programmable
voltage detector O O O O O O O O - - - - -
(PVD)
Peripheral voltage
monitor (PVMx; O O O O O O O O - - - - -
x=1,3,4)
DMA O O O O - - - - - - - - -
High speed Internal (5) (5)
O O O O - - - - - - -
(HSI16)
Oscillator RC48 O O - - - - - - - - - - -
High speed external
O O O O - - - - - - - - -
(HSE)
Low speed internal
O O O O O - O - O - - - -
(LSI)
Low speed external
O O O O O - O - O - O - O
(LSE)
Multi-Speed internal
O O O O - - - - - - - - -
(MSI)
Clock security
O O O O - - - - - - - - -
system (CSS)
Clock security
O O O O O O O O O O - - -
system on LSE
RTC / Auto wakeup O O O O O O O O O O O O O
Number of RTC
2 2 2 2 2 O 2 O 2 O 2 O 2
Tamper pins
USARTx (x=1,2,3) O O O O O(6) O(6) - - - - - - -
Wakeup capability
Wakeup capability
Wakeup capability
Wakeup capability
Low- Low-
Peripheral Run Sleep power power VBAT
run sleep - - - -
Low-power UART
O O O O O(6) O(6) O(6) O(6) - - - - -
(LPUART)
I2Cx (x=1,2) O O O O O(7) O(7) - - - - - - -
I2C3 O O O O O(7) O(7) O(7) O(7) - - - - -
SPIx (x=1,2) O O O O - - - - - - - - -
ADCx (x=1,2) O O O O - - - - - - - - -
OPAMPx (x=1) O O O O O - - - - - - - -
COMP1 O O O O O O O O - - - - -
Temperature sensor O O O O - - - - - - - - -
Timers (TIMx) O O O O - - - - - - - - -
Low-power timer 1
O O O O O O O O - - - - -
(LPTIM1)
Low-power timer 2
O O O O O O O O - - - - -
(LPTIM2)
Independent
O O O O O O O O O O - - -
watchdog (IWDG)
Window watchdog
O O O O - - - - - - - - -
(WWDG)
SysTick timer O O O O - - - - - - - - -
Touch sensing
O O O O - - - - - - - - -
controller (TSC)
Random number
O(8) O(8) - - - - - - - - - - -
generator (RNG)
CRC calculation unit O O O O - - - - - - - - -
4 4
(9) (11)
GPIOs O O O O O O O O pins pins -
(10) (10)
1. Legend: Y = Yes (Enable). O = Optional (Disable by default. Can be enabled by software). - = Not available.
2. The flash can be configured in power-down mode. By default, it is not in power-down mode.
3. The SRAM clock can be gated on or off.
4. SRAM2 content is preserved when the bit RRS is set in PWR_CR3 register.
5. Some peripherals with wakeup from Stop capability can request HSI16 to be enabled. In this case, HSI16 is woken up by
the peripheral, and only feeds the peripheral which requested it. HSI16 is automatically put off when the peripheral does not
need it anymore.
6. LPUART reception is functional in Stop mode, and generates a wakeup interrupt on Start, address match or received frame
event.
7. I2C address detection is functional in Stop mode, and generates a wakeup interrupt in case of address match.
8. Voltage scaling Range 1 only.
9. I/Os can be configured with internal pull-up, pull-down or floating in Standby mode.
10. The I/Os with wakeup from Standby/Shutdown capability are: PA0, PC13, PE6, PA2, PC5.
11. I/Os can be configured with internal pull-up, pull-down or floating in Shutdown mode but the configuration is lost when
exiting the Shutdown mode.
Stop 0 / Stop 1
Stop 2
Sleep
Interconnect
Run
ADCx
Conversion triggers Y Y Y Y - -
TIMx
Low-power sleep
Low-power run
Stop 0 / Stop 1
Stop 2
Sleep
Interconnect
Run
Interconnect source Interconnect action
destination
All clocks sources (internal TIM2 Clock source used as input channel for
Y Y Y Y - -
and external) TIM15, 16 RC measurement and trimming
CSS
CPU (hard fault)
RAM (parity error) TIM1
Timer break Y Y Y Y - -
Flash memory (ECC error) TIM15,16
COMPx
PVD
interrupt is generated if enabled. LSE failure can also be detected and generated an
interrupt.
• Clock-out capability:
– MCO: microcontroller clock output: it outputs one of the internal clocks for
external use by the application. Low frequency clocks (LSI, LSE) are available
down to Stop 1 low power state.
– LSCO: low speed clock output: it outputs LSI or LSE in all low-power modes
down to Standby mode. LSE can also be output on LSCO in Shutdown mode.
LSCO is not available in VBAT mode.
Several prescalers permit to configure the AHB frequency, the high speed APB (APB2) and
the low speed APB (APB1) domains. The maximum frequency of the AHB and the APB
domains is 80 MHz.
LSCO
to RTC
OSC32_OUT
LSE OSC
/32
32.768 kHz
OSC32_IN
LSE
LSI
MCO HSE
ĺ to PWR
SYSCLK
HSI16 to AHB bus, core, memory and DMA
Clock
HSI48 source
MSI control AHB PRESC HCLK FCLK Cortex free running clock
OSC_OUT HSE OSC
PLLCLK / 1,2,..512
4-48 MHz to Cortex system timer
HSE
/8
OSC_IN Clock MSI
detector SYSCLK PCLK1
HSI16 APB1 PRESC
/ 1,2,4,8,16 to APB1 peripherals
HSI RC x1 or x2
to TIMx
16 MHz x=2,6,7
LSE
HSI16
SYSCLK to USARTx
x=2..3
to LPUART1
MSI RC HSI16
SYSCLK to I2Cx
100 kHz – 48 MHz x=1,2,3
LSI
LSE to LPTIMx
HSI16 x=1,2
MSI PCLK2
HSI16
PLL /M HSE APB2 PRESC
to APB2 peripherals
/P / 1,2,4,8,16
/Q PLL48M1CLK x1 or x2
to TIMx
/R PLLCLK
x=1,15,16
LSE
HSI16 to
SYSCLK USART1
MSI
48 MHz clock to USB, RNG
HSI RC
48 MHz to ADCx, x=1,2
SYSCLK
CRS
MSv46900V3
Any integer
Advanced Up, down,
TIM1 16-bit between 1 Yes 4 3
control Up/down
and 65536
Any integer
General- Up, down,
TIM2 32-bit between 1 Yes 4 No
purpose Up/down
and 65536
Any integer
General-
TIM15 16-bit Up between 1 Yes 2 1
purpose
and 65536
Any integer
General-
TIM16 16-bit Up between 1 Yes 1 1
purpose
and 65536
Any integer
Basic TIM6 16-bit Up between 1 Yes 0 No
and 65536
PH3-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
VBAT 1 48 VDDUSB
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
LQFP64
PC1 9 40 PC9
PC2 10 39 PC8
PC3 11 38 PC7
VSSA/VREF- 12 37 PC6
VDDA/VREF+ 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
VSS
VDD
PC4
PC5
PB0
PB1
PB2
VSS
PB10
VDD
PA3
PA4
PA5
PA6
PA7
PB11
MSv46920V1
PC12
PC10
PC11
PA15
PA14
VDD
VSS
PB9
PB8
PB7
PB6
PB5
PB4
PB3
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
VBAT 1 48 VDDUSB
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/VREF- 12 37 PC6
VDDA/VREF+ 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
VSS
VDD
PC4
PB0
PB1
PB2
PB10
VDD12
VSS
VDD
PA3
PA4
PA5
PA6
PA7
PB11
MS46959V1
PC14-
A PC13 PB9 PB4 PB3 PA15 PA14 PA13
OSC32_IN
PC15-
B VBAT PB8 PH3-BOOT0 PD2 PC11 PC10 PA12
OSC32_OUT
PH1-
D VDD PB6 VSS VSS VSS PA8 PC9
OSC_OUT
MSv46919V1
PC14-
A PC13 PB9 PB4 PB3 PA15 PA14 PA13
OSC32_IN
PC15-
B VBAT PB8 PH3-BOOT0 VDD12 PC11 PC10 PA12
OSC32_OUT
PH1-
D VDD PB6 VSS VSS VSS PA8 PC9
OSC_OUT
MS53656V1
PH3/BOOT0
PA15
PA14
VDD
VSS
PB9
PB8
PB7
PB6
PB5
PB4
PB3
48
47
46
45
44
43
42
41
40
39
38
37
VBAT 1 36 VDDUSB
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
LQFP48
NRST 7 30 PA9
VSSA 8 29 PA8
VDDA 9 28 PB15
PA0/CK_IN 10 27 PB14
PA1 11 26 PB13
PA2 12 13 25 PB12
14
15
16
17
18
19
20
21
22
23
24
PB0
PB1
PB2
VSS
PB10
VDD
PA3
PA4
PA5
PA6
PA7
PB11
MSv46916V1
PA15
PA14
VDD
VSS
PB9
PB7
PB6
PB5
PB4
PB3
48
47
46
45
44
43
42
41
40
39
38
37
VBAT 1 36 VDDUSB
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
LQFP48 30 PA9
VSSA/VREF- 8 29 PA8
VDDA/VREF+ 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
VDD12
VSS
VDD
PA3
PA4
PA5
PA6
PA7
MSv71417V1
PH3-BOOT0
PA15
PA14
VDD
VSS
PB9
PB8
PB7
PB6
PB5
PB4
PB3
48
47
46
45
44
43
42
41
40
39
38
37
VBAT 1 36 VDDUSB
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/VREF- 8 29 PA8
VDDA/VREF+ 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
MSv46917V2
PA15
PA14
VDD
VSS
PB9
PB7
PB6
PB5
PB4
PB3
48
47
46
45
44
43
42
41
40
39
38
37
VBAT 1 36 VDDUSB
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/VREF- 8 29 PA8
VDDA/VREF+ 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
VDD12
VSS
VDD
PA3
PA4
PA5
PA6
PA7
MSv71418V1
PH3
C PA9 PA10 PA15 PB5
BOOT0
PC15
MS49688V1
1 2 3 4 5 6
VDDA/
E VDD PB10 PB0 PA5 PA3
VREF+
MS51459V1
PH3-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 21 PA11
LQFP32
VDDA/VREF+ 5 20 PA10
PA0-CK_IN 6 19 PA9
PA1 7 18 PA8
PA2 8 17 VDD
10
12
13
14
15
16
11
9
PB0
PB1
VSS
PA3
PA4
PA5
PA6
PA7
MSv46914V1
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 21 PA11
VDDA/VREF+ 5
UFQFPN32 20 PA10
PA0-CK_IN 6 19 PA9
PA1 7 18 PA8
PA2 8 17 VDD
10
12
13
14
15
16
11
9
PB0
PB1
VSS
PA3
PA4
PA5
PA6
PA7
MSv46915V2
Unless otherwise specified in brackets below the pin name, the pin function during and after
Pin name
reset is the same as the actual pin name
S Supply pin
Pin type I Input only pin
I/O Input / output pin
FT 5 V tolerant I/O
TT 3.6 V tolerant I/O
RST Bidirectional reset pin with embedded weak pull-up resistor
Notes Unless otherwise specified by a note, all I/Os are set as analog inputs during and after reset.
Alternate
Functions selected through GPIOx_AFR registers
Pin functions
functions Additional
Functions directly selected/enabled through peripheral registers
functions
1. The related I/O structures in Table 14 are: FT_f, FT_fa.
2. The related I/O structures in Table 14 are: FT_u, FT_fu.
3. The related I/O structures in Table 14 are: FT_a, FT_fa, TT_a.
Note: FT_a and FT_fa pins can be connected to analog peripherals inputs. When analog
peripheral is not connected to this FT_a or FT_fa pins (analog switch from GPIO to
peripheral is not closed, for example ADC not uses given pin as ADC input), then GPIO can
accept VDD + 3.6 V (5 V tolerant I/O). However, once the I/O input is connected to the
analog peripheral (for example ADC selects as input channel from this pin), the parasitic
diode from this I/O pin to VDDA and/or VREF+ does not allow to use higher voltage on given
I/O pin than VDDA or VREF+ and pin is no more 5 V-tolerant I/O.
UFQFPN48 SMPS
I/O structure
WLCSP36 SMPS
UFBGA64 SMPS
LQFP48 SMPS
LQFP64 SMPS
Pin name
Pin type
UFQFPN32
UFQFPN48
Notes
WLCSP36
UFBGA64
LQFP32
LQFP48
LQFP64
(function after Alternate functions Additional functions
reset)
- - - - 1 1 1 1 1 1 B2 B2 VBAT S - - - -
(1)
RTC_TAMP1/RTC_TS/RT
- - - - 2 2 2 2 2 2 A2 A2 PC13 I/O FT (2) EVENTOUT
C_OUT1/WKUP2
(1)
PC14-OSC32_IN
2 2 B6 B6 3 3 3 3 3 3 A1 A1 I/O FT (2) EVENTOUT OSC32_IN
(PC14)
PC15- (1)
3 3 C6 C6 4 4 4 4 4 4 B1 B1 OSC32_OUT I/O FT EVENTOUT OSC32_OUT
DS12469 Rev 9
(2)
(PC15)
PH0-OSC_IN
- - - - 5 5 5 5 5 5 C1 C1 I/O FT - EVENTOUT OSC_IN
(PH0)
PH1-OSC_OUT
- - - - 6 6 6 6 6 6 D1 D1 I/O FT - EVENTOUT OSC_OUT
(PH1)
4 4 D6 D6 7 7 7 7 7 7 E1 E1 NRST I/O RST - - -
TRACECK, LPTIM1_IN1,
- - - - - - - - 8 8 E3 E3 PC0 I/O FT_fa - I2C3_SCL, LPUART1_RX, ADC12_IN1
LPTIM2_IN1, EVENTOUT
TRACED0, LPTIM1_OUT,
- - - - - - - - 9 9 E2 E2 PC1 I/O FT_fa - I2C3_SDA, LPUART1_TX, ADC12_IN2
EVENTOUT
LPTIM1_IN2, SPI2_MISO,
- - - - - - - - 10 10 F2 F2 PC2 I/O FT_a - ADC12_IN3
EVENTOUT
LPTIM1_ETR, SPI2_MOSI,
STM32L412xx
- - - - - - - - 11 11 G1 G1 PC3 I/O FT_a - ADC12_IN4
LPTIM2_ETR, EVENTOUT
- - - - 8 8 8 8 12 12 F1 F1 VSSA/VREF- S - - - -
- - - E6 - - - - - - - - VREF+ S - - - -
Table 14. STM32L412xx pin definitions (continued)
STM32L412xx
Pin Number
UFQFPN48 SMPS
I/O structure
WLCSP36 SMPS
UFBGA64 SMPS
LQFP48 SMPS
LQFP64 SMPS
Pin name
Pin type
UFQFPN32
UFQFPN48
Notes
WLCSP36
UFBGA64
LQFP32
LQFP48
LQFP64
(function after Alternate functions Additional functions
reset)
- - - F6 - - - - - - - - VDDA S - - - -
5 5 E6 - 9 9 9 9 13 13 H1 H1 VDDA/VREF+ S - - - -
TIM2_CH1, USART2_CTS, OPAMP1_VINP,
- - - - 10 10 10 10 14 14 G2 G2 PA0 I/O FT_a - COMP1_OUT, TIM2_ETR, COMP1_INM, ADC1_IN5,
EVENTOUT RTC_TAMP2/WKUP1
OPAMP1_VINP,
TIM2_CH1, USART2_CTS,
COMP1_INM, ADC1_IN5,
6 6 F6 D5 - - - - - - - - PA0-CK_IN I/O FT_a - COMP1_OUT, TIM2_ETR,
DS12469 Rev 9
RTC_TAMP2/WKUP1,
EVENTOUT
CK_IN
TIM2_CH2, I2C1_SMBA,
SPI1_SCK, OPAMP1_VINM,
7 7 D5 D4 11 11 11 11 15 15 H2 H2 PA1 I/O FT_a -
USART2_RTS_DE, COMP1_INP, ADC1_IN6
TIM15_CH1N, EVENTOUT
TIM2_CH3, USART2_TX,
LPUART1_TX, ADC12_IN7,
8 8 D4 E5 12 12 12 12 16 16 F3 F3 PA2 I/O FT_a -
QUADSPI_BK1_NCS, WKUP4/LSCO
TIM15_CH1, EVENTOUT
TIM2_CH4, USART2_RX,
UFQFPN48 SMPS
I/O structure
WLCSP36 SMPS
UFBGA64 SMPS
LQFP48 SMPS
LQFP64 SMPS
Pin name
Pin type
UFQFPN32
UFQFPN48
Notes
WLCSP36
UFBGA64
LQFP32
LQFP48
LQFP64
(function after Alternate functions Additional functions
reset)
TIM2_CH1, TIM2_ETR,
COMP1_INM,
11 11 E4 E4 15 15 15 15 21 21 F4 F4 PA5 I/O TT_a - SPI1_SCK, LPTIM2_ETR,
ADC12_IN10
EVENTOUT
TIM1_BKIN, SPI1_MISO,
COMP1_OUT,
USART3_CTS,
12 12 D3 D3 16 16 16 16 22 22 G4 G4 PA6 I/O FT_a - ADC12_IN11
LPUART1_CTS,
QUADSPI_BK1_IO3,
DS12469 Rev 9
TIM16_CH1, EVENTOUT
TIM1_CH1N, I2C3_SCL,
SPI1_MOSI,
13 13 F4 E3 17 17 17 17 23 23 H4 H4 PA7 I/O FT_fa - ADC12_IN12
QUADSPI_BK1_IO2,
EVENTOUT
COMP1_INM,
- - - - - - - - 24 24 H5 H5 PC4 I/O FT_a - USART3_TX, EVENTOUT
ADC12_IN13
- - - - - - - - - 25 - H6 PC5 I/O FT_a - USART3_RX, EVENTOUT COMP1_INP, ADC12_IN14
TRACED0, TIM1_CH2N,
SPI1_NSS, USART3_CK,
14 14 E3 F3 18 18 18 18 25 26 F5 F5 PB0 I/O FT_a - ADC12_IN15
QUADSPI_BK1_IO1,
COMP1_OUT, EVENTOUT
TRACED1, TIM1_CH3N,
USART3_RTS_DE,
COMP1_INM,
15 15 D2 D2 19 19 19 19 26 27 G5 G5 PB1 I/O FT_a - LPUART1_RTS_DE,
ADC12_IN16
QUADSPI_BK1_IO0,
STM32L412xx
LPTIM2_IN1, EVENTOUT
LPTIM1_OUT, I2C3_SMBA,
- - F3 E2 20 20 20 20 27 28 G6 G6 PB2 I/O FT_a - RTC_OUT2, COMP1_INP
EVENTOUT
Table 14. STM32L412xx pin definitions (continued)
STM32L412xx
Pin Number
UFQFPN48 SMPS
I/O structure
WLCSP36 SMPS
UFBGA64 SMPS
LQFP48 SMPS
LQFP64 SMPS
Pin name
Pin type
UFQFPN32
UFQFPN48
Notes
WLCSP36
UFBGA64
LQFP32
LQFP48
LQFP64
(function after Alternate functions Additional functions
reset)
TIM2_CH3, I2C2_SCL,
SPI2_SCK, USART3_TX,
- - E2 F2 21 21 21 21 28 29 G7 G7 PB10 I/O FT_f - LPUART1_RX, TSC_SYNC, -
QUADSPI_CLK,
COMP1_OUT, EVENTOUT
TIM2_CH4, I2C2_SDA,
USART3_RX, LPUART1_TX,
- - - - - 22 - 22 29 30 H7 H7 PB11 I/O FT_f - -
QUADSPI_BK1_NCS,
DS12469 Rev 9
EVENTOUT
- - F2 - 22 - 22 - 30 - H6 - VDD12 S - - - -
16 16 F1 F1 23 23 23 23 31 31 D6 D6 VSS S - - - -
17 17 E1 E1 24 24 24 24 32 32 E6 E6 VDD S - - - -
TIM1_BKIN, I2C2_SMBA,
SPI2_NSS, USART3_CK,
- - - - 25 25 25 25 33 33 H8 H8 PB12 I/O FT - LPUART1_RTS_DE, -
TSC_G1_IO1, TIM15_BKIN,
EVENTOUT
TIM1_CH1N, I2C2_SCL,
UFQFPN48 SMPS
I/O structure
WLCSP36 SMPS
UFBGA64 SMPS
LQFP48 SMPS
LQFP64 SMPS
Pin name
Pin type
UFQFPN32
UFQFPN48
Notes
WLCSP36
UFBGA64
LQFP32
LQFP48
LQFP64
(function after Alternate functions Additional functions
reset)
RTC_REFIN, TIM1_CH3N,
- - - - 28 28 28 28 36 36 F7 F7 PB15 I/O FT - SPI2_MOSI, TSC_G1_IO4, -
TIM15_CH2, EVENTOUT
- - - - - - - - 37 37 F6 F6 PC6 I/O FT - TSC_G4_IO1, EVENTOUT -
- - - - - - - - 38 38 E7 E7 PC7 I/O FT - TSC_G4_IO2, EVENTOUT -
- - - - - - - - 39 39 E8 E8 PC8 I/O FT - TSC_G4_IO3, EVENTOUT -
TSC_G4_IO4, USB_NOE,
- - - - - - - - 40 40 D8 D8 PC9 I/O FT - -
DS12469 Rev 9
EVENTOUT
MCO, TIM1_CH1,
18 18 D1 D1 29 29 29 29 41 41 D7 D7 PA8 I/O FT - USART1_CK, LPTIM2_OUT, -
EVENTOUT
TIM1_CH2, I2C1_SCL,
19 19 C1 C1 30 30 30 30 42 42 C7 C7 PA9 I/O FT_f - USART1_TX, TIM15_BKIN, -
EVENTOUT
TIM1_CH3, I2C1_SDA,
USART1_RX,
20 20 C2 C2 31 31 31 31 43 43 C6 C6 PA10 I/O FT_f - -
USB_CRS_SYNC,
EVENTOUT
TIM1_CH4, TIM1_BKIN2,
SPI1_MISO, COMP1_OUT,
21 21 B1 B1 32 32 32 32 44 44 C8 C8 PA11 I/O FT_u - USART1_CTS, USB_DM, -
TIM1_BKIN2_COMP1,
EVENTOUT
STM32L412xx
TIM1_ETR, SPI1_MOSI,
22 22 A1 A1 33 33 33 33 45 45 B8 B8 PA12 I/O FT_u - USART1_RTS_DE, -
USB_DP, EVENTOUT
Table 14. STM32L412xx pin definitions (continued)
STM32L412xx
Pin Number
UFQFPN48 SMPS
I/O structure
WLCSP36 SMPS
UFBGA64 SMPS
LQFP48 SMPS
LQFP64 SMPS
Pin name
Pin type
UFQFPN32
UFQFPN48
Notes
WLCSP36
UFBGA64
LQFP32
LQFP48
LQFP64
(function after Alternate functions Additional functions
reset)
JTDI, TIM2_CH1,
TIM2_ETR, USART2_RX,
25 25 C3 C3 38 38 38 38 50 50 A6 A6 PA15 (JTDI) I/O FT - SPI1_NSS, -
USART3_RTS_DE,
TSC_G3_IO1, EVENTOUT
TRACED1, USART3_TX,
- - - - - - - - 51 51 B7 B7 PC10 I/O FT - -
TSC_G3_IO2, EVENTOUT
USART3_RX, TSC_G3_IO3,
- - - - - - - - 52 52 B6 B6 PC11 I/O FT - -
EVENTOUT
TRACED3, USART3_CK,
- - - - - - - - 53 53 C5 C5 PC12 I/O FT - -
TSC_G3_IO4, EVENTOUT
UFQFPN48 SMPS
I/O structure
WLCSP36 SMPS
UFBGA64 SMPS
LQFP48 SMPS
LQFP64 SMPS
Pin name
Pin type
UFQFPN32
UFQFPN48
Notes
WLCSP36
UFBGA64
LQFP32
LQFP48
LQFP64
(function after Alternate functions Additional functions
reset)
NJTRST, I2C3_SDA,
27 27 A3 A3 40 40 40 40 55 56 A4 A4 PB4 (NJTRST) I/O FT_fa - SPI1_MISO, USART1_CTS, -
TSC_G2_IO1, EVENTOUT
TRACED2, LPTIM1_IN1,
I2C1_SMBA, SPI1_MOSI,
28 28 C4 C4 41 41 41 41 56 57 C4 C4 PB5 I/O FT - -
USART1_CK, TSC_G2_IO2,
TIM16_BKIN, EVENTOUT
TRACED3, LPTIM1_ETR,
DS12469 Rev 9
I2C1_SCL, USART1_TX,
29 29 B4 B4 42 42 42 42 57 58 D3 D3 PB6 I/O FT_fa - -
TSC_G2_IO3, TIM16_CH1N,
EVENTOUT
TRACECK, LPTIM1_IN2,
30 30 A4 A4 43 43 43 43 58 59 C3 C3 PB7 I/O FT_fa - I2C1_SDA, USART1_RX, PVD_IN
TSC_G2_IO4, EVENTOUT
PH3-BOOT0
31 31 C5 C5 44 44 44 44 59 60 B4 B4 I/O FT - EVENTOUT -
(BOOT0)
I2C1_SCL, TIM16_CH1,
- - - B5 - 45 - 45 60 61 B3 B3 PB8 I/O FT_f - -
EVENTOUT
IR_OUT, I2C1_SDA,
- - - - 45 46 45 46 61 62 A3 A3 PB9 I/O FT_f - -
SPI2_NSS, EVENTOUT
- - B5 - 46 - 46 - 62 - B5 - VDD12 S - - - -
32 32 A5 A5 47 47 47 47 63 63 D4 D4 VSS S - - - -
1 1 A6 A6 48 48 48 48 64 64 E4 E4 VDD S - - - -
STM32L412xx
1. PC13, PC14 and PC15 are supplied through the power switch. Since the switch only sinks a limited amount of current (3 mA), the use of GPIOs PC13 to PC15 in output
mode is limited:
- The speed should not exceed 2 MHz with a maximum load of 30 pF.
- These GPIOs must not be used as current sources (for example to drive a LED).
STM32L412xx
2. After a Backup domain power-up, PC13, PC14 and PC15 operate as GPIOs. Their function then depends on the content of the RTC registers which are not reset by the
system reset. For details on how to manage these GPIOs, refer to the Backup domain and RTC register descriptions in RM0394 reference manual.
STM32L412xx
Table 15. Alternate function AF0 to AF7(1) (continued)
STM32L412xx
AF0 AF1 AF2 AF3 AF4 AF5 AF6 AF7
Port
TIM1/TIM2/LPT USART1/USA
SYS_AF TIM1/TIM2 USART2 I2C1/I2C2/I2C3 SPI1/SPI2 COMP1
IM1 RT2/USART3
PC8 - - - - - - - -
PC9 - - - - - - - -
PC10 TRACED1 - - - - - - USART3_TX
PC11 - - - - - - - USART3_RX
PC12 TRACED3 - - - - - - USART3_CK
PC13 - - - - - - - -
PC14 - - - - - - - -
PC15 - - - - - - - -
QUADSPI_BK1
PA7 - - - - - - EVENTOUT
Port A _IO2
PA8 - - - - - - LPTIM2_OUT EVENTOUT
PA9 - - - - - - TIM15_BKIN EVENTOUT
USB_CRS_SY
PA10 - - - - - - EVENTOUT
NC
TIM1_BKIN2_C
PA11 - - USB_DM - - - EVENTOUT
OMP1
PA12 - - USB_DP - - - - EVENTOUT
PA13 - - USB_NOE - - - - EVENTOUT
PA14 - - - - - - - EVENTOUT
PA15 - TSC_G3_IO1 - - - - - EVENTOUT
STM32L412xx
Table 16. Alternate function AF8 to AF15(1) (continued)
STM32L412xx
AF8 AF9 AF10 AF11 AF12 AF13 AF14 AF15
Port
TIM2/TIM15/
LPUART1 TSC QUADSPI - COMP1 - EVENOUT
TIM16/LPTIM2
QUADSPI_BK1
PB0 - - - COMP1_OUT - - EVENTOUT
_IO1
LPUART1_RTS QUADSPI_BK1
PB1 - - - - LPTIM2_IN1 EVENTOUT
_DE _IO0
PB2 - - - - - - - EVENTOUT
PB3 - - - - - - - EVENTOUT
PB4 - TSC_G2_IO1 - - - - - EVENTOUT
PB5 - TSC_G2_IO2 - - - - TIM16_BKIN EVENTOUT
PB6 - TSC_G2_IO3 - - - - TIM16_CH1N EVENTOUT
DS12469 Rev 9
STM32L412xx
1. Refer to Table 15 for AF0 to AF7.
STM32L412xx Memory mapping
5 Memory mapping
0xE000 0000
0x5FFF FFFF
Reserved
6
0x5006 0C00
AHB2
0x4800 0000
0xC000 0000 Reserved
0x4002 4400
QUADSPI AHB1
registers
5 0x4002 0000
Reserved
0xA000 1000
0x4001 5800
0xA000 0000 APB2
QUADSPI flash 0x4001 0000
bank Reserved
0x4000 9800
4 0x9000 0000
APB1
0x4000 0000
3
Reserved
0x6000 0000
0x1FFF 7810
Options Bytes
2
0x1FFF 7800
Reserved
0x1FFF 7400
Peripherals OTP area
0x4000 0000
0x1FFF 7000
System memory
1 0x2000 A000 0x1FFF 0000
SRAM2 Reserved
0x2000 8000
0x1000 2000
SRAM1
0x2000 0000 SRAM2
0x1000 0000
Reserved
0 0x0802 0000
CODE
Flash memory
0x0800 0000
Reserved
0x0000 0000
0x0002 0000 Flash, system memory
or SRAM, depending on
0x0000 0000 BOOT configuration
Reserved
MSv45997V1
Table 17. STM32L412xx memory map and peripheral register boundary addresses(1)
Table 17. STM32L412xx memory map and peripheral register boundary addresses(1)
(continued)
Bus Boundary address Size(bytes) Peripheral
Table 17. STM32L412xx memory map and peripheral register boundary addresses(1)
(continued)
Bus Boundary address Size(bytes) Peripheral
6 Electrical characteristics
Figure 19. Pin loading conditions Figure 20. Pin input voltage
MS19210V1 MS19211V1
VBAT
Backup circuitry
1.55 – 3.6 V (LSE, RTC,
Backup registers)
Power switch
VDD VCORE
n x VDD
Regulator
VDDIO1
OUT
Level shifter
Kernel logic
n x 100 nF IO (CPU, Digital
GPIOs logic
+1 x 4.7 μF IN & Memories)
n x VSS
VDDA
VDDA
VREF
10 nF VREF+ ADCs/
+1 μF OPAMPs/
100 nF +1 μF VREF- COMPs/
VSSA
MS49692V1
Caution: Each power supply pair (VDD/VSS, VDDA/VSSA etc.) must be decoupled with filtering ceramic
capacitors as shown above. These capacitors must be placed as close as possible to, or
below, the appropriate pins on the underside of the PCB to ensure the good functionality of
the device.
Figure 22. Current consumption measurement scheme with and without external
SMPS power supply
IDD_USB
VDDUSB
IDD_USB
VDDUSB
IDD_VBAT
VBAT
IDD_VBAT
VBAT
IDD
VDD12
SMPS
IDD
VDD VDD
IDDA IDDA
VDDA VDDA
MSv45729V1
The IDD_ALL parameters given in Table 25 to Table 47 represent the total MCU consumption
including the current supplying VDD, VDDA, VDDUSB and VBAT.
|VSSx-VSS| (5)
Variations between all the different ground pins - 50 mV
VREF+ - VDDA Allowed voltage difference for VREF+ > VDDA - 0.4 V
1. All main power (VDD, VDDA, VDDUSB, VBAT) and ground (VSS, VSSA) pins must always be connected to the external power
supply, in the permitted range.
2. VIN maximum must always be respected. Refer to Table 19: Current characteristics for the maximum allowed injected
current values.
3. This formula has to be applied only on the power supplies related to the IO structure described in the pin definition table.
4. To sustain a voltage higher than 4 V the internal pull-up/pull-down resistors must be disabled.
5. Include VREF- pin.
∑IVDD Total current into sum of all VDD power lines (source)(1)(2) 140
∑IVSS Total current out of sum of all VSS ground lines (sink)(1) 140
IVDD(PIN) Maximum current into each VDD power pin (source) (1)
100
IVSS(PIN) Maximum current out of each VSS ground pin (sink) (1)
100
Output current sunk by any I/O and control pin except FT_f 20
IIO(PIN) Output current sunk by any FT_f pin 20
Output current sourced by any I/O and control pin 20 mA
Total output current sunk by sum of all I/Os and control pins(3) 100
∑IIO(PIN)
(3)
Total output current sourced by sum of all I/Os and control pins 100
Injected current on FT_xxx, TT_xx, RST and B pins, except PA4,
-5/+0(5)
IINJ(PIN)(4) PA5
Injected current on PA4, PA5 -5/0
∑|IINJ(PIN)| (6)
Total injected current (sum of all I/Os and control pins) 25
1. All main power (VDD, VDDA, VDDUSB, VBAT) and ground (VSS, VSSA) pins must always be connected to the external power
supplies, in the permitted range.
2. Valid also for VDD12 on SMPS packages.
3. 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 QFP packages.
4. Positive injection (when VIN > VDDIOx) is not possible on these I/Os and does not occur for input voltages lower than the
specified maximum value.
5. A negative injection is induced by VIN < VSS. IINJ(PIN) must never be exceeded. Refer also to Table 18: Voltage
characteristics for the maximum allowed input voltage values.
6. When several inputs are submitted to a current injection, the maximum ∑|IINJ(PIN)| is the absolute sum of the negative
injected currents (instantaneous values).
Table 23. Embedded reset and power control block characteristics (continued)
Symbol Parameter Conditions(1) Min Typ Max Unit
Table 23. Embedded reset and power control block characteristics (continued)
Symbol Parameter Conditions(1) Min Typ Max Unit
IDD
PVM3 and PVM4
(PVM3/PVM4) - - 2 - µA
(2) consumption from VDD
1. Continuous mode means Run/Sleep modes, or temperature sensor enable in Low-power run/Low-power
sleep modes.
2. Guaranteed by design.
3. BOR0 is enabled in all modes (except shutdown) and its consumption is therefore included in the supply
current characteristics tables.
VREFINT Internal reference voltage –40 °C < TA < +130 °C 1.182 1.212 1.232 V
ADC sampling time when
tS_vrefint (1) reading the internal reference - 4(2) - - µs
voltage
Start time of reference voltage
tstart_vrefint - - 8 12(2) µs
buffer when ADC is enable
VREFINT buffer consumption
from VDD when converted by - - 12.5 20(2) µA
IDD(VREFINTBUF)
ADC
Internal reference voltage
∆VREFINT spread over the temperature VDD = 3 V - 5 7.5(2) mV
range
TCoeff Temperature coefficient –40°C < TA < +130°C - 30 50(2) ppm/°C
ACoeff Long term stability 1000 hours, T = 25°C - 300 1000(2) ppm
VDDCoeff Voltage coefficient 3.0 V < VDD < 3.6 V - 250 1200(2) ppm/V
VREFINT_DIV1 1/4 reference voltage 24 25 26
%
VREFINT_DIV2 1/2 reference voltage - 49 50 51
VREFINT
VREFINT_DIV3 3/4 reference voltage 74 75 76
1. The shortest sampling time can be determined in the application by multiple iterations.
2. Guaranteed by design.
V
1.235
1.23
1.225
1.22
1.215
1.21
1.205
1.2
1.195
1.19
1.185
-40 -20 0 20 40 60 80 100 120 °C
Mean Min Max
MSv40169V1
Electrical characteristics
Table 25. Current consumption in Run and Low-power run modes, code with data processing
running from flash, ART enable (Cache ON Prefetch OFF)
Conditions TYP MAX(1)
Symbol Parameter Unit
- Voltage fHCLK 25 °C 55 °C 85 °C 105 °C 125 °C 25 °C 55 °C 85 °C 105 °C 125 °C
scaling
26 MHz 2.05 2.10 2.10 2.20 2.35 2.20 2.25 2.30 2.40 2.60
16 MHz 1.30 1.35 1.40 1.45 1.60 1.40 1.45 1.50 1.60 1.80
8 MHz 0.715 0.730 0.780 0.855 1.00 0.76 0.78 0.84 0.96 1.25
Range 2 4 MHz 0.415 0.430 0.475 0.555 0.710 0.45 0.50 0.55 0.70 0.90
2 MHz 0.265 0.28 0.325 0.400 0.555 0.30 0.30 0.40 0.50 0.80
fHCLK = fHSE up to 1 MHz 0.190 0.205 0.250 0.325 0.480 0.20 0.25 0.30 0.44 0.70
48MHz included,
Supply 100 kHz 0.120 0.135 0.180 0.255 0.410 0.15 0.20 0.25 0.40 0.60
IDD_ALL bypass mode
current in mA
DS12469 Rev 9
(Run) PLL ON above 80 MHz 7.30 7.35 7.40 7.55 7.70 7.75 7.80 7.80 7.90 8.10
Run mode
48 MHz all
peripherals disable 72 MHz 6.60 6.65 6.70 6.80 7.00 7.00 7.00 7.10 7.20 7.40
64 MHz 5.90 5.90 6.00 6.10 6.30 6.25 6.30 6.35 6.40 6.65
Range 1 48 MHz 4.40 4.40 4.50 4.60 4.80 4.70 4.75 4.80 4.90 5.10
32 MHz 3.00 3.00 3.05 3.15 3.35 3.20 3.25 3.30 3.40 3.60
24 MHz 2.30 2.30 2.35 2.45 2.65 2.40 2.40 2.50 2.60 2.90
16 MHz 1.55 1.60 1.65 1.75 1.90 1.70 1.75 1.80 1.90 2.20
2 MHz 190 205 255 335 505 235 230 315 455 725
Supply
IDD_ALL current in fHCLK = fMSI 1 MHz 110 120 165 250 415 135 145 230 370 645
µA
(LPRun) Low-power all peripherals disable 400 kHz 55.0 65.5 115 195 360 75.0 90.5 180 325 590
run mode
100 kHz 26.0 40.0 87.5 170 335 45.0 65.5 160 290 550
1. Guaranteed by characterization results, unless otherwise specified.
STM32L412xx
Table 26. Current consumption in Run modes, code with data processing running from flash,
STM32L412xx
ART enable (Cache ON Prefetch OFF) and power supplied by external SMPS
(VDD12 = 1.10 V)
Conditions(1) TYP
Symbol Parameter Unit
- fHCLK 25 °C 55 °C 85 °C 105 °C 125 °C
Electrical characteristics
87/198
Table 27. Current consumption in Run and Low-power run modes, code with data processing
88/198
Electrical characteristics
running from flash, ART disable
Conditions TYP MAX(1)
Symbol Parameter Unit
Voltage
- fHCLK 25 °C 55 °C 85 °C 105 °C 125 °C 25 °C 55 °C 85 °C 105 °C 125 °C
scaling
26 MHz 2.40 2.45 2.50 2.55 2.75 2.60 2.65 2.70 2.80 3.00
16 MHz 1.70 1.75 1.80 1.85 2.05 1.85 1.90 1.95 2.05 2.30
8 MHz 0.970 0.985 1.05 1.10 1.25 1.05 1.10 1.15 1.25 1.50
Range 2 4 MHz 0.570 0.585 0.630 0.710 0.865 0.61 0.63 0.70 0.80 1.10
2 MHz 0.340 0.355 0.400 0.475 0.635 0.40 0.40 0.50 0.60 0.80
fHCLK = fHSE up to
48MHz included, 1 MHz 0.230 0.240 0.285 0.365 0.52 0.25 0.30 0.34 0.50 0.70
Supply
IDD_ALL bypass mode 100 kHz 0.125 0.140 0.185 0.260 0.415 0.14 0.20 0.25 0.40 0.60
current in mA
(Run) PLL ON above 80 MHz 7.65 7.70 7.85 8.00 8.20 8.20 8.30 8.40 8.50 8.80
Run mode
48 MHz all
72 MHz 6.95 6.95 7.05 7.15 7.35 7.40 7.45 7.50 7.60 7.80
peripherals disable
DS12469 Rev 9
64 MHz 6.90 6.95 7.05 7.20 7.40 7.40 7.45 7.50 7.60 7.80
Range 1 48 MHz 5.85 5.90 6.00 6.15 6.35 6.30 6.35 6.50 6.65 6.90
32 MHz 4.20 4.20 4.30 4.45 4.65 4.50 4.55 4.70 4.80 5.10
24 MHz 3.15 3.20 3.25 3.35 3.55 3.40 3.40 3.50 3.60 3.90
16 MHz 2.25 2.30 2.35 2.50 2.65 2.50 2.50 2.60 2.70 3.00
2 MHz 275 290 340 425 590 325 360 425 565 840
Supply
IDD_ALL current in fHCLK = fMSI 1 MHz 155 165 210 295 460 185 195 275 420 690
µA
(LPRun) Low-power all peripherals disable 400 kHz 69.0 83.0 130 215 280 90.5 108 195 340 600
run
100 kHz 32.0 45.5 92.0 175 340 48.0 69 155 300 570
1. Guaranteed by characterization results, unless otherwise specified.
STM32L412xx
Table 28. Current consumption in Run modes, code with data processing running from flash,
STM32L412xx
ART disable and power supplied by external SMPS (VDD12 = 1.10 V)
Conditions(1) TYP
Uni
Symbol Parameter
t
- fHCLK 25 °C 55 °C 85 °C 105 °C 125 °C
Supply current in Run fHCLK = fHSE up to 48MHz included, bypass mode 24 MHz 1.13 1.15 1.17 1.20 1.28
IDD_ALL(Run) mA
mode PLL ON above 48 MHz all peripherals disable 16 MHz 0.81 0.83 0.84 0.90 0.95
8 MHz 0.35 0.35 0.38 0.40 0.45
DS12469 Rev 9
Electrical characteristics
89/198
Table 29. Current consumption in Run and Low-power run modes, code with data processing
90/198
Electrical characteristics
running from SRAM1
Conditions TYP MAX(1)
Symbol Parameter Unit
Voltage 105 125 105 125
- fHCLK 25 °C 55 °C 85 °C 25 °C 55 °C 85 °C
scaling °C °C °C °C
26 MHz 2.00 2.05 2.10 2.15 2.35 2.20 2.20 2.25 2.35 2.55
16 MHz 1.30 1.30 1.35 1.45 1.60 1.40 1.45 1.45 1.55 1.80
8 MHz 0.705 0.720 0.765 0.845 1.00 0.75 0.77 0.83 0.94 1.20
Range 2 4 MHz 0.410 0.425 0.470 0.550 0.700 0.44 0.46 0.52 0.64 0.90
2 MHz 0.265 0.275 0.320 0.395 0.555 0.28 0.30 0.37 0.49 0.75
fHCLK = fHSE up to
48MHz included, 1 MHz 0.190 0.200 0.245 0.325 0.475 0.21 0.22 0.29 0.42 0.67
Supply
IDD_ALL bypass mode 100 kHz 0.120 0.135 0.180 0.255 0.410 0.14 0.15 0.23 0.35 0.61
current in mA
(Run) PLL ON above 80 MHz 7.15 7.20 7.25 7.45 7.55 7.65 7.65 7.75 7.75 8.00
Run mode
48 MHz all
72 MHz 6.45 6.50 6.55 6.75 6.85 6.90 6.95 7.00 7.05 7.25
peripherals disable
DS12469 Rev 9
64 MHz 5.75 5.80 5.85 6.05 6.15 6.15 6.20 6.25 6.30 6.50
Range 1 48 MHz 4.20 4.35 4.40 4.50 7.70 4.65 4.65 4.70 4.80 5.00
32 MHz 2.95 2.95 3.00 3.10 3.30 3.15 3.15 3.20 3.30 3.55
24 MHz 2.25 2.25 2.30 2.40 2.60 2.40 2.40 2.50 2.60 2.85
16 MHz 1.55 1.55 1.60 1.70 1.85 1.65 1.70 1.75 1.85 2.10
2 MHz 180 190 240 320 485 215 225 300 450 720
Supply
fHCLK = fMSI 1 MHz 90.5 110 155 235 400 120 135 220 360 640
IDD_ALL current in
all peripherals disable µA
(LPRun) low-power 400 kHz 40.5 56.0 105 185 350 60.0 76.5 165 315 565
FLASH in power-down
run mode
100 kHz 17.5 32.0 78.5 160 325 33.5 53.5 140 285 555
1. Guaranteed by characterization results, unless otherwise specified.
STM32L412xx
Table 30. Current consumption in Run, code with data processing running from
STM32L412xx
SRAM1 and power supplied by external SMPS (VDD12 = 1.10 V)
Conditions(1) TYP
Symbol Parameter Unit
- fHCLK 25 °C 55 °C 85 °C 105 °C 125 °C
Electrical characteristics
91/198
Electrical characteristics STM32L412xx
Table 31. Typical current consumption in Run and Low-power run modes, with different codes
running from flash, ART enable (Cache ON Prefetch OFF)
Conditions TYP TYP
Symbol Parameter Unit Unit
Voltage
- Code 25 °C 25 °C
scaling
fHCLK = 26 MHz
Coremark 2.30 88
Range 2
Dhrystone 2.1 2.35 mA 90 µA/MHz
fHCLK = fHSE up
to 48 MHz Fibonacci 2.25 87
Supply included, bypass While(1) 1.95 75
IDD_ALL
current in mode PLL ON
(Run) Reduced code (1)
7.30 91
Run mode above 48 MHz fHCLK = 80 MHz
all peripherals Coremark 8.15 102
Range 1
disable
Dhrystone 2.1 8.35 mA 104 µA/MHz
Fibonacci 8.10 101
While(1) 7.20 90
(1)
Reduced code 190 95
Supply Coremark 205 103
IDD_ALL current in fHCLK = fMSI = 2 MHz
Dhrystone 2.1 220 µA 110 µA/MHz
(LPRun) Low-power all peripherals disable
run Fibonacci 205 103
While(1) 225 113
1. Reduced code used for characterization results provided in Table 25, Table 27, Table 29.
Table 32. Typical current consumption in Run, with different codes running from flash,
ART enable (Cache ON Prefetch OFF) and power supplied by external SMPS
(VDD12 = 1.10 V)
Conditions(1) TYP TYP
Symbol Parameter Voltage Unit Unit
- Code 25 °C 25 °C
scaling
Reduced code(2) 0.88 34
fHCLK = 26 MHz
Coremark 0.99 38
Dhrystone 2.1 1.01 39
fHCLK = fHSE up to
48 MHz included, Fibonacci 0.97 37
Supply bypass mode PLL While(1) 0.84 32
IDD_ALL
current in ON above mA µA/MHz
(Run) Reduced code(2) 3.15 39
Run mode 48 MHz
fHCLK = 80 MHz
1. All values are obtained by calculation based on measurements done without SMPS and using following parameters:
SMPS input = 3.3 V, SMPS efficiency = 85%, VDD12 = 1.10 V
2. Reduced code used for characterization results provided in Table 25, Table 27, Table 29.
Table 33. Typical current consumption in Run, with different codes running from flash,
ART enable (Cache ON Prefetch OFF) and power supplied by external SMPS
(VDD12 = 1.00 V)
Conditions(1) TYP TYP
Symbol Parameter Voltage Unit Unit
- Code 25 °C 25 °C
scaling
fHCLK = fHSE up to Reduced code(2) 0.73 28
fHCLK = 26 MHz
48 MHz included, Coremark 0.82 32
Supply bypass mode PLL
IDD_ALL Dhrystone 2.1 0.84 32
current in ON above mA µA/MHz
(Run)
Run mode 48 MHz Fibonacci 0.80 31
all peripherals
disable While(1) 0.70 27
1. All values are obtained by calculation based on measurements done without SMPS and using following parameters:
SMPS input = 3.3 V, SMPS efficiency = 85%, VDD12 = 1.00 V
2. Reduced code used for characterization results provided in Table 25, Table 27, Table 29.
Table 34. Typical current consumption in Run and Low-power run modes, with different codes
running from flash, ART disable
Conditions TYP TYP
Symbol Parameter Unit Unit
Voltage
- Code 25 °C 25 °C
scaling
Range 2
fHCLK = fHSE up to Dhrystone 2.1 2.20 mA 85 µA/MHz
48 MHz included, Fibonacci 2.05 79
Supply bypass mode
IDD_ALL While(1) 1.90 73
current in PLL ON above
(Run) Reduced code (1)
7.65 96
Run mode 48 MHz
all peripherals Range 1 Coremark 6.95 87
disable Dhrystone 2.1 7.00 mA 88 µA/MHz
Fibonacci 6.60 83
While(1) 6.85 86
Reduced code(1) 275 138
Supply Coremark 300 150
IDD_ALL current in fHCLK = fMSI = 2 MHz
Dhrystone 2.1 315 µA 158 µA/MHz
(LPRun) Low-power all peripherals disable
run Fibonacci 305 153
While(1) 385 193
1. Reduced code used for characterization results provided in Table 25, Table 27, Table 29.
Table 35. Typical current consumption in Run modes, with different codes running from
flash, ART disable and power supplied by external SMPS (VDD12 = 1.10 V)
Conditions(1) TYP TYP
Symbol Parameter Voltage Unit Unit
- Code 25 °C 25 °C
scaling
Reduced code(2) 1.04 40
fHCLK = 80 MHz fHCLK = 26 MHz
Coremark 0.93 36
fHCLK = fHSE up to Dhrystone 2.1 0.95 37
48 MHz included, Fibonacci 0.88 34
Supply bypass mode While(1) 0.82 32
IDD_ALL
current in PLL ON above mA µA/MHz
(Run) Reduced code(2) 3.30 41
Run mode 48 MHz
all peripherals Coremark 3.00 37
disable Dhrystone 2.1 3.02 38
Fibonacci 2.85 36
While(1) 2.95 37
1. All values are obtained by calculation based on measurements done without SMPS and using following parameters: SMPS
input = 3.3 V, SMPS efficiency = 85%, VDD12 = 1.10 V
2. Reduced code used for characterization results provided in Table 25, Table 27, Table 29.
Table 36. Typical current consumption in Run modes, with different codesrunning from
flash, ART disable and power supplied by external SMPS (VDD12 = 1.00 V)
Conditions(1) TYP TYP
Symbol Parameter Voltage Unit Unit
- Code 25 °C 25 °C
scaling
fHCLK = fHSE up to Reduced code(2) 0.86 33
fHCLK = 26 MHz
48 MHz included, Coremark 0.77 29
Supply
IDD_ALL bypass mode
current in Dhrystone 2.1 0.78 mA 30 µA/MHz
(Run) PLL ON above
Run mode Fibonacci 0.73 28
48 MHz
all peripherals While(1) 0.68 26
1. All values are obtained by calculation based on measurements done without SMPS and using following parameters: SMPS
input = 3.3 V, SMPS efficiency = 85%, VDD12 = 1.00 V
2. Reduced code used for characterization results provided in Table 25, Table 27, Table 29.
Table 37. Typical current consumption in Run and Low-power run modes, with different codes
running from SRAM1
Conditions TYP TYP
Symbol Parameter Unit Unit
Voltage
- Code 25 °C 25 °C
scaling
Coremark 2.00 77
Range 2
Table 38. Typical current consumption in Run, with different codes running from
SRAM1 and power supplied by external SMPS (VDD12 = 1.10 V)
Conditions(1) TYP TYP
Symbol Parameter Voltage Unit Unit
- Code 25 °C 25 °C
scaling
Reduced code(2) 0.86 33
Table 39. Typical current consumption in Run, with different codes running from
SRAM1 and power supplied by external SMPS (VDD12 = 1.00 V)
Conditions(1) TYP TYP
Symbol Parameter Voltage Unit Unit
- Code 25 °C 25 °C
scaling
fHCLK = fHSE up to Reduced code(2) 0.71 27
fHCLK = 26 MHz
26 MHz 0.535 0.550 0.600 0.680 0.835 0.58 0.60 0.66 0.79 1.05
16 MHz 0.375 0.390 0.435 0.515 0.670 0.41 0.43 0.50 0.62 0.88
8 MHz 0.245 0.260 0.305 0.385 0.540 0.27 0.29 0.36 0.49 0.74
Range 2 4 MHz 0.180 0.195 0.240 0.315 0.470 0.20 0.22 0.29 0.42 0.67
fHCLK = fHSE up 2 MHz 0.150 0.160 0.205 0.285 0.435 0.17 0.18 0.25 0.38 0.63
to 48 MHz
Supply included, bypass 1 MHz 0.130 0.145 0.190 0.265 0.420 0.15 0.16 0.24 0.36 0.62
IDD_ALL current in mode 100 kHz 0.115 0.130 0.175 0.250 0.405 0.13 0.15 0.22 0.35 0.60
mA
(Sleep) sleep pll ON above 80 MHz 1.65 1.70 1.75 1.85 2.00 1.80 1.80 1.85 1.95 2.25
mode, 48 MHz all
72 MHz 1.50 1.55 1.60 1.70 1.85 1.60 1.65 1.70 1.80 2.10
peripherals
DS12469 Rev 9
disable 64 MHz 1.35 1.40 1.45 1.55 1.70 1.45 1.50 1.55 1.65 1.95
Range 1 48 MHz 1.00 1.05 1.10 1.2 1.35 1.10 1.15 1.20 1.35 1.65
32 MHz 0.725 0.740 0.795 0.885 1.05 0.78 0.80 0.87 1.05 1.35
24 MHz 0.575 0.595 0.650 0.740 0.910 0.62 0.64 0.72 0.86 1.15
16 MHz 0.425 0.440 0.495 0.585 0.760 0.47 0.48 0.56 0.71 1.00
Supply 2 MHz 52.5 66.5 115 195 360 71.0 91.5 175 315 600
current in 1 MHz 37.0 51.5 97.5 180 345 55.0 73.0 165 295 575
IDD_ALL f =f
low-power HCLK MSI µA
(LPSleep) all peripherals disable 400 kHz 25.5 39.0 85.0 170 330 41.0 63.0 150 280 565
sleep
mode 100 kHz 18.5 33.5 80.5 165 325 36.0 57.5 145 280 560
Electrical characteristics
1. Guaranteed by characterization results, unless otherwise specified.
97/198
Table 41. Current consumption in Sleep, flash ON and power supplied by external SMPS
98/198
Electrical characteristics
(VDD12 = 1.10 V)
Conditions(1) TYP
Symbol Parameter Unit
- fHCLK 25 °C 55 °C 85 °C 105 °C 125 °C
STM32L412xx
1. Guaranteed by characterization results, unless otherwise specified.
Table 43. Current consumption in Stop 2 mode
STM32L412xx
Conditions TYP MAX(1)
Symbol Parameter Unit
- VDD 25 °C 55 °C 85 °C 105 °C 125 °C 25 °C 55 °C 85 °C 105 °C 125 °C
1.8 V 0.77 2.35 8.60 20.5 46.0 2.0 5.6 21.5 51.0 115
2.4 V 0.78 2.35 8.75 21.0 47.0 2.1 5.8 22.0 52.5 120
-
3V 0.79 2.40 9.00 21.5 49.0 2.1 5.9 22.5 54.0 125
Supply current in 3.6 V 0.84 2.55 9.40 22.5 51.5 2.3 6.1 23.0 56.0 130
IDD_ALL
Stop 2 mode, µA
(Stop 2) 1.8 V 0.72 2.35 9.35 21.0 46.5 - - - - -
RTC disabled
2.4 V 0.74 2.35 9.65 22.0 48.0 - - - - -
ENULP = 1
3V 0.75 2.65 10.0 22.5 50.0 - - - - -
3.6 V 0.79 2.90 10.5 24.0 52.5 - - - - -
1.8 V 1.05 2.70 9.00 21.0 46.0 2.5 6.2 22.0 51.5 120
2.4 V 1.10 2.90 9.30 21.5 47.5 2.8 6.4 22.5 53.0 120
RTC clocked by LSI
DS12469 Rev 9
3V 1.20 3.10 9.65 22.5 49.5 3.0 6.8 23.0 54.5 125
3.6 V 1.30 3.35 10.0 23.5 52.0 3.3 7.2 24.5 57.0 130
1.8 V 1.00 2.65 9.55 21.5 46.5 - - - - -
IDD_ALL Supply current in RTC clocked by LSI 2.4 V 1.05 2.90 10.0 22.0 48.5 - - - - -
(Stop 2 with Stop 2 mode, ENULP = 1 µA
RTC) RTC enabled LPCAL = 1 3V 1.10 3.15 10.5 23.0 50.5 - - - - -
3.6 V 1.20 3.55 11.5 24.5 53.0 - - - - -
1.8 V 0.86 2.45 9.35 21.5 46.5 - - - - -
RTC clocked by LSI
ENULP = 1 2.4 V 0.88 2.60 9.70 22.0 48.0 - - - - -
LPCAL = 1 3V 0.93 2.75 10.0 23.0 50.0 - - - - -
LSIPREDIV = 1
3.6 V 0.98 3.05 11.0 24.0 52.5 - - - - -
Electrical characteristics
99/198
Table 43. Current consumption in Stop 2 mode (continued)
100/198
Electrical characteristics
Conditions TYP MAX(1)
Symbol Parameter Unit
- VDD 25 °C 55 °C 85 °C 105 °C 125 °C 25 °C 55 °C 85 °C 105 °C 125 °C
1.8 V 1.35 2.85 9.15 21.0 46.0 - - - - -
RTC clocked by LSE 2.4 V 1.60 3.15 9.60 22.0 48.0 - - - - -
bypassed at 32768 Hz 3V 2.00 3.85 11.0 24.0 51.5 - - - - -
3.6 V 3.90 6.60 15.0 29.5 58.5 - - - - -
1.8 V 1.20 2.80 9.70 21.5 46.5 - - - - -
RTC clocked by LSE
bypassed at 32768 Hz, 2.4 V 1.35 3.10 10.5 22.5 48.5 - - - - -
ENULP = 1, 3V 1.80 3.90 11.5 25.0 52.5 - - - - -
IDD_ALL Supply current in LPCAL = 1 3.6 V 3.65 6.75 16.0 30.5 59.5 - - - - -
(Stop 2 with Stop 2 mode, µA
RTC) RTC enabled 1.8 V 1.20 2.65 8.85 20.5 47.5 - - - - -
RTC clocked by LSE 2.4 V 1.25 2.75 9.10 21.0 49.0 - - - - -
quartz in low drive
DS12469 Rev 9
STM32L412xx
HSI16 = 16 MHz,
voltage Range 1. 3V 1.52 - - - - - - - - -
See (3).
1. Guaranteed by characterization results, unless otherwise specified.
STM32L412xx
2. Based on characterization done with a 32.768 kHz crystal (MC306-G-06Q-32.768, manufacturer JFVNY) with two 6.8 pF loading capacitors.
DS12469 Rev 9 3. Wakeup with code execution from flash. Average value given for a typical wakeup time as specified in Table 50: Low-power mode wakeup timings.
Electrical characteristics
101/198
Table 44. Current consumption in Stop 1 mode
102/198
Electrical characteristics
Conditions TYP MAX(1)
Symbol Parameter Unit
- - VDD 25 °C 55 °C 85 °C 105 °C 125 °C 25 °C 55 °C 85 °C 105 °C 125 °C
Supply current 1.8 V 3.95 13.0 47.5 110 230 7.40 24.5 87.0 190 395 µA
IDD_ALL in Stop 1 2.4 V 3.95 13.0 48.0 110 230 7.50 24.5 86.0 190 395
-
(Stop 1) mode, 3V 4.00 13.5 48.0 110 235 7.30 24.5 87.0 195 400
RTC disabled
3.6 V 4.10 13.5 48.5 110 240 7.85 25.0 90.0 195 405
1.8 V 4.40 13.5 48.0 110 230 8.05 24.5 86.5 190 395
2.4 V 4.60 14.0 48.5 110 235 8.10 25.0 90.0 195 395
RTC clocked by LSI
3V 4.75 14.0 48.5 110 235 8.20 25.5 89.0 195 400
3.6 V 5.05 14.5 49.5 115 240 8.55 27.0 89.5 195 405
Supply current 1.8 V 4.50 13.5 48.5 110 230 11.5 26.5 86.0 190 395
IDD_ALL 2.4 V 4.70 14.0 49.0 110 230 29.0 31.5 90.0 190 395
in stop 1 RTC clocked by LSE
(Stop 1 with µA
mode, bypassed at 32768 Hz 3V 5.35 14.5 50.0 115 240 36.0 31.5 87.5 195 400
RTC)
DS12469 Rev 9
RTC enabled
3.6 V 7.20 17.5 54.5 120 245 26.0 28.0 88.0 195 405
1.8 V 4.25 13.5 47.5 110 - - - - - -
RTC clocked by LSE quartz(2) 2.4 V 4.35 13.5 48.0 110 - - - - - -
in low drive mode 3V 4.40 13.5 48.0 110 - - - - - -
3.6 V 4.50 14.0 49.0 125 - - - - - -
Wakeup clock MSI = 48 MHz,
voltage Range 1. 3V 1.15 - - - - - - - - -
See (3).
Supply current Wakeup clock MSI = 4 MHz,
IDD_ALL
during voltage Range 2. 3V 1.25 - - - - - - - - -
(wakeup mA
wakeup from See (3).
from Stop1)
Stop 1
Wakeup clock
HSI16 = 16 MHz,
3V 1.20 - - - - - - - - -
voltage Range 1.
See (3).
STM32L412xx
1. Guaranteed by characterization results, unless otherwise specified.
2. Based on characterization done with a 32.768 kHz crystal (MC306-G-06Q-32.768, manufacturer JFVNY) with two 6.8 pF loading capacitors.
3. Wakeup with code execution from flash. Average value given for a typical wakeup time as specified in Table 50: Low-power mode wakeup timings.
Table 45. Current consumption in Stop 0
STM32L412xx
Conditions TYP MAX(1)
Symbol Parameter Unit
VDD 25 °C 55 °C 85 °C 105 °C 125 °C 25 °C 55 °C 85 °C 105 °C 125 °C
1.8 V 110 125 165 240 380 130 145 215 340 585
Supply current 2.4 V 110 125 170 240 385 130 145 215 340 585
IDD_ALL
in Stop 0 mode, µA
(Stop 0) 3V 115 125 170 245 385 130 145 220 345 590
RTC disabled
3.6 V 115 130 175 250 390 135 150 220 345 595
1. Guaranteed by characterization results, unless otherwise specified.
DS12469 Rev 9
Electrical characteristics
103/198
Table 46. Current consumption in Standby mode
104/198
Electrical characteristics
Conditions TYP MAX(1)
Symbol Parameter Unit
- VDD 25 °C 55 °C 85 °C 105 °C 125 °C 25 °C 55 °C 85 °C 105 °C 125 °C
1.8 V 95 255 1150 3200 8350 115 405 2750 7150 19500
2.4 V 105 290 1300 3600 9500 175 540 3250 8350 23000
No independent watchdog
3V 120 354 1550 4350 11500 215 650 3750 9600 26000
3.6 V 150 410 1850 5050 13000 280 835 4450 11500 29500
1.8 V 32 225 1400 3850 9000 115 405 2750 7250 19500
No independent watchdog 2.4 V 46 315 1800 4500 10500 175 540 3250 8350 23000
Supply current ENULP = 1 3V 66 430 2400 5450 12500 215 650 3750 9600 26000
in Standby
IDD_ALL mode (backup 3.6 V 115 570 3050 6350 14500 280 835 4450 11500 29500
nA
(Standby) registers 1.8 V 295 450 1300 3250 8250 - - - - -
retained),
With independent 2.4 V 350 530 1500 3750 9450 - - - - -
RTC disabled
DS12469 Rev 9
STM32L412xx
Table 46. Current consumption in Standby mode (continued)
STM32L412xx
Conditions TYP MAX(1)
Symbol Parameter Unit
- VDD 25 °C 55 °C 85 °C 105 °C 125 °C 25 °C 55 °C 85 °C 105 °C 125 °C
1.8 V 480 635 1500 3450 8400 560 900 3180 7500 19500
RTC clocked by LSI, no 2.4 V 615 800 1800 4050 9700 770 1200 3850 880 23000
independent watchdog 3V 775 995 2150 4850 11500 975 1450 4450 10500 26000
3.6 V 970 1250 2650 5850 14000 1250 1850 5300 12000 29500
1.8 V 330 515 1600 4000 9000 560 900 3180 7500 19500
RTC clocked by LSI, no 2.4 V 435 690 2100 4750 10500 770 1200 3850 8800 23000
Supply current independent watchdog
ENULP = 1 3V 565 915 2750 5750 12500 975 1450 4450 10500 26000
in Standby
IDD_ALL 3.6 V 725 1200 3600 6900 1500 1250 1850 5300 12000 29500
mode (backup
(Standby nA
registers 1.8 V 530 680 1550 3500 8450 - - - - -
with RTC)
retained),
RTC clocked by LSI, with 2.4 V 675 855 1850 4100 9850 - - - - -
RTC enabled
independent watchdog
DS12469 Rev 9
Electrical characteristics
105/198
Table 46. Current consumption in Standby mode (continued)
106/198
Electrical characteristics
Conditions TYP MAX(1)
Symbol Parameter Unit
- VDD 25 °C 55 °C 85 °C 105 °C 125 °C 25 °C 55 °C 85 °C 105 °C 125 °C
1.8 V 480 640 1500 3450 8100 - - - - -
RTC clocked by LSE 2.4 V 615 800 1800 4000 9300 - - - - -
bypassed at 32768 Hz 3V 775 995 2150 4800 11000 - - - - -
3.6 V 960 1250 2650 5800 13000 - - - - -
1.8 V 330 510 1600 4000 8800 - - - - -
RTC clocked by LSE 2.4 V 435 695 2100 4750 10000 - - - - -
Supply current bypassed at 32768 Hz
in Standby ENULP = 1 3V 565 910 2750 5700 12000 - - - - -
IDD_ALL
mode (backup 3.6 V 730 1200 3600 6900 14500 - - - - -
(Standby
registers nA
with RTC) 1.8 V 415 575 1450 3400 - - - - - -
retained),
(cont.)
RTC enabled RTC clocked by LSE 2.4 V 485 670 1650 3900 - - - - - -
(cont.) quartz (2) in low drive mode
DS12469 Rev 9
STM32L412xx
1. Guaranteed by characterization results, unless otherwise specified.
2. Based on characterization done with a 32.768 kHz crystal (MC306-G-06Q-32.768, manufacturer JFVNY) with two 6.8 pF loading capacitors.
3. The supply current in Standby with SRAM2 mode is: IDD_ALL(Standby) + IDD_ALL(SRAM2). The supply current in Standby with RTC with SRAM2 mode is: IDD_ALL(Standby
+ RTC) + IDD_ALL(SRAM2).
4. Wakeup with code execution from flash. Average value given for a typical wakeup time as specified in Table 50: Low-power mode wakeup timings.
Table 47. Current consumption in Shutdown mode
STM32L412xx
Conditions TYP MAX(1)
Symbol Parameter Unit
- VDD 25 °C 55 °C 85 °C 105 °C 125 °C 25 °C 55 °C 85 °C 105 °C 125 °C
Supply current 1.8 V 16 100 600 1850 5450 56 310 1200 3350 9550
in Shutdown 2.4 V 22 120 705 2150 6250 65 365 1350 3800 11000
mode
IDD_ALL 3V 31 155 870 2650 7700 97 600 1700 4750 12500
(backup - nA
(Shutdown)
registers
retained) RTC 3.6 V 52 220 1150 3350 9350 95 440 1850 5050 14500
disabled
1.8 V 210 300 820 2050 5750 - - - - -
RTC clocked by LSE 2.4 V 315 445 1100 2650 6950 - - - - -
bypassed at 32768 Hz 3V 625 1000 2200 44000 10000 - - - - -
3.6 V 820 1650 3500 5600 14500 - - - - -
1.8 V 210 300 820 2050 5750 - - - - -
DS12469 Rev 9
Electrical characteristics
mode ENULP = 1
3.6 V 400 575 1500 - - - - - - -
Supply current
IDD_ALL Wakeup clock is
during wakeup
(wakeup from MSI = 4 MHz. 3V 0.78 - - - - - - - - - mA
from Shutdown
Shutdown) See (3).
mode
1. Guaranteed by characterization results, unless otherwise specified.
107/198
2. Based on characterization done with a 32.768 kHz crystal (MC306-G-06Q-32.768, manufacturer JFVNY) with two 6.8 pF loading capacitors.
108/198
Electrical characteristics
3. Wakeup with code execution from flash. Average value given for a typical wakeup time as specified in Table 50: Low-power mode wakeup timings.
2. Based on characterization done with a 32.768 kHz crystal (MC306-G-06Q-32.768, manufacturer JFVNY) with two 6.8 pF loading capacitors.
STM32L412xx
STM32L412xx Electrical characteristics
I SW = V DDIOx × f SW × C
where
ISW is the current sunk by a switching I/O to charge/discharge the capacitive load
VDDIOx is the I/O supply voltage
fSW is the I/O switching frequency
C is the total capacitance seen by the I/O pin: C = CINT+ CEXT + CS
CS is the PCB board capacitance including the pad pin.
The test pin is configured in push-pull output mode and is toggled by software at a fixed
frequency.
The consumption for the peripherals when using SMPS can be found using STM32CubeMX
PCC tool.
Wakeup time from Standby Wakeup clock MSI = 8 MHz 12.2 18.35
tWUSTBY Range 1 µs
mode to Run mode Wakeup clock MSI = 4 MHz 19.14 25.8
tWUSTBY Wakeup time from Standby Wakeup clock MSI = 8 MHz 12.1 18.3
Range 1 µs
SRAM2 with SRAM2 to Run mode Wakeup clock MSI = 4 MHz 19.2 25.87
Wakeup time from
tWUSHDN Shutdown mode to Run Range 1 Wakeup clock MSI = 4 MHz 261.5 315.7 µs
mode
1. Guaranteed by characterization results.
Voltage scaling
- 8 48
Range 1
fHSE_ext User external clock source frequency MHz
Voltage scaling
- 8 26
Range 2
VHSEH OSC_IN input pin high level voltage - 0.7 VDDIOx - VDDIOx
V
VHSEL OSC_IN input pin low level voltage - VSS - 0.3 VDDIOx
Voltage scaling
7 - -
tw(HSEH) Range 1
OSC_IN high or low time ns
tw(HSEL) Voltage scaling
18 - -
Range 2
1. Guaranteed by design.
tw(HSEH)
VHSEH
90%
10%
VHSEL
tr(HSE) t
tf(HSE) tw(HSEL)
THSE
MS19214V2
tw(LSEH)
VLSEH
90%
10%
VLSEL
tr(LSE) t
tf(LSE) tw(LSEL)
TLSE
MS19215V2
For CL1 and CL2, it is recommended to use high-quality external ceramic capacitors in the
5 pF to 20 pF range (typ.), designed for high-frequency applications, and selected to match
the requirements of the crystal or resonator (see Figure 26). 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.
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.
OSC_IN fHSE
Bias
8 MHz controlled
resonator RF gain
MS19876V1
LSEDRV[1:0] = 00
- 250 -
Low drive capability
LSEDRV[1:0] = 01
- 315 -
Medium low drive capability
IDD(LSE) LSE current consumption nA
LSEDRV[1:0] = 10
- 500 -
Medium high drive capability
LSEDRV[1:0] = 11
- 630 -
High drive capability
LSEDRV[1:0] = 00
- - 0.5
Low drive capability
LSEDRV[1:0] = 01
- - 0.75
Maximum critical crystal Medium low drive capability
Gmcritmax µA/V
gm LSEDRV[1:0] = 10
- - 1.7
Medium high drive capability
LSEDRV[1:0] = 11
- - 2.7
High drive capability
tSU(LSE)(3) Startup time VDD is stabilized - 2 - s
1. Guaranteed by design.
2. Refer to the note and caution paragraphs below the table, and to the application note AN2867 “Oscillator design guide for
ST microcontrollers”.
3. tSU(LSE) is the startup time measured from the moment it is enabled (by software) to a stabilized 32.768 kHz oscillation is
reached. This value is measured for a standard crystal and it can vary significantly with the crystal manufacturer
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.
MHz
16.4
+2%
16.3
+1.5%
16.2 +1%
16.1
16
15.9
-1%
15.8
-1.5%
15.7
-2%
15.6
-40 -20 0 20 40 60 80 100 120 °C
min mean max
MSv39299V1
VDD=1.62 V
-1.2 -
to 3.6 V
Range 0 to 3 0.5
VDD=2.4 V
-0.5 -
to 3.6 V
Range 0 - - 0.6 1
Range 1 - - 0.8 1.2
Range 2 - - 1.2 1.7
Range 3 - - 1.9 2.5
Range 4 - - 4.7 6
MSI oscillator Range 5 - - 6.5 9
MSI and
IDD(MSI)(6) power µA
PLL mode Range 6 - - 11 15
consumption
Range 7 - - 18.5 25
Range 8 - - 62 80
Range 9 - - 85 110
Range 10 - - 110 130
Range 11 - - 155 190
1. Guaranteed by characterization results.
2. This is a deviation for an individual part once the initial frequency has been measured.
3. Sampling mode means Low-power run/Low-power sleep modes with Temperature sensor disable.
4. Average period of MSI @48 MHz is compared to a real 48 MHz clock over 28 cycles. It includes frequency tolerance + jitter
of MSI @48 MHz clock.
5. Only accumulated jitter of MSI @48 MHz is extracted over 28 cycles.
For next transition: min. and max. jitter of 2 consecutive frame of 28 cycles of the MSI @48 MHz, for 1000 captures over 28
cycles.
For paired transitions: min. and max. jitter of 2 consecutive frame of 56 cycles of the MSI @48 MHz, for 1000 captures over
56 cycles.
6. Guaranteed by design.
-2
-4
-6
-50 -30 -10 10 30 50 70 90 110 130
°C
Avg min max
MSv40989V1
Prequalification trials
Most of the common failures (unexpected reset and program counter corruption) can be
reproduced by manually forcing a low state on the NRST pin or the Oscillator pins for 1
second.
To complete these trials, ESD stress can be applied directly on the device, over the range of
specification values. When unexpected behavior is detected, the software can be hardened
to prevent unrecoverable errors occurring (see application note AN1015).
Electromagnetic Interference
The electromagnetic field emitted by the device are monitored while a simple application is
executed (toggling 2 LEDs through the I/O ports). This emission test is compliant with
IEC 61967-2 standard which specifies the test board and the pin loading.
Table 65. EMI characteristics for fHSE = 8 MHz and fHCLK = 64 MHz
Symbol Parameter Conditions Monitored frequency band Value Unit
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.
Weak pull-down
RPD VIN = VDDIOx 25 40 55 kΩ
equivalent resistor(8)
CIO I/O pin capacitance - - 5 - pF
1. Refer to Figure 31: I/O input characteristics.
2. Tested in production.
3. Guaranteed by design.
4. This value represents the pad leakage of the IO itself. The total product pad leakage is provided by this formula:
ITotal_Ileak_max = 10 µA + [number of IOs where VIN is applied on the pad] ₓ Ilkg(Max).
5. All FT_xx GPIOs except FT_u and PC3 I/O.
6. Max(VDDXXX) is the maximum value of all the I/O supplies. Refer to Table: Legend/Abbreviations used in the pinout table.
7. To sustain a voltage higher than Min(VDD, VDDA, VDDUSB) +0.3 V, the internal Pull-up and Pull-Down resistors must be
disabled.
8. Pull-up and pull-down resistors are designed with a true resistance in series with a switchable PMOS/NMOS. This
PMOS/NMOS contribution to the series resistance is minimal (~10% order).
All I/Os are CMOS- and TTL-compliant (no software configuration required). Their
characteristics cover more than the strict CMOS-technology or TTL parameters. The
coverage of these requirements is shown in Figure 31 for standard I/Os, and in Figure 31 for
5 V tolerant I/Os.
2
DIO
x
>1.6
0. 7xV D V DDIOx
in = 6 for
m +0.2
Vih xV DDIO
x
ent 0.49
quir
em 2 or
<1.6 >1.62
S re V DD IOx
r VDDIOx
MO .08< .06 fo
tion
C or 1 -0
c +0.05 f xV D DIOx
rodu IOx r 0.39
d in p 0.6 1xV DD x<
1.62 o
Teste min = 1.08<
V DD IO
n Vih -0.1 fo
r
ulatio VDDIOx
do n sim ax = 0.43x TTL requirement Vil max = 0.8V
Base n Vil m xVdd
ulatio ax = 0.3
on sim nt Vil m
Based OS re quireme
ction CM
in produ
Tested
MSv37613V1
Current
The GPIOs (general purpose input/outputs) can sink or source up to ±8 mA, and sink or
source up to ± 20 mA (with a relaxed VOL/VOH).
GPIOs PC13, PC14 and PC15 are supplied through the power switch, limiting source
capability up to 3 mA only.
In the user application, the number of I/O pins which can drive current must be limited to
respect the absolute maximum rating specified in Section 6.2:
• The sum of the currents sourced by all the I/Os on VDDIOx, plus the maximum
consumption of the MCU sourced on VDD, cannot exceed the absolute maximum rating
ΣIVDD (see Table 18: Voltage characteristics).
• The sum of the currents sunk by all the I/Os on VSS, plus the maximum consumption of
the MCU sunk on VSS, cannot exceed the absolute maximum rating ΣIVSS (see
Table 18: Voltage characteristics).
VOL Output low level voltage for an I/O pin CMOS port(2) - 0.4
|IIO| = 8 mA(3)
VOH Output high level voltage for an I/O pin V VDDIOx-0.4 -
DDIOx ≥ 2.7 V
VOL(4) Output low level voltage for an I/O pin TTL port(2) - 0.4
|IIO| = 8 mA(5)
VOH(4) Output high level voltage for an I/O pin V 2.4 -
DDIOx ≥ 2.7 V
VOL(4) Output low level voltage for an I/O pin PC13, PC14 and PC15 - 0.07
|IIO| = 3 mA
VOH(4) Output high level voltage for an I/O pin V VDDIOx-0.35 -
DDIOx ≥ 2.7 V
VOL(4) Output low level voltage for an I/O pin |IIO| = 20 mA(5) - 1.3
VOH (4) Output high level voltage for an I/O pin VDDIOx ≥ 2.7 V VDDIOx-1.3 -
V
VOL(4) Output low level voltage for an I/O pin |IIO| = 4 mA(3) - 0.45
VOH(4) Output high level voltage for an I/O pin VDDIOx ≥ 1.62 V VDDIOx-0.45 -
VOL (4) Output low level voltage for an I/O pin - 0.35ₓVDDIOx
|IIO| = 2 mA
VOH (4)
Output high level voltage for an I/O pin 1.62 V ≥ VDDIOx ≥ 1.08 V 0.65ₓVDDIOx -
|IIO| = 20 mA
- 0.4
VDDIOx ≥ 2.7 V
Output low level voltage for an FT I/O
VOLFM+ |IIO| = 10 mA
(4) pin in FM+ mode (FT I/O with "f" - 0.4
VDDIOx ≥ 1.62 V
option)
|IIO| = 2 mA
- 0.4
1.62 V ≥ VDDIOx ≥ 1.08 V
1. The IIO current sourced or sunk by the device must always respect the absolute maximum rating specified in Table 18:
Voltage characteristics, and the sum of the currents sourced or sunk by all the I/Os (I/O ports and control pins) must always
respect the absolute maximum ratings ΣIIO.
2. TTL and CMOS outputs are compatible with JEDEC standards JESD36 and JESD52.
3. PC13, PC14 and PC15 are tested/characterized at their maximum current of 3 mA.
4. Guaranteed by design.
Input/output AC characteristics
The definition and values of input/output AC characteristics are given in Figure 32 and
Table 71, respectively.
Unless otherwise specified, the parameters given are derived from tests performed under
the ambient temperature and supply voltage conditions summarized in Table 21: General
operating conditions.
90% 10%
50% 50%
10% 90%
t r(IO)out t f(IO)out
Maximum frequency is achieved with a duty cycle at (45 - 55%) when loaded by the
specified capacitance.
MS32132V4
External
reset circuit(1) VDD
RPU
NRST(2) Internal reset
Filter
0.1 μF
MS19878V3
The maximum value of RAIN can be found in Table 76: Maximum ADC RAIN.
2. The I/O analog switch voltage booster is enable when VDDA < 2.4 V (BOOSTEN = 1 in the SYSCFG_CFGR1 when
VDDA < 2.4V). It is disable when VDDA ≥ 2.4 V.
3. Fast channels are available by access pins: PC0, PC1, PC2, PC3, PA0, PA1.
4. Slow channels are: all ADC inputs except the fast channels.
ADC clock frequency ≤ Single Fast channel (max speed) - -74 -73
Total 80 MHz, ended Slow channel (max speed) - -74 -73
THD harmonic Sampling rate ≤ 5.33 Msps, dB
distortion VDDA = VREF+ = 3 V, Fast channel (max speed) - -79 -76
Differential
TA = 25 °C Slow channel (max speed) - -79 -76
1. Guaranteed by design.
2. ADC DC accuracy values are measured after internal calibration.
3. ADC accuracy vs. negative Injection Current: Injecting negative current on any analog input pins should be avoided as this
significantly reduces the accuracy of the conversion being performed on another analog input. It is recommended to add a
Schottky diode (pin to ground) to analog pins which may potentially inject negative current.
4. The above table gives the ADC performance in 12-bit mode.
5. The I/O analog switch voltage booster is enable when VDDA < 2.4 V (BOOSTEN = 1 in the SYSCFG_CFGR1 when
VDDA < 2.4 V). It is disable when VDDA ≥ 2.4 V. No oversampling.
ADC clock frequency ≤ Single Fast channel (max speed) - -69 -67
80 MHz, ended
Total Slow channel (max speed) - -71 -67
Sampling rate ≤ 5.33 Msps,
THD harmonic Fast channel (max speed) - -72 -71 dB
1.65 V ≤ VDDA = VREF+ ≤
distortion
3.6 V, Differential
Slow channel (max speed) - -72 -71
Voltage scaling Range 1
1. Guaranteed by design.
2. ADC DC accuracy values are measured after internal calibration.
3. ADC accuracy vs. negative Injection Current: Injecting negative current on any analog input pins should be avoided as this
significantly reduces the accuracy of the conversion being performed on another analog input. It is recommended to add a
Schottky diode (pin to ground) to analog pins which may potentially inject negative current.
4. The above table gives the ADC performance in 12-bit mode.
5. The I/O analog switch voltage booster is enable when VDDA < 2.4 V (BOOSTEN = 1 in the SYSCFG_CFGR1 when
VDDA < 2.4 V). It is disable when VDDA ≥ 2.4 V. No oversampling.
ADC clock frequency ≤ Single Fast channel (max speed) - -71 -69
Total 26 MHz, ended Slow channel (max speed) - -71 -69
THD harmonic 1.65 V ≤ VDDA = VREF+ ≤ dB
distortion 3.6 V, Fast channel (max speed) - -73 -72
Differential
Voltage scaling Range 2 Slow channel (max speed) - -73 -72
1. Guaranteed by design.
2. ADC DC accuracy values are measured after internal calibration.
3. ADC accuracy vs. negative Injection Current: Injecting negative current on any analog input pins should be avoided as this
significantly reduces the accuracy of the conversion being performed on another analog input. It is recommended to add a
Schottky diode (pin to ground) to analog pins which may potentially inject negative current.
4. The above table gives the ADC performance in 12-bit mode.
5. The I/O analog switch voltage booster is enable when VDDA < 2.4 V (BOOSTEN = 1 in the SYSCFG_CFGR1 when
VDDA < 2.4 V). It is disable when VDDA ≥ 2.4 V. No oversampling.
VREF+ VDDA
[1LSB = (or )]
Output code 2n 2n
EG
(1) Example of an actual transfer curve
2n-1 (2) Ideal transfer curve
2n-2 (3) End-point correlation line
2n-3 (2)
n = ADC resolution
ET = total unadjusted error: maximum deviation
(3) between the actual and ideal transfer curves
ET
7 (1) EO = offset error: maximum deviation between the first
actual transition and the first ideal one
6
EL EG = gain error: deviation between the last ideal
5 EO
transition and the last actual one
4 ED = differential linearity error: maximum deviation
ED between actual steps and the ideal one
3
2 EL = integral linearity error: maximum deviation between
1 any actual transition and the end point correlation line
1 LSB ideal
0 VREF+ (VDDA)
(1/2n)*VREF+
(2/2n)*VREF+
(3/2n)*VREF+
(4/2n)*VREF+
(5/2n)*VREF+
(6/2n)*VREF+
(7/2n)*VREF+
(2n-3/2n)*VREF+
(2n-2/2n)*VREF+
(2n-1/2n)*VREF+
(2n/2n)*VREF+
VSSA
MSv19880V6
Figure 35. Typical connection diagram when using the ADC with FT/TT pins
featuring analog switch function
VDDA(4) VREF+(4)
MSv67871V3
1. Refer to Table 75: ADC characteristics for the values of RAIN and CADC.
2. Cparasitic represents the capacitance of the PCB (dependent on soldering and PCB layout quality) plus the
pad capacitance (refer to Table 69: I/O static characteristics). A high Cparasitic value will downgrade
conversion accuracy. To remedy this, fADC should be reduced.
3. Refer to Table 69: I/O static characteristics for the values of Ilkg.
4. Refer to Figure 21: Power supply scheme.
Analog supply
VDDA - 1.8 - 3.6 V
voltage(2)
Common mode
CMIR - 0 - VDDA V
input range
Normal mode - 13 -
GM Gain margin dB
Low-power mode - 20 -
CLOAD ≤ 50 pf,
RLOAD ≥ 4 kΩ
Normal mode - 5 10
follower
Wake up time configuration
tWAKEUP µs
from OFF state. CLOAD ≤ 50 pf,
RLOAD ≥ 20 kΩ
Low-power mode - 10 30
follower
configuration
OPAMP input
Ibias General purpose input - - -(4) nA
bias current
- 2 -
Non inverting - 4 -
PGA gain(3) - -
gain value - 8 -
- 16 -
PGA Gain = 2 - 80/80 -
120/
R2/R1 internal PGA Gain = 4 - -
40
resistance
Rnetwork 140/ kΩ/kΩ
values in PGA PGA Gain = 8 - -
mode(5) 20
150/
PGA Gain = 16 - -
10
Resistance
Delta R variation (R1 or - -15 - 15 %
R2)
PGA gain error PGA gain error - -1 - 1 %
GBW/
Gain = 2 - - -
2
GBW/
PGA bandwidth Gain = 4 - -
4
-
PGA BW for different non MHz
inverting gain GBW/
Gain = 8 - - -
8
GBW/
Gain = 16 - - -
16
at 1 kHz, Output
Normal mode - 500 -
loaded with 4 kΩ
at 1 kHz, Output
Low-power mode - 600 -
Voltage noise loaded with 20 kΩ
en nV/√Hz
density at 10 kHz, Output
Normal mode - 180 -
loaded with 4 kΩ
at 10 kHz, Output
Low-power mode - 290 -
loaded with 20 kΩ
OPAMP Normal mode - 120 260
no Load, quiescent
IDDA(OPAMP)(3) consumption µA
Low-power mode mode - 45 100
from VDDA
1. Guaranteed by design, unless otherwise specified.
2. The temperature range is limited to 0 °C-125 °C when VDDA is below 2 V
3. Guaranteed by characterization results.
4. Mostly I/O leakage, when used in analog mode. Refer to Ilkg parameter in Table 69: I/O static characteristics.
5. R2 is the internal resistance between OPAMP output and OPAMP inverting input. R1 is the internal resistance between
OPAMP inverting input and ground. The PGA gain =1+R2/R1
Battery VBRS = 0 - 5 -
RBC charging kΩ
resistor VBRS = 1 - 1.5 -
- 1 - tTIMxCLK
tres(TIM) Timer resolution time
fTIMxCLK = 80 MHz 12.5 - ns
/4 0 0.125 512
/8 1 0.250 1024
/16 2 0.500 2048
/32 3 1.0 4096 ms
/64 4 2.0 8192
/128 5 4.0 16384
/256 6 or 7 8.0 32768
1. The exact timings still depend on the phasing of the APB interface clock versus the LSI clock so that there
is always a full RC period of uncertainty.
1 0 0.0512 3.2768
2 1 0.1024 6.5536
ms
4 2 0.2048 13.1072
8 3 0.4096 26.2144
SPI characteristics
Unless otherwise specified, the parameters given in Table 90 for SPI are derived from tests
performed under the ambient temperature, fPCLKx frequency and supply voltage conditions
summarized in Table 21: General operating conditions.
• Output speed is set to OSPEEDRy[1:0] = 11
• Capacitive load C = 30 pF
• Measurement points are done at CMOS levels: 0.5 ₓ VDD
Refer to Section 6.3.14: I/O port characteristics for more details on the input/output alternate
function characteristics (NSS, SCK, MOSI, MISO for SPI).
NSS input
tc(SCK) th(NSS)
CPOL=0
CPHA=0
CPOL=1
ta(SO) tw(SCKL) tv(SO) th(SO) tf(SCK) tdis(SO)
MISO output First bit OUT Next bits OUT Last bit OUT
th(SI)
tsu(SI)
MSv41658V1
tc(SCK)
CPOL=0
CPHA=1
CPOL=1
ta(SO) tw(SCKL) tv(SO) th(SO) tr(SCK) tdis(SO)
MISO output First bit OUT Next bits OUT Last bit OUT
tsu(SI) th(SI)
MSv41659V1
1. Measurement points are done at CMOS levels: 0.3 VDD and 0.7 VDD.
CPHA=0
CPOL=0
CPHA=0
CPOL=1
SCK Output
CPHA=1
CPOL=0
CPHA=1
CPOL=1
tw(SCKH) tr(SCK)
tsu(MI)
tw(SCKL) tf(SCK)
MISO
INPUT MSB IN BIT6 IN LSB IN
th(MI)
MOSI
MSB OUT BIT1 OUT LSB OUT
OUTPUT
tv(MO) th(MO)
ai14136d
1. Measurement points are done at CMOS levels: 0.3 VDD and 0.7 VDD.
Clock
tv(OUT) th(OUT)
Data output D0 D1 D2
ts(IN) th(IN)
Data input D0 D1 D2
MSv36878V1
Clock
tvf(OUT) thr(OUT) tvr(OUT) thf(OUT)
USB characteristics
The USB interface is fully compliant with the USB specification version 2.0 and is USB-IF
certified (for Full-speed device operation).
7 Package information
2 1
(2)
R1
H
R2
B
B-
N
O
TI
C
SE
B GAUGE PLANE
D 1/4
0.25
(6)
S
B
L
4x N/4 TIPS
E 1/4 3
(L1)
aaa C A-B D (1) (11)
bbb H A-B D 4x
SECTION A-A
(13) (N – 4)x e
C
A
0.05
A2 A1 (12)
b
ddd C A-B D ccc C
D (4)
(10)
D (3) b WITH PLATING
N (4)
A A SECTION B-B
(Section A-A)
Notes:
1. Dimensioning and tolerancing schemes conform to ASME Y14.5M-1994.
2. The Top package body size may be smaller than the bottom package size by as much
as 0.15 mm.
3. Datums A-B and D to be determined at datum plane H.
4. To be determined at seating datum plane C.
5. Dimensions D1 and E1 do not include mold flash or protrusions. Allowable mold flash
or protrusions is “0.25 mm” per side. D1 and E1 are Maximum plastic body size
dimensions including mold mismatch.
6. Details of pin 1 identifier are optional but must be located within the zone indicated.
7. All Dimensions are in millimeters.
8. No intrusion allowed inwards the leads.
9. Dimension “b” does not include dambar protrusion. Allowable dambar protrusion shall
not cause the lead width to exceed the maximum “b” dimension by more than 0.08 mm.
Dambar cannot be located on the lower radius or the foot. Minimum space between
protrusion and an adjacent lead is 0.07 mm for 0.4 mm and 0.5 mm pitch packages.
10. Exact shape of each corner is optional.
11. These dimensions apply to the flat section of the lead between 0.10 mm and 0.25 mm
from the lead tip.
12. A1 is defined as the distance from the seating plane to the lowest point on the package
body.
13. “N” is the number of terminal positions for the specified body size.
14. Values in inches are converted from mm and rounded to 4 decimal digits.
15. Drawing is not to scale.
48 33
0.30
49 0.5 32
12.70
10.30
10.30
64 17
1.20
1 16
7.80
12.70
5W_LQFP64_FP_V2
Device marking
The following figure shows the locations and orientation of the marking areas versus pin 1. It
also gives an example of topside marking.
The printed markings may differ depending on the supply chain.
Other optional marking or inset/upset marks, which identify the parts throughout supply
chain operations, are not indicated below.
Revision code
Product identification(1) A
STM32L412
RBT6
Y WW Date code
Pin 1 identifier
MS49693V1
1. Parts marked as ES or 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.
Figure 44. LQFP64 (external SMPS device) marking (package top view)
Revision code
Product identification(1) A
STM32L412
RBT6P
Y WW Date code
Pin 1 identifier
MS49694V1
1. Parts marked as ES or 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.
Z Seating plane
ddd Z
A4
A3 A2 A1 A
E1 A1 ball A1 ball X
identifier index area E
e F
A
F
D1 D
e
H Y
8 1
BOTTOM VIEW Øb (64 balls) TOP VIEW
Ø eee M Z Y X
Ø fff M Z A019_ME_V1
Dpad
Dsm
BGA_WLCSP_FT_V1
Table 96. UFBGA64 - 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 0.125 mm
Pad trace width 0.100 mm
Device marking
The following figure gives an example of topside marking orientation versus ball A1 identifier
location.
Y WW Date code
A
Pin 1 identifier
MS49695V1
1. Parts marked as ES or 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.
4x N/4 TIPS
aaa C A-B D
2 1
(2)
R1
H
R2
B
B-
D 1/4
N
O
(6)
TI
C
SE
B GAUGE PLANE
E 1/4
0.25
S
B
bbb H A-B D 4x
L
3
(13) (L1)
0.05 (N – 4)x e (1) (11)
A A2 C SECTION A-A
(12) ccc C
A1 ddd C A-B D
b
D (4)
(2) (5)
D1
(10) D (3) (9) (11)
N b WITH PLATING
1
2 E 1/4
(3) A 3
(6) B (3)
D 1/4 c c1
E1 E (11) (11)
(2) (4)
(5)
A A b1 BASE METAL
(Section A-A) (11)
SECTION B-B
TOP VIEW
5B_LQFP48_ME_V1
A - - 1.60 - - 0.0630
(12)
A1 0.05 - 0.15 0.0020 - 0.0059
A2 1.35 1.40 1.45 0.0531 0.0551 0.0571
(9)(11)
b 0.17 0.22 0.27 0.0067 0.0087 0.0106
(11)
b1 0.17 0.20 0.23 0.0067 0.0079 0.0090
c(11) 0.09 - 0.20 0.0035 - 0.0079
c1(11) 0.09 - 0.16 0.0035 - 0.0063
(4)
D 9.00 BSC 0.3543 BSC
D1(2)(5) 7.00 BSC 0.2756 BSC
(4)
E 9.00 BSC 0.3543 BSC
E1(2)(5) 7.00 BSC 0.2756 BSC
e 0.50 BSC 0.1970 BSC
L 0.45 0.60 0.75 0.0177 0.0236 0.0295
L1 1.00 REF 0.0394 REF
N(13) 48
θ 0° 3.5° 7° 0° 3.5° 7°
θ1 0° - - 0° - -
θ2 10° 12° 14° 10° 12° 14°
θ3 10° 12° 14° 10° 12° 14°
R1 0.08 - - 0.0031 - -
R2 0.08 - 0.20 0.0031 - 0.0079
S 0.20 - - 0.0079 - -
aaa(1)(7) 0.20 0.0079
(1)(7)
bbb 0.20 0.0079
(1)(7)
ccc 0.08 0.0031
ddd(1)(7) 0.08 0.0031
Notes:
1. Dimensioning and tolerancing schemes conform to ASME Y14.5M-1994.
2. The Top package body size may be smaller than the bottom package size by as much
as 0.15 mm.
3. Datums A-B and D to be determined at datum plane H.
4. To be determined at seating datum plane C.
5. Dimensions D1 and E1 do not include mold flash or protrusions. Allowable mold flash
or protrusions is “0.25 mm” per side. D1 and E1 are Maximum plastic body size
dimensions including mold mismatch.
6. Details of pin 1 identifier are optional but must be located within the zone indicated.
7. All Dimensions are in millimeters.
8. No intrusion allowed inwards the leads.
9. Dimension “b” does not include dambar protrusion. Allowable dambar protrusion shall
not cause the lead width to exceed the maximum “b” dimension by more than 0.08 mm.
Dambar cannot be located on the lower radius or the foot. Minimum space between
protrusion and an adjacent lead is 0.07 mm for 0.4 mm and 0.5 mm pitch packages.
10. Exact shape of each corner is optional.
11. These dimensions apply to the flat section of the lead between 0.10 mm and 0.25 mm
from the lead tip.
12. A1 is defined as the distance from the seating plane to the lowest point on the package
body.
13. “N” is the number of terminal positions for the specified body size.
14. Values in inches are converted from mm and rounded to 4 decimal digits.
15. Drawing is not to scale.
36 25
37 24 0.30
0.20
9.70 7.30
48 13
1 12
5.80
9.70
5B_LQFP48_FP_V1
Device marking
The following figure shows the locations and orientation of the marking areas versus pin 1. It
also gives an example of topside marking.
The printed markings may differ depending on the supply chain.
Other optional marking or inset/upset marks, which identify the parts throughout supply
chain operations, are not indicated below.
STM32L412
(1)
Product identification
CBT6
Y WW Date code
Pin 1 identifier
A Revision code
MS49696V1
1. Parts marked as ES or 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_UFQFPN48_ME_V3
7.30
6.20
48 37
1 36
0.20 5.60
7.30
5.80
6.20
5.60
0.30
12 25
13 24
0.50 0.75
0.55
5.80 A0B9_UFQFPN48_FP_V3
Device marking
The following figure gives an example of topside marking orientation versus ball A1 identifier
location.
The printed markings may differ depending on the supply chain.
Other optional marking or inset/upset marks, which identify the parts throughout supply
chain operations, are not indicated below.
STM32L412
(1)
Product identification
CBU6
Y WW Date code
Pin 1 identifier
A Revision code
MS49697V1
1. Parts marked as ES or 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.
F A1 ball location
A1
e1
G
A6 A5 A4 A3 A2 A1
B6 B5 B4 B3 B2 B1 DETAIL A
C6 C5 C4 C3 C2 C1
e2 E
D6 D5 D4 D3 D2 D1
E6 E5 E4 E3 E2 E1
e
F6 F5 F4 F3 F2 F1
e A
D
aaa A2
BOTTOM VIEW (4X) TOP VIEW SIDE VIEW
A3
BUMP
FRONT VIEW
eee Z
Z
b(36x)
ccc Z XY
ddd Z DETAIL A SEATING PLANE
ROTATED 90
B03P_WLCSP36_DIE464_ME_V1
Dpad
Dsm
BGA_WLCSP_FT_V1
Pitch 0.4 mm
Dpad 0,225 mm
Dsm 0.290 mm typ. (depends on soldermask registration tolerance)
Stencil opening 0.250 mm
Stencil thickness 0.100 mm
Device marking
The following figure gives an example of topside marking orientation versus ball 1 identifier
location.
The printed markings may differ depending on the supply chain.
Other optional marking or inset/upset marks, which identify the parts throughout supply
chain operations, are not indicated below.
Ball A1 identifier
A Revision code
Y WW Date code
MS51421V1
1. Parts marked as ES or 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
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
Device marking
The following figure gives an example of topside marking orientation versus pin 1 identifier
location.
Y WW A Revision code
Date code
Pin 1 identifier
MS49698V1
1. Parts marked as ES or 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.
BOTTOM VIEW
2 1
(2)
(6) R1
D 1/4 H
R2
B
B-
N
O
TI
E 1/4
C
SE
B GAUGE PLANE
4x N/4 TIPS
0.25
aaa C A-B D bbb H A-B D 4x S
N B
L
3
(L1)
(1) (11)
SECTION A-A
(N – 4)x e (13)
C
A
A2 A1 b ddd C A-B D
0.05 (12) ccc C
D (4)
(9) (11)
(2) (5)
b WITH PLATING
D1
D (3)
(10)
(11) c
1
c1(11)
2 E 1/4
(3) A B
3
D 1/4
E1 E b1 BASE METAL
(6) (2) (4) (11)
(3) (5)
A A SECTION B-B
(Section A-A)
A - - 1.60 - - 0.0630
(12)
A1 0.05 - 0.15 0.002 - 0.0059
A2 1.35 1.40 1.45 0.0531 0.0551 0.0571
(9)(11)
b 0.30 0.37 0.45 0.0118 0.0146 0.0177
(11)
b1 0.30 0.35 0.40 0.0118 0.0128 0.0157
(11)
c 0.09 - 0.20 0.0035 - 0.0079
c1(11) 0.09 - 0.16 0.0035 - 0.0063
(4)
D 9.00 BSC 0.3543 BSC
(2)(5)
D1 7.00 BSC 0.2756 BSC
E(4) 9.00 BSC 0.3543 BSC
E1(2)(5) 7.00 BSC 0.2756 BSC
e 0.80 BSC 0.0315 BSC
L 0.45 0.60 0.75 0.0177 0.0236 0.0295
L1 1.00 REF 0.0394 REF
N(13) 32
θ 0° 3.5° 7° 0° 3.5° 7°
θ1 0° - - 0° - -
θ2 11° 12° 13° 11° 12° 13°
θ3 11° 12° 13° 11° 12° 13°
R1 0.08 - - 0.0031 - -
R2 0.08 - 0.20 0.0031 - 0.0079
S 0.20 - - 0.0079 - -
aaa(1)(7) 0.20 0.0079
bbb(1)(7) 0.20 0.0079
(1)(7)
ccc 0.10 0.0039
(1)(7)
ddd 0.20 0.0079
Notes:
1. Dimensioning and tolerancing schemes conform to ASME Y14.5M-1994.
2. The Top package body size may be smaller than the bottom package size by as much
as 0.15 mm.
3. Datums A-B and D to be determined at datum plane H.
4. To be determined at seating datum plane C.
5. Dimensions D1 and E1 do not include mold flash or protrusions. Allowable mold flash
or protrusions is “0.25 mm” per side. D1 and E1 are Maximum plastic body size
dimensions including mold mismatch.
6. Details of pin 1 identifier are optional but must be located within the zone indicated.
7. All Dimensions are in millimeters.
8. No intrusion allowed inwards the leads.
9. Dimension “b” does not include dambar protrusion. Allowable dambar protrusion shall
not cause the lead width to exceed the maximum “b” dimension by more than 0.08 mm.
Dambar cannot be located on the lower radius or the foot. Minimum space between
protrusion and an adjacent lead is 0.07 mm for 0.4 mm and 0.5 mm pitch packages.
10. Exact shape of each corner is optional.
11. These dimensions apply to the flat section of the lead between 0.10 mm and 0.25 mm
from the lead tip.
12. A1 is defined as the distance from the seating plane to the lowest point on the package
body.
13. “N” is the number of terminal positions for the specified body size.
14. Values in inches are converted from mm and rounded to 4 decimal digits.
15. Drawing is not to scale.
24 17
25 16 0.50
0.30
9.70
7.30
32 9
1 8
1.20
6.10
9.70
5V_LQFP32_FP_V3
Device marking
The following figure shows the locations and orientation of the marking areas versus pin 1. It
also gives an example of topside marking.
The printed markings may differ depending on the supply chain.
Other optional marking or inset/upset marks, which identify the parts throughout supply
chain operations, are not indicated below.
670/
3URGXFWLGHQWLILFDWLRQ
.%7
< :: 'DWHFRGH
3LQLGHQWLILHU
$ 5HYLVLRQFRGH
069
1. Parts marked as ES or 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.
8 Ordering information
Product type
L = ultra-low-power
Device subfamily
412 = STM32L412xx
Pin count
K = 32 pins
T = 36 pins
C = 48 pins
R = 64 pins
Package
T = LQFP ECOPACK2
U = QFN ECOPACK2
I = UFBGA ECOPACK2
Y = CSP ECOPACK2
Temperature range
6 = Industrial temperature range, -40 to 85 °C (105 °C junction)
3 = Industrial temperature range, -40 to 125 °C (130 °C junction)
Option
Blank = Standard production with integrated LDO
P = Dedicated pinout supporting external SMPS
Packing
TR = tape and reel
xxx = programmed parts
For a list of available options (such as speed, package) or for further information on any
aspect of this device contact the nearest ST sales office.
The STMicroelectronics group of companies (ST) places a high value on product security,
which is why the ST product(s) identified in this documentation may be certified by various
security certification bodies and/or may implement our own security measures as set forth
herein. However, no level of security certification and/or built-in security measures can
guarantee that ST products are resistant to all forms of attacks. As such, it is the
responsibility of each of ST's customers to determine if the level of security provided in an
ST product meets the customer needs both in relation to the ST product alone, as well as
when combined with other components and/or software for the customer end product or
application. In particular, take note that:
• ST products may have been certified by one or more security certification bodies, such
as Platform Security Architecture (www.psacertified.org) and/or Security Evaluation
standard for IoT Platforms (www.trustcb.com). For details concerning whether the ST
product(s) referenced herein have received security certification along with the level
and current status of such certification, either visit the relevant certification standards
website or go to the relevant product page on www.st.com for the most up to date
information. As the status and/or level of security certification for an ST product can
change from time to time, customers should re-check security certification status/level
as needed. If an ST product is not shown to be certified under a particular security
standard, customers should not assume it is certified.
• Certification bodies have the right to evaluate, grant and revoke security certification in
relation to ST products. These certification bodies are therefore independently
responsible for granting or revoking security certification for an ST product, and ST
does not take any responsibility for mistakes, evaluations, assessments, testing, or
other activity carried out by the certification body with respect to any ST product.
• Industry-based cryptographic algorithms (such as AES, DES, or MD5) and other open
standard technologies which may be used in conjunction with an ST product are based
on standards which were not developed by ST. ST does not take responsibility for any
flaws in such cryptographic algorithms or open technologies or for any methods which
have been or may be developed to bypass, decrypt or crack such algorithms or
technologies.
• While robust security testing may be done, no level of certification can absolutely
guarantee protections against all attacks, including, for example, against advanced
attacks which have not been tested for, against new or unidentified forms of attack, or
against any form of attack when using an ST product outside of its specification or
intended use, or in conjunction with other components or software which are used by
customer to create their end product or application. ST is not responsible for resistance
against such attacks. As such, regardless of the incorporated security features and/or
any information or support that may be provided by ST, each customer is solely
responsible for determining if the level of attacks tested for meets their needs, both in
relation to the ST product alone and when incorporated into a customer end product or
application.
• All security features of ST products (inclusive of any hardware, software,
documentation, and the like), including but not limited to any enhanced security
features added by ST, are provided on an "AS IS" BASIS. AS SUCH, TO THE EXTENT
PERMITTED BY APPLICABLE LAW, ST DISCLAIMS ALL WARRANTIES, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, unless the
applicable written and signed contract terms specifically provide otherwise.
10 Revision history
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and
improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on
ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order
acknowledgment.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or
the design of purchasers’ products.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. For additional information about ST trademarks, refer to www.st.com/trademarks. All other product
or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.