main
Ray
Publish 0.1.1
914a012
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
{
"schema_version": 1,
"type": "component",
"slug": "stm32l031f6p6",
"title": "STM32L031F6P6",
"brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
"version": "0.1.1",
"license": "CC-BY-SA-4.0",
"tags": [
"component",
"mcu",
"stm32l031f6p6"
],
"component": {
"mpn": "STM32L031F6P6",
"manufacturer": "STMicroelectronics",
"package": "TSSOP-20",
"pin_count": 20,
"category": "MCU",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://www.st.com/resource/en/datasheet/stm32l031f6p6.pdf",
"parts": {
"symbol": "stm32l031f6p6.kicad_sym",
"footprint": "stm32l031f6p6.kicad_mod",
"model_3d": "stm32l031f6p6-hero.glb",
"model_3d_plain": "stm32l031f6p6.glb",
"model_3d_step": "stm32l031f6p6-etched.step",
"model_3d_step_plain": "stm32l031f6p6.step",
"lbr": "stm32l031f6p6.lbr"
},
"distributor_links": {},
"pins": [
{
"number": "1",
"name": "BOOT0",
"type": "input",
"description": "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')."
},
{
"number": "2",
"name": "PC14-OSC32_IN",
"type": "bidirectional",
"description": "General-purpose I/O PC14 shared with the 32.768 kHz LSE crystal oscillator input (OSC32_IN). Standard 3.3 V TC I/O."
},
{
"number": "3",
"name": "PC15-OSC32_OUT",
"type": "bidirectional",
"description": "General-purpose I/O PC15 shared with the 32.768 kHz LSE crystal oscillator output (OSC32_OUT). Standard 3.3 V TC I/O."
},
{
"number": "4",
"name": "NRST",
"type": "bidirectional",
"description": "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."
},
{
"number": "5",
"name": "VDDA",
"type": "power_in",
"description": "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)."
},
{
"number": "6",
"name": "PA0-CK_IN",
"type": "bidirectional",
"description": "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."
},
{
"number": "7",
"name": "PA1",
"type": "bidirectional",
"description": "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)."
},
{
"number": "8",
"name": "PA2",
"type": "bidirectional",
"description": "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."
},
{
"number": "9",
"name": "PA3",
"type": "bidirectional",
"description": "PA3 GPIO. Alternate functions TIM21_CH2, TIM2_CH4, USART2_RX, LPUART1_RX. Additional functions COMP2_INP and ADC_IN3. 5 V tolerant (FT)."
},
{
"number": "10",
"name": "PA4",
"type": "bidirectional",
"description": "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."
},
{
"number": "11",
"name": "PA5",
"type": "bidirectional",
"description": "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."
},
{
"number": "12",
"name": "PA6",
"type": "bidirectional",
"description": "PA6 GPIO. Alternate functions SPI1_MISO, LPTIM1_ETR, LPUART1_CTS, TIM22_CH1, EVENTOUT, COMP1_OUT. Additional function ADC_IN6. 5 V tolerant (FT)."
},
{
"number": "13",
"name": "PA7",
"type": "bidirectional",
"description": "PA7 GPIO. Alternate functions SPI1_MOSI, LPTIM1_OUT, USART2_CTS, TIM22_CH2, EVENTOUT, COMP2_OUT. Additional function ADC_IN7. 5 V tolerant (FT)."
},
{
"number": "14",
"name": "PB1",
"type": "bidirectional",
"description": "PB1 GPIO. Alternate functions USART2_CK, SPI1_MOSI, LPUART1_RTS, TIM2_CH4. Additional functions ADC_IN9 and VREF_OUT. 5 V tolerant (FT)."
},
{
"number": "15",
"name": "VSS",
"type": "power_in",
"description": "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."
},
{
"number": "16",
"name": "VDD",
"type": "power_in",
"description": "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."
},
{
"number": "17",
"name": "PA9",
"type": "bidirectional",
"description": "PA9 GPIO with 5 V-tolerant Fm+ capable structure (FTf). Alternate functions MCO, I2C1_SCL, USART2_TX, TIM22_CH1."
},
{
"number": "18",
"name": "PA10",
"type": "bidirectional",
"description": "PA10 GPIO with 5 V-tolerant Fm+ capable structure (FTf). Alternate functions I2C1_SDA, USART2_RX, TIM22_CH2."
},
{
"number": "19",
"name": "PA13",
"type": "bidirectional",
"description": "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)."
},
{
"number": "20",
"name": "PA14",
"type": "bidirectional",
"description": "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)."
}
],
"provenance": {
"extractor": "ds2sf",
"datasheet": {
"url": "https://www.st.com/resource/en/datasheet/stm32l031f6p6.pdf",
"pages": 118,
"sha256": "dfdbba3a554ab2da",
"source_tier": "mfr"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 20,
"described": 20,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"mcu": {
"part_number": "STM32L031F6P6",
"series": "STM32L0",
"subfamily": "STM32L031",
"core": "Arm Cortex-M0+",
"frequency_mhz": 32,
"flash_kb": 32,
"ram_kb": 8,
"io_count": 15,
"package": "TSSOP-20",
"marketing_status": "Active",
"fpu": null,
"supply_v_min": 1.65,
"supply_v_max": 3.6,
"temp_min_c": -40,
"temp_max_c": 85,
"adc_count": 1,
"timers": 3,
"in_distributor_stock": true,
"product_folder": "/en/microcontrollers-microprocessors/stm32l031f6.html",
"source": "st.com portfolio grid CL1734"
},
"models_3d": [
{
"file": "stm32l031f6p6.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
6.4,
6.5,
1.2
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "97339947f3a7196470ec2f1d9f9b92bb2fc2ab66ad53be0cf105192585ef3c9a",
"checked": "2026-10-07",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stm32l031f6p6-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
6.4,
6.5,
1.2
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "8b4a634c3cb0e9ca8a66a5a404eab11c68eb7b72885d7f6e11b674e494492aa2",
"checked": "2026-10-07",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"metadata": {
"specs": {
"Core": "Arm Cortex-M0+",
"Max clock": "32 MHz",
"Flash": "32 kB",
"RAM": "8 kB",
"I/O pins": 15,
"ADC units": 1,
"ST status": "Active",
"Manufacturer": "STMicroelectronics",
"Package": "TSSOP-20",
"Category": "MCU",
"Pins": "20"
}
},
"variants": [
{
"mpn": "STM32L031F6P6",
"kind": "packaging"
},
{
"mpn": "STM32L031F6P6F4P6",
"kind": "packaging"
},
{
"mpn": "STM32L031F6P6G6U6",
"kind": "packaging"
},
{
"mpn": "STM32L031F6P6G4U6",
"kind": "packaging"
},
{
"mpn": "STM32L031F6P6G6UxS",
"kind": "packaging"
},
{
"mpn": "STM32L031F6P6K6U6",
"kind": "packaging"
},
{
"mpn": "STM32L031F6P6K4U6",
"kind": "packaging"
},
{
"mpn": "STM32L031F6P6K6T6",
"kind": "packaging"
},
{
"mpn": "STM32L031F6P6K4T6",
"kind": "packaging"
},
{
"mpn": "STM32L031F6P6C6T6",
"kind": "packaging"
},
{
"mpn": "STM32L031F6P6C4T6",
"kind": "packaging"
},
{
"mpn": "STM32L031F6P6E6Y6",
"kind": "packaging"
},
{
"mpn": "STM32L031F6P6E4Y6",
"kind": "packaging"
}
],
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"stm32l031f6p6"
],
"discovery_pitch": "STM32L031F6P6 (STMicroelectronics) component page with datasheet-verified CAD.",
"author": {
"name": "Ray"
},
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stm32l031f6p6.kicad_sym",
"stm32l031f6p6.kicad_mod",
"stm32l031f6p6.glb",
"stm32l031f6p6.step",
"stm32l031f6p6.lbr",
"docs/hero.png",
"docs/stm32l031f6p6-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stm32l031f6p6-etched.step",
"stm32l031f6p6-hero.glb",
"stm32l031f6p6-hero.overlay.json"
],
"visibility": "public",
"updated_at": "2026-09-25T08:52:59.794Z",
"description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Datasheet-verified pinout, KiCad symbol/footprint/3D.",
"org": "adom"
}