main
Ray Set visibility: public eb67f91 8d ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "stc8h1k28-36i-qfn32",
  "title": "STC8H1K28-36I-QFN32",
  "brief": "STC Micro Microcontrollers (MCU/MPU/SOC), QFN-32-EP(4x4). 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",
    "embedded processors & controllers",
    "stc8h1k28-36i-qfn32",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STC8H1K28-36I-QFN32",
    "manufacturer": "STC Micro",
    "package": "QFN-32-EP(4x4)",
    "pin_count": 33,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8756362141073059840",
    "parts": {
      "symbol": "stc8h1k28-36i-qfn32.kicad_sym",
      "footprint": "stc8h1k28-36i-qfn32.kicad_mod",
      "model_3d": "stc8h1k28-36i-qfn32-hero.glb",
      "model_3d_plain": "stc8h1k28-36i-qfn32-etched.glb",
      "model_3d_step": "stc8h1k28-36i-qfn32-etched.step",
      "model_3d_step_plain": "stc8h1k28-36i-qfn32.step",
      "lbr": "stc8h1k28-36i-qfn32.lbr"
    },
    "distributor_links": {
      "lcsc": "C915680"
    },
    "distributor_check": {
      "checked_at": "2026-10-19T05:00:15Z",
      "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 P1.0 (high-impedance input after power-on, so mode must be set before use), with alternate functions ADC0 analog input, RxD2 UART2 receive, and PWM1P capture/output."
      },
      {
        "number": "2",
        "name": "P1.1",
        "type": "bidirectional",
        "description": "Standard I/O port P1.1 (high-impedance input after power-on, so mode must be set before use), with alternate functions ADC1 analog input, TxD2 UART2 transmit, and PWM1N output."
      },
      {
        "number": "3",
        "name": "P1.2",
        "type": "bidirectional",
        "description": "Standard I/O port P1.2, with alternate functions ADC2 analog input, SS SPI slave select, T2 timer 2 external clock input, and PWM2P capture/output."
      },
      {
        "number": "4",
        "name": "P1.3",
        "type": "bidirectional",
        "description": "Standard I/O port P1.3, with alternate functions ADC3 analog input, MOSI SPI master output, T2CLKO timer 2 clock output, and PWM2N output."
      },
      {
        "number": "5",
        "name": "P1.4",
        "type": "bidirectional",
        "description": "Standard I/O port P1.4, with alternate functions ADC4 analog input, MISO SPI master input, SDA I2C data, and PWM3P capture/output."
      },
      {
        "number": "6",
        "name": "P1.5",
        "type": "bidirectional",
        "description": "Standard I/O port P1.5, with alternate functions ADC5 analog input, SCLK SPI clock, SCL I2C clock, and PWM3N output."
      },
      {
        "number": "7",
        "name": "P1.6",
        "type": "bidirectional",
        "description": "Standard I/O port P1.6, with alternate functions ADC6 analog input, RxD_3 UART1 receive, PWM4P capture/output, MCLKO_2 master clock output, and XTALO external crystal output."
      },
      {
        "number": "8",
        "name": "P1.7",
        "type": "bidirectional",
        "description": "Standard I/O port P1.7, with alternate functions ADC7 analog input, TxD_3 UART1 transmit, PWM4N and PWM5_2 outputs, and XTALI external crystal or external clock input."
      },
      {
        "number": "9",
        "name": "P5.4",
        "type": "bidirectional",
        "description": "I/O port P5.4 defaults to I/O after reset and can be set to active-low nRST reset input through ISP (its 4K pull-up stays on when used as reset); it also provides MCLKO and PWM6_2."
      },
      {
        "number": "10",
        "name": "Vcc",
        "type": "power_in",
        "description": "Power supply pin for the MCU, operating from 1.9 V to 5.5 V, which also supplies the ADC (AVcc)."
      },
      {
        "number": "11",
        "name": "ADC_VRef+",
        "type": "input",
        "description": "ADC external reference voltage input that must be driven from an external reference of 2.4 V to MCU-VCC, since floating it causes leakage; it may be tied directly to VCC when precision requirements are low."
      },
      {
        "number": "12",
        "name": "Gnd",
        "type": "power_in",
        "description": "Ground pin, also used as the ADC analog ground (AGnd)."
      },
      {
        "number": "13",
        "name": "P3.0",
        "type": "bidirectional",
        "description": "Port P3.0 is quasi-bidirectional with weak pull-up after power-on, with functions RxD UART1 receive and INT4 external interrupt 4; P3.0, P3.1 and P3.2 must not all be low at power-up or the chip enters USB download mode."
      },
      {
        "number": "14",
        "name": "P3.1",
        "type": "bidirectional",
        "description": "Port P3.1 is quasi-bidirectional with weak pull-up after power-on, with function TxD UART1 transmit; it is one of the download/emulation interface pins."
      },
      {
        "number": "15",
        "name": "P3.2",
        "type": "bidirectional",
        "description": "Standard I/O port P3.2, with alternate functions ADC10 analog input, INT0 external interrupt 0, SCLK_4 and SCL_4 serial clocks, and PWMETI/PWMETI2 external trigger inputs; it is also the USB download check pin at power-up."
      },
      {
        "number": "16",
        "name": "P3.3",
        "type": "bidirectional",
        "description": "Standard I/O port P3.3, with alternate functions ADC11 analog input, INT1 external interrupt 1, MISO_4 and SDA_4 serial data, PWM4N_4 output, and PWM7_2 capture/output."
      },
      {
        "number": "17",
        "name": "P3.4",
        "type": "bidirectional",
        "description": "Standard I/O port P3.4, with alternate functions ADC12 analog input, T0 timer 0 external clock input, T1CLKO timer 1 clock output, MOSI_4, PWM4P_4 and PWM8_2, and CMPO comparator output."
      },
      {
        "number": "18",
        "name": "P3.5",
        "type": "bidirectional",
        "description": "Standard I/O port P3.5, with alternate functions ADC13 analog input, T1 timer 1 external clock input, T0CLKO timer 0 clock output, SS_4, and PWMFLT/PWMFLT2 abnormal-detection inputs."
      },
      {
        "number": "19",
        "name": "P3.6",
        "type": "bidirectional",
        "description": "Standard I/O port P3.6, with alternate functions INT2 external interrupt 2, RxD_2 UART1 receive, and CMP- comparator negative input."
      },
      {
        "number": "20",
        "name": "P3.7",
        "type": "bidirectional",
        "description": "Standard I/O port P3.7, with alternate functions INT3 external interrupt 3, TxD_2 UART1 transmit, and CMP+ comparator positive input."
      },
      {
        "number": "21",
        "name": "P2.0",
        "type": "bidirectional",
        "description": "Standard I/O port P2.0, with alternate functions PWM1P_2 capture/output and PWM5 capture/output."
      },
      {
        "number": "22",
        "name": "P2.1",
        "type": "bidirectional",
        "description": "Standard I/O port P2.1, with alternate functions PWM1N_2 output and PWM6 capture/output."
      },
      {
        "number": "23",
        "name": "P2.2",
        "type": "bidirectional",
        "description": "Standard I/O port P2.2, with alternate functions PWM2P_2 capture/output, PWM7 capture/output, and SS_2 SPI slave select."
      },
      {
        "number": "24",
        "name": "P2.3",
        "type": "bidirectional",
        "description": "Standard I/O port P2.3, with alternate functions PWM2N_2 output, PWM8 capture/output, and MOSI_2 SPI master output."
      },
      {
        "number": "25",
        "name": "P2.4",
        "type": "bidirectional",
        "description": "Standard I/O port P2.4, with alternate functions PWM3P_2 capture/output, MISO_2 SPI master input, and SDA_2 I2C data."
      },
      {
        "number": "26",
        "name": "P2.5",
        "type": "bidirectional",
        "description": "Standard I/O port P2.5, with alternate functions PWM3N_2 output, SCLK_2 SPI clock, and SCL_2 I2C clock."
      },
      {
        "number": "27",
        "name": "P2.6",
        "type": "bidirectional",
        "description": "Standard I/O port P2.6, with alternate function PWM4P_2 capture/output."
      },
      {
        "number": "28",
        "name": "P2.7",
        "type": "bidirectional",
        "description": "Standard I/O port P2.7, with alternate function PWM4N_2 output."
      },
      {
        "number": "29",
        "name": "P0.0",
        "type": "bidirectional",
        "description": "Standard I/O port P0.0, with alternate functions ADC8 analog input, T3 timer 3 external clock input, and PWM5_3 capture/output."
      },
      {
        "number": "30",
        "name": "P0.1",
        "type": "bidirectional",
        "description": "Standard I/O port P0.1, with alternate functions ADC9 analog input, T3CLKO timer 3 clock output, and PWM6_3 capture/output."
      },
      {
        "number": "31",
        "name": "P0.2",
        "type": "bidirectional",
        "description": "Standard I/O port P0.2, with alternate functions ADC10 analog input, T4 timer 4 external clock input, and PWM7_3 capture/output."
      },
      {
        "number": "32",
        "name": "P0.3",
        "type": "bidirectional",
        "description": "Standard I/O port P0.3, with alternate functions ADC11 analog input, T4CLKO timer 4 clock output, and PWM8_3 capture/output."
      },
      {
        "number": "33",
        "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-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The exposed pad of the QFN-32-EP(4x4) package is not identified anywhere in the provided text (the Q; The datasheet uses one shared pin-number column for LQFP32 and QFN32 (figure on page 248, table on p; Pin types are assigned as bidirectional for all port pins. The description table labels some alterna",
          "exposed pad 33 added from the footprint",
          "12/33 pins cited to the wrong page (name found elsewhere): ['21:P2.0@p255', '22:P2.1@p255', '23:P2.2@p255', '24:P2.3@p255']"
        ],
        "pages_sent": 111,
        "cost_usd": 0.9649,
        "at": "2026-10-19T04:59:00"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8756362141073059840",
        "pages": 2180,
        "sha256": "046aea020e4685f3",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 33,
        "described": 33,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stc8h1k28-36i-qfn32.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          4,
          4,
          0.6
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "7b482a511cdf2cf875c31931f9fea7f745b8dac2ea6203531cd6604f40a290cb",
        "checked": "2026-10-19",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc8h1k28-36i-qfn32-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          4,
          4,
          0.6
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "5908ecaf0cffab9fcdd0baaca92735f4192e3b7ca8934e88a2e4af900b1e9bcc",
        "checked": "2026-10-19",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STC Micro",
      "Package": "QFN-32-EP(4x4)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "33"
    },
    "appearance": {
      "housing": {
        "quote": "Accumulator contents and the contents of a sixteen-bit base register, which may be either the Data Pointer or the PC. In the latter case, the PC is incremented to the address of the following",
        "page": 1043,
        "doc": "ds.pdf",
        "material": "PC"
      },
      "version": 1,
      "datasheet_sha256": "046aea020e4685f3aa61520dcb1844f7daa50091c51b0bc9a1bcb8d472f5e1fb"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "046aea020e4685f3aa61520dcb1844f7daa50091c51b0bc9a1bcb8d472f5e1fb",
      "rows": [
        {
          "name": "Storage temperature (存储温度)",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -55,
          "typ": null,
          "max": 150,
          "conditions": "",
          "source_page": 1851,
          "source": "datasheet"
        },
        {
          "name": "Operating temperature (工作温度)",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -40,
          "typ": null,
          "max": 125,
          "conditions": "",
          "source_page": 1851,
          "source": "datasheet"
        },
        {
          "name": "Operating voltage (工作电压)",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": 1.9,
          "typ": null,
          "max": 5.5,
          "conditions": "",
          "source_page": 1851,
          "source": "datasheet"
        },
        {
          "name": "VDD to GND voltage (VDD 对地电压)",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 5.5,
          "conditions": "",
          "source_page": 1851,
          "source": "datasheet"
        },
        {
          "name": "I/O to GND voltage (I/O 口对地电压)",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": null,
          "conditions": "maximum printed as VDD+0.3",
          "source_page": 1851,
          "source": "datasheet"
        },
        {
          "name": "Input low voltage, Schmitt trigger on (输入低电平)",
          "symbol": "VIL1",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 0.99,
          "conditions": "VDD=3.3V, 25℃; 打开施密特触发",
          "source_page": 1852,
          "source": "datasheet"
        },
        {
          "name": "Input low voltage, Schmitt trigger off (输入低电平)",
          "symbol": "VIL1",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 1.07,
          "conditions": "VDD=3.3V, 25℃; 关闭施密特触发",
          "source_page": 1852,
          "source": "datasheet"
        },
        {
          "name": "Input high voltage, normal I/O, Schmitt trigger on (输入高电平(普通 I/O))",
          "symbol": "VIH1",
          "kind": "electrical",
          "unit": "V",
          "min": 1.18,
          "typ": null,
          "max": null,
          "conditions": "VDD=3.3V, 25℃; 打开施密特触发",
          "source_page": 1852,
          "source": "datasheet"
        },
        {
          "name": "Input high voltage, normal I/O, Schmitt trigger off (输入高电平(普通 I/O))",
          "symbol": "VIH1",
          "kind": "electrical",
          "unit": "V",
          "min": 1.09,
          "typ": null,
          "max": null,
          "conditions": "VDD=3.3V, 25℃; 关闭施密特触发",
          "source_page": 1852,
          "source": "datasheet"
        },
        {
          "name": "Logic 0 input current (逻辑 0 输入电流)",
          "symbol": "IIL",
          "kind": "electrical",
          "unit": "uA",
          "min": null,
          "typ": null,
          "max": 50,
          "conditions": "VDD=3.3V, 25℃; 端口电压 0V",
          "source_page": 1852,
          "source": "datasheet"
        },
        {
          "name": "Logic 1 to 0 transition current (逻辑 1 到 0 的转移电流)",
          "symbol": "ITL",
          "kind": "electrical",
          "unit": "uA",
          "min": 100,
          "typ": 270,
          "max": 600,
          "conditions": "VDD=3.3V, 25℃; 端口电压 2.0V",
          "source_page": 1852,
          "source": "datasheet"
        },
        {
          "name": "I/O port pull-up resistance (I/O 口上拉电阻)",
          "symbol": "RPU",
          "kind": "electrical",
          "unit": "KΩ",
          "min": 5.8,
          "typ": 5.9,
          "max": 6,
          "conditions": "VDD=3.3V, 25℃",
          "source_page": 1852,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stc8h1k28-36i-qfn32"
  ],
  "discovery_pitch": "STC8H1K28-36I-QFN32 (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",
    "stc8h1k28-36i-qfn32.kicad_sym",
    "stc8h1k28-36i-qfn32.kicad_mod",
    "stc8h1k28-36i-qfn32.glb",
    "stc8h1k28-36i-qfn32.step",
    "stc8h1k28-36i-qfn32.lbr",
    "docs/hero.png",
    "docs/stc8h1k28-36i-qfn32-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc8h1k28-36i-qfn32-hero.glb",
    "stc8h1k28-36i-qfn32-hero.overlay.json",
    "stc8h1k28-36i-qfn32-etched.glb"
  ],
  "visibility": {
    "public": true
  }
}