← Commit history

Initial commit: component/stm32g030f6p6

Ray ·e5ddb6b273 ·13d ago
2 files changed +271
README.mdadded+56
@@ -0,0 +1,56 @@+# STM32G030F6P6++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · TSSOP-20++STM32G030F6P6 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 | PB7 | bidirectional | GPIO Port B pin 7, 5V-tolerant I/O with analog switch function; alternate functions include USART1_RX, SPI2_MOSI, TIM17_CH1N, I2C1_SDA, EVENTOUT; additional function ADC_IN11 |+| 2 | PB9 | bidirectional | GPIO Port B pin 9, 5V-tolerant I/O with Fast-mode+ capability; alternate functions include IR_OUT, TIM17_CH1, SPI2_NSS, I2C1_SDA, EVENTOUT |+| 3 | PC15-OSC32_OUT | bidirectional | GPIO Port C pin 15 or 32 kHz oscillator output, 5V-tolerant I/O; alternate functions OSC32_EN, OSC_EN; additional function OSC32_OUT |+| 4 | VDD/VDDA | power_in | Main and analog power supply, voltage range 2.0 V to 3.6 V |+| 5 | VSS/VSSA | power_in | Ground (return path for VDD and VDDA) |+| 6 | NRST | bidirectional | Active-low reset input with embedded weak pull-up resistor, Schmitt trigger input; additional function NRST |+| 7 | PA0 | bidirectional | GPIO Port A pin 0, 5V-tolerant I/O with analog switch function; alternate functions SPI2_SCK, USART2_CTS; additional functions ADC_IN0, TAMP_IN2, WKUP1 |+| 8 | PA1 | bidirectional | GPIO Port A pin 1, 5V-tolerant I/O with switchable diode to VDD and analog switch; alternate functions SPI1_SCK/I2S1_CK, USART2_RTS_DE_CK, I2C1_SMBA, EVENTOUT; additional function ADC_IN1 |+| 9 | PA2 | bidirectional | GPIO Port A pin 2, 5V-tolerant I/O with analog switch; alternate functions SPI1_MOSI/I2S1_SD, USART2_TX; additional functions ADC_IN2, WKUP4, LSCO |+| 10 | PA3 | bidirectional | GPIO Port A pin 3, 5V-tolerant I/O with switchable diode and analog switch; alternate functions SPI2_MISO, USART2_RX, EVENTOUT; additional function ADC_IN3 |+| 11 | PA4 | bidirectional | GPIO Port A pin 4, 5V-tolerant I/O with analog switch; alternate functions SPI1_NSS/I2S1_WS, SPI2_MOSI, TIM14_CH1, EVENTOUT; additional functions ADC_IN4, TAMP_IN1, RTC_TS, RTC_OUT1, WKUP2 |+| 12 | PA5 | bidirectional | GPIO Port A pin 5, 5V-tolerant I/O with switchable diode and analog switch; alternate functions SPI1_SCK/I2S1_CK, EVENTOUT; additional function ADC_IN5 |+| 13 | PA6 | bidirectional | GPIO Port A pin 6, 5V-tolerant I/O with switchable diode and analog switch; alternate functions SPI1_MISO/I2S1_MCK, TIM3_CH1, TIM1_BK, TIM16_CH1; additional function ADC_IN6 |+| 14 | PA7 | bidirectional | GPIO Port A pin 7, 5V-tolerant I/O with analog switch; alternate functions SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM1_CH1N, TIM14_CH1, TIM17_CH1; additional function ADC_IN7 |+| 15 | PB0 | bidirectional | GPIO Port B pin 0, 5V-tolerant I/O with switchable diode and analog switch; alternate functions SPI1_NSS/I2S1_WS, TIM3_CH3, TIM1_CH2N; additional function ADC_IN8; shares physical pin with PB1, PB2, PA8 |+| 16 | PA11[PA9] | bidirectional | GPIO Port A pin 11 (remappable to PA9 via SYSCFG_CFGR1), 5V-tolerant I/O with Fast-mode+ capability and analog switch; alternate functions SPI1_MISO/I2S1_MCK, USART1_CTS, TIM1_CH4, TIM1_BK2, I2C2_SCL; additional function ADC_IN15 |+| 17 | PA12[PA10] | bidirectional | GPIO Port A pin 12 (remappable to PA10 via SYSCFG_CFGR1), 5V-tolerant I/O with Fast-mode+ capability and analog switch; alternate functions SPI1_MOSI/I2S1_SD, USART1_RTS_DE_CK, TIM1_ETR, I2S_CKIN, I2C2_SDA; additional function ADC_IN16 |+| 18 | PA13 | bidirectional | GPIO Port A pin 13 / Serial Wire Debug Data I/O, 5V-tolerant I/O with switchable diode and analog switch, internal pull-up; alternate functions SWDIO, IR_OUT, EVENTOUT; additional function ADC_IN17 |+| 19 | PA14-BOOT0 | bidirectional | GPIO Port A pin 14 / Serial Wire Debug Clock / BOOT0 selection, 5V-tolerant I/O with analog switch, internal pull-down; alternate functions SWCLK, USART2_TX, EVENTOUT; additional functions ADC_IN18, BOOT0 |+| 20 | PB3 | bidirectional | GPIO Port B pin 3, 5V-tolerant I/O; alternate functions SPI1_SCK/I2S1_CK, TIM1_CH2, USART1_RTS_DE_CK, EVENTOUT; shares physical pin with PB4, PB5, PB6 |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | TSSOP-20 |+| Category | Embedded Processors & Controllers |+| Pins | 20 |++## CAD (KiCad official)++- Symbol: `STM32G030F6P6`+- Footprint: `Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm`+- 3D model: TSSOP-20 (KiCad packages3D, STEP)+- 3D model files: `stm32g030f6p6-etched.step` / `stm32g030f6p6-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm32g030f6p6.step` / `stm32g030f6p6.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/8588886932194021376) (93 pp, sha256 `bd4d70f72b2e82c5`, 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-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/stm32g030f6p6-datasheet.pdf)
page.jsonadded+215
@@ -0,0 +1,215 @@+{+  "slug": "stm32g030f6p6",+  "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",+    "stm32g030f6p6",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stm32g030f6p6.kicad_sym",+    "stm32g030f6p6.kicad_mod",+    "stm32g030f6p6.glb",+    "stm32g030f6p6.step",+    "stm32g030f6p6.lbr",+    "docs/hero.png",+    "docs/stm32g030f6p6-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "component": {+    "mpn": "STM32G030F6P6",+    "manufacturer": "STMicroelectronics",+    "package": "TSSOP-20",+    "pin_count": 20,+    "category": "Embedded Processors & Controllers",+    "subcategory": "Microcontrollers (MCU/MPU/SOC)",+    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588886932194021376",+    "parts": {+      "symbol": "stm32g030f6p6.kicad_sym",+      "footprint": "stm32g030f6p6.kicad_mod",+      "model_3d": "stm32g030f6p6-etched.glb",+      "model_3d_plain": "stm32g030f6p6.glb",+      "model_3d_step": "stm32g030f6p6-etched.step",+      "model_3d_step_plain": "stm32g030f6p6.step",+      "lbr": "stm32g030f6p6.lbr"+    },+    "distributor_links": {+      "lcsc": "C724040"+    },+    "pins": [+      {+        "number": "1",+        "name": "PB7",+        "type": "bidirectional",+        "description": "GPIO Port B pin 7, 5V-tolerant I/O with analog switch function; alternate functions include USART1_RX, SPI2_MOSI, TIM17_CH1N, I2C1_SDA, EVENTOUT; additional function ADC_IN11"+      },+      {+        "number": "2",+        "name": "PB9",+        "type": "bidirectional",+        "description": "GPIO Port B pin 9, 5V-tolerant I/O with Fast-mode+ capability; alternate functions include IR_OUT, TIM17_CH1, SPI2_NSS, I2C1_SDA, EVENTOUT"+      },+      {+        "number": "3",+        "name": "PC15-OSC32_OUT",+        "type": "bidirectional",+        "description": "GPIO Port C pin 15 or 32 kHz oscillator output, 5V-tolerant I/O; alternate functions OSC32_EN, OSC_EN; additional function OSC32_OUT"+      },+      {+        "number": "4",+        "name": "VDD/VDDA",+        "type": "power_in",+        "description": "Main and analog power supply, voltage range 2.0 V to 3.6 V"+      },+      {+        "number": "5",+        "name": "VSS/VSSA",+        "type": "power_in",+        "description": "Ground (return path for VDD and VDDA)"+      },+      {+        "number": "6",+        "name": "NRST",+        "type": "bidirectional",+        "description": "Active-low reset input with embedded weak pull-up resistor, Schmitt trigger input; additional function NRST"+      },+      {+        "number": "7",+        "name": "PA0",+        "type": "bidirectional",+        "description": "GPIO Port A pin 0, 5V-tolerant I/O with analog switch function; alternate functions SPI2_SCK, USART2_CTS; additional functions ADC_IN0, TAMP_IN2, WKUP1"+      },+      {+        "number": "8",+        "name": "PA1",+        "type": "bidirectional",+        "description": "GPIO Port A pin 1, 5V-tolerant I/O with switchable diode to VDD and analog switch; alternate functions SPI1_SCK/I2S1_CK, USART2_RTS_DE_CK, I2C1_SMBA, EVENTOUT; additional function ADC_IN1"+      },+      {+        "number": "9",+        "name": "PA2",+        "type": "bidirectional",+        "description": "GPIO Port A pin 2, 5V-tolerant I/O with analog switch; alternate functions SPI1_MOSI/I2S1_SD, USART2_TX; additional functions ADC_IN2, WKUP4, LSCO"+      },+      {+        "number": "10",+        "name": "PA3",+        "type": "bidirectional",+        "description": "GPIO Port A pin 3, 5V-tolerant I/O with switchable diode and analog switch; alternate functions SPI2_MISO, USART2_RX, EVENTOUT; additional function ADC_IN3"+      },+      {+        "number": "11",+        "name": "PA4",+        "type": "bidirectional",+        "description": "GPIO Port A pin 4, 5V-tolerant I/O with analog switch; alternate functions SPI1_NSS/I2S1_WS, SPI2_MOSI, TIM14_CH1, EVENTOUT; additional functions ADC_IN4, TAMP_IN1, RTC_TS, RTC_OUT1, WKUP2"+      },+      {+        "number": "12",+        "name": "PA5",+        "type": "bidirectional",+        "description": "GPIO Port A pin 5, 5V-tolerant I/O with switchable diode and analog switch; alternate functions SPI1_SCK/I2S1_CK, EVENTOUT; additional function ADC_IN5"+      },+      {+        "number": "13",+        "name": "PA6",+        "type": "bidirectional",+        "description": "GPIO Port A pin 6, 5V-tolerant I/O with switchable diode and analog switch; alternate functions SPI1_MISO/I2S1_MCK, TIM3_CH1, TIM1_BK, TIM16_CH1; additional function ADC_IN6"+      },+      {+        "number": "14",+        "name": "PA7",+        "type": "bidirectional",+        "description": "GPIO Port A pin 7, 5V-tolerant I/O with analog switch; alternate functions SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM1_CH1N, TIM14_CH1, TIM17_CH1; additional function ADC_IN7"+      },+      {+        "number": "15",+        "name": "PB0",+        "type": "bidirectional",+        "description": "GPIO Port B pin 0, 5V-tolerant I/O with switchable diode and analog switch; alternate functions SPI1_NSS/I2S1_WS, TIM3_CH3, TIM1_CH2N; additional function ADC_IN8; shares physical pin with PB1, PB2, PA8"+      },+      {+        "number": "16",+        "name": "PA11[PA9]",+        "type": "bidirectional",+        "description": "GPIO Port A pin 11 (remappable to PA9 via SYSCFG_CFGR1), 5V-tolerant I/O with Fast-mode+ capability and analog switch; alternate functions SPI1_MISO/I2S1_MCK, USART1_CTS, TIM1_CH4, TIM1_BK2, I2C2_SCL; additional function ADC_IN15"+      },+      {+        "number": "17",+        "name": "PA12[PA10]",+        "type": "bidirectional",+        "description": "GPIO Port A pin 12 (remappable to PA10 via SYSCFG_CFGR1), 5V-tolerant I/O with Fast-mode+ capability and analog switch; alternate functions SPI1_MOSI/I2S1_SD, USART1_RTS_DE_CK, TIM1_ETR, I2S_CKIN, I2C2_SDA; additional function ADC_IN16"+      },+      {+        "number": "18",+        "name": "PA13",+        "type": "bidirectional",+        "description": "GPIO Port A pin 13 / Serial Wire Debug Data I/O, 5V-tolerant I/O with switchable diode and analog switch, internal pull-up; alternate functions SWDIO, IR_OUT, EVENTOUT; additional function ADC_IN17"+      },+      {+        "number": "19",+        "name": "PA14-BOOT0",+        "type": "bidirectional",+        "description": "GPIO Port A pin 14 / Serial Wire Debug Clock / BOOT0 selection, 5V-tolerant I/O with analog switch, internal pull-down; alternate functions SWCLK, USART2_TX, EVENTOUT; additional functions ADC_IN18, BOOT0"+      },+      {+        "number": "20",+        "name": "PB3",+        "type": "bidirectional",+        "description": "GPIO Port B pin 3, 5V-tolerant I/O; alternate functions SPI1_SCK/I2S1_CK, TIM1_CH2, USART1_RTS_DE_CK, EVENTOUT; shares physical pin with PB4, PB5, PB6"+      }+    ],+    "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: Pins 1, 2, and 3 are bonded with multiple GPIO options as shown in Figure 5: Pin 1 shows PB7/PB8; Pi; No VREF+ pin is exposed in TSSOP20 package; according to Section 3.7.1, VREF+ is internally connecte"+        ],+        "pages_sent": 93,+        "cost_usd": 1.0696,+        "at": "2026-09-22T19:48:33"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588886932194021376",+        "pages": 93,+        "sha256": "bd4d70f72b2e82c5",+        "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]"+  }+}\ No newline at end of file