component
STM32L031F6P6
Public Unreviewedby Ray
STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Datasheet-verified pinout, KiCad symbol/footprint/3D.
3D Model
Open in new tab ↗
Loads on click. Unloads when scrolled away or the tab is hidden.
Symbol & Footprint
Schematic Symbol
Open full view ↗Loads on click. Unloads when scrolled away or the tab is hidden.
PCB Footprint
Open full view ↗Loads on click. Unloads when scrolled away or the tab is hidden.
Datasheet
Open in new tab ↗Loads on click. Unloads when scrolled away or the tab is hidden.
README
markdownSTM32L031F6P6
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.
STM32L031F6P6STM32L031F6P6F4P6STM32L031F6P6G6U6STM32L031F6P6G4U6STM32L031F6P6G6UxSSTM32L031F6P6K6U6STM32L031F6P6K4U6STM32L031F6P6K6T6STM32L031F6P6K4T6STM32L031F6P6C6T6STM32L031F6P6C4T6STM32L031F6P6E6Y6STM32L031F6P6E4Y6
CAD (KiCad official)
- Symbol:
STM32L031F6P6 - Footprint:
Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm - 3D model: TSSOP-20 (KiCad packages3D, STEP)
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).