component
STM32F031F6P6
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 @@+# STM32F031F6P6++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · TSSOP-20++STM32F031F6P6 from STMicroelectronics, in a TSSOP-20. Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model, then checked against ST open pin data); symbol, footprint, and 3D from KiCad-official CAD.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | BOOT0 | input | Boot memory selection input pin; selects boot address (user flash or bootloader) on device reset. |+| 2 | PF0-OSC_IN | input | High-speed external oscillator input for 4-32 MHz crystal with 5V-tolerant I/O capability. |+| 3 | PF1-OSC_OUT | output | High-speed external oscillator output for 4-32 MHz crystal with 5V-tolerant I/O capability. |+| 4 | NRST | bidirectional | Asynchronous reset input / reset output (active low) with internal weak pull-up resistor. |+| 5 | VDDA | power_in | Analog power supply for ADC and internal voltage regulator; 2.4-3.6 V with 100 nF decoupling capacitor required. |+| 6 | PA0 | bidirectional | General-purpose I/O port A bit 0, 3.3V-tolerant connected to ADC; supports TIM2_CH1_ETR, USART1_CTS alternate functions and ADC channel 0. |+| 7 | PA1 | bidirectional | General-purpose I/O port A bit 1, 3.3V-tolerant connected to ADC; supports TIM2_CH2, USART1_RTS alternate functions and ADC channel 1. |+| 8 | PA2 | bidirectional | General-purpose I/O port A bit 2, 3.3V-tolerant connected to ADC; supports TIM2_CH3, USART1_TX alternate functions and ADC channel 2. |+| 9 | PA3 | bidirectional | General-purpose I/O port A bit 3, 3.3V-tolerant connected to ADC; supports TIM2_CH4, USART1_RX alternate functions and ADC channel 3. |+| 10 | PA4 | bidirectional | General-purpose I/O port A bit 4, 3.3V-tolerant connected to ADC; supports SPI1_NSS, I2S1_WS, TIM14_CH1, USART1_CK alternate functions and ADC channel 4. |+| 11 | PA5 | bidirectional | General-purpose I/O port A bit 5, 3.3V-tolerant connected to ADC; supports SPI1_SCK, I2S1_CK, TIM2_CH1_ETR alternate functions and ADC channel 5. |+| 12 | PA6 | bidirectional | General-purpose I/O port A bit 6, 3.3V-tolerant connected to ADC; supports SPI1_MISO, I2S1_MCK, TIM3_CH1, TIM1_BKIN, TIM16_CH1 alternate functions and ADC channel 6. |+| 13 | PA7 | bidirectional | General-purpose I/O port A bit 7, 3.3V-tolerant connected to ADC; supports SPI1_MOSI, I2S1_SD, TIM3_CH2, TIM1_CH1N, TIM17_CH1 alternate functions and ADC channel 7. |+| 14 | PB1 | bidirectional | General-purpose I/O port B bit 1, 3.3V-tolerant connected to ADC; supports TIM3_CH4, TIM14_CH1, TIM1_CH3N alternate functions and ADC channel 9. |+| 15 | VSS | power_in | Digital ground; analog ground (VSSA) is internally connected to this VSS pin. |+| 16 | VDD | power_in | Digital power supply, 2.0-3.6 V; requires 100 nF ceramic capacitor and 4.7 µF electrolytic capacitor close to pins. |+| 17 | PA9 | bidirectional | General-purpose I/O port A bit 9, 5V-tolerant I/O capable (FTf); supports USART1_TX, TIM1_CH2, I2C1_SCL with Fast Mode Plus (1 Mbit/s) capability. |+| 18 | PA10 | bidirectional | General-purpose I/O port A bit 10, 5V-tolerant I/O capable (FTf); supports USART1_RX, TIM1_CH3, I2C1_SDA with Fast Mode Plus and Stop mode wakeup. |+| 19 | PA13 | bidirectional | Port A bit 13, 5V-tolerant I/O; configured as Serial Wire Debug I/O (SWDIO) after reset with internal pull-up enabled. |+| 20 | PA14 | bidirectional | Port A bit 14, 5V-tolerant I/O; configured as Serial Wire Debug Clock (SWCLK) after reset with internal pull-down enabled. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | TSSOP-20 |+| Category | Embedded Processors & Controllers |+| Pins | 20 |++## CAD (KiCad official)++- Symbol: `STM32F031F6P6`+- Footprint: `Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm`+- 3D model: TSSOP-20 (KiCad packages3D, STEP)+- 3D model files: `stm32f031f6p6-etched.step` / `stm32f031f6p6-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm32f031f6p6.step` / `stm32f031f6p6.glb` are the bare package body.++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [STMicroelectronics datasheet](https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588884751604461568) (106 pp, sha256 `36b17e3dce795273`, retrieved 2026-10-01, tier: lcsc)+- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.3`, primary `claude-haiku-4-5-20251001` (text), consensus `claude-sonnet-5-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/stm32f031f6p6-datasheet.pdf)
page.jsonadded+229@@ -0,0 +1,229 @@+{+ "slug": "stm32f031f6p6",+ "version": "0.1.0",+ "type": "component",+ "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",+ "tags": [+ "component",+ "embedded processors & controllers",+ "stm32f031f6p6",+ "factory-2.0.0",+ "extractor-text"+ ],+ "dependencies": {},+ "hero": {+ "type": "image",+ "path": "docs/hero.png"+ },+ "files": [+ "page.json",+ "README.md",+ "stm32f031f6p6.kicad_sym",+ "stm32f031f6p6.kicad_mod",+ "stm32f031f6p6.glb",+ "stm32f031f6p6.step",+ "stm32f031f6p6.lbr",+ "docs/hero.png",+ "docs/stm32f031f6p6-datasheet.pdf",+ "viewers/symbol.html",+ "viewers/footprint.html"+ ],+ "component": {+ "mpn": "STM32F031F6P6",+ "manufacturer": "STMicroelectronics",+ "package": "TSSOP-20",+ "pin_count": 20,+ "category": "Embedded Processors & Controllers",+ "subcategory": "Microcontrollers (MCU/MPU/SOC)",+ "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588884751604461568",+ "parts": {+ "symbol": "stm32f031f6p6.kicad_sym",+ "footprint": "stm32f031f6p6.kicad_mod",+ "model_3d": "stm32f031f6p6-etched.glb",+ "model_3d_plain": "stm32f031f6p6.glb",+ "model_3d_step": "stm32f031f6p6-etched.step",+ "model_3d_step_plain": "stm32f031f6p6.step",+ "lbr": "stm32f031f6p6.lbr"+ },+ "distributor_links": {+ "lcsc": "C465971",+ "digikey": "497-STM32F031F6P6-ND",+ "mouser": "511-STM32F031F6P6"+ },+ "distributor_check": {+ "checked_at": "2026-10-01T08:44:13Z",+ "source": "Component Ocean /api/assign-pns",+ "digikey": {+ "pn": "497-STM32F031F6P6-ND",+ "status": "found"+ },+ "mouser": {+ "pn": "511-STM32F031F6P6",+ "status": "found"+ }+ },+ "pins": [+ {+ "number": "1",+ "name": "BOOT0",+ "type": "input",+ "description": "Boot memory selection input pin; selects boot address (user flash or bootloader) on device reset."+ },+ {+ "number": "2",+ "name": "PF0-OSC_IN",+ "type": "input",+ "description": "High-speed external oscillator input for 4-32 MHz crystal with 5V-tolerant I/O capability."+ },+ {+ "number": "3",+ "name": "PF1-OSC_OUT",+ "type": "output",+ "description": "High-speed external oscillator output for 4-32 MHz crystal with 5V-tolerant I/O capability."+ },+ {+ "number": "4",+ "name": "NRST",+ "type": "bidirectional",+ "description": "Asynchronous reset input / reset output (active low) with internal weak pull-up resistor."+ },+ {+ "number": "5",+ "name": "VDDA",+ "type": "power_in",+ "description": "Analog power supply for ADC and internal voltage regulator; 2.4-3.6 V with 100 nF decoupling capacitor required."+ },+ {+ "number": "6",+ "name": "PA0",+ "type": "bidirectional",+ "description": "General-purpose I/O port A bit 0, 3.3V-tolerant connected to ADC; supports TIM2_CH1_ETR, USART1_CTS alternate functions and ADC channel 0."+ },+ {+ "number": "7",+ "name": "PA1",+ "type": "bidirectional",+ "description": "General-purpose I/O port A bit 1, 3.3V-tolerant connected to ADC; supports TIM2_CH2, USART1_RTS alternate functions and ADC channel 1."+ },+ {+ "number": "8",+ "name": "PA2",+ "type": "bidirectional",+ "description": "General-purpose I/O port A bit 2, 3.3V-tolerant connected to ADC; supports TIM2_CH3, USART1_TX alternate functions and ADC channel 2."+ },+ {+ "number": "9",+ "name": "PA3",+ "type": "bidirectional",+ "description": "General-purpose I/O port A bit 3, 3.3V-tolerant connected to ADC; supports TIM2_CH4, USART1_RX alternate functions and ADC channel 3."+ },+ {+ "number": "10",+ "name": "PA4",+ "type": "bidirectional",+ "description": "General-purpose I/O port A bit 4, 3.3V-tolerant connected to ADC; supports SPI1_NSS, I2S1_WS, TIM14_CH1, USART1_CK alternate functions and ADC channel 4."+ },+ {+ "number": "11",+ "name": "PA5",+ "type": "bidirectional",+ "description": "General-purpose I/O port A bit 5, 3.3V-tolerant connected to ADC; supports SPI1_SCK, I2S1_CK, TIM2_CH1_ETR alternate functions and ADC channel 5."+ },+ {+ "number": "12",+ "name": "PA6",+ "type": "bidirectional",+ "description": "General-purpose I/O port A bit 6, 3.3V-tolerant connected to ADC; supports SPI1_MISO, I2S1_MCK, TIM3_CH1, TIM1_BKIN, TIM16_CH1 alternate functions and ADC channel 6."+ },+ {+ "number": "13",+ "name": "PA7",+ "type": "bidirectional",+ "description": "General-purpose I/O port A bit 7, 3.3V-tolerant connected to ADC; supports SPI1_MOSI, I2S1_SD, TIM3_CH2, TIM1_CH1N, TIM17_CH1 alternate functions and ADC channel 7."+ },+ {+ "number": "14",+ "name": "PB1",+ "type": "bidirectional",+ "description": "General-purpose I/O port B bit 1, 3.3V-tolerant connected to ADC; supports TIM3_CH4, TIM14_CH1, TIM1_CH3N alternate functions and ADC channel 9."+ },+ {+ "number": "15",+ "name": "VSS",+ "type": "power_in",+ "description": "Digital ground; analog ground (VSSA) is internally connected to this VSS pin."+ },+ {+ "number": "16",+ "name": "VDD",+ "type": "power_in",+ "description": "Digital power supply, 2.0-3.6 V; requires 100 nF ceramic capacitor and 4.7 µF electrolytic capacitor close to pins."+ },+ {+ "number": "17",+ "name": "PA9",+ "type": "bidirectional",+ "description": "General-purpose I/O port A bit 9, 5V-tolerant I/O capable (FTf); supports USART1_TX, TIM1_CH2, I2C1_SCL with Fast Mode Plus (1 Mbit/s) capability."+ },+ {+ "number": "18",+ "name": "PA10",+ "type": "bidirectional",+ "description": "General-purpose I/O port A bit 10, 5V-tolerant I/O capable (FTf); supports USART1_RX, TIM1_CH3, I2C1_SDA with Fast Mode Plus and Stop mode wakeup."+ },+ {+ "number": "19",+ "name": "PA13",+ "type": "bidirectional",+ "description": "Port A bit 13, 5V-tolerant I/O; configured as Serial Wire Debug I/O (SWDIO) after reset with internal pull-up enabled."+ },+ {+ "number": "20",+ "name": "PA14",+ "type": "bidirectional",+ "description": "Port A bit 14, 5V-tolerant I/O; configured as Serial Wire Debug Clock (SWCLK) after reset with internal pull-down enabled."+ }+ ],+ "provenance": {+ "extractor": "extract_pins 0.3",+ "factory_chain": {+ "factory": "2.0.0",+ "extractor": "extract_pins 0.3",+ "primary_model": "claude-haiku-4-5-20251001",+ "primary_mode": "text",+ "consensus_model": "claude-sonnet-5-5",+ "consensus": "agreed",+ "guards": "pin_guards 0.1: passed",+ "guard_notes": [+ "4/20 pins cited to the wrong page (name found elsewhere): ['17:PA9@p26', '18:PA10@p26', '19:PA13@p26', '20:PA14@p26']"+ ],+ "pages_sent": 47,+ "cost_usd": 0.2876,+ "at": "2026-10-01T08:43:53"+ },+ "datasheet": {+ "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588884751604461568",+ "pages": 106,+ "sha256": "36b17e3dce795273",+ "source_tier": "lcsc"+ },+ "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]"+ }+}