← Commit history

Initial commit: component/stm32g474cbt6

Ray ·c20bd1a1f3 ·6d ago
2 files changed +466
README.mdadded+84
@@ -0,0 +1,84 @@+# STM32G474CBT6++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · LQFP-48(7x7)++STM32G474CBT6 from STMicroelectronics, in a LQFP-48(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 | VBAT | power_out | Backup battery supply voltage operating range 1.55 V to 3.6 V. |+| 2 | PC13 | bidirectional | Port C pin 13, 5 V tolerant I/O with RTC tamper and wakeup capability. |+| 3 | PC14-OSC32_IN | bidirectional | Port C pin 14, 5 V tolerant I/O configurable as 32 kHz oscillator input. |+| 4 | PC15-OSC32_OUT | bidirectional | Port C pin 15, 5 V tolerant I/O configurable as 32 kHz oscillator output. |+| 5 | PF0-OSC_IN | bidirectional | Port F pin 0, 5 V tolerant I/O with analog switch, main oscillator input. |+| 6 | PF1-OSC_OUT | bidirectional | Port F pin 1, 3.6 V tolerant I/O with analog switch, main oscillator output. |+| 7 | PG10-NRST | bidirectional | Port G pin 10, 5 V tolerant reset pin with embedded weak pull-up resistor. |+| 8 | PA0 | bidirectional | Port A pin 0, 3.6 V tolerant I/O with analog switch supporting ADC12_IN1 conversion. |+| 9 | PA1 | bidirectional | Port A pin 1, 3.6 V tolerant I/O with analog switch supporting ADC12_IN2 conversion. |+| 10 | PA2 | bidirectional | Port A pin 2, 5 V tolerant I/O with analog switch supporting ADC1_IN3 conversion. |+| 11 | PA3 | bidirectional | Port A pin 3, 3.6 V tolerant I/O with analog switch supporting ADC1_IN4 conversion. |+| 12 | PA4 | bidirectional | Port A pin 4, 3.6 V tolerant I/O with analog switch supporting DAC1_OUT1 and ADC2_IN17. |+| 13 | PA5 | bidirectional | Port A pin 5, 3.6 V tolerant I/O with analog switch supporting DAC1_OUT2 and ADC2_IN13. |+| 14 | PA6 | bidirectional | Port A pin 6, 3.6 V tolerant I/O with analog switch supporting DAC2_OUT1 and ADC2_IN3. |+| 15 | PB1 | bidirectional | Port B pin 1, 3.6 V tolerant I/O with analog switch supporting ADC3_IN1/ADC1_IN12. |+| 16 | VREF+ | power_out | Analog voltage reference input, 2.4 V to 3.6 V when VREFBUF is used, 0 V to 3.6 V otherwise. |+| 17 | PA7 | bidirectional | Port A pin 7, 3.6 V tolerant I/O with analog switch supporting ADC2_IN4 conversion. |+| 18 | PB0 | bidirectional | Port B pin 0, 3.6 V tolerant I/O with analog switch supporting ADC3_IN12/ADC1_IN15. |+| 19 | VDD | power_out | Digital power supply voltage operating range 1.71 V to 3.6 V. |+| 20 | VDDA | power_out | Analog power supply voltage, minimum 1.62 V for ADC or 1.8 V for DAC/OPAMP/COMP. |+| 21 | PB2 | bidirectional | Port B pin 2, 3.6 V tolerant I/O with analog switch supporting ADC2_IN12 conversion. |+| 22 | VSSA | power_in | Analog power ground. |+| 23 | PB10 | bidirectional | Port B pin 10, 3.6 V tolerant I/O with analog switch supporting OPAMP3_VINM function. |+| 24 | VSS | power_in | Digital power ground. |+| 25 | VDD | power_out | Digital power supply voltage operating range 1.71 V to 3.6 V. |+| 26 | VSS | power_in | Digital power ground. |+| 27 | PA12 | bidirectional | Port A pin 12, 5 V tolerant I/O with USB function for FDCAN1_TX and USART1_RTS_DE. |+| 28 | PA11 | bidirectional | Port A pin 11, 5 V tolerant I/O with USB function for FDCAN1_RX and USART1_CTS. |+| 29 | PA10 | bidirectional | Port A pin 10, 5 V tolerant I/O with USB and UCPD dead battery function for USART1_RX. |+| 30 | PA9 | bidirectional | Port A pin 9, 5 V tolerant I/O with USB and UCPD dead battery function for USART1_TX. |+| 31 | PA8 | bidirectional | Port A pin 8, 5 V tolerant I/O with analog switch supporting ADC5_IN1 and OPAMP5_VOUT. |+| 32 | PB15 | bidirectional | Port B pin 15, 3.6 V tolerant I/O with analog switch supporting ADC4_IN5/ADC2_IN15. |+| 33 | PB14 | bidirectional | Port B pin 14, 3.6 V tolerant I/O with analog switch supporting ADC4_IN4/ADC1_IN5. |+| 34 | PB13 | bidirectional | Port B pin 13, 3.6 V tolerant I/O with analog switch supporting ADC3_IN5 conversion. |+| 35 | PB12 | bidirectional | Port B pin 12, 3.6 V tolerant I/O with analog switch supporting ADC4_IN3/ADC1_IN11. |+| 36 | PB11 | bidirectional | Port B pin 11, 3.6 V tolerant I/O with analog switch supporting ADC12_IN14 conversion. |+| 37 | VDD | power_out | Digital power supply voltage operating range 1.71 V to 3.6 V. |+| 38 | VSS | power_in | Digital power ground. |+| 39 | PB9 | bidirectional | Port B pin 9, 5 V tolerant Fm+ capable I/O for USART3_TX and infrared output. |+| 40 | PB8-BOOT0 | bidirectional | Port B pin 8 with BOOT0 function, 5 V tolerant Fm+ capable I/O for USART3_RX and timer. |+| 41 | PB7 | bidirectional | Port B pin 7, 5 V tolerant Fm+ capable I/O for USART1_RX and I2C1_SDA with PVD_IN function. |+| 42 | PB6 | bidirectional | Port B pin 6, 5 V tolerant I/O with USB Type-C PD capability (UCPD1_CC1) for USART1_TX. |+| 43 | PB5 | bidirectional | Port B pin 5, 5 V tolerant Fm+ capable I/O for SPI1_MOSI and FDCAN2_RX. |+| 44 | PB4 | bidirectional | Port B pin 4, 5 V tolerant I/O with USB Type-C PD capability (UCPD1_CC2) for USART2_RX. |+| 45 | PB3 | bidirectional | Port B pin 3, 5 V tolerant I/O for JTAG output TRACESWO and SPI1_SCK. |+| 46 | PA15 | bidirectional | Port A pin 15, 5 V tolerant Fm+ capable I/O for JTDI and SPI1_NSS with FDCAN3_TX. |+| 47 | PA14 | bidirectional | Port A pin 14, 5 V tolerant Fm+ capable I/O for SWCLK-JTCK debug function. |+| 48 | PA13 | bidirectional | Port A pin 13, 5 V tolerant Fm+ capable I/O for SWDIO-JTMS debug function. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | LQFP-48(7x7) |+| Category | Embedded Processors & Controllers |+| Pins | 48 |++## CAD (KiCad official)++- Symbol: `STM32G474CBT6`+- Footprint: `Package_QFP:LQFP-48_7x7mm_P0.5mm`+- 3D model: LQFP-48(7x7) (KiCad packages3D, STEP)+- 3D model files: `stm32g474cbt6-etched.step` / `stm32g474cbt6-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm32g474cbt6.step` / `stm32g474cbt6.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/8588886130112937984) (236 pp, sha256 `d493fe0ab22e61ff`, retrieved 2026-09-29, tier: lcsc)+- **Extractor:** `ds2sf` (Claude). Every pin and dimension is cited to a datasheet page; it refuses to fabricate.+- **CAD:** KiCad official libraries (CC-BY-SA 4.0).++[Datasheet PDF](docs/stm32g474cbt6-datasheet.pdf)
page.jsonadded+382
@@ -0,0 +1,382 @@+{+  "slug": "stm32g474cbt6",+  "version": "0.1.0",+  "type": "component",+  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "embedded processors & controllers",+    "stm32g474cbt6",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stm32g474cbt6.kicad_sym",+    "stm32g474cbt6.kicad_mod",+    "stm32g474cbt6.glb",+    "stm32g474cbt6.step",+    "stm32g474cbt6.lbr",+    "docs/hero.png",+    "docs/stm32g474cbt6-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "component": {+    "mpn": "STM32G474CBT6",+    "manufacturer": "STMicroelectronics",+    "package": "LQFP-48(7x7)",+    "pin_count": 48,+    "category": "Embedded Processors & Controllers",+    "subcategory": "Microcontrollers (MCU/MPU/SOC)",+    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588886130112937984",+    "parts": {+      "symbol": "stm32g474cbt6.kicad_sym",+      "footprint": "stm32g474cbt6.kicad_mod",+      "model_3d": "stm32g474cbt6-etched.glb",+      "model_3d_plain": "stm32g474cbt6.glb",+      "model_3d_step": "stm32g474cbt6-etched.step",+      "model_3d_step_plain": "stm32g474cbt6.step",+      "lbr": "stm32g474cbt6.lbr"+    },+    "distributor_links": {+      "lcsc": "C730123",+      "digikey": "497-STM32G474CBT6-ND",+      "mouser": "511-STM32G474CBT6"+    },+    "distributor_check": {+      "checked_at": "2026-09-29T14:23:56Z",+      "source": "Component Ocean /api/assign-pns",+      "digikey": {+        "pn": "497-STM32G474CBT6-ND",+        "status": "found"+      },+      "mouser": {+        "pn": "511-STM32G474CBT6",+        "status": "found"+      }+    },+    "pins": [+      {+        "number": "1",+        "name": "VBAT",+        "type": "power_out",+        "description": "Backup battery supply voltage operating range 1.55 V to 3.6 V."+      },+      {+        "number": "2",+        "name": "PC13",+        "type": "bidirectional",+        "description": "Port C pin 13, 5 V tolerant I/O with RTC tamper and wakeup capability."+      },+      {+        "number": "3",+        "name": "PC14-OSC32_IN",+        "type": "bidirectional",+        "description": "Port C pin 14, 5 V tolerant I/O configurable as 32 kHz oscillator input."+      },+      {+        "number": "4",+        "name": "PC15-OSC32_OUT",+        "type": "bidirectional",+        "description": "Port C pin 15, 5 V tolerant I/O configurable as 32 kHz oscillator output."+      },+      {+        "number": "5",+        "name": "PF0-OSC_IN",+        "type": "bidirectional",+        "description": "Port F pin 0, 5 V tolerant I/O with analog switch, main oscillator input."+      },+      {+        "number": "6",+        "name": "PF1-OSC_OUT",+        "type": "bidirectional",+        "description": "Port F pin 1, 3.6 V tolerant I/O with analog switch, main oscillator output."+      },+      {+        "number": "7",+        "name": "PG10-NRST",+        "type": "bidirectional",+        "description": "Port G pin 10, 5 V tolerant reset pin with embedded weak pull-up resistor."+      },+      {+        "number": "8",+        "name": "PA0",+        "type": "bidirectional",+        "description": "Port A pin 0, 3.6 V tolerant I/O with analog switch supporting ADC12_IN1 conversion."+      },+      {+        "number": "9",+        "name": "PA1",+        "type": "bidirectional",+        "description": "Port A pin 1, 3.6 V tolerant I/O with analog switch supporting ADC12_IN2 conversion."+      },+      {+        "number": "10",+        "name": "PA2",+        "type": "bidirectional",+        "description": "Port A pin 2, 5 V tolerant I/O with analog switch supporting ADC1_IN3 conversion."+      },+      {+        "number": "11",+        "name": "PA3",+        "type": "bidirectional",+        "description": "Port A pin 3, 3.6 V tolerant I/O with analog switch supporting ADC1_IN4 conversion."+      },+      {+        "number": "12",+        "name": "PA4",+        "type": "bidirectional",+        "description": "Port A pin 4, 3.6 V tolerant I/O with analog switch supporting DAC1_OUT1 and ADC2_IN17."+      },+      {+        "number": "13",+        "name": "PA5",+        "type": "bidirectional",+        "description": "Port A pin 5, 3.6 V tolerant I/O with analog switch supporting DAC1_OUT2 and ADC2_IN13."+      },+      {+        "number": "14",+        "name": "PA6",+        "type": "bidirectional",+        "description": "Port A pin 6, 3.6 V tolerant I/O with analog switch supporting DAC2_OUT1 and ADC2_IN3."+      },+      {+        "number": "15",+        "name": "PB1",+        "type": "bidirectional",+        "description": "Port B pin 1, 3.6 V tolerant I/O with analog switch supporting ADC3_IN1/ADC1_IN12."+      },+      {+        "number": "16",+        "name": "VREF+",+        "type": "power_out",+        "description": "Analog voltage reference input, 2.4 V to 3.6 V when VREFBUF is used, 0 V to 3.6 V otherwise."+      },+      {+        "number": "17",+        "name": "PA7",+        "type": "bidirectional",+        "description": "Port A pin 7, 3.6 V tolerant I/O with analog switch supporting ADC2_IN4 conversion."+      },+      {+        "number": "18",+        "name": "PB0",+        "type": "bidirectional",+        "description": "Port B pin 0, 3.6 V tolerant I/O with analog switch supporting ADC3_IN12/ADC1_IN15."+      },+      {+        "number": "19",+        "name": "VDD",+        "type": "power_out",+        "description": "Digital power supply voltage operating range 1.71 V to 3.6 V."+      },+      {+        "number": "20",+        "name": "VDDA",+        "type": "power_out",+        "description": "Analog power supply voltage, minimum 1.62 V for ADC or 1.8 V for DAC/OPAMP/COMP."+      },+      {+        "number": "21",+        "name": "PB2",+        "type": "bidirectional",+        "description": "Port B pin 2, 3.6 V tolerant I/O with analog switch supporting ADC2_IN12 conversion."+      },+      {+        "number": "22",+        "name": "VSSA",+        "type": "power_in",+        "description": "Analog power ground."+      },+      {+        "number": "23",+        "name": "PB10",+        "type": "bidirectional",+        "description": "Port B pin 10, 3.6 V tolerant I/O with analog switch supporting OPAMP3_VINM function."+      },+      {+        "number": "24",+        "name": "VSS",+        "type": "power_in",+        "description": "Digital power ground."+      },+      {+        "number": "25",+        "name": "VDD",+        "type": "power_out",+        "description": "Digital power supply voltage operating range 1.71 V to 3.6 V."+      },+      {+        "number": "26",+        "name": "VSS",+        "type": "power_in",+        "description": "Digital power ground."+      },+      {+        "number": "27",+        "name": "PA12",+        "type": "bidirectional",+        "description": "Port A pin 12, 5 V tolerant I/O with USB function for FDCAN1_TX and USART1_RTS_DE."+      },+      {+        "number": "28",+        "name": "PA11",+        "type": "bidirectional",+        "description": "Port A pin 11, 5 V tolerant I/O with USB function for FDCAN1_RX and USART1_CTS."+      },+      {+        "number": "29",+        "name": "PA10",+        "type": "bidirectional",+        "description": "Port A pin 10, 5 V tolerant I/O with USB and UCPD dead battery function for USART1_RX."+      },+      {+        "number": "30",+        "name": "PA9",+        "type": "bidirectional",+        "description": "Port A pin 9, 5 V tolerant I/O with USB and UCPD dead battery function for USART1_TX."+      },+      {+        "number": "31",+        "name": "PA8",+        "type": "bidirectional",+        "description": "Port A pin 8, 5 V tolerant I/O with analog switch supporting ADC5_IN1 and OPAMP5_VOUT."+      },+      {+        "number": "32",+        "name": "PB15",+        "type": "bidirectional",+        "description": "Port B pin 15, 3.6 V tolerant I/O with analog switch supporting ADC4_IN5/ADC2_IN15."+      },+      {+        "number": "33",+        "name": "PB14",+        "type": "bidirectional",+        "description": "Port B pin 14, 3.6 V tolerant I/O with analog switch supporting ADC4_IN4/ADC1_IN5."+      },+      {+        "number": "34",+        "name": "PB13",+        "type": "bidirectional",+        "description": "Port B pin 13, 3.6 V tolerant I/O with analog switch supporting ADC3_IN5 conversion."+      },+      {+        "number": "35",+        "name": "PB12",+        "type": "bidirectional",+        "description": "Port B pin 12, 3.6 V tolerant I/O with analog switch supporting ADC4_IN3/ADC1_IN11."+      },+      {+        "number": "36",+        "name": "PB11",+        "type": "bidirectional",+        "description": "Port B pin 11, 3.6 V tolerant I/O with analog switch supporting ADC12_IN14 conversion."+      },+      {+        "number": "37",+        "name": "VDD",+        "type": "power_out",+        "description": "Digital power supply voltage operating range 1.71 V to 3.6 V."+      },+      {+        "number": "38",+        "name": "VSS",+        "type": "power_in",+        "description": "Digital power ground."+      },+      {+        "number": "39",+        "name": "PB9",+        "type": "bidirectional",+        "description": "Port B pin 9, 5 V tolerant Fm+ capable I/O for USART3_TX and infrared output."+      },+      {+        "number": "40",+        "name": "PB8-BOOT0",+        "type": "bidirectional",+        "description": "Port B pin 8 with BOOT0 function, 5 V tolerant Fm+ capable I/O for USART3_RX and timer."+      },+      {+        "number": "41",+        "name": "PB7",+        "type": "bidirectional",+        "description": "Port B pin 7, 5 V tolerant Fm+ capable I/O for USART1_RX and I2C1_SDA with PVD_IN function."+      },+      {+        "number": "42",+        "name": "PB6",+        "type": "bidirectional",+        "description": "Port B pin 6, 5 V tolerant I/O with USB Type-C PD capability (UCPD1_CC1) for USART1_TX."+      },+      {+        "number": "43",+        "name": "PB5",+        "type": "bidirectional",+        "description": "Port B pin 5, 5 V tolerant Fm+ capable I/O for SPI1_MOSI and FDCAN2_RX."+      },+      {+        "number": "44",+        "name": "PB4",+        "type": "bidirectional",+        "description": "Port B pin 4, 5 V tolerant I/O with USB Type-C PD capability (UCPD1_CC2) for USART2_RX."+      },+      {+        "number": "45",+        "name": "PB3",+        "type": "bidirectional",+        "description": "Port B pin 3, 5 V tolerant I/O for JTAG output TRACESWO and SPI1_SCK."+      },+      {+        "number": "46",+        "name": "PA15",+        "type": "bidirectional",+        "description": "Port A pin 15, 5 V tolerant Fm+ capable I/O for JTDI and SPI1_NSS with FDCAN3_TX."+      },+      {+        "number": "47",+        "name": "PA14",+        "type": "bidirectional",+        "description": "Port A pin 14, 5 V tolerant Fm+ capable I/O for SWCLK-JTCK debug function."+      },+      {+        "number": "48",+        "name": "PA13",+        "type": "bidirectional",+        "description": "Port A pin 13, 5 V tolerant Fm+ capable I/O for SWDIO-JTMS debug function."+      }+    ],+    "provenance": {+      "extractor": "ds2sf",+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588886130112937984",+        "pages": 236,+        "sha256": "d493fe0ab22e61ff",+        "source_tier": "lcsc"+      },+      "cad": "KiCad official (CC-BY-SA 4.0)",+      "pins": {+        "total": 48,+        "described": 48,+        "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