component
STM32L031F6P7
Public Made by Adomby adom
STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.
← Commit history
README.mdadded+56@@ -0,0 +1,56 @@+# 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](https://www.st.com/resource/en/datasheet/stm32l031f6p7.pdf) (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](docs/stm32l031f6p7-datasheet.pdf)
page.jsonadded+216@@ -0,0 +1,216 @@+{+ "slug": "stm32l031f6p7",+ "version": "0.1.0",+ "type": "component",+ "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Datasheet-verified pinout, KiCad symbol/footprint/3D.",+ "tags": [+ "component",+ "embedded processors & controllers",+ "stm32l031f6p7",+ "factory-2.0.0",+ "extractor-text"+ ],+ "dependencies": {},+ "hero": {+ "type": "image",+ "path": "docs/hero.png"+ },+ "files": [+ "page.json",+ "README.md",+ "stm32l031f6p7.kicad_sym",+ "stm32l031f6p7.kicad_mod",+ "stm32l031f6p7.glb",+ "stm32l031f6p7.step",+ "stm32l031f6p7.lbr",+ "docs/hero.png",+ "docs/stm32l031f6p7-datasheet.pdf",+ "viewers/symbol.html",+ "viewers/footprint.html"+ ],+ "component": {+ "mpn": "STM32L031F6P7",+ "manufacturer": "STMicroelectronics",+ "package": "TSSOP-20",+ "pin_count": 20,+ "category": "Embedded Processors & Controllers",+ "subcategory": "Microcontrollers (MCU/MPU/SOC)",+ "datasheet": "https://www.st.com/resource/en/datasheet/stm32l031f6p7.pdf",+ "parts": {+ "symbol": "stm32l031f6p7.kicad_sym",+ "footprint": "stm32l031f6p7.kicad_mod",+ "model_3d": "stm32l031f6p7-etched.glb",+ "model_3d_plain": "stm32l031f6p7.glb",+ "model_3d_step": "stm32l031f6p7-etched.step",+ "model_3d_step_plain": "stm32l031f6p7.step",+ "lbr": "stm32l031f6p7.lbr"+ },+ "distributor_links": {+ "lcsc": "C1337403"+ },+ "pins": [+ {+ "number": "1",+ "name": "BOOT0",+ "type": "input",+ "description": "Bootstrap pin to select boot mode (Flash memory, System memory, or embedded RAM) during device startup"+ },+ {+ "number": "2",+ "name": "PC14-OSC32_IN",+ "type": "bidirectional",+ "description": "32.768 kHz oscillator input pin for low-speed external crystal or general-purpose I/O pin configured as standard CMOS level"+ },+ {+ "number": "3",+ "name": "PC15-OSC32_OUT",+ "type": "bidirectional",+ "description": "32.768 kHz oscillator output pin for low-speed external crystal or general-purpose I/O pin configured as standard CMOS level"+ },+ {+ "number": "4",+ "name": "NRST",+ "type": "bidirectional",+ "description": "External reset input pin with embedded weak pull-up resistor (25 to 65 kΩ) for device reset control"+ },+ {+ "number": "5",+ "name": "VDDA",+ "type": "power_in",+ "description": "Analog power supply voltage (1.65 to 3.6 V) for ADC, reset blocks, RCs and PLL"+ },+ {+ "number": "6",+ "name": "PA0-CK_IN",+ "type": "bidirectional",+ "description": "General-purpose I/O port A pin 0, LPTIM input, timer channels, USART/LPUART signals, comparator output, or high-speed external clock input"+ },+ {+ "number": "7",+ "name": "PA1",+ "type": "bidirectional",+ "description": "General-purpose I/O port A pin 1 (5V tolerant), supports LPTIM, timer channels, I2C, USART, and event output functions"+ },+ {+ "number": "8",+ "name": "PA2",+ "type": "bidirectional",+ "description": "General-purpose I/O port A pin 2 (standard 3.3V I/O), supports timer channels, USART, LPUART, and comparator output functions"+ },+ {+ "number": "9",+ "name": "PA3",+ "type": "bidirectional",+ "description": "General-purpose I/O port A pin 3 (5V tolerant), supports timer channels, USART, and LPUART functions"+ },+ {+ "number": "10",+ "name": "PA4",+ "type": "bidirectional",+ "description": "General-purpose I/O port A pin 4 (standard 3.3V I/O), supports SPI, LPTIM, USART, timer, and comparator input functions"+ },+ {+ "number": "11",+ "name": "PA5",+ "type": "bidirectional",+ "description": "General-purpose I/O port A pin 5 (standard 3.3V I/O), supports SPI, LPTIM, and timer functions"+ },+ {+ "number": "12",+ "name": "PA6",+ "type": "bidirectional",+ "description": "General-purpose I/O port A pin 6 (5V tolerant), supports SPI, LPTIM, timer, event output, and comparator output functions"+ },+ {+ "number": "13",+ "name": "PA7",+ "type": "bidirectional",+ "description": "General-purpose I/O port A pin 7 (5V tolerant), supports SPI, LPTIM, timer, event output, and comparator output functions"+ },+ {+ "number": "14",+ "name": "PB1",+ "type": "bidirectional",+ "description": "General-purpose I/O port B pin 1 (5V tolerant), supports USART clock, SPI, and LPUART functions"+ },+ {+ "number": "15",+ "name": "VSS",+ "type": "power_out",+ "description": "Ground supply connection (0 V reference) for device"+ },+ {+ "number": "16",+ "name": "VDD",+ "type": "power_in",+ "description": "Main power supply voltage (1.65 to 3.6 V) for I/Os and internal regulator"+ },+ {+ "number": "17",+ "name": "PA9",+ "type": "bidirectional",+ "description": "General-purpose I/O port A pin 9 (5V tolerant with FM+ Fast Mode Plus capability), supports I2C, USART, and timer functions"+ },+ {+ "number": "18",+ "name": "PA10",+ "type": "bidirectional",+ "description": "General-purpose I/O port A pin 10 (5V tolerant with FM+ Fast Mode Plus capability), supports I2C, USART, and timer functions"+ },+ {+ "number": "19",+ "name": "PA13",+ "type": "bidirectional",+ "description": "General-purpose I/O port A pin 13 (5V tolerant), serial wire debug I/O (SWDIO), supports LPTIM and LPUART functions"+ },+ {+ "number": "20",+ "name": "PA14",+ "type": "bidirectional",+ "description": "General-purpose I/O port A pin 14 (5V tolerant), serial wire debug clock (SWCLK), supports I2C, USART, LPTIM, and LPUART functions"+ }+ ],+ "provenance": {+ "extractor": "extract_pins 0.2",+ "factory_chain": {+ "factory": "2.0.0",+ "extractor": "extract_pins 0.2",+ "primary_model": "claude-haiku-4-5-20251001",+ "primary_mode": "text",+ "consensus_model": "claude-sonnet-5",+ "consensus": "agreed",+ "guards": "pin_guards 0.1: passed",+ "guard_notes": [+ "extractor flagged: PC14-OSC32_IN (pin 2) and PC15-OSC32_OUT (pin 3) are oscillator pins that can also function as gener; NRST (pin 4) is a special purpose reset pin with open-drain behavior; classified as bidirectional du; All GPIO pins (PA0-PA14, PB1) support multiple alternate functions via GPIO alternate function regis",+ "5/20 pins cited to the wrong page (name found elsewhere): ['15:VSS@p21', '17:PA9@p39', '18:PA10@p39', '19:PA13@p39']"+ ],+ "pages_sent": 126,+ "cost_usd": 1.1854,+ "at": "2026-09-23T17:10:27"+ },+ "datasheet": {+ "url": "https://www.st.com/resource/en/datasheet/stm32l031f6p7.pdf",+ "pages": 126,+ "sha256": "9726c48418e03f62",+ "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"+ }+ },+ "visibility": "public",+ "org": "adom",+ "author": {+ "name": "Ray",+ "email": "[email protected]"+ }+}