main
History Download
Ray Publish 0.1.0 6ad69b2

STM32L031K6U7

STMicroelectronics · Microcontrollers (MCU/MPU/SOC) · UFQFPN-32(5x5)

STM32L031K6U7 from STMicroelectronics, in a UFQFPN-32(5x5). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model, then checked against ST open pin data); symbol, footprint, and 3D from KiCad-official CAD.

Pinout

Pin Name Type Function
1 VDD power_in Power supply pin; the device operates from a 1.65 V to 3.6 V supply.
2 PC14-OSC32_IN bidirectional Standard 3.3 V I/O (TC) that also serves as the 32 kHz oscillator input OSC32_IN.
3 PC15-OSC32_OUT bidirectional Standard 3.3 V I/O (TC) that also serves as the 32 kHz oscillator output OSC32_OUT.
4 NRST bidirectional Bidirectional reset pin with embedded weak pull-up resistor.
5 VDDA power_in Analog supply pin (VDDA).
6 PA0-CK_IN bidirectional Standard 3.3 V I/O (TC) with alternate functions including LPTIM1_IN1, TIM2_CH1, USART2_CTS, COMP1_OUT and additional function ADC_IN0.
7 PA1 bidirectional 5 V tolerant I/O (FT) with alternate functions including EVENTOUT, LPTIM1_IN2, TIM2_CH2, USART2_RTS/USART2_DE and additional function ADC_IN1.
8 PA2 bidirectional Standard 3.3 V I/O (TC) with alternate functions including TIM21_CH1, TIM2_CH3, USART2_TX, LPUART1_TX, COMP2_OUT and additional function ADC_IN2.
9 PA3 bidirectional 5 V tolerant I/O (FT) with alternate functions including TIM21_CH2, TIM2_CH4, USART2_RX, LPUART1_RX and additional function ADC_IN3.
10 PA4 bidirectional Standard 3.3 V I/O (TC) with alternate functions including SPI1_NSS, LPTIM1_IN1, USART2_CK, TIM22_ETR and additional function ADC_IN4.
11 PA5 bidirectional Standard 3.3 V I/O (TC) with alternate functions including SPI1_SCK, LPTIM1_IN2, TIM2_ETR, TIM2_CH1 and additional function ADC_IN5.
12 PA6 bidirectional 5 V tolerant I/O (FT) with alternate functions including SPI1_MISO, LPTIM1_ETR, LPUART1_CTS, TIM22_CH1, EVENTOUT, COMP1_OUT and additional function ADC_IN6.
13 PA7 bidirectional 5 V tolerant I/O (FT) with alternate functions including SPI1_MOSI, LPTIM1_OUT, USART2_CTS, TIM22_CH2, EVENTOUT, COMP2_OUT and additional function ADC_IN7.
14 PB0 bidirectional 5 V tolerant I/O (FT) with alternate functions including EVENTOUT, SPI1_MISO, USART2_RTS/USART2_DE, TIM2_CH3 and additional functions ADC_IN8 and VREF_OUT.
15 PB1 bidirectional 5 V tolerant I/O (FT) with alternate functions including USART2_CK, SPI1_MOSI, LPUART1_RTS/LPUART1_DE, TIM2_CH4 and additional functions ADC_IN9 and VREF_OUT.
16 PB2 bidirectional 5 V tolerant I/O (FT) with alternate function LPTIM1_OUT.
17 VDD power_in Power supply pin; the device operates from a 1.65 V to 3.6 V supply.
18 PA8 bidirectional 5 V tolerant I/O (FT) with alternate functions including MCO, LPTIM1_IN1, EVENTOUT, USART2_CK and TIM2_CH1.
19 PA9 bidirectional 5 V tolerant, Fast-mode Plus capable I/O (FTf) with alternate functions including MCO, I2C1_SCL, USART2_TX and TIM22_CH1.
20 PA10 bidirectional 5 V tolerant, Fast-mode Plus capable I/O (FTf) with alternate functions including I2C1_SDA, USART2_RX and TIM22_CH2.
21 PA11 bidirectional 5 V tolerant I/O (FT) with alternate functions including SPI1_MISO, EVENTOUT, USART2_CTS, TIM21_CH2 and COMP1_OUT.
22 PA12 bidirectional 5 V tolerant I/O (FT) with alternate functions including SPI1_MOSI, EVENTOUT, USART2_RTS/USART2_DE and COMP2_OUT.
23 PA13 bidirectional 5 V tolerant I/O (FT) with alternate functions including SWDIO, LPTIM1_ETR and LPUART1_RX.
24 PA14 bidirectional 5 V tolerant I/O (FT) with alternate functions including SWCLK, LPTIM1_OUT, I2C1_SMBA, USART2_TX and LPUART1_TX.
25 PA15 bidirectional 5 V tolerant I/O (FT) with alternate functions including SPI1_NSS, TIM2_ETR, EVENTOUT, USART2_RX and TIM2_CH1.
26 PB3 bidirectional 5 V tolerant I/O (FT) with alternate functions including SPI1_SCK, TIM2_CH2, EVENTOUT and COMP2_INN.
27 PB4 bidirectional 5 V tolerant I/O (FT) with alternate functions including SPI1_MISO, EVENTOUT, TIM22_CH1 and COMP2_INP.
28 PB5 bidirectional 5 V tolerant I/O (FT) with alternate functions including SPI1_MOSI, LPTIM1_IN1, I2C1_SMBA, TIM22_CH2 and COMP2_INP.
29 PB6 bidirectional 5 V tolerant, Fast-mode Plus capable I/O (FTf) with alternate functions including USART2_TX, I2C1_SCL, LPTIM1_ETR, TIM21_CH1 and COMP2_INP.
30 PB7 bidirectional 5 V tolerant, Fast-mode Plus capable I/O (FTf) with alternate functions including USART2_RX, I2C1_SDA, LPTIM1_IN2, COMP2_INP and VREF_PVD_IN.
31 BOOT0 input Dedicated BOOT0 input pin.
32 PB8 bidirectional 5 V tolerant, Fast-mode Plus capable I/O (FTf) with alternate function I2C1_SCL.
33 EP passive Exposed pad (from the footprint; not named in the datasheet pin table).

Key specifications

Parameter Value
Manufacturer STMicroelectronics
Package UFQFPN-32(5x5)
Category Embedded Processors & Controllers
Pins 33

CAD (KiCad official)

  • Symbol: STM32L031K6U7
  • Footprint: Package_DFN_QFN:UFQFPN-32-1EP_5x5mm_P0.5mm_EP3.5x3.5mm
  • 3D model: UFQFPN-32(5x5) (KiCad packages3D, STEP)
  • 3D model files: stm32l031k6u7-etched.step / stm32l031k6u7-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); stm32l031k6u7.step / stm32l031k6u7.glb are the bare package body.

Provenance

Data extracted from the manufacturer datasheet, not a distributor listing:

  • Datasheet: STMicroelectronics datasheet (126 pp, sha256 9726c48418e03f62, retrieved 2026-11-06, tier: manufacturer)
  • Extractor: parts-factory 2.0.0 / extract_pins 0.3, primary claude-haiku-5-5 (text), consensus claude-sonnet-5-5 (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.
  • CAD: KiCad official libraries (CC-BY-SA 4.0).

Datasheet PDF