component
stm32l031k6t6
Public Unreviewedby Ray
STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). 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.
README
markdownSTM32L031K6T6
STMicroelectronics · Microcontrollers (MCU/MPU/SOC) · LQFP-32(7x7)
STM32L031K6T6 from STMicroelectronics, in a LQFP-32(7x7). 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 | VDD | power_in | Digital core power supply, 1.65 V to 3.6 V. Must be decoupled with a 100 nF ceramic near the pin, and one bulk 4.7 uF for the package. |
| 2 | PC14-OSC32_IN | bidirectional | GPIO PC14 muxed with LSE (32.768 kHz) crystal oscillator input OSC32_IN. Configured as OSC32_IN by RCC when LSE is enabled; otherwise usable as PC14 (standard 3.3 V I/O, TC). |
| 3 | PC15-OSC32_OUT | bidirectional | GPIO PC15 muxed with LSE (32.768 kHz) crystal oscillator output OSC32_OUT. Configured as OSC32_OUT by RCC when LSE is enabled; otherwise usable as PC15 (TC I/O). |
| 4 | NRST | bidirectional | Bidirectional device reset input/output with embedded weak pull-up (RPU ~ 30-50 kOhm). Drive low to reset the MCU; the MCU drives it low internally when a reset source triggers. Recommended external ~100 nF cap to VSS. |
| 5 | VDDA | power_in | Analog power supply for ADC, comparators, reset block, PLL, and internal reference (1.65 V to 3.6 V). Must be tied to VDD and decoupled with 100 nF and 1 uF ceramics close to the pin. |
| 6 | PA0-CK_IN | bidirectional | General-purpose I/O PA0, TC (3.3 V) structure. Muxed with LSE bypass clock input (CK_IN). Alternate functions: LPTIM1_IN1, TIM2_CH1, USART2_CTS, TIM2_ETR, COMP1_OUT. Additional: COMP1_INM6, ADC_IN0, RTC_TAMP2/WKUP1. |
| 7 | PA1 | bidirectional | General-purpose I/O PA1, FT (5 V tolerant). Alternate functions: EVENTOUT, LPTIM1_IN2, TIM2_CH2, I2C1_SMBA, USART2_RTS, TIM21_ETR. Additional: COMP1_INP, ADC_IN1. |
| 8 | PA2 | bidirectional | General-purpose I/O PA2, TC (3.3 V) structure. Alternate functions: TIM21_CH1, TIM2_CH3, USART2_TX, LPUART1_TX, COMP2_OUT. Additional: COMP2_INM6, ADC_IN2, RTC_TAMP3/RTC_TS/RTC_OUT/WKUP3. |
| 9 | PA3 | bidirectional | General-purpose I/O PA3, FT (5 V tolerant). Alternate functions: TIM21_CH2, TIM2_CH4, USART2_RX, LPUART1_RX. Additional: COMP2_INP, ADC_IN3. |
| 10 | PA4 | bidirectional | General-purpose I/O PA4, TC (3.3 V). Alternate functions: SPI1_NSS, LPTIM1_IN1, USART2_CK, TIM22_ETR. Additional: COMP1_INM4, COMP2_INM4, ADC_IN4. |
| 11 | PA5 | bidirectional | General-purpose I/O PA5, TC (3.3 V). Alternate functions: SPI1_SCK, LPTIM1_IN2, TIM2_ETR, TIM2_CH1. Additional: COMP1_INM5, COMP2_INM5, ADC_IN5. |
| 12 | PA6 | bidirectional | General-purpose I/O PA6, FT (5 V tolerant). Alternate functions: SPI1_MISO, LPTIM1_ETR, LPUART1_CTS, TIM22_CH1, EVENTOUT, COMP1_OUT. Additional: ADC_IN6. |
| 13 | PA7 | bidirectional | General-purpose I/O PA7, FT (5 V tolerant). Alternate functions: SPI1_MOSI, LPTIM1_OUT, USART2_CTS, TIM22_CH2, EVENTOUT, COMP2_OUT. Additional: ADC_IN7. |
| 14 | PB0 | bidirectional | General-purpose I/O PB0, FT (5 V tolerant). Alternate functions: EVENTOUT, SPI1_MISO, USART2_RTS, TIM2_CH3. Additional: ADC_IN8, VREF_OUT. |
| 15 | PB1 | bidirectional | General-purpose I/O PB1, FT (5 V tolerant). Alternate functions: USART2_CK, SPI1_MOSI, LPUART1_RTS, TIM2_CH4. Additional: ADC_IN9, VREF_OUT. |
| 16 | VSS | power_in | Digital ground reference. Tie to the analog ground plane; VSSA is internally bonded to VSS in the LQFP32 package. |
| 17 | VDD | power_in | Digital core power supply, 1.65 V to 3.6 V. Second VDD pin; decouple with 100 nF near the pin. |
| 18 | PA8 | bidirectional | General-purpose I/O PA8, FT (5 V tolerant). Alternate functions: MCO, LPTIM1_IN1, EVENTOUT, USART2_CK, TIM2_CH1. |
| 19 | PA9 | bidirectional | General-purpose I/O PA9, FTf (5 V tolerant, Fast Mode Plus capable). Alternate functions: MCO, I2C1_SCL, USART2_TX, TIM22_CH1. |
| 20 | PA10 | bidirectional | General-purpose I/O PA10, FTf (5 V tolerant, Fast Mode Plus capable). Alternate functions: I2C1_SDA, USART2_RX, TIM22_CH2. |
| 21 | PA11 | bidirectional | General-purpose I/O PA11, FT (5 V tolerant). Alternate functions: SPI1_MISO, EVENTOUT, USART2_CTS, TIM21_CH2, COMP1_OUT. |
| 22 | PA12 | bidirectional | General-purpose I/O PA12, FT (5 V tolerant). Alternate functions: SPI1_MOSI, EVENTOUT, USART2_RTS, COMP2_OUT. |
| 23 | PA13 | bidirectional | GPIO PA13, FT (5 V tolerant). Serial Wire Debug data I/O (SWDIO) after reset. Alternate functions: SWDIO (AF0, default), LPTIM1_ETR, LPUART1_RX. |
| 24 | PA14 | bidirectional | GPIO PA14, FT (5 V tolerant). Serial Wire Debug clock (SWCLK) after reset. Alternate functions: SWCLK (AF0, default), LPTIM1_OUT, I2C1_SMBA, USART2_TX, LPUART1_TX. |
| 25 | PA15 | bidirectional | General-purpose I/O PA15, FT (5 V tolerant). Alternate functions: SPI1_NSS, TIM2_ETR, EVENTOUT, USART2_RX, TIM2_CH1. |
| 26 | PB3 | bidirectional | General-purpose I/O PB3, FT (5 V tolerant). Alternate functions: SPI1_SCK, TIM2_CH2, EVENTOUT. Additional: COMP2_INN. |
| 27 | PB4 | bidirectional | General-purpose I/O PB4, FT (5 V tolerant). Alternate functions: SPI1_MISO, EVENTOUT, TIM22_CH1. Additional: COMP2_INP. |
| 28 | PB5 | bidirectional | General-purpose I/O PB5, FT (5 V tolerant). Alternate functions: SPI1_MOSI, LPTIM1_IN1, I2C1_SMBA, TIM22_CH2. Additional: COMP2_INP. |
| 29 | PB6 | bidirectional | General-purpose I/O PB6, FTf (5 V tolerant, Fast Mode Plus capable). Alternate functions: USART2_TX, I2C1_SCL, LPTIM1_ETR, TIM21_CH1. Additional: COMP2_INP. |
| 30 | PB7 | bidirectional | General-purpose I/O PB7, FTf (5 V tolerant, Fast Mode Plus capable). Alternate functions: USART2_RX, I2C1_SDA, LPTIM1_IN2. Additional: COMP2_INP, VREF_PVD_IN. |
| 31 | BOOT0 | input | Boot mode selection input (dedicated B-type pin). Sampled at reset: 0 = boot from user Flash, 1 = boot from system memory (embedded bootloader). Typically pulled to VSS with a resistor for normal operation. |
| 32 | VSS | power_in | Digital ground reference. Second VSS pin on the LQFP32; also serves as the analog ground return since no separate VSSA exists on this package. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | STMicroelectronics |
| Package | LQFP-32(7x7) |
| Category | MCU |
| Pins | 32 |
Ordering variants
STM32L031K6T6STM32L031K6T6K6U6STM32L031K6T6C6T6STM32L031K6T6E6U6STM32L031K6T6G6Y6STM32L031K6T6F6P6
CAD (KiCad official)
- Symbol:
STM32L031K6T6 - Footprint:
Package_QFP:LQFP-32_7x7mm_P0.8mm - 3D model: LQFP-32(7x7) (KiCad packages3D, STEP)
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: STMicroelectronics datasheet (None 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).
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.