Opens in a new tab

STM32L412KBU6

Cortex-M4 80MHz, 128KB Flash, USB FS, TSC, AES, UFQFPN-32

6152

Effective Inventory

Image for reference only

Manufacturer Part:

STM32L412KBU6

Package:

UFQFPN-32 (5.0 x 5.0 x 0.55 mm, 0.5mm pitch, U package)

Brand:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Description

Product Overview

The STM32L412KBU6 from STMicroelectronics is an ultra-low-power 32-bit MCU with ARM Cortex-M4 core at 80MHz, 128KB Flash, 40KB RAM, and USB 2.0 FS device in a 32-pin UFQFPN package.

Key Specifications

Core ARM Cortex-M4 with FPU
Max CPU Frequency 80 MHz
Flash Memory 128 KB
SRAM 40 KB (32KB + 8KB SRAM2)
Supply Voltage 1.71V to 3.6V
USB USB 2.0 Full-Speed Device (12Mbps)
ADC 12-bit, 5.33 MSPS, 10 channels
DAC 2 x 12-bit
Timers 1x advanced, 6x GP, 2x LPTIM, 2x WDG, SysTick
Communication 3x USART, 2x SPI, 3x I2C
Touch Sensing TSC (touch sense controller, up to 15 capsense)
Package UFQFPN-32 (5x5mm, 0.5mm pitch)
Operating Temperature -40 to +85 C

Features

  • Ultra-low-power with 33uA/MHz Run mode
  • USB 2.0 FS device with crystal-less BCD
  • Touch sense controller for capacitive buttons
  • 12-bit 5.33 MSPS ADC with hardware oversampling
  • 2x 12-bit DAC
  • AES-256 hardware encryption
  • Low-power modes: Stop 0/1/2 (7-650uA), Standby (28nA)

Applications

  • USB peripherals and human interface devices
  • Low-power sensor nodes with USB connectivity
  • Capacitive touch user interfaces
  • Portable medical and consumer devices
Product Introduction: STM32L412KBU6 Product Introduction

The STM32L412KBU6 from STMicroelectronics is an ultra-low-power 32-bit microcontroller from the STM32L4 series, based on the ARM Cortex-M4 core with floating-point unit (FPU) operating at up to 80MHz. With 128KB Flash and 40KB SRAM (32KB SRAM1 + 8KB SRAM2 with parity), the device provides sufficient code and data space for USB-connected embedded applications. The integrated USB 2.0 Full-Speed device controller with embedded full-speed PHY supports 12Mbps USB communication without an external crystal, using the internal 48MHz RC oscillator with USB clock recovery. The touch sensing controller (TSC) supports up to 15 capacitive sense channels, enabling button, slider, and wheel user interfaces without external touch ICs. The 12-bit ADC with 5.33 MSPS conversion rate and hardware oversampling (up to 16x for effective 16-bit resolution) provides high-accuracy analog measurement. Two 12-bit DAC channels enable analog output generation. The AES-256 hardware encryption engine provides secure data storage and communication. The ultra-low-power consumption of 33uA/MHz in Run mode, combined with multiple low-power modes (Stop modes from 7uA to 650uA, Standby at 28nA), extends battery life in portable applications. The STM32L412 is part of ST’s ‘L4+’ value line, offering the best price/performance ratio in the L4 ultra-low-power family.

Working Principle: STM32L412KBU6 Working Principle

The STM32L412KBU6 operates as a 32-bit ultra-low-power microcontroller based on the ARM Cortex-M4F core. Key subsystems include: (1) Cortex-M4F Core – a 3-stage pipeline 32-bit RISC processor with single-precision floating-point unit (FPU) and DSP instructions; the FPU accelerates floating-point calculations for sensor processing and digital filtering; the Nested Vectored Interrupt Controller (NVIC) supports 81 interrupt channels with 16 priority levels; (2) Adaptive Clocking – multiple clock sources: 16MHz HSI, 48MHz HSI48 (USB), 4-48MHz HSE (external), 32kHz LSE/LSE; the main PLL generates up to 80MHz system clock; clock gating disables unused peripheral clocks to save power; (3) USB Device – a USB 2.0 Full-Speed device controller with integrated PHY and 512-byte packet buffer; the HSI48 RC oscillator with USB clock recovery (CRS) provides a USB-compliant 48MHz clock without an external crystal; battery charging detection (BCD) identifies the type of USB charger attached; (4) Touch Sensing Controller (TSC) – uses a charge-transfer principle to measure capacitance; a capacitor is charged through the touch electrode and the discharge time is measured; when a finger touches the electrode, the additional capacitance increases the discharge time, detecting the touch; (5) Low-Power Modes – Sleep mode (CPU stopped, peripherals running), Stop modes (CPU and most clocks stopped, RAM retained, various wake-up sources), Standby mode (only RTC and backup registers powered, 28nA); the transition between modes is managed by the PWR peripheral.

Pin Description: STM32L412KBU6 Pin Definition and Functions
Pin Group Count Function
VDD/VSS 2 pairs Power and ground
VBAT 1 Battery backup for RTC
NRST 1 Reset (active low)
BOOT0 1 Boot mode selection
SWDIO/SWCLK 2 Serial Wire Debug
USB DM/DP 2 USB data lines
GPIO/AF 23 General I/O with alternate functions (TSC, ADC, SPI, I2C, USART)
Application Scenarios: In which products and applications is STM32L412KBU6 used
  • USB HID: custom keyboard/mouse with capacitive touch buttons and 128KB for USB descriptors and firmware
  • USB sensor: 12-bit ADC reads sensor, USB sends data to PC, TSC for user controls, all at 33uA/MHz
  • Portable medical: glucose meter with 12-bit ADC, USB data download, 40KB SRAM for signal processing
  • Smart lock: capacitive touch keypad, USB for configuration, AES-256 for secure credential storage
Alternative Models: What chips are recommended as replacements for STM32L412KBU6
Manufacturer Part Number Package Notes
ST STM32L422KBU6 UFQFPN-32 256KB Flash, same family
ST STM32L432KCU6 UFQFPN-32 256KB Flash, USB, higher-end
Microchip SAMD21G18A-MUT QFN-48 Cortex-M0+, USB, 256KB
Silicon Labs EFM32GG11B840F2048GQ64 QFN-64 Cortex-M4, USB, low power

Recommend Parts

TMP275AIDR

0.5C I2C temp sensor, 12-bit, 2.7-5.5V, alert output, 8-SOIC

Brand: TI

Package: 8-SOIC (4.90 x 3.91 x 1.50 mm)

IN STOCK: 3681pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IL485E

NVE IL485E IsoLoop isolated RS-485 transceiver, 2.5kVrms isolation, 35Mbps, 16-SOIC WB

Brand: nve

Package: SOIC-16 WB

IN STOCK: 5280pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRFS4227TRLPBF

IRFS4227TRLPBF – 200V N-Channel HEXFET PDP Switch Power MOSFET, 26 mΩ RDS(on), D2PAK (TO-263)

Brand: infineon

Package: D2PAK (TO-263)

IN STOCK: 4334pcs

Cargo cycle: 3-7 Days

The minimum order is 1

CD4070BM96

Quad 2-input XOR gate, 3-18V CMOS, 65ns at 10V, SOIC-14

Brand: TI

Package: SOIC-14 (8.75 x 3.9 x 1.5mm)

IN STOCK: 4245pcs

Cargo cycle: 3-7 Days

The minimum order is 1

AB1526

Bluetooth 5.0 Dual Mode Audio SoC, TWS, AAC, Dual-mic ENC, Integrated Charger, BGA

Brand: airoha

Package: BGA

IN STOCK: 25000pcs

Cargo cycle: 3-7 Days

The minimum order is 1

LP2980IM5-5.0

50mA micropower ultra-low-dropout regulator, 5V, SOT-23-5

Brand: TI

Package: SOT-23-5 (2.9 x 1.6 x 1.1 mm)

IN STOCK: 2557pcs

Cargo cycle: 3-7 Days

The minimum order is 1