← Commit history

Initial commit: component/stm32g051k6t6

Ray ·6ace81515a ·9h ago
2 files changed +411
README.mdadded+68
@@ -0,0 +1,68 @@+# STM32G051K6T6++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · LQFP-32(7x7)++STM32G051K6T6 from STMicroelectronics, in a LQFP-32(7x7). 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 | PB9 | bidirectional | General-purpose I/O, 5 V-tolerant with Fm+ capability; IR output, TIM17 channel, SPI2 select, or I2C1 data line. |+| 2 | PC14-OSC32_IN | input | Low-speed oscillator input (32 kHz) or TIM1 brake input; 5 V-tolerant I/O. |+| 3 | PC15-OSC32_OUT | output | Low-speed oscillator output (32 kHz) or TIM15 brake input; 5 V-tolerant with oscillator enable. |+| 4 | VDD/VDDA | power_in | Power supply for digital and analog domains, 1.7 V to 3.6 V; requires 100 nF + 4.7 µF decoupling capacitors. |+| 5 | VSS/VSSA | power_in | Ground return for digital and analog domains; must be connected to PCB ground plane. |+| 6 | PF2-NRST | bidirectional | System reset input with internal weak pull-up; supports master clock output (MCO) alternate function. |+| 7 | PA0 | bidirectional | Programmable I/O, 5 V-tolerant with analog-switch function; ADC channel 0, tamper input, wakeup 1, or alternate SPI/USART/timer/comparator. |+| 8 | PA1 | bidirectional | Programmable I/O, 5 V-tolerant with switchable diode to VDD; ADC channel 1 or alternate SPI/USART/timer/I2C functions. |+| 9 | PA2 | bidirectional | Programmable I/O, 5 V-tolerant with analog-switch function; ADC channel 2, wakeup 4, or alternate SPI/USART/timer/UART/comparator. |+| 10 | PA3 | bidirectional | Programmable I/O, 5 V-tolerant with switchable diode to VDD; ADC channel 3 or alternate SPI/USART/timer/UART functions. |+| 11 | PA4 | bidirectional | Programmable I/O, 5 V-tolerant with analog-switch function; ADC channel 4, DAC1 output 1, or alternate SPI/timer/LPTIM. |+| 12 | PA5 | bidirectional | Programmable I/O, 5 V-tolerant with switchable diode to VDD; ADC channel 5, DAC1 output 2, or alternate SPI/timer. |+| 13 | PA6 | bidirectional | Programmable I/O, 5 V-tolerant with switchable diode to VDD; ADC channel 6 or alternate SPI/timer/brake/UART/comparator. |+| 14 | PA7 | bidirectional | Programmable I/O, 5 V-tolerant with analog-switch function; ADC channel 7 or alternate SPI/timer/comparator functions. |+| 15 | PB0 | bidirectional | Programmable I/O, 5 V-tolerant with switchable diode to VDD; ADC channel 8 or alternate SPI/timer/comparator. |+| 16 | PB1 | bidirectional | Programmable I/O, 5 V-tolerant with switchable diode to VDD; ADC channel 9 or alternate timer/UART/event functions. |+| 17 | PB2 | bidirectional | Programmable I/O, 5 V-tolerant with switchable diode to VDD; ADC channel 10 or alternate SPI/LPTIM/event functions. |+| 18 | PA8 | bidirectional | Programmable I/O, 5 V-tolerant; master clock output, SPI2 select, TIM1 channel, or LPTIM2 output. |+| 19 | PA9 | bidirectional | Programmable I/O, 5 V-tolerant with Fm+ capability; USART1 TX, TIM1 channel, SPI2 input, or I2C1 clock; remappable via SYSCFG. |+| 20 | PC6 | bidirectional | Programmable I/O, 5 V-tolerant; TIM3 or TIM2 channel output. |+| 21 | PA10 | bidirectional | Programmable I/O, 5 V-tolerant with Fm+ capability; USART1 RX, TIM1 channel, or I2C1 data line; remappable via SYSCFG. |+| 22 | PA11 [PA9] | bidirectional | Programmable I/O, 5 V-tolerant Fm+ capable with analog-switch function; SPI/USART/timer/I2C functions; can be remapped from PA9. |+| 23 | PA12 [PA10] | bidirectional | Programmable I/O, 5 V-tolerant Fm+ capable with analog-switch function; SPI/USART/timer/I2C functions; can be remapped from PA10. |+| 24 | PA13 | bidirectional | Serial wire debug I/O (SWDIO), 5 V-tolerant with switchable diode to VDD; configured with internal pull-up at reset. |+| 25 | PA14-BOOT0 | bidirectional | Boot mode select and serial wire debug clock (SWCLK), 5 V-tolerant with analog-switch; internal pull-down at reset. |+| 26 | PA15 | bidirectional | Programmable I/O, 5 V-tolerant; SPI chip select, USART receive, timer channel, or event output. |+| 27 | PB3 | bidirectional | Programmable I/O, 5 V-tolerant with analog-switch function; comparator input or alternate SPI/timer/USART. |+| 28 | PB4 | bidirectional | Programmable I/O, 5 V-tolerant with analog-switch function; comparator input or alternate SPI/timer/USART. |+| 29 | PB5 | bidirectional | Programmable I/O, 5 V-tolerant; wakeup 6, comparator output, or alternate SPI/timer/LPTIM/I2C. |+| 30 | PB6 | bidirectional | Programmable I/O, 5 V-tolerant Fm+ capable with analog-switch; USART TX, timer, SPI, LPTIM, or I2C clock. |+| 31 | PB7 | bidirectional | Programmable I/O, 5 V-tolerant Fm+ capable with analog-switch; USART RX, SPI, timer, LPTIM, or I2C data; PVD input. |+| 32 | PB8 | bidirectional | Programmable I/O, 5 V-tolerant Fm+ capable; SPI clock, TIM16 channel, timer brake, or I2C clock line. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | LQFP-32(7x7) |+| Category | Embedded Processors & Controllers |+| Pins | 32 |++## CAD (KiCad official)++- Symbol: `STM32G051K6T6`+- Footprint: `Package_QFP:LQFP-32_7x7mm_P0.8mm`+- 3D model: LQFP-32(7x7) (KiCad packages3D, STEP)+- 3D model files: `stm32g051k6t6-etched.step` / `stm32g051k6t6-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm32g051k6t6.step` / `stm32g051k6t6.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/8590264019984035840) (126 pp, sha256 `773ba84c25c7d2f3`, retrieved 2026-10-07, 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/stm32g051k6t6-datasheet.pdf)
page.jsonadded+343
@@ -0,0 +1,343 @@+{+  "slug": "stm32g051k6t6",+  "version": "0.1.0",+  "type": "component",+  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "embedded processors & controllers",+    "stm32g051k6t6",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stm32g051k6t6.kicad_sym",+    "stm32g051k6t6.kicad_mod",+    "stm32g051k6t6.glb",+    "stm32g051k6t6.step",+    "stm32g051k6t6.lbr",+    "docs/hero.png",+    "docs/stm32g051k6t6-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html",+    "stm32g051k6t6-hero.glb",+    "stm32g051k6t6-hero.overlay.json"+  ],+  "component": {+    "mpn": "STM32G051K6T6",+    "manufacturer": "STMicroelectronics",+    "package": "LQFP-32(7x7)",+    "pin_count": 32,+    "category": "Embedded Processors & Controllers",+    "subcategory": "Microcontrollers (MCU/MPU/SOC)",+    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590264019984035840",+    "parts": {+      "symbol": "stm32g051k6t6.kicad_sym",+      "footprint": "stm32g051k6t6.kicad_mod",+      "model_3d": "stm32g051k6t6-hero.glb",+      "model_3d_plain": "stm32g051k6t6.glb",+      "model_3d_step": "stm32g051k6t6-etched.step",+      "model_3d_step_plain": "stm32g051k6t6.step",+      "lbr": "stm32g051k6t6.lbr"+    },+    "distributor_links": {+      "lcsc": "C3220738",+      "digikey": "497-STM32G051K6T6-ND",+      "mouser": "511-STM32G051K6T6"+    },+    "distributor_check": {+      "checked_at": "2026-10-07T08:19:23Z",+      "source": "Component Ocean /api/assign-pns",+      "digikey": {+        "pn": "497-STM32G051K6T6-ND",+        "status": "found"+      },+      "mouser": {+        "pn": "511-STM32G051K6T6",+        "status": "found"+      }+    },+    "pins": [+      {+        "number": "1",+        "name": "PB9",+        "type": "bidirectional",+        "description": "General-purpose I/O, 5 V-tolerant with Fm+ capability; IR output, TIM17 channel, SPI2 select, or I2C1 data line."+      },+      {+        "number": "2",+        "name": "PC14-OSC32_IN",+        "type": "input",+        "description": "Low-speed oscillator input (32 kHz) or TIM1 brake input; 5 V-tolerant I/O."+      },+      {+        "number": "3",+        "name": "PC15-OSC32_OUT",+        "type": "output",+        "description": "Low-speed oscillator output (32 kHz) or TIM15 brake input; 5 V-tolerant with oscillator enable."+      },+      {+        "number": "4",+        "name": "VDD/VDDA",+        "type": "power_in",+        "description": "Power supply for digital and analog domains, 1.7 V to 3.6 V; requires 100 nF + 4.7 µF decoupling capacitors."+      },+      {+        "number": "5",+        "name": "VSS/VSSA",+        "type": "power_in",+        "description": "Ground return for digital and analog domains; must be connected to PCB ground plane."+      },+      {+        "number": "6",+        "name": "PF2-NRST",+        "type": "bidirectional",+        "description": "System reset input with internal weak pull-up; supports master clock output (MCO) alternate function."+      },+      {+        "number": "7",+        "name": "PA0",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant with analog-switch function; ADC channel 0, tamper input, wakeup 1, or alternate SPI/USART/timer/comparator."+      },+      {+        "number": "8",+        "name": "PA1",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant with switchable diode to VDD; ADC channel 1 or alternate SPI/USART/timer/I2C functions."+      },+      {+        "number": "9",+        "name": "PA2",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant with analog-switch function; ADC channel 2, wakeup 4, or alternate SPI/USART/timer/UART/comparator."+      },+      {+        "number": "10",+        "name": "PA3",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant with switchable diode to VDD; ADC channel 3 or alternate SPI/USART/timer/UART functions."+      },+      {+        "number": "11",+        "name": "PA4",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant with analog-switch function; ADC channel 4, DAC1 output 1, or alternate SPI/timer/LPTIM."+      },+      {+        "number": "12",+        "name": "PA5",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant with switchable diode to VDD; ADC channel 5, DAC1 output 2, or alternate SPI/timer."+      },+      {+        "number": "13",+        "name": "PA6",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant with switchable diode to VDD; ADC channel 6 or alternate SPI/timer/brake/UART/comparator."+      },+      {+        "number": "14",+        "name": "PA7",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant with analog-switch function; ADC channel 7 or alternate SPI/timer/comparator functions."+      },+      {+        "number": "15",+        "name": "PB0",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant with switchable diode to VDD; ADC channel 8 or alternate SPI/timer/comparator."+      },+      {+        "number": "16",+        "name": "PB1",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant with switchable diode to VDD; ADC channel 9 or alternate timer/UART/event functions."+      },+      {+        "number": "17",+        "name": "PB2",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant with switchable diode to VDD; ADC channel 10 or alternate SPI/LPTIM/event functions."+      },+      {+        "number": "18",+        "name": "PA8",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant; master clock output, SPI2 select, TIM1 channel, or LPTIM2 output."+      },+      {+        "number": "19",+        "name": "PA9",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant with Fm+ capability; USART1 TX, TIM1 channel, SPI2 input, or I2C1 clock; remappable via SYSCFG."+      },+      {+        "number": "20",+        "name": "PC6",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant; TIM3 or TIM2 channel output."+      },+      {+        "number": "21",+        "name": "PA10",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant with Fm+ capability; USART1 RX, TIM1 channel, or I2C1 data line; remappable via SYSCFG."+      },+      {+        "number": "22",+        "name": "PA11 [PA9]",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant Fm+ capable with analog-switch function; SPI/USART/timer/I2C functions; can be remapped from PA9."+      },+      {+        "number": "23",+        "name": "PA12 [PA10]",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant Fm+ capable with analog-switch function; SPI/USART/timer/I2C functions; can be remapped from PA10."+      },+      {+        "number": "24",+        "name": "PA13",+        "type": "bidirectional",+        "description": "Serial wire debug I/O (SWDIO), 5 V-tolerant with switchable diode to VDD; configured with internal pull-up at reset."+      },+      {+        "number": "25",+        "name": "PA14-BOOT0",+        "type": "bidirectional",+        "description": "Boot mode select and serial wire debug clock (SWCLK), 5 V-tolerant with analog-switch; internal pull-down at reset."+      },+      {+        "number": "26",+        "name": "PA15",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant; SPI chip select, USART receive, timer channel, or event output."+      },+      {+        "number": "27",+        "name": "PB3",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant with analog-switch function; comparator input or alternate SPI/timer/USART."+      },+      {+        "number": "28",+        "name": "PB4",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant with analog-switch function; comparator input or alternate SPI/timer/USART."+      },+      {+        "number": "29",+        "name": "PB5",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant; wakeup 6, comparator output, or alternate SPI/timer/LPTIM/I2C."+      },+      {+        "number": "30",+        "name": "PB6",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant Fm+ capable with analog-switch; USART TX, timer, SPI, LPTIM, or I2C clock."+      },+      {+        "number": "31",+        "name": "PB7",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant Fm+ capable with analog-switch; USART RX, SPI, timer, LPTIM, or I2C data; PVD input."+      },+      {+        "number": "32",+        "name": "PB8",+        "type": "bidirectional",+        "description": "Programmable I/O, 5 V-tolerant Fm+ capable; SPI clock, TIM16 channel, timer brake, or I2C clock line."+      }+    ],+    "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": [+          "extractor flagged: PC14 and PC15 are powered through a power switch with 3 mA current limit; maximum speed 2 MHz with 3; VBAT and VREF+ are not available as separate pins in LQFP32 package; VBAT is internally bonded to VD; PA9 and PA10 can be remapped to replace PA11 and PA12 as default mapping using SYSCFG_CFGR1 register"+        ],+        "pages_sent": 57,+        "cost_usd": 0.4168,+        "at": "2026-10-07T08:19:02"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590264019984035840",+        "pages": 126,+        "sha256": "773ba84c25c7d2f3",+        "source_tier": "lcsc"+      },+      "cad": "KiCad official (CC-BY-SA 4.0)",+      "pins": {+        "total": 32,+        "described": 32,+        "cites_pages": true,+        "refuses_to_fabricate": true+      }+    },+    "viewers": {+      "symbol": "viewers/symbol.html",+      "footprint": "viewers/footprint.html"+    },+    "models_3d": [+      {+        "file": "stm32g051k6t6.step",+        "role": "plain",+        "up": "Z",+        "units": "mm",+        "origin": "footprint origin = pad-pattern centre",+        "seat": "z = 0",+        "extents_mm": [+          9,+          9,+          1.5+        ],+        "zmin_mm": 0,+        "centre_offset_mm": 0,+        "footprint_binding": "identity",+        "sha256": "be0e412f1c66fee70039b0e109e0cc7c823161dda97593718afa97569bc61ce3",+        "checked": "2026-10-07",+        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"+      },+      {+        "file": "stm32g051k6t6-etched.step",+        "role": "eda",+        "up": "Z",+        "units": "mm",+        "origin": "footprint origin = pad-pattern centre",+        "seat": "z = 0",+        "extents_mm": [+          9,+          9,+          1.5+        ],+        "zmin_mm": 0,+        "centre_offset_mm": 0,+        "footprint_binding": "identity",+        "sha256": "3947b8086ba4703a4114727a8257a7c39555a048ef7d20ce06770501dd39aeb5",+        "checked": "2026-10-07",+        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"+      }+    ]+  },+  "visibility": "public",+  "org": "adom",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file