← Commit history

Initial commit: component/stm32f412cgu6

Ray ·3b0e0622ee ·2d ago
2 files changed +492
README.mdadded+85
@@ -0,0 +1,85 @@+# STM32F412CGU6++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · UFQFPN-48(7x7)++STM32F412CGU6 from STMicroelectronics, in a UFQFPN-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_in | Battery backup supply voltage connection, 1.7 V to 3.6 V for RTC and backup domain. |+| 2 | PC13 | bidirectional | 5V-tolerant general-purpose I/O pin with RTC tamper detection and event output capability; limited to 3 mA output current due to power switch. |+| 3 | PC14-OSC32_IN | bidirectional | 5V-tolerant general-purpose I/O or 32 kHz oscillator input with event output capability. |+| 4 | PC15-OSC32_OUT | bidirectional | 5V-tolerant general-purpose I/O or 32 kHz oscillator output with event output capability. |+| 5 | PH0-OSC_IN | bidirectional | 5V-tolerant general-purpose I/O or main oscillator input (4-26 MHz) with event output capability. |+| 6 | PH1-OSC_OUT | bidirectional | 5V-tolerant general-purpose I/O or main oscillator output (4-26 MHz) with event output capability. |+| 7 | NRST | bidirectional | Active-low reset input pin with internal weak pull-up resistor and glitch filter for system reset control. |+| 8 | VSSA/VREF- | power_in | Analog ground and ADC negative reference voltage pin; must be connected to VSS. |+| 9 | VDDA/VREF+ | power_in | Analog power supply and ADC positive reference voltage pin, 1.7 V to 3.6 V; requires 100 nF decoupling capacitor. |+| 10 | PA0 | bidirectional | 5V-tolerant general-purpose I/O with ADC1_CH0 input, timer inputs/outputs, USART handshaking, and wakeup capability from low-power modes. |+| 11 | PA1 | bidirectional | 5V-tolerant general-purpose I/O with ADC1_CH1 input, timer functions, SPI output, QUADSPI bank 1 I/O 3, and USART handshaking. |+| 12 | PA2 | bidirectional | 5V-tolerant general-purpose I/O with ADC1_CH2 input, timer/I2S functions, and USART transmission. |+| 13 | PA3 | bidirectional | 5V-tolerant general-purpose I/O with ADC1_CH3 input, timer/I2S functions, and USART reception. |+| 14 | PA4 | bidirectional | 5V-tolerant general-purpose I/O with ADC1_CH4 input, SPI NSS/I2S handshaking, and DFSDM data input. |+| 15 | PA5 | bidirectional | 5V-tolerant general-purpose I/O with ADC1_CH5 input, SPI clock / I2S clock, timer ETR, and DFSDM clock input. |+| 16 | PA6 | bidirectional | 5V-tolerant general-purpose I/O with ADC1_CH6 input, timer input/output, SPI MISO, and SDIO command pin. |+| 17 | PA7 | bidirectional | 5V-tolerant general-purpose I/O with ADC1_CH7 input, timer output, SPI MOSI/I2S data, and QUADSPI bank 2 I/O. |+| 18 | PB0 | bidirectional | 5V-tolerant general-purpose I/O with ADC1_CH8 input, timer outputs, and SPI clock input. |+| 19 | PB1 | bidirectional | 5V-tolerant general-purpose I/O with ADC1_CH9 input, timer outputs, SPI NSS, DFSDM, and QUADSPI clock. |+| 20 | PB2 | bidirectional | 5V-tolerant general-purpose I/O with BOOT1 pin function for boot configuration, DFSDM clock input, and QUADSPI clock capability. |+| 21 | PB10 | bidirectional | 5V-tolerant general-purpose I/O supporting I2C clock, SPI clock / I2S MCK, USART transmission, and SDIO data line 7. |+| 22 | VCAP_1 | passive | Voltage regulator capacitor pin for internal voltage regulator output; connect 100 nF to 1 µF ceramic capacitor to VSS. |+| 23 | VSS | power_in | Ground connection for digital circuits. |+| 24 | VDD | power_in | Main power supply voltage, 1.7 V to 3.6 V for digital core and I/Os. |+| 25 | PB12 | bidirectional | 5V-tolerant general-purpose I/O supporting timer input, I2C handshaking, SPI/I2S functions, USART clock, and CAN input. |+| 26 | PB13 | bidirectional | 5V-tolerant general-purpose I/O supporting timer input, I2C/SPI/I2S clock, USART handshaking, and CAN transmission. |+| 27 | PB14 | bidirectional | 5V-tolerant general-purpose I/O supporting timer outputs, I2C/SPI/I2S functions, USART handshaking, and SDIO data line 6. |+| 28 | PB15 | bidirectional | 5V-tolerant general-purpose I/O supporting RTC 50 Hz output, timer outputs, I2C/SPI/I2S functions, and SDIO clock. |+| 29 | PA8 | bidirectional | 5V-tolerant general-purpose I/O supporting MCO_1 clock output, timer input, I2C clock, USART clock, USB SOF, and SDIO data line 1. |+| 30 | PA9 | bidirectional | 5V-tolerant general-purpose I/O supporting USB VBUS sensing, timer output, I2C address detection, USART transmission, and SDIO data line 2. |+| 31 | PA10 | bidirectional | 5V-tolerant general-purpose I/O supporting USB ID input, timer input, SPI data input, and USART reception. |+| 32 | PA11 | bidirectional | 5V-tolerant general-purpose I/O supporting USB D- data signal, timer output, SPI input, USART handshaking, and CAN reception. |+| 33 | PA12 | bidirectional | 5V-tolerant general-purpose I/O supporting USB D+ data signal, timer input, SPI input, USART handshaking, and CAN transmission. |+| 34 | PA13 | bidirectional | JTAG/Serial Wire Debug Data I/O pin (SWDIO/JTMS) for in-circuit programming and debugging. |+| 35 | VSS | power_in | Ground connection for digital circuits. |+| 36 | VDD | power_in | Main power supply voltage, 1.7 V to 3.6 V for digital core and I/Os. |+| 37 | PA14 | bidirectional | JTAG/Serial Wire Debug Clock pin (SWCLK/JTCK) for in-circuit programming and debugging at 10 MHz maximum frequency. |+| 38 | PA15 | bidirectional | 5V-tolerant general-purpose I/O or JTAG test data input (JTDI), supporting timer, SPI, and USART functions. |+| 39 | PB3 | bidirectional | 5V-tolerant general-purpose I/O or JTAG test data output (JTDO/SWO), supporting timer, I2C, SPI/I2S clock, and USART functions. |+| 40 | PB4 | bidirectional | 5V-tolerant general-purpose I/O or JTAG reset (JTRST), supporting timer, SPI MISO, I2S extension, and I2C data functions. |+| 41 | PB5 | bidirectional | 5V-tolerant general-purpose I/O supporting timer output, I2C address detection, SPI/I2S data, and CAN reception. |+| 42 | PB6 | bidirectional | 5V-tolerant general-purpose I/O supporting timer output, I2C clock, USART transmission, CAN transmission, and QUADSPI chip select. |+| 43 | PB7 | bidirectional | 5V-tolerant general-purpose I/O supporting timer output, I2C data, USART reception, and FSMC address latch enable. |+| 44 | BOOT0 | input | Boot mode selection pin for selecting boot source (0=Flash, 1=System bootloader); also VPP for flash programming operations. |+| 45 | PB8 | bidirectional | 5V-tolerant general-purpose I/O supporting timer outputs, I2C clock, SPI/I2S data, CAN reception, and SDIO data line 4. |+| 46 | PB9 | bidirectional | 5V-tolerant general-purpose I/O supporting timer outputs, I2C data, SPI NSS/I2S handshaking, CAN transmission, and SDIO data line 5. |+| 47 | VSS | power_in | Ground connection for digital circuits. |+| 48 | VDD | power_in | Main power supply voltage, 1.7 V to 3.6 V for digital core and I/Os. |+| 49 | EP | passive | Exposed pad (from the footprint; not named in the datasheet pin table). |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | UFQFPN-48(7x7) |+| Category | Embedded Processors & Controllers |+| Pins | 49 |++## CAD (KiCad official)++- Symbol: `STM32F412CGU6`+- Footprint: `Package_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.15x5.15mm`+- 3D model: UFQFPN-48(7x7) (KiCad packages3D, STEP)+- 3D model files: `stm32f412cgu6-etched.step` / `stm32f412cgu6-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm32f412cgu6.step` / `stm32f412cgu6.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/8588922750445998080) (201 pp, sha256 `d640babe702a369d`, retrieved 2026-10-06, 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/stm32f412cgu6-datasheet.pdf)
page.jsonadded+407
@@ -0,0 +1,407 @@+{+  "slug": "stm32f412cgu6",+  "version": "0.1.0",+  "type": "component",+  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), UFQFPN-48(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "embedded processors & controllers",+    "stm32f412cgu6",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stm32f412cgu6.kicad_sym",+    "stm32f412cgu6.kicad_mod",+    "stm32f412cgu6.glb",+    "stm32f412cgu6.step",+    "stm32f412cgu6.lbr",+    "docs/hero.png",+    "docs/stm32f412cgu6-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html",+    "stm32f412cgu6-hero.glb",+    "stm32f412cgu6-hero.overlay.json"+  ],+  "component": {+    "mpn": "STM32F412CGU6",+    "manufacturer": "STMicroelectronics",+    "package": "UFQFPN-48(7x7)",+    "pin_count": 49,+    "category": "Embedded Processors & Controllers",+    "subcategory": "Microcontrollers (MCU/MPU/SOC)",+    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588922750445998080",+    "parts": {+      "symbol": "stm32f412cgu6.kicad_sym",+      "footprint": "stm32f412cgu6.kicad_mod",+      "model_3d": "stm32f412cgu6-hero.glb",+      "model_3d_plain": "stm32f412cgu6.glb",+      "model_3d_step": "stm32f412cgu6-etched.step",+      "model_3d_step_plain": "stm32f412cgu6.step",+      "lbr": "stm32f412cgu6.lbr"+    },+    "distributor_links": {+      "lcsc": 1337539,+      "digikey": "497-16763-ND",+      "mouser": "511-STM32F412CGU6"+    },+    "distributor_check": {+      "checked_at": "2026-10-06T00:37:53Z",+      "source": "Component Ocean /api/assign-pns",+      "digikey": {+        "pn": "497-16763-ND",+        "status": "found"+      },+      "mouser": {+        "pn": "511-STM32F412CGU6",+        "status": "found"+      }+    },+    "pins": [+      {+        "number": "1",+        "name": "VBAT",+        "type": "power_in",+        "description": "Battery backup supply voltage connection, 1.7 V to 3.6 V for RTC and backup domain."+      },+      {+        "number": "2",+        "name": "PC13",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O pin with RTC tamper detection and event output capability; limited to 3 mA output current due to power switch."+      },+      {+        "number": "3",+        "name": "PC14-OSC32_IN",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O or 32 kHz oscillator input with event output capability."+      },+      {+        "number": "4",+        "name": "PC15-OSC32_OUT",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O or 32 kHz oscillator output with event output capability."+      },+      {+        "number": "5",+        "name": "PH0-OSC_IN",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O or main oscillator input (4-26 MHz) with event output capability."+      },+      {+        "number": "6",+        "name": "PH1-OSC_OUT",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O or main oscillator output (4-26 MHz) with event output capability."+      },+      {+        "number": "7",+        "name": "NRST",+        "type": "bidirectional",+        "description": "Active-low reset input pin with internal weak pull-up resistor and glitch filter for system reset control."+      },+      {+        "number": "8",+        "name": "VSSA/VREF-",+        "type": "power_in",+        "description": "Analog ground and ADC negative reference voltage pin; must be connected to VSS."+      },+      {+        "number": "9",+        "name": "VDDA/VREF+",+        "type": "power_in",+        "description": "Analog power supply and ADC positive reference voltage pin, 1.7 V to 3.6 V; requires 100 nF decoupling capacitor."+      },+      {+        "number": "10",+        "name": "PA0",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O with ADC1_CH0 input, timer inputs/outputs, USART handshaking, and wakeup capability from low-power modes."+      },+      {+        "number": "11",+        "name": "PA1",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O with ADC1_CH1 input, timer functions, SPI output, QUADSPI bank 1 I/O 3, and USART handshaking."+      },+      {+        "number": "12",+        "name": "PA2",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O with ADC1_CH2 input, timer/I2S functions, and USART transmission."+      },+      {+        "number": "13",+        "name": "PA3",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O with ADC1_CH3 input, timer/I2S functions, and USART reception."+      },+      {+        "number": "14",+        "name": "PA4",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O with ADC1_CH4 input, SPI NSS/I2S handshaking, and DFSDM data input."+      },+      {+        "number": "15",+        "name": "PA5",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O with ADC1_CH5 input, SPI clock / I2S clock, timer ETR, and DFSDM clock input."+      },+      {+        "number": "16",+        "name": "PA6",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O with ADC1_CH6 input, timer input/output, SPI MISO, and SDIO command pin."+      },+      {+        "number": "17",+        "name": "PA7",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O with ADC1_CH7 input, timer output, SPI MOSI/I2S data, and QUADSPI bank 2 I/O."+      },+      {+        "number": "18",+        "name": "PB0",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O with ADC1_CH8 input, timer outputs, and SPI clock input."+      },+      {+        "number": "19",+        "name": "PB1",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O with ADC1_CH9 input, timer outputs, SPI NSS, DFSDM, and QUADSPI clock."+      },+      {+        "number": "20",+        "name": "PB2",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O with BOOT1 pin function for boot configuration, DFSDM clock input, and QUADSPI clock capability."+      },+      {+        "number": "21",+        "name": "PB10",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O supporting I2C clock, SPI clock / I2S MCK, USART transmission, and SDIO data line 7."+      },+      {+        "number": "22",+        "name": "VCAP_1",+        "type": "passive",+        "description": "Voltage regulator capacitor pin for internal voltage regulator output; connect 100 nF to 1 µF ceramic capacitor to VSS."+      },+      {+        "number": "23",+        "name": "VSS",+        "type": "power_in",+        "description": "Ground connection for digital circuits."+      },+      {+        "number": "24",+        "name": "VDD",+        "type": "power_in",+        "description": "Main power supply voltage, 1.7 V to 3.6 V for digital core and I/Os."+      },+      {+        "number": "25",+        "name": "PB12",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O supporting timer input, I2C handshaking, SPI/I2S functions, USART clock, and CAN input."+      },+      {+        "number": "26",+        "name": "PB13",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O supporting timer input, I2C/SPI/I2S clock, USART handshaking, and CAN transmission."+      },+      {+        "number": "27",+        "name": "PB14",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O supporting timer outputs, I2C/SPI/I2S functions, USART handshaking, and SDIO data line 6."+      },+      {+        "number": "28",+        "name": "PB15",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O supporting RTC 50 Hz output, timer outputs, I2C/SPI/I2S functions, and SDIO clock."+      },+      {+        "number": "29",+        "name": "PA8",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O supporting MCO_1 clock output, timer input, I2C clock, USART clock, USB SOF, and SDIO data line 1."+      },+      {+        "number": "30",+        "name": "PA9",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O supporting USB VBUS sensing, timer output, I2C address detection, USART transmission, and SDIO data line 2."+      },+      {+        "number": "31",+        "name": "PA10",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O supporting USB ID input, timer input, SPI data input, and USART reception."+      },+      {+        "number": "32",+        "name": "PA11",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O supporting USB D- data signal, timer output, SPI input, USART handshaking, and CAN reception."+      },+      {+        "number": "33",+        "name": "PA12",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O supporting USB D+ data signal, timer input, SPI input, USART handshaking, and CAN transmission."+      },+      {+        "number": "34",+        "name": "PA13",+        "type": "bidirectional",+        "description": "JTAG/Serial Wire Debug Data I/O pin (SWDIO/JTMS) for in-circuit programming and debugging."+      },+      {+        "number": "35",+        "name": "VSS",+        "type": "power_in",+        "description": "Ground connection for digital circuits."+      },+      {+        "number": "36",+        "name": "VDD",+        "type": "power_in",+        "description": "Main power supply voltage, 1.7 V to 3.6 V for digital core and I/Os."+      },+      {+        "number": "37",+        "name": "PA14",+        "type": "bidirectional",+        "description": "JTAG/Serial Wire Debug Clock pin (SWCLK/JTCK) for in-circuit programming and debugging at 10 MHz maximum frequency."+      },+      {+        "number": "38",+        "name": "PA15",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O or JTAG test data input (JTDI), supporting timer, SPI, and USART functions."+      },+      {+        "number": "39",+        "name": "PB3",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O or JTAG test data output (JTDO/SWO), supporting timer, I2C, SPI/I2S clock, and USART functions."+      },+      {+        "number": "40",+        "name": "PB4",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O or JTAG reset (JTRST), supporting timer, SPI MISO, I2S extension, and I2C data functions."+      },+      {+        "number": "41",+        "name": "PB5",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O supporting timer output, I2C address detection, SPI/I2S data, and CAN reception."+      },+      {+        "number": "42",+        "name": "PB6",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O supporting timer output, I2C clock, USART transmission, CAN transmission, and QUADSPI chip select."+      },+      {+        "number": "43",+        "name": "PB7",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O supporting timer output, I2C data, USART reception, and FSMC address latch enable."+      },+      {+        "number": "44",+        "name": "BOOT0",+        "type": "input",+        "description": "Boot mode selection pin for selecting boot source (0=Flash, 1=System bootloader); also VPP for flash programming operations."+      },+      {+        "number": "45",+        "name": "PB8",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O supporting timer outputs, I2C clock, SPI/I2S data, CAN reception, and SDIO data line 4."+      },+      {+        "number": "46",+        "name": "PB9",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O supporting timer outputs, I2C data, SPI NSS/I2S handshaking, CAN transmission, and SDIO data line 5."+      },+      {+        "number": "47",+        "name": "VSS",+        "type": "power_in",+        "description": "Ground connection for digital circuits."+      },+      {+        "number": "48",+        "name": "VDD",+        "type": "power_in",+        "description": "Main power supply voltage, 1.7 V to 3.6 V for digital core and I/Os."+      },+      {+        "number": "49",+        "name": "EP",+        "type": "passive",+        "description": "Exposed pad (from the footprint; not named in the datasheet pin table)."+      }+    ],+    "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: VSSA and VREF- are shown as combined pin name 'VSSA/VREF-' in Table 9; this represents a single pin ; VDDA and VREF+ are shown as combined pin name 'VDDA/VREF+' in Table 9; this represents a single pin ; PC13, PC14, PC15 pins have notes (2)(3) indicating limited output current (3 mA max) and RTC backup ",+          "exposed pad 49 added from the footprint",+          "18/49 pins cited to the wrong page (name found elsewhere): ['27:PB14@p54', '28:PB15@p54', '29:PA8@p55', '30:PA9@p55']"+        ],+        "pages_sent": 76,+        "cost_usd": 0.5392,+        "at": "2026-10-06T00:37:36"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588922750445998080",+        "pages": 201,+        "sha256": "d640babe702a369d",+        "source_tier": "lcsc"+      },+      "cad": "KiCad official (CC-BY-SA 4.0)",+      "pins": {+        "total": 49,+        "described": 49,+        "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