← Commit history

Initial commit: component/stm32g070kbt6

Ray ·dc6fefa9e4 ·
2 files changed +355
README.mdadded+68
@@ -0,0 +1,68 @@+# STM32G070KBT6++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · LQFP-32(7x7)++STM32G070KBT6 from STMicroelectronics, in a LQFP-32(7x7). 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 | PB9 | bidirectional | 5 V-tolerant GPIO with Fm+ output drive capability; alternate functions: IR_OUT, TIM17_CH1, USART3_RX, SPI2_NSS, I2C1_SDA, EVENTOUT. |+| 2 | PC14-OSC32_IN | bidirectional | 5 V-tolerant GPIO supplied through RTC-domain power switch (max 2 MHz / 30 pF in output mode, not to be used as current source); alternate functions: TIM1_BKIN2; additional: OSC32_IN, OSC_IN. |+| 3 | PC15-OSC32_OUT | bidirectional | 5 V-tolerant GPIO supplied through RTC-domain power switch (max 2 MHz / 30 pF in output mode); alternate functions: OSC32_EN, OSC_EN, TIM15_BKIN; additional: OSC32_OUT. |+| 4 | VDD/VDDA | power_in | Main digital and analog power supply, 2.0 V to 3.6 V; also serves as VDDA for the ADC and VDDIO1 for the I/O ring; must be decoupled with 100 nF + 4.7 µF ceramic capacitors. |+| 5 | VSS/VSSA | power_in | Ground reference for digital core and analog (VSSA) circuits; all voltages are referenced to this pin. |+| 6 | NRST | bidirectional | Bidirectional reset pin with embedded weak pull-up resistor (RPU = 25-55 kΩ typ 40 kΩ); pulses shorter than 70 ns are filtered; minimum effective reset pulse is 350 ns at 2.0 V ≤ VDD ≤ 3.6 V. |+| 7 | PA0 | bidirectional | 5 V-tolerant GPIO with analog switch (FT_a); alternate functions: SPI2_SCK, USART2_CTS, USART4_TX; additional: ADC_IN0 (0 V to VREF+), TAMP_IN2, WKUP1. |+| 8 | PA1 | bidirectional | 5 V-tolerant GPIO with analog switch (FT_a); alternate functions: SPI1_SCK/I2S1_CK, USART2_RTS_DE_CK, USART4_RX, TIM15_CH1N, I2C1_SMBA, EVENTOUT; additional: ADC_IN1. |+| 9 | PA2 | bidirectional | 5 V-tolerant GPIO with analog switch (FT_a); alternate functions: SPI1_MOSI/I2S1_SD, USART2_TX, TIM15_CH1; additional: ADC_IN2, WKUP4, LSCO. |+| 10 | PA3 | bidirectional | 5 V-tolerant GPIO with analog switch (FT_a); alternate functions: SPI2_MISO, USART2_RX, TIM15_CH2, EVENTOUT; additional: ADC_IN3. |+| 11 | PA4 | bidirectional | 3.6 V-tolerant GPIO with analog switch (TT_a); alternate functions: SPI1_NSS/I2S1_WS, SPI2_MOSI, TIM14_CH1, EVENTOUT; additional: ADC_IN4, TAMP_IN1, RTC_TS, RTC_OUT1, WKUP2. |+| 12 | PA5 | bidirectional | 3.6 V-tolerant GPIO with analog switch (TT_a); alternate functions: SPI1_SCK/I2S1_CK, USART3_TX, EVENTOUT; additional: ADC_IN5. |+| 13 | PA6 | bidirectional | 5 V-tolerant GPIO with analog switch (FT_a); alternate functions: SPI1_MISO/I2S1_MCK, TIM3_CH1, TIM1_BKIN, USART3_CTS, TIM16_CH1; additional: ADC_IN6. |+| 14 | PA7 | bidirectional | 5 V-tolerant GPIO with analog switch (FT_a); alternate functions: SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM1_CH1N, TIM14_CH1, TIM17_CH1; additional: ADC_IN7. |+| 15 | PB0 | bidirectional | 5 V-tolerant GPIO with analog switch (FT_a); a pull-down may be present at reset until SYSCFG_CFGR1 UCPD_STROBE is set; alternate functions: SPI1_NSS/I2S1_WS, TIM3_CH3, TIM1_CH2N, USART3_RX; additional: ADC_IN8. |+| 16 | PB1 | bidirectional | 5 V-tolerant GPIO with analog switch (FT_a); alternate functions: TIM14_CH1, TIM3_CH4, TIM1_CH3N, USART3_RTS_DE_CK, EVENTOUT; additional: ADC_IN9. |+| 17 | PB2 | bidirectional | 5 V-tolerant GPIO with analog switch (FT_a); alternate functions: SPI2_MISO, USART3_TX, EVENTOUT; additional: ADC_IN10. |+| 18 | PA8 | bidirectional | 5 V-tolerant GPIO with specific electrical characteristics (FT_c); pull-down may be present at reset; alternate functions: MCO, SPI2_NSS, TIM1_CH1, EVENTOUT. |+| 19 | PA9 | bidirectional | 5 V-tolerant GPIO with Fm+ output drive and specific characteristics (FT_fd); pull-down may be present at reset; alternate functions: MCO, USART1_TX, TIM1_CH2, SPI2_MISO, TIM15_BKIN, I2C1_SCL, EVENTOUT. |+| 20 | PC6 | bidirectional | 5 V-tolerant GPIO (FT); pull-down may be present at reset depending on PA9 voltage level until SYSCFG_CFGR1 UCPD_STROBE is set; alternate functions: TIM3_CH1. |+| 21 | PA10 | bidirectional | 5 V-tolerant GPIO with Fm+ output drive and specific characteristics (FT_fd); pull-down may be present at reset; alternate functions: SPI2_MOSI, USART1_RX, TIM1_CH3, TIM17_BKIN, I2C1_SDA, EVENTOUT. |+| 22 | PA11 | bidirectional | 5 V-tolerant GPIO with Fm+ output drive (FT_f); default mapping PA11, remappable to PA9 via SYSCFG_CFGR1; alternate functions: SPI1_MISO/I2S1_MCK, USART1_CTS, TIM1_CH4, TIM1_BKIN2, I2C2_SCL. |+| 23 | PA12 | bidirectional | 5 V-tolerant GPIO with Fm+ output drive (FT_f); default mapping PA12, remappable to PA10 via SYSCFG_CFGR1; alternate functions: SPI1_MOSI/I2S1_SD, USART1_RTS_DE_CK, TIM1_ETR, I2S_CKIN, I2C2_SDA. |+| 24 | PA13 | bidirectional | 5 V-tolerant GPIO (FT); reset default is SWDIO with internal pull-up activated; alternate functions: SWDIO, IR_OUT, EVENTOUT. |+| 25 | PA14-BOOT0 | bidirectional | 5 V-tolerant GPIO (FT); reset default is SWCLK with internal pull-down activated; doubles as BOOT0 boot-mode selector when enabled by option byte; alternate functions: SWCLK, USART2_TX, EVENTOUT. |+| 26 | PA15 | bidirectional | 5 V-tolerant GPIO (FT); alternate functions: SPI1_NSS/I2S1_WS, USART2_RX, USART4_RTS_DE_CK, USART3_RTS_DE_CK, EVENTOUT. |+| 27 | PB3 | bidirectional | 5 V-tolerant GPIO with analog switch (FT_a); alternate functions: SPI1_SCK/I2S1_CK, TIM1_CH2, USART1_RTS_DE_CK, EVENTOUT. |+| 28 | PB4 | bidirectional | 5 V-tolerant GPIO with analog switch (FT_a); alternate functions: SPI1_MISO/I2S1_MCK, TIM3_CH1, USART1_CTS, TIM17_BKIN, EVENTOUT. |+| 29 | PB5 | bidirectional | 5 V-tolerant GPIO (FT); alternate functions: SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM16_BKIN, I2C1_SMBA; additional: WKUP6. |+| 30 | PB6 | bidirectional | 5 V-tolerant GPIO with Fm+ output drive (FT_fa); alternate functions: USART1_TX, TIM1_CH3, TIM16_CH1N, SPI2_MISO, I2C1_SCL, EVENTOUT. |+| 31 | PB7 | bidirectional | 5 V-tolerant GPIO with Fm+ output drive (FT_fa); alternate functions: USART1_RX, SPI2_MOSI, TIM17_CH1N, USART4_CTS, I2C1_SDA, EVENTOUT. |+| 32 | PB8 | bidirectional | 5 V-tolerant GPIO with Fm+ output drive (FT_f); alternate functions: SPI2_SCK, TIM16_CH1, USART3_TX, TIM15_BKIN, I2C1_SCL, EVENTOUT. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | LQFP-32(7x7) |+| Category | Embedded Processors & Controllers |+| Pins | 32 |++## CAD (KiCad official)++- Symbol: `STM32G070KBT6`+- Footprint: `Package_QFP:LQFP-32_7x7mm_P0.8mm`+- 3D model: LQFP-32(7x7) (KiCad packages3D, STEP)+- 3D model files: `stm32g070kbt6-etched.step` / `stm32g070kbt6-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm32g070kbt6.step` / `stm32g070kbt6.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/8588885151098658816) (93 pp, sha256 `29c4b367c493f973`, retrieved 2026-09-22, tier: lcsc)+- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.2`, primary `claude-haiku-4-5-20251001` (text), consensus `claude-sonnet-4-6` (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/stm32g070kbt6-datasheet.pdf)
page.jsonadded+287
@@ -0,0 +1,287 @@+{+  "slug": "stm32g070kbt6",+  "version": "0.1.0",+  "type": "component",+  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). Datasheet-verified pinout, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "embedded processors & controllers",+    "stm32g070kbt6",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stm32g070kbt6.kicad_sym",+    "stm32g070kbt6.kicad_mod",+    "stm32g070kbt6.glb",+    "stm32g070kbt6.step",+    "stm32g070kbt6.lbr",+    "docs/hero.png",+    "docs/stm32g070kbt6-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "component": {+    "mpn": "STM32G070KBT6",+    "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/8588885151098658816",+    "parts": {+      "symbol": "stm32g070kbt6.kicad_sym",+      "footprint": "stm32g070kbt6.kicad_mod",+      "model_3d": "stm32g070kbt6-etched.glb",+      "model_3d_plain": "stm32g070kbt6.glb",+      "model_3d_step": "stm32g070kbt6-etched.step",+      "model_3d_step_plain": "stm32g070kbt6.step",+      "lbr": "stm32g070kbt6.lbr"+    },+    "distributor_links": {+      "lcsc": "C529339"+    },+    "pins": [+      {+        "number": "1",+        "name": "PB9",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO with Fm+ output drive capability; alternate functions: IR_OUT, TIM17_CH1, USART3_RX, SPI2_NSS, I2C1_SDA, EVENTOUT."+      },+      {+        "number": "2",+        "name": "PC14-OSC32_IN",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO supplied through RTC-domain power switch (max 2 MHz / 30 pF in output mode, not to be used as current source); alternate functions: TIM1_BKIN2; additional: OSC32_IN, OSC_IN."+      },+      {+        "number": "3",+        "name": "PC15-OSC32_OUT",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO supplied through RTC-domain power switch (max 2 MHz / 30 pF in output mode); alternate functions: OSC32_EN, OSC_EN, TIM15_BKIN; additional: OSC32_OUT."+      },+      {+        "number": "4",+        "name": "VDD/VDDA",+        "type": "power_in",+        "description": "Main digital and analog power supply, 2.0 V to 3.6 V; also serves as VDDA for the ADC and VDDIO1 for the I/O ring; must be decoupled with 100 nF + 4.7 µF ceramic capacitors."+      },+      {+        "number": "5",+        "name": "VSS/VSSA",+        "type": "power_in",+        "description": "Ground reference for digital core and analog (VSSA) circuits; all voltages are referenced to this pin."+      },+      {+        "number": "6",+        "name": "NRST",+        "type": "bidirectional",+        "description": "Bidirectional reset pin with embedded weak pull-up resistor (RPU = 25-55 kΩ typ 40 kΩ); pulses shorter than 70 ns are filtered; minimum effective reset pulse is 350 ns at 2.0 V ≤ VDD ≤ 3.6 V."+      },+      {+        "number": "7",+        "name": "PA0",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO with analog switch (FT_a); alternate functions: SPI2_SCK, USART2_CTS, USART4_TX; additional: ADC_IN0 (0 V to VREF+), TAMP_IN2, WKUP1."+      },+      {+        "number": "8",+        "name": "PA1",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO with analog switch (FT_a); alternate functions: SPI1_SCK/I2S1_CK, USART2_RTS_DE_CK, USART4_RX, TIM15_CH1N, I2C1_SMBA, EVENTOUT; additional: ADC_IN1."+      },+      {+        "number": "9",+        "name": "PA2",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO with analog switch (FT_a); alternate functions: SPI1_MOSI/I2S1_SD, USART2_TX, TIM15_CH1; additional: ADC_IN2, WKUP4, LSCO."+      },+      {+        "number": "10",+        "name": "PA3",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO with analog switch (FT_a); alternate functions: SPI2_MISO, USART2_RX, TIM15_CH2, EVENTOUT; additional: ADC_IN3."+      },+      {+        "number": "11",+        "name": "PA4",+        "type": "bidirectional",+        "description": "3.6 V-tolerant GPIO with analog switch (TT_a); alternate functions: SPI1_NSS/I2S1_WS, SPI2_MOSI, TIM14_CH1, EVENTOUT; additional: ADC_IN4, TAMP_IN1, RTC_TS, RTC_OUT1, WKUP2."+      },+      {+        "number": "12",+        "name": "PA5",+        "type": "bidirectional",+        "description": "3.6 V-tolerant GPIO with analog switch (TT_a); alternate functions: SPI1_SCK/I2S1_CK, USART3_TX, EVENTOUT; additional: ADC_IN5."+      },+      {+        "number": "13",+        "name": "PA6",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO with analog switch (FT_a); alternate functions: SPI1_MISO/I2S1_MCK, TIM3_CH1, TIM1_BKIN, USART3_CTS, TIM16_CH1; additional: ADC_IN6."+      },+      {+        "number": "14",+        "name": "PA7",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO with analog switch (FT_a); alternate functions: SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM1_CH1N, TIM14_CH1, TIM17_CH1; additional: ADC_IN7."+      },+      {+        "number": "15",+        "name": "PB0",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO with analog switch (FT_a); a pull-down may be present at reset until SYSCFG_CFGR1 UCPD_STROBE is set; alternate functions: SPI1_NSS/I2S1_WS, TIM3_CH3, TIM1_CH2N, USART3_RX; additional: ADC_IN8."+      },+      {+        "number": "16",+        "name": "PB1",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO with analog switch (FT_a); alternate functions: TIM14_CH1, TIM3_CH4, TIM1_CH3N, USART3_RTS_DE_CK, EVENTOUT; additional: ADC_IN9."+      },+      {+        "number": "17",+        "name": "PB2",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO with analog switch (FT_a); alternate functions: SPI2_MISO, USART3_TX, EVENTOUT; additional: ADC_IN10."+      },+      {+        "number": "18",+        "name": "PA8",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO with specific electrical characteristics (FT_c); pull-down may be present at reset; alternate functions: MCO, SPI2_NSS, TIM1_CH1, EVENTOUT."+      },+      {+        "number": "19",+        "name": "PA9",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO with Fm+ output drive and specific characteristics (FT_fd); pull-down may be present at reset; alternate functions: MCO, USART1_TX, TIM1_CH2, SPI2_MISO, TIM15_BKIN, I2C1_SCL, EVENTOUT."+      },+      {+        "number": "20",+        "name": "PC6",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO (FT); pull-down may be present at reset depending on PA9 voltage level until SYSCFG_CFGR1 UCPD_STROBE is set; alternate functions: TIM3_CH1."+      },+      {+        "number": "21",+        "name": "PA10",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO with Fm+ output drive and specific characteristics (FT_fd); pull-down may be present at reset; alternate functions: SPI2_MOSI, USART1_RX, TIM1_CH3, TIM17_BKIN, I2C1_SDA, EVENTOUT."+      },+      {+        "number": "22",+        "name": "PA11",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO with Fm+ output drive (FT_f); default mapping PA11, remappable to PA9 via SYSCFG_CFGR1; alternate functions: SPI1_MISO/I2S1_MCK, USART1_CTS, TIM1_CH4, TIM1_BKIN2, I2C2_SCL."+      },+      {+        "number": "23",+        "name": "PA12",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO with Fm+ output drive (FT_f); default mapping PA12, remappable to PA10 via SYSCFG_CFGR1; alternate functions: SPI1_MOSI/I2S1_SD, USART1_RTS_DE_CK, TIM1_ETR, I2S_CKIN, I2C2_SDA."+      },+      {+        "number": "24",+        "name": "PA13",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO (FT); reset default is SWDIO with internal pull-up activated; alternate functions: SWDIO, IR_OUT, EVENTOUT."+      },+      {+        "number": "25",+        "name": "PA14-BOOT0",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO (FT); reset default is SWCLK with internal pull-down activated; doubles as BOOT0 boot-mode selector when enabled by option byte; alternate functions: SWCLK, USART2_TX, EVENTOUT."+      },+      {+        "number": "26",+        "name": "PA15",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO (FT); alternate functions: SPI1_NSS/I2S1_WS, USART2_RX, USART4_RTS_DE_CK, USART3_RTS_DE_CK, EVENTOUT."+      },+      {+        "number": "27",+        "name": "PB3",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO with analog switch (FT_a); alternate functions: SPI1_SCK/I2S1_CK, TIM1_CH2, USART1_RTS_DE_CK, EVENTOUT."+      },+      {+        "number": "28",+        "name": "PB4",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO with analog switch (FT_a); alternate functions: SPI1_MISO/I2S1_MCK, TIM3_CH1, USART1_CTS, TIM17_BKIN, EVENTOUT."+      },+      {+        "number": "29",+        "name": "PB5",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO (FT); alternate functions: SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM16_BKIN, I2C1_SMBA; additional: WKUP6."+      },+      {+        "number": "30",+        "name": "PB6",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO with Fm+ output drive (FT_fa); alternate functions: USART1_TX, TIM1_CH3, TIM16_CH1N, SPI2_MISO, I2C1_SCL, EVENTOUT."+      },+      {+        "number": "31",+        "name": "PB7",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO with Fm+ output drive (FT_fa); alternate functions: USART1_RX, SPI2_MOSI, TIM17_CH1N, USART4_CTS, I2C1_SDA, EVENTOUT."+      },+      {+        "number": "32",+        "name": "PB8",+        "type": "bidirectional",+        "description": "5 V-tolerant GPIO with Fm+ output drive (FT_f); alternate functions: SPI2_SCK, TIM16_CH1, USART3_TX, TIM15_BKIN, I2C1_SCL, EVENTOUT."+      }+    ],+    "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-4-6",+        "consensus": "agreed",+        "guards": "pin_guards 0.1: passed",+        "guard_notes": [+          "extractor flagged: PC14-OSC32_IN (pin 2) has dual functionality: standard GPIO or 32 kHz oscillator input; OSC_IN alter; PA11 and PA12 are listed with alternative mappings [PA9] and [PA10] per SYSCFG_CFGR1 register config; Several pins (PA8, PA9, PA10, PA11, PA12, PB0, PB15) have note 3 dependency indicating internal pull"+        ],+        "pages_sent": 93,+        "cost_usd": 1.2634,+        "at": "2026-09-22T02:34:05"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588885151098658816",+        "pages": 93,+        "sha256": "29c4b367c493f973",+        "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