main
History Download
Ray Initial commit: component/stm32l031f6p7 f50bc96 12d ago

STM32L031F6P7

STMicroelectronics · Microcontrollers (MCU/MPU/SOC) · TSSOP-20

STM32L031F6P7 from STMicroelectronics, in a TSSOP-20. Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.

Pinout

Pin Name Type Function
1 BOOT0 input Bootstrap pin to select boot mode (Flash memory, System memory, or embedded RAM) during device startup
2 PC14-OSC32_IN bidirectional 32.768 kHz oscillator input pin for low-speed external crystal or general-purpose I/O pin configured as standard CMOS level
3 PC15-OSC32_OUT bidirectional 32.768 kHz oscillator output pin for low-speed external crystal or general-purpose I/O pin configured as standard CMOS level
4 NRST bidirectional External reset input pin with embedded weak pull-up resistor (25 to 65 kΩ) for device reset control
5 VDDA power_in Analog power supply voltage (1.65 to 3.6 V) for ADC, reset blocks, RCs and PLL
6 PA0-CK_IN bidirectional General-purpose I/O port A pin 0, LPTIM input, timer channels, USART/LPUART signals, comparator output, or high-speed external clock input
7 PA1 bidirectional General-purpose I/O port A pin 1 (5V tolerant), supports LPTIM, timer channels, I2C, USART, and event output functions
8 PA2 bidirectional General-purpose I/O port A pin 2 (standard 3.3V I/O), supports timer channels, USART, LPUART, and comparator output functions
9 PA3 bidirectional General-purpose I/O port A pin 3 (5V tolerant), supports timer channels, USART, and LPUART functions
10 PA4 bidirectional General-purpose I/O port A pin 4 (standard 3.3V I/O), supports SPI, LPTIM, USART, timer, and comparator input functions
11 PA5 bidirectional General-purpose I/O port A pin 5 (standard 3.3V I/O), supports SPI, LPTIM, and timer functions
12 PA6 bidirectional General-purpose I/O port A pin 6 (5V tolerant), supports SPI, LPTIM, timer, event output, and comparator output functions
13 PA7 bidirectional General-purpose I/O port A pin 7 (5V tolerant), supports SPI, LPTIM, timer, event output, and comparator output functions
14 PB1 bidirectional General-purpose I/O port B pin 1 (5V tolerant), supports USART clock, SPI, and LPUART functions
15 VSS power_out Ground supply connection (0 V reference) for device
16 VDD power_in Main power supply voltage (1.65 to 3.6 V) for I/Os and internal regulator
17 PA9 bidirectional General-purpose I/O port A pin 9 (5V tolerant with FM+ Fast Mode Plus capability), supports I2C, USART, and timer functions
18 PA10 bidirectional General-purpose I/O port A pin 10 (5V tolerant with FM+ Fast Mode Plus capability), supports I2C, USART, and timer functions
19 PA13 bidirectional General-purpose I/O port A pin 13 (5V tolerant), serial wire debug I/O (SWDIO), supports LPTIM and LPUART functions
20 PA14 bidirectional General-purpose I/O port A pin 14 (5V tolerant), serial wire debug clock (SWCLK), supports I2C, USART, LPTIM, and LPUART functions

Key specifications

Parameter Value
Manufacturer STMicroelectronics
Package TSSOP-20
Category Embedded Processors & Controllers
Pins 20

CAD (KiCad official)

  • Symbol: STM32L031F6P7
  • Footprint: Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm
  • 3D model: TSSOP-20 (KiCad packages3D, STEP)
  • 3D model files: stm32l031f6p7-etched.step / stm32l031f6p7-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); stm32l031f6p7.step / stm32l031f6p7.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-09-23, tier: manufacturer)
  • Extractor: parts-factory 2.0.0 / extract_pins 0.2, primary claude-haiku-4-5-20251001 (text), consensus claude-sonnet-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