← Commit history

Initial commit: component/stm32g431kbt6

Ray ·baca4197ab ·
2 files changed +355
README.mdadded+68
@@ -0,0 +1,68 @@+# STM32G431KBT6++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · LQFP-32(7x7)++STM32G431KBT6 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 | VDD | power_in | Supply voltage for digital logic and I/O ports, 1.71 to 3.6 V |+| 2 | PF0-OSC_IN | input | External oscillator input (5V tolerant, analog switch capable), alternative function: I2C2_SDA, SPI2_NSS/I2S2_WS, TIM1_CH3N |+| 3 | PF1-OSC_OUT | output | External oscillator output (5V tolerant, analog switch capable), alternative function: SPI2_SCK/I2S2_CK |+| 4 | PG10-NRST | bidirectional | System reset input with embedded weak pull-up resistor, alternative function: MCO (master clock output) |+| 5 | PA0 | bidirectional | General purpose I/O (3.6V tolerant, analog capable), alternative functions: TIM2_CH1, USART2_CTS, COMP1_OUT, additional functions: ADC12_IN1, COMP1_INM, RTC_TAMP2, WKUP1 |+| 6 | PA1 | bidirectional | General purpose I/O (3.6V tolerant, analog capable), alternative functions: TIM2_CH2, USART2_RTS_DE, TIM15_CH1N, additional functions: ADC12_IN2, COMP1_INP, OPAMP1_VINP |+| 7 | PA2 | bidirectional | General purpose I/O (3.6V tolerant, analog capable), alternative functions: TIM2_CH3, USART2_TX, COMP2_OUT, LPUART1_TX, additional functions: ADC1_IN3, COMP2_INM, OPAMP1_VOUT |+| 8 | PA3 | bidirectional | General purpose I/O (3.6V tolerant, analog capable), alternative functions: TIM2_CH4, USART2_RX, TIM15_CH2, LPUART1_RX, SAI1_MCLK_A, additional functions: ADC1_IN4, COMP2_INP |+| 9 | PA4 | bidirectional | General purpose I/O (3.6V tolerant, analog capable), alternative functions: TIM3_CH2, SPI1_NSS, USART2_CK, additional functions: ADC2_IN17, DAC1_OUT1, COMP1_INM |+| 10 | PA5 | bidirectional | General purpose I/O (3.6V tolerant, analog capable), alternative functions: TIM2_CH1, TIM2_ETR, SPI1_SCK, additional functions: ADC2_IN13, DAC1_OUT2, COMP2_INM, OPAMP2_VINM |+| 11 | PA6 | bidirectional | General purpose I/O (3.6V tolerant, analog capable), alternative functions: TIM16_CH1, TIM3_CH1, SPI1_MISO, COMP1_OUT, LPUART1_CTS, additional functions: ADC2_IN3, OPAMP2_VOUT |+| 12 | PA7 | bidirectional | General purpose I/O (3.6V tolerant, analog capable), alternative functions: TIM17_CH1, TIM3_CH2, SPI1_MOSI, COMP2_OUT, additional functions: ADC2_IN4, COMP2_INP, OPAMP1_VINP, OPAMP2_VINP |+| 13 | PB0 | bidirectional | General purpose I/O (3.6V tolerant, analog capable), alternative functions: TIM3_CH3, TIM1_CH2N, additional functions: ADC1_IN15, COMP4_INP, OPAMP2_VINP, OPAMP3_VINP |+| 14 | VSSA | power_in | Analog ground (must be connected to VSS, typically with filtering capacitor 10 nF + 1 µF) |+| 15 | VDDA/VREF+ | power_in | Analog supply voltage and voltage reference input, 1.62 to 3.6 V for ADC/COMP operation, requires 10 nF + 1 µF filtering capacitors |+| 16 | VSS | power_in | Ground connection for digital circuits, must be connected with VDD using 100 nF decoupling capacitor |+| 17 | VDD | power_in | Supply voltage for digital logic and I/O ports, 1.71 to 3.6 V |+| 18 | PA8 | bidirectional | General purpose I/O (5V tolerant Fm+ capable), alternative functions: MCO, I2C3_SCL, I2C2_SDA, TIM1_CH1, USART1_CK, SAI1_CK2, additional function: I2S2_MCK |+| 19 | PA9 | bidirectional | General purpose I/O (5V tolerant, USB PD Dead Battery capable), alternative functions: I2C3_SMBA, I2C2_SCL, TIM1_CH2, USART1_TX, TIM15_BKIN, additional functions: I2S3_MCK, UCPD1_DBCC1 |+| 20 | PA10 | bidirectional | General purpose I/O (5V tolerant, USB PD Dead Battery capable), alternative functions: TIM17_BKIN, USB_CRS_SYNC, I2C2_SMBA, SPI2_MISO, TIM1_CH3, USART1_RX, additional function: UCPD1_DBCC2 |+| 21 | PA11 | bidirectional | General purpose I/O (5V tolerant, USB capable), alternative functions: SPI2_MOSI/I2S2_SD, TIM1_CH1N, USART1_CTS, COMP1_OUT, FDCAN1_RX, additional function: USB_DM |+| 22 | PA12 | bidirectional | General purpose I/O (5V tolerant, USB capable), alternative functions: TIM16_CH1, TIM1_CH2N, USART1_RTS_DE, COMP2_OUT, FDCAN1_TX, additional function: USB_DP |+| 23 | PA13 | bidirectional | General purpose I/O (5V tolerant Fm+ capable), configured as SWDIO-JTMS after reset, alternative functions: TIM16_CH1N, I2C1_SCL, IR_OUT, USART3_CTS, SAI1_SD_B |+| 24 | PA14 | bidirectional | General purpose I/O (5V tolerant Fm+ capable), configured as SWCLK-JTCK after reset, alternative functions: LPTIM1_OUT, I2C1_SDA, TIM8_CH2, TIM1_BKIN, USART2_TX, SAI1_FS_B |+| 25 | PA15 | bidirectional | General purpose I/O (5V tolerant Fm+ capable), configured as JTDI after reset, alternative functions: TIM2_CH1, TIM8_CH1, I2C1_SCL, SPI1_NSS, USART2_RX, TIM1_BKIN, TIM2_ETR |+| 26 | PB3 | bidirectional | General purpose I/O (5V tolerant), configured as JTDO-TRACESWO after reset, alternative functions: TIM2_CH2, TIM4_ETR, USB_CRS_SYNC, TIM8_CH1N, SPI1_SCK, USART2_TX, TIM3_ETR, SAI1_SCK_B |+| 27 | PB4 | bidirectional | General purpose I/O (5V tolerant, USB PD CC2 capable), configured as JTRST after reset, alternative functions: TIM16_CH1, TIM3_CH1, TIM8_CH2N, SPI1_MISO, USART2_RX, TIM17_BKIN, additional function: UCPD1_CC2 |+| 28 | PB5 | bidirectional | General purpose I/O (5V tolerant Fm+ capable), alternative functions: TIM16_BKIN, TIM3_CH2, TIM8_CH3N, I2C1_SMBA, SPI1_MOSI, USART2_CK, I2C3_SDA, TIM17_CH1, LPTIM1_IN1, SAI1_SD_B |+| 29 | PB6 | bidirectional | General purpose I/O (5V tolerant, USB PD CC1 capable), alternative functions: TIM16_CH1N, TIM4_CH1, TIM8_CH1, USART1_TX, COMP4_OUT, LPTIM1_ETR, SAI1_FS_B, additional function: UCPD1_CC1 |+| 30 | PB7 | bidirectional | General purpose I/O (5V tolerant Fm+ capable), alternative functions: TIM17_CH1N, TIM4_CH2, I2C1_SDA, TIM8_BKIN, USART1_RX, COMP3_OUT, TIM3_CH4, LPTIM1_IN2, additional function: PVD_IN (power supply monitoring) |+| 31 | PB8-BOOT0 | bidirectional | Boot select pin (5V tolerant Fm+ capable), also general purpose I/O, alternative functions: TIM16_CH1, TIM4_CH3, SAI1_CK1, I2C1_SCL, USART3_RX, COMP1_OUT, FDCAN1_RX, TIM8_CH2, SAI1_MCLK_A |+| 32 | VSS | power_in | Ground connection for digital circuits, must be connected with VDD using 100 nF decoupling capacitor |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | LQFP-32(7x7) |+| Category | Embedded Processors & Controllers |+| Pins | 32 |++## CAD (KiCad official)++- Symbol: `STM32G431KBT6`+- Footprint: `Package_QFP:LQFP-32_7x7mm_P0.8mm`+- 3D model: LQFP-32(7x7) (KiCad packages3D, STEP)+- 3D model files: `stm32g431kbt6-etched.step` / `stm32g431kbt6-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm32g431kbt6.step` / `stm32g431kbt6.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/8588886203014000640) (200 pp, sha256 `cabefb21b47dc4c1`, retrieved 2026-09-24, tier: lcsc)+- **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/stm32g431kbt6-datasheet.pdf)
page.jsonadded+287
@@ -0,0 +1,287 @@+{+  "slug": "stm32g431kbt6",+  "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",+    "stm32g431kbt6",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stm32g431kbt6.kicad_sym",+    "stm32g431kbt6.kicad_mod",+    "stm32g431kbt6.glb",+    "stm32g431kbt6.step",+    "stm32g431kbt6.lbr",+    "docs/hero.png",+    "docs/stm32g431kbt6-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "component": {+    "mpn": "STM32G431KBT6",+    "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/8588886203014000640",+    "parts": {+      "symbol": "stm32g431kbt6.kicad_sym",+      "footprint": "stm32g431kbt6.kicad_mod",+      "model_3d": "stm32g431kbt6-etched.glb",+      "model_3d_plain": "stm32g431kbt6.glb",+      "model_3d_step": "stm32g431kbt6-etched.step",+      "model_3d_step_plain": "stm32g431kbt6.step",+      "lbr": "stm32g431kbt6.lbr"+    },+    "distributor_links": {+      "lcsc": "C529357"+    },+    "pins": [+      {+        "number": "1",+        "name": "VDD",+        "type": "power_in",+        "description": "Supply voltage for digital logic and I/O ports, 1.71 to 3.6 V"+      },+      {+        "number": "2",+        "name": "PF0-OSC_IN",+        "type": "input",+        "description": "External oscillator input (5V tolerant, analog switch capable), alternative function: I2C2_SDA, SPI2_NSS/I2S2_WS, TIM1_CH3N"+      },+      {+        "number": "3",+        "name": "PF1-OSC_OUT",+        "type": "output",+        "description": "External oscillator output (5V tolerant, analog switch capable), alternative function: SPI2_SCK/I2S2_CK"+      },+      {+        "number": "4",+        "name": "PG10-NRST",+        "type": "bidirectional",+        "description": "System reset input with embedded weak pull-up resistor, alternative function: MCO (master clock output)"+      },+      {+        "number": "5",+        "name": "PA0",+        "type": "bidirectional",+        "description": "General purpose I/O (3.6V tolerant, analog capable), alternative functions: TIM2_CH1, USART2_CTS, COMP1_OUT, additional functions: ADC12_IN1, COMP1_INM, RTC_TAMP2, WKUP1"+      },+      {+        "number": "6",+        "name": "PA1",+        "type": "bidirectional",+        "description": "General purpose I/O (3.6V tolerant, analog capable), alternative functions: TIM2_CH2, USART2_RTS_DE, TIM15_CH1N, additional functions: ADC12_IN2, COMP1_INP, OPAMP1_VINP"+      },+      {+        "number": "7",+        "name": "PA2",+        "type": "bidirectional",+        "description": "General purpose I/O (3.6V tolerant, analog capable), alternative functions: TIM2_CH3, USART2_TX, COMP2_OUT, LPUART1_TX, additional functions: ADC1_IN3, COMP2_INM, OPAMP1_VOUT"+      },+      {+        "number": "8",+        "name": "PA3",+        "type": "bidirectional",+        "description": "General purpose I/O (3.6V tolerant, analog capable), alternative functions: TIM2_CH4, USART2_RX, TIM15_CH2, LPUART1_RX, SAI1_MCLK_A, additional functions: ADC1_IN4, COMP2_INP"+      },+      {+        "number": "9",+        "name": "PA4",+        "type": "bidirectional",+        "description": "General purpose I/O (3.6V tolerant, analog capable), alternative functions: TIM3_CH2, SPI1_NSS, USART2_CK, additional functions: ADC2_IN17, DAC1_OUT1, COMP1_INM"+      },+      {+        "number": "10",+        "name": "PA5",+        "type": "bidirectional",+        "description": "General purpose I/O (3.6V tolerant, analog capable), alternative functions: TIM2_CH1, TIM2_ETR, SPI1_SCK, additional functions: ADC2_IN13, DAC1_OUT2, COMP2_INM, OPAMP2_VINM"+      },+      {+        "number": "11",+        "name": "PA6",+        "type": "bidirectional",+        "description": "General purpose I/O (3.6V tolerant, analog capable), alternative functions: TIM16_CH1, TIM3_CH1, SPI1_MISO, COMP1_OUT, LPUART1_CTS, additional functions: ADC2_IN3, OPAMP2_VOUT"+      },+      {+        "number": "12",+        "name": "PA7",+        "type": "bidirectional",+        "description": "General purpose I/O (3.6V tolerant, analog capable), alternative functions: TIM17_CH1, TIM3_CH2, SPI1_MOSI, COMP2_OUT, additional functions: ADC2_IN4, COMP2_INP, OPAMP1_VINP, OPAMP2_VINP"+      },+      {+        "number": "13",+        "name": "PB0",+        "type": "bidirectional",+        "description": "General purpose I/O (3.6V tolerant, analog capable), alternative functions: TIM3_CH3, TIM1_CH2N, additional functions: ADC1_IN15, COMP4_INP, OPAMP2_VINP, OPAMP3_VINP"+      },+      {+        "number": "14",+        "name": "VSSA",+        "type": "power_in",+        "description": "Analog ground (must be connected to VSS, typically with filtering capacitor 10 nF + 1 µF)"+      },+      {+        "number": "15",+        "name": "VDDA/VREF+",+        "type": "power_in",+        "description": "Analog supply voltage and voltage reference input, 1.62 to 3.6 V for ADC/COMP operation, requires 10 nF + 1 µF filtering capacitors"+      },+      {+        "number": "16",+        "name": "VSS",+        "type": "power_in",+        "description": "Ground connection for digital circuits, must be connected with VDD using 100 nF decoupling capacitor"+      },+      {+        "number": "17",+        "name": "VDD",+        "type": "power_in",+        "description": "Supply voltage for digital logic and I/O ports, 1.71 to 3.6 V"+      },+      {+        "number": "18",+        "name": "PA8",+        "type": "bidirectional",+        "description": "General purpose I/O (5V tolerant Fm+ capable), alternative functions: MCO, I2C3_SCL, I2C2_SDA, TIM1_CH1, USART1_CK, SAI1_CK2, additional function: I2S2_MCK"+      },+      {+        "number": "19",+        "name": "PA9",+        "type": "bidirectional",+        "description": "General purpose I/O (5V tolerant, USB PD Dead Battery capable), alternative functions: I2C3_SMBA, I2C2_SCL, TIM1_CH2, USART1_TX, TIM15_BKIN, additional functions: I2S3_MCK, UCPD1_DBCC1"+      },+      {+        "number": "20",+        "name": "PA10",+        "type": "bidirectional",+        "description": "General purpose I/O (5V tolerant, USB PD Dead Battery capable), alternative functions: TIM17_BKIN, USB_CRS_SYNC, I2C2_SMBA, SPI2_MISO, TIM1_CH3, USART1_RX, additional function: UCPD1_DBCC2"+      },+      {+        "number": "21",+        "name": "PA11",+        "type": "bidirectional",+        "description": "General purpose I/O (5V tolerant, USB capable), alternative functions: SPI2_MOSI/I2S2_SD, TIM1_CH1N, USART1_CTS, COMP1_OUT, FDCAN1_RX, additional function: USB_DM"+      },+      {+        "number": "22",+        "name": "PA12",+        "type": "bidirectional",+        "description": "General purpose I/O (5V tolerant, USB capable), alternative functions: TIM16_CH1, TIM1_CH2N, USART1_RTS_DE, COMP2_OUT, FDCAN1_TX, additional function: USB_DP"+      },+      {+        "number": "23",+        "name": "PA13",+        "type": "bidirectional",+        "description": "General purpose I/O (5V tolerant Fm+ capable), configured as SWDIO-JTMS after reset, alternative functions: TIM16_CH1N, I2C1_SCL, IR_OUT, USART3_CTS, SAI1_SD_B"+      },+      {+        "number": "24",+        "name": "PA14",+        "type": "bidirectional",+        "description": "General purpose I/O (5V tolerant Fm+ capable), configured as SWCLK-JTCK after reset, alternative functions: LPTIM1_OUT, I2C1_SDA, TIM8_CH2, TIM1_BKIN, USART2_TX, SAI1_FS_B"+      },+      {+        "number": "25",+        "name": "PA15",+        "type": "bidirectional",+        "description": "General purpose I/O (5V tolerant Fm+ capable), configured as JTDI after reset, alternative functions: TIM2_CH1, TIM8_CH1, I2C1_SCL, SPI1_NSS, USART2_RX, TIM1_BKIN, TIM2_ETR"+      },+      {+        "number": "26",+        "name": "PB3",+        "type": "bidirectional",+        "description": "General purpose I/O (5V tolerant), configured as JTDO-TRACESWO after reset, alternative functions: TIM2_CH2, TIM4_ETR, USB_CRS_SYNC, TIM8_CH1N, SPI1_SCK, USART2_TX, TIM3_ETR, SAI1_SCK_B"+      },+      {+        "number": "27",+        "name": "PB4",+        "type": "bidirectional",+        "description": "General purpose I/O (5V tolerant, USB PD CC2 capable), configured as JTRST after reset, alternative functions: TIM16_CH1, TIM3_CH1, TIM8_CH2N, SPI1_MISO, USART2_RX, TIM17_BKIN, additional function: UCPD1_CC2"+      },+      {+        "number": "28",+        "name": "PB5",+        "type": "bidirectional",+        "description": "General purpose I/O (5V tolerant Fm+ capable), alternative functions: TIM16_BKIN, TIM3_CH2, TIM8_CH3N, I2C1_SMBA, SPI1_MOSI, USART2_CK, I2C3_SDA, TIM17_CH1, LPTIM1_IN1, SAI1_SD_B"+      },+      {+        "number": "29",+        "name": "PB6",+        "type": "bidirectional",+        "description": "General purpose I/O (5V tolerant, USB PD CC1 capable), alternative functions: TIM16_CH1N, TIM4_CH1, TIM8_CH1, USART1_TX, COMP4_OUT, LPTIM1_ETR, SAI1_FS_B, additional function: UCPD1_CC1"+      },+      {+        "number": "30",+        "name": "PB7",+        "type": "bidirectional",+        "description": "General purpose I/O (5V tolerant Fm+ capable), alternative functions: TIM17_CH1N, TIM4_CH2, I2C1_SDA, TIM8_BKIN, USART1_RX, COMP3_OUT, TIM3_CH4, LPTIM1_IN2, additional function: PVD_IN (power supply monitoring)"+      },+      {+        "number": "31",+        "name": "PB8-BOOT0",+        "type": "bidirectional",+        "description": "Boot select pin (5V tolerant Fm+ capable), also general purpose I/O, alternative functions: TIM16_CH1, TIM4_CH3, SAI1_CK1, I2C1_SCL, USART3_RX, COMP1_OUT, FDCAN1_RX, TIM8_CH2, SAI1_MCLK_A"+      },+      {+        "number": "32",+        "name": "VSS",+        "type": "power_in",+        "description": "Ground connection for digital circuits, must be connected with VDD using 100 nF decoupling capacitor"+      }+    ],+    "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: VDDA and VREF+ are shown as separate pins in some packages but combined as VDDA/VREF+ in LQFP32 pack"+        ],+        "pages_sent": 73,+        "cost_usd": 1.0228,+        "at": "2026-09-24T00:54:48"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588886203014000640",+        "pages": 200,+        "sha256": "cabefb21b47dc4c1",+        "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"+    }+  },+  "visibility": "public",+  "org": "adom",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file