main
Ray Set visibility: public cb466a0
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574
{
  "schema_version": 1,
  "type": "component",
  "slug": "stc8h1k24-36i-lqfp32",
  "title": "STC8H1K24-36I-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",
    "embedded processors & controllers",
    "stc8h1k24-36i-lqfp32",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STC8H1K24-36I-LQFP32",
    "manufacturer": "STC Micro",
    "package": "LQFP-32(7x7)",
    "pin_count": 32,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/a8d48f5a5d6882ba282e36788e4bfb6e.pdf",
    "parts": {
      "symbol": "stc8h1k24-36i-lqfp32.kicad_sym",
      "footprint": "stc8h1k24-36i-lqfp32.kicad_mod",
      "model_3d": "stc8h1k24-36i-lqfp32-hero.glb",
      "model_3d_plain": "stc8h1k24-36i-lqfp32.glb",
      "model_3d_step": "stc8h1k24-36i-lqfp32-etched.step",
      "model_3d_step_plain": "stc8h1k24-36i-lqfp32.step",
      "lbr": "stc8h1k24-36i-lqfp32.lbr"
    },
    "distributor_links": {
      "lcsc": "C915677"
    },
    "distributor_check": {
      "checked_at": "2026-11-13T13:12:13Z",
      "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 (high-impedance input after power-on until its mode is set); alternate functions are ADC0 analog input, RxD2 serial 2 receive and PWM1P capture/output."
      },
      {
        "number": "2",
        "name": "P1.1",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are ADC1 analog input, TxD2 serial 2 transmit and PWM1N complementary output."
      },
      {
        "number": "3",
        "name": "P1.2",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are ADC2 analog input, SPI SS, T2 timer 2 external clock input and PWM2P."
      },
      {
        "number": "4",
        "name": "P1.3",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are ADC3 analog input, SPI MOSI, T2CLKO timer 2 clock output and PWM2N."
      },
      {
        "number": "5",
        "name": "P1.4",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are ADC4 analog input, SPI MISO, I2C SDA and PWM3P."
      },
      {
        "number": "6",
        "name": "P1.5",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are ADC5 analog input, SPI SCLK, I2C SCL and PWM3N."
      },
      {
        "number": "7",
        "name": "P1.6",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are ADC6 analog input, RxD_3 serial 1 receive, PWM4P, MCLKO_2 clock output and XTALO crystal output."
      },
      {
        "number": "8",
        "name": "P1.7",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are ADC7 analog input, TxD_3 serial 1 transmit, PWM4N, PWM5_2 and XTALI crystal/external clock input (36 MHz and below)."
      },
      {
        "number": "9",
        "name": "P5.4",
        "type": "bidirectional",
        "description": "Standard I/O port pin by default; can be configured as active-low reset input nRST through ISP (takes effect after power cycle), with alternate MCLKO clock output and PWM6_2; the internal 4K pull-up stays on while used as reset and for about 6.5 ms after power-up when used as I/O."
      },
      {
        "number": "10",
        "name": "Vcc",
        "type": "power_in",
        "description": "Main supply pin (with AVcc as ADC supply); the operating voltage range is 1.9 V to 5.5 V."
      },
      {
        "number": "11",
        "name": "ADC_VRef+",
        "type": "input",
        "description": "ADC external reference voltage input, which must be connected to an external reference between 2.4 V and MCU-VCC because floating it causes leakage current (may connect directly to MCU VCC when accuracy requirements are low)."
      },
      {
        "number": "12",
        "name": "Gnd",
        "type": "power_in",
        "description": "Ground pin (AGnd is the ADC ground)."
      },
      {
        "number": "13",
        "name": "P3.0",
        "type": "bidirectional",
        "description": "Standard I/O port pin, weak pull-up/quasi-bidirectional after power-on; alternate functions are ADC8 analog input, RxD serial 1 receive and INT4 external interrupt; used with P3.1 for ISP download/emulation."
      },
      {
        "number": "14",
        "name": "P3.1",
        "type": "bidirectional",
        "description": "Standard I/O port pin, weak pull-up/quasi-bidirectional after power-on; alternate functions are ADC9 analog input and TxD serial 1 transmit; used with P3.0 for ISP download/emulation."
      },
      {
        "number": "15",
        "name": "P3.2",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are ADC10 analog input, external interrupt INT0, SPI SCLK_4, I2C SCL_4 and PWM external trigger inputs PWMETI/PWMETI2."
      },
      {
        "number": "16",
        "name": "P3.3",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are ADC11 analog input, external interrupt INT1, SPI MISO_4, I2C SDA_4, PWM4N_4 and PWM7_2."
      },
      {
        "number": "17",
        "name": "P3.4",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are ADC12 analog input, timer 0 external clock T0, T1CLKO clock output, SPI MOSI_4, PWM4P_4, PWM8_2 and comparator output CMPO."
      },
      {
        "number": "18",
        "name": "P3.5",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are ADC13 analog input, timer 1 external clock T1, T0CLKO clock output, SPI SS_4, and PWMA/PWMB fault-detect inputs PWMFLT/PWMFLT2."
      },
      {
        "number": "19",
        "name": "P3.6",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are ADC14 analog input, external interrupt INT2, serial 1 receive RxD_2 and comparator negative input CMP-."
      },
      {
        "number": "20",
        "name": "P3.7",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are external interrupt INT3, serial 1 transmit TxD_2 and comparator positive input CMP+."
      },
      {
        "number": "21",
        "name": "P2.0",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are PWM1P_2 and PWM5 capture input and pulse output (positive)."
      },
      {
        "number": "22",
        "name": "P2.1",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are PWM1N_2 pulse output (negative) and PWM6 capture input and pulse output."
      },
      {
        "number": "23",
        "name": "P2.2",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are PWM2P_2 capture and pulse output (positive), PWM7 and SPI SS_2."
      },
      {
        "number": "24",
        "name": "P2.3",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are PWM2N_2 pulse output (negative), PWM8 and SPI MOSI_2."
      },
      {
        "number": "25",
        "name": "P2.4",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are PWM3P_2 capture and pulse output (positive), SPI MISO_2 and I2C SDA_2."
      },
      {
        "number": "26",
        "name": "P2.5",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are PWM3N_2 pulse output (negative), SPI SCLK_2 and I2C SCL_2."
      },
      {
        "number": "27",
        "name": "P2.6",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate function is PWM4P_2 capture and pulse output (positive)."
      },
      {
        "number": "28",
        "name": "P2.7",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate function is PWM4N_2 pulse output (negative)."
      },
      {
        "number": "29",
        "name": "P0.0",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are ADC8 analog input, timer 3 external clock T3 and PWM5_3 capture and pulse output."
      },
      {
        "number": "30",
        "name": "P0.1",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are ADC9 analog input, T3CLKO timer 3 clock output and PWM6_3."
      },
      {
        "number": "31",
        "name": "P0.2",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are ADC10 analog input, timer 4 external clock T4 and PWM7_3."
      },
      {
        "number": "32",
        "name": "P0.3",
        "type": "bidirectional",
        "description": "Standard I/O port pin (high-impedance input after power-on until its mode is set); alternate functions are ADC11 analog input, T4CLKO timer 4 clock output and PWM8_3."
      }
    ],
    "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 hint says LQFP-32 (7x7), but the datasheet's LQFP32 package drawing is listed ; Part-number mismatch: the MPN is STC8H1K24-36I-LQFP32, but the pinout pages (4.2.2, 4.2.6) are for t; Pin 9 (P5.4) is the reset pin only if reconfigured via ISP; it defaults to I/O. Pins P3.0/P3.1 are t",
          "12/32 pins cited to the wrong page (name found elsewhere): ['21:P2.0@p249', '22:P2.1@p249', '23:P2.2@p249', '24:P2.3@p249']"
        ],
        "pages_sent": 111,
        "cost_usd": 0.9249,
        "at": "2026-11-13T13:12:02"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/a8d48f5a5d6882ba282e36788e4bfb6e.pdf",
        "pages": 2180,
        "sha256": "046aea020e4685f3",
        "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": "stc8h1k24-36i-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-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc8h1k24-36i-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": "d80a8d5fd3d70dceba71ec27d91308bb0c5e53076498f7a20bc3433734e34fba",
        "checked": "2026-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "LQFP32",
      "source_page": 725,
      "D": {
        "nom_mm": 7,
        "range_mm": [
          6.9,
          7.1
        ]
      },
      "E1": {
        "nom_mm": 7,
        "range_mm": [
          6.9,
          7.1
        ]
      },
      "E": {
        "nom_mm": 9,
        "range_mm": [
          8.8,
          9.2
        ]
      },
      "e": {
        "nom_mm": 0.8,
        "range_mm": [
          0.7,
          0.9
        ]
      },
      "A": {
        "nom_mm": 1.55,
        "range_mm": [
          1.45,
          1.65
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "stc8h1k24-36i-lqfp32.step",
        "verdict": "PASS",
        "reasons": [
          "height and body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STC Micro",
      "Package": "LQFP-32(7x7)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "32"
    },
    "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": "输入低电平 (打开施密特触发)",
          "symbol": "VIL1",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 0.99,
          "conditions": "打开施密特触发",
          "source_page": 1852,
          "source": "datasheet"
        },
        {
          "name": "输入低电平 (关闭施密特触发)",
          "symbol": "",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 1.07,
          "conditions": "关闭施密特触发",
          "source_page": 1852,
          "source": "datasheet"
        },
        {
          "name": "输入高电平(普通 I/O) (打开施密特触发)",
          "symbol": "VIH1",
          "kind": "electrical",
          "unit": "V",
          "min": 1.18,
          "typ": null,
          "max": null,
          "conditions": "打开施密特触发",
          "source_page": 1852,
          "source": "datasheet"
        },
        {
          "name": "输入高电平(普通 I/O) (关闭施密特触发)",
          "symbol": "",
          "kind": "electrical",
          "unit": "V",
          "min": 1.09,
          "typ": null,
          "max": null,
          "conditions": "关闭施密特触发",
          "source_page": 1852,
          "source": "datasheet"
        },
        {
          "name": "逻辑 0 输入电流",
          "symbol": "IIL",
          "kind": "electrical",
          "unit": "uA",
          "min": null,
          "typ": null,
          "max": 50,
          "conditions": "端口电压 0V",
          "source_page": 1852,
          "source": "datasheet"
        },
        {
          "name": "逻辑 1 到 0 的转移电流",
          "symbol": "ITL",
          "kind": "electrical",
          "unit": "uA",
          "min": 100,
          "typ": 270,
          "max": 600,
          "conditions": "端口电压 2.0V",
          "source_page": 1852,
          "source": "datasheet"
        },
        {
          "name": "I/O 口上拉电阻",
          "symbol": "RPU",
          "kind": "electrical",
          "unit": "KΩ",
          "min": 5.8,
          "typ": 5.9,
          "max": 6,
          "conditions": "",
          "source_page": 1852,
          "source": "datasheet"
        },
        {
          "name": "存储温度",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -55,
          "typ": null,
          "max": 150,
          "conditions": "",
          "source_page": 1851,
          "source": "datasheet"
        },
        {
          "name": "工作温度",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -40,
          "typ": null,
          "max": 125,
          "conditions": "",
          "source_page": 1851,
          "source": "datasheet"
        },
        {
          "name": "工作电压",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": 1.9,
          "typ": null,
          "max": 5.5,
          "conditions": "",
          "source_page": 1851,
          "source": "datasheet"
        },
        {
          "name": "VDD 对地电压",
          "symbol": "VDD",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 5.5,
          "conditions": "",
          "source_page": 1851,
          "source": "datasheet"
        },
        {
          "name": "I/O 口对地电压",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": null,
          "conditions": "",
          "source_page": 1851,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stc8h1k24-36i-lqfp32"
  ],
  "discovery_pitch": "STC8H1K24-36I-LQFP32 (STC Micro) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stc8h1k24-36i-lqfp32.kicad_sym",
    "stc8h1k24-36i-lqfp32.kicad_mod",
    "stc8h1k24-36i-lqfp32.glb",
    "stc8h1k24-36i-lqfp32.step",
    "stc8h1k24-36i-lqfp32.lbr",
    "docs/hero.png",
    "docs/stc8h1k24-36i-lqfp32-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc8h1k24-36i-lqfp32-hero.glb",
    "stc8h1k24-36i-lqfp32-hero.overlay.json"
  ],
  "visibility": {
    "public": true
  }
}