main
Ray Publish 0.1.0 42a960a 1d ago
{
  "slug": "stc32g12k64-35i-lqfp32",
  "version": "0.1.0",
  "type": "component",
  "description": "STC Micro Microcontroller Units (MCUs/MPUs/SOCs), LQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "single chip microcomputer-microcontroller",
    "stc32g12k64-35i-lqfp32",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stc32g12k64-35i-lqfp32.kicad_sym",
    "stc32g12k64-35i-lqfp32.kicad_mod",
    "stc32g12k64-35i-lqfp32.glb",
    "stc32g12k64-35i-lqfp32.step",
    "stc32g12k64-35i-lqfp32.lbr",
    "docs/hero.png",
    "docs/stc32g12k64-35i-lqfp32-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc32g12k64-35i-lqfp32-hero.glb",
    "stc32g12k64-35i-lqfp32-hero.overlay.json",
    "stc32g12k64-35i-lqfp32-etched.glb"
  ],
  "component": {
    "mpn": "STC32G12K64-35I-LQFP32",
    "manufacturer": "STC Micro",
    "package": "LQFP-32(7x7)",
    "pin_count": 32,
    "category": "Single Chip Microcomputer/Microcontroller",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/8fe4cdefdfe8ba1a5b5a614521aecf58.pdf",
    "parts": {
      "symbol": "stc32g12k64-35i-lqfp32.kicad_sym",
      "footprint": "stc32g12k64-35i-lqfp32.kicad_mod",
      "model_3d": "stc32g12k64-35i-lqfp32-hero.glb",
      "model_3d_plain": "stc32g12k64-35i-lqfp32-etched.glb",
      "model_3d_step": "stc32g12k64-35i-lqfp32-etched.step",
      "model_3d_step_plain": "stc32g12k64-35i-lqfp32.step",
      "lbr": "stc32g12k64-35i-lqfp32.lbr"
    },
    "distributor_links": {
      "lcsc": "C20613515"
    },
    "distributor_check": {
      "checked_at": "2026-10-27T02:08:06Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "P1.0",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as ADC0 input, PWM1P capture/output, or UART2 RxD."
      },
      {
        "number": "2",
        "name": "P1.1",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as ADC1 input, PWM1N output, or UART2 TxD."
      },
      {
        "number": "3",
        "name": "P1.4",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as ADC4 input, PWM3P, SPI MISO, or I2C SDA."
      },
      {
        "number": "4",
        "name": "P1.5",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as ADC5 input, PWM3N, SPI SCLK, or I2C SCL."
      },
      {
        "number": "5",
        "name": "P1.6",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as ADC6 input, RxD3, PWM4P, master clock output, or external crystal XTALO."
      },
      {
        "number": "6",
        "name": "P1.7",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as ADC7 input, TxD3, PWM4N, PWM5 I/O, or external crystal/clock input XTALI."
      },
      {
        "number": "7",
        "name": "P1.3",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as ADC3 input, SPI MOSI, PWM2N output, or Timer2 clock output."
      },
      {
        "number": "8",
        "name": "UCAP",
        "type": "passive",
        "description": "USB core power regulator decoupling pin."
      },
      {
        "number": "9",
        "name": "P5.4/nRST",
        "type": "bidirectional",
        "description": "Standard I/O port pin by default that can be configured as the active-low reset input nRST, and also serves as ADC2 input and master clock output."
      },
      {
        "number": "10",
        "name": "Vcc/AVcc",
        "type": "power_in",
        "description": "Power supply pin for the device (operating voltage 1.9V to 5.5V) and ADC supply."
      },
      {
        "number": "11",
        "name": "ADC_VRef+",
        "type": "input",
        "description": "ADC external reference voltage pin, which must be connected to an external reference between 2.4V and MCU-VCC."
      },
      {
        "number": "12",
        "name": "Gnd/AGnd",
        "type": "power_in",
        "description": "Ground pin for digital logic and ADC analog ground."
      },
      {
        "number": "13",
        "name": "P3.0/RxD/D-/INT4",
        "type": "bidirectional",
        "description": "Port pin that after power-on is weak-pull-up quasi-bidirectional and can serve as USB D- data line, UART1 RxD, or external interrupt INT4."
      },
      {
        "number": "14",
        "name": "P3.1/TxD/D+",
        "type": "bidirectional",
        "description": "Port pin that after power-on is weak-pull-up quasi-bidirectional and can serve as USB D+ data line or UART1 TxD."
      },
      {
        "number": "15",
        "name": "P3.2/INT0",
        "type": "bidirectional",
        "description": "Standard I/O port pin that is high level after power-on and is sampled at cold start for USB download mode entry, also serving as external interrupt INT0."
      },
      {
        "number": "16",
        "name": "P3.3/INT1",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as external interrupt INT1, SPI MISO, I2C SDA, or PWM4N output."
      },
      {
        "number": "17",
        "name": "P3.4/T0",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as Timer0 external clock input T0, Timer1 clock output, SPI MOSI, or comparator output CMPO."
      },
      {
        "number": "18",
        "name": "P3.5/T1",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as Timer1 external clock input T1, Timer0 clock output, SPI SS, or PWM fault input PWMFLT."
      },
      {
        "number": "19",
        "name": "P3.6/INT2",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as external interrupt INT2, UART1 RxD, or comparator negative input CMP-."
      },
      {
        "number": "20",
        "name": "P3.7/INT3",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as external interrupt INT3, UART2 TxD, or comparator positive input CMP+."
      },
      {
        "number": "21",
        "name": "P2.0",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as address bus A8, PWM1P, or PWM5 output."
      },
      {
        "number": "22",
        "name": "P2.1",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as address bus A9, PWM1N, or PWM6 output."
      },
      {
        "number": "23",
        "name": "P2.2",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as address bus A10, PWM2P, PWM7 output, or SPI SS."
      },
      {
        "number": "24",
        "name": "P2.3",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as address bus A11, PWM2N, PWM8 output, or SPI MOSI."
      },
      {
        "number": "25",
        "name": "P2.4",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as address bus A12, PWM3P, I2C SDA, or SPI MISO."
      },
      {
        "number": "26",
        "name": "P2.5",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as address bus A13, PWM3N, I2C SCL, or SPI SCLK."
      },
      {
        "number": "27",
        "name": "P2.6",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as address bus A14 or PWM4P output."
      },
      {
        "number": "28",
        "name": "P2.7",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as address bus A15 or PWM4N output."
      },
      {
        "number": "29",
        "name": "P0.0",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as address/data bus AD0, ADC8 input, UART3 RxD, or CAN RX."
      },
      {
        "number": "30",
        "name": "P0.1",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as address/data bus AD1, ADC9 input, UART3 TxD, or CAN TX."
      },
      {
        "number": "31",
        "name": "P0.2",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as address/data bus AD2, ADC10 input, UART4 RxD, or LIN RX."
      },
      {
        "number": "32",
        "name": "P0.3",
        "type": "bidirectional",
        "description": "Standard I/O port pin that can also serve as address/data bus AD3, ADC11 input, UART4 TxD, or LIN TX."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-haiku-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The datasheet has no separate LQFP32 pin map for STC32G12K64. The LQFP32 pinout is taken from the ST",
          "32/32 pins cited to the wrong page (name found elsewhere): ['1:P1.0@p229', '2:P1.1@p229', '3:P1.4@p229', '4:P1.5@p229']"
        ],
        "pages_sent": 107,
        "cost_usd": 0.2451,
        "at": "2026-10-27T02:07:49"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/8fe4cdefdfe8ba1a5b5a614521aecf58.pdf",
        "pages": 1887,
        "sha256": "59bba1d366cc8d33",
        "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"
    },
    "models_3d": [
      {
        "file": "stc32g12k64-35i-lqfp32.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "be0e412f1c66fee70039b0e109e0cc7c823161dda97593718afa97569bc61ce3",
        "checked": "2026-10-27",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc32g12k64-35i-lqfp32-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "0831730cf1b103b03791c3f4a5033ed808d752cb933f100b3e90910484d3eeb0",
        "checked": "2026-10-27",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}