main
Download ZIP Propose a change
Generated by kicad-footprint-generator · KiCad file format 20260206
Name Last commit message Last updated
docs stm32l031f6p6: re-etch, flat white mark read from pin 1 (service-occt 1.4.0) + chip hero · Ray
viewers stm32l031f6p6: viewers · Ray
package.json Publish 0.1.1 · Ray
page.json Publish 0.1.1 · Ray
README.md stm32l031f6p6: laser-etched CAD + chip hero (factory 2.0.0 backfill) · Ray
stm32l031f6p6-etched.fit.json stm32l031f6p6: re-etch, flat white mark read from pin 1 (service-occt 1.4.0) + chip hero · Ray
stm32l031f6p6-etched.glb stm32l031f6p6: re-etch, flat white mark read from pin 1 (service-occt 1.4.0) + chip hero · Ray
stm32l031f6p6-etched.step stm32l031f6p6: re-etch, flat white mark read from pin 1 (service-occt 1.4.0) + chip hero · Ray
stm32l031f6p6-hero.glb stm32l031f6p6: hero from the plain model · Ray
stm32l031f6p6-hero.overlay.json stm32l031f6p6: hero from the plain model · Ray
stm32l031f6p6.glb Publish 0.1.0 · Ray
stm32l031f6p6.kicad_mod Publish 0.1.0 · Ray
stm32l031f6p6.kicad_sym Publish 0.1.0 · Ray
stm32l031f6p6.lbr Publish 0.1.0 · Ray
stm32l031f6p6.step Publish 0.1.0 · Ray

STM32L031F6P6

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

STM32L031F6P6 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 Boot mode selection input. Sampled at reset to choose between boot from Flash, System memory or embedded SRAM. Dedicated BOOT0 pin (I/O structure 'B').
2 PC14-OSC32_IN bidirectional General-purpose I/O PC14 shared with the 32.768 kHz LSE crystal oscillator input (OSC32_IN). Standard 3.3 V TC I/O.
3 PC15-OSC32_OUT bidirectional General-purpose I/O PC15 shared with the 32.768 kHz LSE crystal oscillator output (OSC32_OUT). Standard 3.3 V TC I/O.
4 NRST bidirectional Active-low bidirectional device reset with an internal weak pull-up resistor. Drive low to reset the MCU; can also be driven low by internal reset sources.
5 VDDA power_in Analog power supply for the ADC, comparators, reset block, PLL and internal voltage references. 1.65 V to 3.6 V (BOR-disabled option) or 1.8 V to 3.6 V (BOR enabled). Must be tied to VDD in this 20-pin package (VSSA not exposed; internally bonded to VSS).
6 PA0-CK_IN bidirectional PA0 GPIO with alternate functions LPTIM1_IN1, TIM2_CH1, USART2_CTS, TIM2_ETR and COMP1_OUT. Additional functions COMP1_INM6, ADC_IN0 and RTC_TAMP2/WKUP1. Also usable as external clock input CK_IN.
7 PA1 bidirectional PA1 GPIO. Alternate functions EVENTOUT, LPTIM1_IN2, TIM2_CH2, I2C1_SMBA, USART2_RTS, TIM21_ETR. Additional functions COMP1_INP and ADC_IN1. 5 V tolerant (FT).
8 PA2 bidirectional PA2 GPIO. Alternate functions TIM21_CH1, TIM2_CH3, USART2_TX, LPUART1_TX, COMP2_OUT. Additional functions COMP2_INM6, ADC_IN2, RTC_TAMP3/RTC_TS/RTC_OUT/WKUP3.
9 PA3 bidirectional PA3 GPIO. Alternate functions TIM21_CH2, TIM2_CH4, USART2_RX, LPUART1_RX. Additional functions COMP2_INP and ADC_IN3. 5 V tolerant (FT).
10 PA4 bidirectional PA4 GPIO. Alternate functions SPI1_NSS, LPTIM1_IN1, USART2_CK, TIM22_ETR. Additional functions COMP1_INM4, COMP2_INM4 and ADC_IN4. Standard 3.3 V TC I/O.
11 PA5 bidirectional PA5 GPIO. Alternate functions SPI1_SCK, LPTIM1_IN2, TIM2_ETR, TIM2_CH1. Additional functions COMP1_INM5, COMP2_INM5, ADC_IN5. Standard 3.3 V TC I/O.
12 PA6 bidirectional PA6 GPIO. Alternate functions SPI1_MISO, LPTIM1_ETR, LPUART1_CTS, TIM22_CH1, EVENTOUT, COMP1_OUT. Additional function ADC_IN6. 5 V tolerant (FT).
13 PA7 bidirectional PA7 GPIO. Alternate functions SPI1_MOSI, LPTIM1_OUT, USART2_CTS, TIM22_CH2, EVENTOUT, COMP2_OUT. Additional function ADC_IN7. 5 V tolerant (FT).
14 PB1 bidirectional PB1 GPIO. Alternate functions USART2_CK, SPI1_MOSI, LPUART1_RTS, TIM2_CH4. Additional functions ADC_IN9 and VREF_OUT. 5 V tolerant (FT).
15 VSS power_in Device ground reference for both digital and analog domains (VSSA is bonded to VSS in this package). Tie to 0 V through a low-impedance return.
16 VDD power_in Main digital power supply, 1.65 V to 3.6 V (BOR-disabled option) or 1.8 V to 3.6 V (BOR enabled). Decouple with 100 nF ceramic per VDD pin plus one bulk 4.7 uF near the device.
17 PA9 bidirectional PA9 GPIO with 5 V-tolerant Fm+ capable structure (FTf). Alternate functions MCO, I2C1_SCL, USART2_TX, TIM22_CH1.
18 PA10 bidirectional PA10 GPIO with 5 V-tolerant Fm+ capable structure (FTf). Alternate functions I2C1_SDA, USART2_RX, TIM22_CH2.
19 PA13 bidirectional PA13 GPIO. Default function after reset is SWDIO for the Serial Wire Debug port. Alternate functions LPTIM1_ETR and LPUART1_RX. 5 V tolerant (FT).
20 PA14 bidirectional PA14 GPIO. Default function after reset is SWCLK for the Serial Wire Debug port. Alternate functions LPTIM1_OUT, I2C1_SMBA, USART2_TX, LPUART1_TX. 5 V tolerant (FT).

Key specifications

Parameter Value
Manufacturer STMicroelectronics
Package TSSOP-20
Category MCU
Pins 20

Ordering variants

Same part, different packaging or reel option.

  • STM32L031F6P6
  • STM32L031F6P6F4P6
  • STM32L031F6P6G6U6
  • STM32L031F6P6G4U6
  • STM32L031F6P6G6UxS
  • STM32L031F6P6K6U6
  • STM32L031F6P6K4U6
  • STM32L031F6P6K6T6
  • STM32L031F6P6K4T6
  • STM32L031F6P6C6T6
  • STM32L031F6P6C4T6
  • STM32L031F6P6E6Y6
  • STM32L031F6P6E4Y6

CAD (KiCad official)

  • Symbol: STM32L031F6P6
  • Footprint: Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm
  • 3D model: TSSOP-20 (KiCad packages3D, STEP)
  • 3D model files: stm32l031f6p6-etched.step / stm32l031f6p6-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); stm32l031f6p6.step / stm32l031f6p6.glb are the bare package body.

Provenance

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

  • Datasheet: STMicroelectronics datasheet (118 pp, sha256 dfdbba3a554ab2da, retrieved 2026-08-17, tier: manufacturer)
  • Extractor: ds2sf (Claude). Every pin and dimension is cited to a datasheet page; it refuses to fabricate.
  • CAD: KiCad official libraries (CC-BY-SA 4.0).

Datasheet PDF