main
Ray Set visibility: public cbb1b85 13h ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "stc32g8k48-42i-lqfp32",
  "title": "STC32G8K48-42I-LQFP32",
  "brief": "STC Micro Microcontroller Units (MCUs/MPUs/SOCs), LQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "single chip microcomputer-microcontroller",
    "stc32g8k48-42i-lqfp32",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STC32G8K48-42I-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": "stc32g8k48-42i-lqfp32.kicad_sym",
      "footprint": "stc32g8k48-42i-lqfp32.kicad_mod",
      "model_3d": "stc32g8k48-42i-lqfp32-hero.glb",
      "model_3d_plain": "stc32g8k48-42i-lqfp32-etched.glb",
      "model_3d_step": "stc32g8k48-42i-lqfp32-etched.step",
      "model_3d_step_plain": "stc32g8k48-42i-lqfp32.step",
      "lbr": "stc32g8k48-42i-lqfp32.lbr"
    },
    "distributor_links": {
      "lcsc": "C20613521"
    },
    "distributor_check": {
      "checked_at": "2026-10-27T23:59:42Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "deferred",
        "error": "shared DigiKey quota guard: 917 calls left today"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "P1.0",
        "type": "bidirectional",
        "description": "General-purpose bidirectional I/O (standard quasi-bidirectional, push-pull, open-drain or high-impedance input mode); it is also ADC0 input, PWM1P and RxD2 for UART2 receive."
      },
      {
        "number": "2",
        "name": "P1.1",
        "type": "bidirectional",
        "description": "General-purpose bidirectional I/O (standard quasi-bidirectional, push-pull, open-drain or high-impedance input mode); it is also ADC1 input, PWM1N and TxD2 for UART2 transmit."
      },
      {
        "number": "3",
        "name": "P1.4",
        "type": "bidirectional",
        "description": "General-purpose bidirectional I/O (standard quasi-bidirectional, push-pull, open-drain or high-impedance input mode); it is also ADC4 input, PWM3P, SPI MISO and I2C SDA."
      },
      {
        "number": "4",
        "name": "P1.5",
        "type": "bidirectional",
        "description": "General-purpose bidirectional I/O (standard quasi-bidirectional, push-pull, open-drain or high-impedance input mode); it is also ADC5 input, PWM3N, SPI SCLK and I2C SCL."
      },
      {
        "number": "5",
        "name": "P1.6",
        "type": "bidirectional",
        "description": "General-purpose bidirectional I/O (standard quasi-bidirectional, push-pull, open-drain or high-impedance input mode); it is also ADC6 input, PWM4P, RxD_3 and XTALO external crystal output."
      },
      {
        "number": "6",
        "name": "P1.7",
        "type": "bidirectional",
        "description": "General-purpose bidirectional I/O (standard quasi-bidirectional, push-pull, open-drain or high-impedance input mode); it is also ADC7 input, PWM4N, TxD_3 and XTALI external crystal/clock input."
      },
      {
        "number": "7",
        "name": "P1.3",
        "type": "bidirectional",
        "description": "General-purpose bidirectional I/O (standard quasi-bidirectional, push-pull, open-drain or high-impedance input mode); it is also ADC3 input, SPI MOSI, PWM2N and T2CLKO timer 2 clock output."
      },
      {
        "number": "8",
        "name": "P1.2",
        "type": "bidirectional",
        "description": "General-purpose bidirectional I/O (standard quasi-bidirectional, push-pull, open-drain or high-impedance input mode); it is also PWM2P, SPI SS and external timer 2 clock input T2."
      },
      {
        "number": "9",
        "name": "P5.4",
        "type": "bidirectional",
        "description": "General-purpose I/O by default (high-impedance input after power-up); when set as reset pin it is active-low nRST, and it also carries ADC2, MCLKO and SPI slave-select functions."
      },
      {
        "number": "10",
        "name": "Vcc/AVcc",
        "type": "power_in",
        "description": "Supply pin for the MCU and ADC analog supply, with operating voltage 1.9V to 5.5V per the datasheet."
      },
      {
        "number": "11",
        "name": "ADC_VRef+",
        "type": "input",
        "description": "ADC external reference voltage input, which must be connected to an external reference between 2.4V and MCU-VCC and must not float because leakage current results."
      },
      {
        "number": "12",
        "name": "Gnd/AGnd",
        "type": "power_in",
        "description": "Ground pin shared by digital and ADC analog ground."
      },
      {
        "number": "13",
        "name": "P3.0",
        "type": "bidirectional",
        "description": "Standard I/O port with weak pull-up after power-on; it is also RxD for UART1 receive and external interrupt INT4, and is used with P3.1 for USB/ISP download detection."
      },
      {
        "number": "14",
        "name": "P3.1",
        "type": "bidirectional",
        "description": "Standard I/O port with weak pull-up after power-on; it is also TxD for UART1 transmit and is used with P3.0 for ISP/emulation interface."
      },
      {
        "number": "15",
        "name": "P3.2",
        "type": "bidirectional",
        "description": "Standard I/O port; it is also external interrupt INT0, SPI SCLK and I2C SCL, and is held high at power-on reset."
      },
      {
        "number": "16",
        "name": "P3.3",
        "type": "bidirectional",
        "description": "Standard I/O port; it is also external interrupt INT1, SPI MISO, I2C SDA and PWM4N/PWM7 outputs."
      },
      {
        "number": "17",
        "name": "P3.4",
        "type": "bidirectional",
        "description": "Standard I/O port; it is also timer 0 external input T0, T1 clock output, SPI MOSI, PWM4P/PWM8 and comparator output CMPO."
      },
      {
        "number": "18",
        "name": "P3.5",
        "type": "bidirectional",
        "description": "Standard I/O port; it is also timer 1 external input T1, T0 clock output, SPI slave select, PWM fault input PWMFLT and I2S word select."
      },
      {
        "number": "19",
        "name": "P3.6",
        "type": "bidirectional",
        "description": "Standard I/O port; it is also external interrupt INT2, UART2 receive RxD_2 and comparator negative input CMP-."
      },
      {
        "number": "20",
        "name": "P3.7",
        "type": "bidirectional",
        "description": "Standard I/O port; it is also external interrupt INT3, UART2 transmit TxD_2 and comparator positive input CMP+."
      },
      {
        "number": "21",
        "name": "P2.0",
        "type": "bidirectional",
        "description": "Standard I/O port; it is also address bus A8 for external bus, PWM1P_2 and PWM5 outputs."
      },
      {
        "number": "22",
        "name": "P2.1",
        "type": "bidirectional",
        "description": "Standard I/O port; it is also address bus A9 for external bus, PWM1N_2 and PWM6 outputs."
      },
      {
        "number": "23",
        "name": "P2.2",
        "type": "bidirectional",
        "description": "Standard I/O port; it is also address bus A10, PWM2P_2, PWM7, SPI slave select SS_2 and I2S word select."
      },
      {
        "number": "24",
        "name": "P2.3",
        "type": "bidirectional",
        "description": "Standard I/O port; it is also address bus A11, PWM2N_2, PWM8, SPI MOSI_2 and I2S data."
      },
      {
        "number": "25",
        "name": "P2.4",
        "type": "bidirectional",
        "description": "Standard I/O port; it is also address bus A12, PWM3P_2, SPI MISO_2 and I2C SDA_2."
      },
      {
        "number": "26",
        "name": "P2.5",
        "type": "bidirectional",
        "description": "Standard I/O port; it is also address bus A13, PWM3N_2, SPI SCLK_2 and I2C SCL_2."
      },
      {
        "number": "27",
        "name": "P2.6",
        "type": "bidirectional",
        "description": "Standard I/O port; it is also address bus A14 and PWM4P_2 output."
      },
      {
        "number": "28",
        "name": "P2.7",
        "type": "bidirectional",
        "description": "Standard I/O port; it is also address bus A15 and PWM4N_2 output."
      },
      {
        "number": "29",
        "name": "P0.0",
        "type": "bidirectional",
        "description": "Standard I/O port; it is also address/data bus AD0, ADC8 input, UART3 receive RxD3, CAN receive CAN_RX and PWM5_3."
      },
      {
        "number": "30",
        "name": "P0.1",
        "type": "bidirectional",
        "description": "Standard I/O port; it is also address/data bus AD1, ADC9 input, UART3 transmit TxD3, CAN transmit CAN_TX and PWM6_3."
      },
      {
        "number": "31",
        "name": "P0.2",
        "type": "bidirectional",
        "description": "Standard I/O port; it is also address/data bus AD2, ADC10 input, UART4 receive RxD4, CAN2 receive and LIN receive."
      },
      {
        "number": "32",
        "name": "P0.3",
        "type": "bidirectional",
        "description": "Standard I/O port; it is also address/data bus AD3, ADC11 input, UART4 transmit TxD4, CAN2 transmit and LIN transmit."
      }
    ],
    "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: Package mismatch: the requested LQFP-32(7x7) does not match the datasheet's LQFP32 outline, which is; MPN check: the requested STC32G8K48 appears in the family table (page 264) with 48K Flash, but the L",
          "1/32 pins cited to the wrong page (name found elsewhere): ['8:P1.2@p271']"
        ],
        "pages_sent": 108,
        "cost_usd": 0.2361,
        "at": "2026-10-27T23:59:16"
      },
      "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": "stc32g8k48-42i-lqfp32.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "be0e412f1c66fee70039b0e109e0cc7c823161dda97593718afa97569bc61ce3",
        "checked": "2026-10-28",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc32g8k48-42i-lqfp32-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "3b4a74cb26963fca0e4442f7baeae58e36c71902ca2a713dc9b41359bed87300",
        "checked": "2026-10-28",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STC Micro",
      "Package": "LQFP-32(7x7)",
      "Category": "Single Chip Microcomputer/Microcontroller",
      "Pins": "32"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "59bba1d366cc8d33c15d659c37a769d3d5458b5a2e474aec60e65aabc3257f00",
      "rows": [
        {
          "name": "Internal IRC frequency drift",
          "symbol": "",
          "kind": "tolerance",
          "unit": "%",
          "min": -3,
          "typ": null,
          "max": 3,
          "conditions": "参考温度25℃, -40℃~125℃",
          "source_page": 1618,
          "source": "datasheet"
        },
        {
          "name": "Power-down mode current",
          "symbol": "IPD",
          "kind": "electrical",
          "unit": "uA",
          "min": null,
          "typ": 1,
          "max": null,
          "conditions": "VSS=0V,VDD=5.0V,测试温度=25℃",
          "source_page": 1619,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stc32g8k48-42i-lqfp32"
  ],
  "discovery_pitch": "STC32G8K48-42I-LQFP32 (STC Micro) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray",
    "email": "[email protected]"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stc32g8k48-42i-lqfp32.kicad_sym",
    "stc32g8k48-42i-lqfp32.kicad_mod",
    "stc32g8k48-42i-lqfp32.glb",
    "stc32g8k48-42i-lqfp32.step",
    "stc32g8k48-42i-lqfp32.lbr",
    "docs/hero.png",
    "docs/stc32g8k48-42i-lqfp32-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc32g8k48-42i-lqfp32-hero.glb",
    "stc32g8k48-42i-lqfp32-hero.overlay.json",
    "stc32g8k48-42i-lqfp32-etched.glb"
  ],
  "visibility": {
    "public": true
  }
}