main
Ray Set visibility: public 4ef2f50 6d ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539
{
  "schema_version": 1,
  "type": "component",
  "slug": "stc8c2k32s2-36i-lqfp32",
  "title": "STC8C2K32S2-36I-LQFP32",
  "brief": "STC Micro Microcontrollers (MCU/MPU/SOC), 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",
    "stc8c2k32s2-36i-lqfp32",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STC8C2K32S2-36I-LQFP32",
    "manufacturer": "STC Micro",
    "package": "LQFP-32(7x7)",
    "pin_count": 32,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589834966927777792",
    "parts": {
      "symbol": "stc8c2k32s2-36i-lqfp32.kicad_sym",
      "footprint": "stc8c2k32s2-36i-lqfp32.kicad_mod",
      "model_3d": "stc8c2k32s2-36i-lqfp32-hero.glb",
      "model_3d_plain": "stc8c2k32s2-36i-lqfp32-etched.glb",
      "model_3d_step": "stc8c2k32s2-36i-lqfp32-etched.step",
      "model_3d_step_plain": "stc8c2k32s2-36i-lqfp32.step",
      "lbr": "stc8c2k32s2-36i-lqfp32.lbr"
    },
    "distributor_links": {
      "lcsc": "C3013121"
    },
    "distributor_check": {
      "checked_at": "2026-10-20T21:12:23Z",
      "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 bidirectional I/O port P1.0 that can also serve as the UART2 receive pin RxD2; port modes are quasi-bidirectional, push-pull, high-impedance input and open-drain, and all I/O is high-impedance input after power-up except P3.0 and P3.1."
      },
      {
        "number": "2",
        "name": "P1.1",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O port P1.1 that can also serve as the UART2 transmit pin TxD2 (output)."
      },
      {
        "number": "3",
        "name": "P1.2",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O port P1.2 that can also serve as the SPI slave select input SS (master output) or the Timer 2 external clock input T2."
      },
      {
        "number": "4",
        "name": "P1.3",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O port P1.3 that can also serve as the SPI MOSI data line or the Timer 2 clock divided output T2CLKO."
      },
      {
        "number": "5",
        "name": "P1.4",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O port P1.4 that can also serve as the SPI MISO data line or the I2C data line SDA."
      },
      {
        "number": "6",
        "name": "P1.5",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O port P1.5 that can also serve as the SPI clock SCLK or the I2C clock line SCL."
      },
      {
        "number": "7",
        "name": "P1.6",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O port P1.6 that can also serve as the UART1 receive pin RxD_3, the external crystal output XTALO, or the main clock divided output MCLKO_2."
      },
      {
        "number": "8",
        "name": "P1.7",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O port P1.7 that can also serve as the UART1 transmit pin TxD_3 or the external crystal/external clock input XTALI."
      },
      {
        "number": "9",
        "name": "P5.4",
        "type": "bidirectional",
        "description": "Standard I/O port P5.4 that can be configured as the active-low reset input RST (P54RST) or as the main clock divided output MCLKO; its internal 4K pull-up stays on when used as RST."
      },
      {
        "number": "10",
        "name": "Vcc",
        "type": "power_in",
        "description": "Power supply pin; the datasheet specifies an operating voltage of 1.9V to 5.5V."
      },
      {
        "number": "11",
        "name": "P5.5",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O port P5.5."
      },
      {
        "number": "12",
        "name": "Gnd",
        "type": "power_in",
        "description": "Ground pin."
      },
      {
        "number": "13",
        "name": "P3.0",
        "type": "bidirectional",
        "description": "Standard I/O port P3.0 that is quasi-bidirectional with weak pull-up after power-up, and can also serve as UART1 receive RxD or external interrupt INT4; it is also one of the ISP/USB download-mode strap pins (P3.0/P3.1/P3.2 must not all be low at power-on if USB download is not used)."
      },
      {
        "number": "14",
        "name": "P3.1",
        "type": "bidirectional",
        "description": "Standard I/O port P3.1 that is quasi-bidirectional with weak pull-up after power-up, and can also serve as UART1 transmit pin TxD (output); it is also one of the ISP/USB download-mode strap pins."
      },
      {
        "number": "15",
        "name": "P3.2",
        "type": "bidirectional",
        "description": "Standard I/O port P3.2 that can also serve as external interrupt INT0, the SPI clock SCLK_4 or the I2C clock I2CSCL_4; it is the ISP download-mode strap pin."
      },
      {
        "number": "16",
        "name": "P3.3",
        "type": "bidirectional",
        "description": "Standard I/O port P3.3 that can also serve as external interrupt INT1, the SPI MISO_4 line or the I2C data line I2CSDA_4."
      },
      {
        "number": "17",
        "name": "P3.4",
        "type": "bidirectional",
        "description": "Standard I/O port P3.4 that can also serve as Timer 0 external clock T0, Timer 1 clock output T1CLKO, SPI MOSI_4 or comparator output CMPO."
      },
      {
        "number": "18",
        "name": "P3.5",
        "type": "bidirectional",
        "description": "Standard I/O port P3.5 that can also serve as Timer 1 external clock T1, Timer 0 clock output T0CLKO or SPI slave select SS_4."
      },
      {
        "number": "19",
        "name": "P3.6",
        "type": "bidirectional",
        "description": "Standard I/O port P3.6 that can also serve as external interrupt INT2 (falling edge only), the UART1 receive pin RxD_2 or the comparator negative input CMP-."
      },
      {
        "number": "20",
        "name": "P3.7",
        "type": "bidirectional",
        "description": "Standard I/O port P3.7 that can also serve as external interrupt INT3 (falling edge only), the UART1 transmit pin TxD_2 or the comparator positive input CMP+."
      },
      {
        "number": "21",
        "name": "P2.0",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O port P2.0."
      },
      {
        "number": "22",
        "name": "P2.1",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O port P2.1."
      },
      {
        "number": "23",
        "name": "P2.2",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O port P2.2 that can also serve as the SPI slave select SS_2 (second SPI pin group)."
      },
      {
        "number": "24",
        "name": "P2.3",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O port P2.3 that can also serve as the SPI MOSI_2 data line (second SPI pin group)."
      },
      {
        "number": "25",
        "name": "P2.4",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O port P2.4 that can also serve as the SPI MISO_2 line or the I2C data line I2CSDA_2."
      },
      {
        "number": "26",
        "name": "P2.5",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O port P2.5 that can also serve as the SPI clock SCLK_2 or the I2C clock line I2CSCL_2."
      },
      {
        "number": "27",
        "name": "P2.6",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O port P2.6."
      },
      {
        "number": "28",
        "name": "P2.7",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O port P2.7."
      },
      {
        "number": "29",
        "name": "P0.0",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O port P0.0 that can also serve as the UART3 receive pin RxD3."
      },
      {
        "number": "30",
        "name": "P0.1",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O port P0.1 that can also serve as the UART3 transmit pin TxD3 (output)."
      },
      {
        "number": "31",
        "name": "P0.2",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O port P0.2 that can also serve as the UART4 receive pin RxD4."
      },
      {
        "number": "32",
        "name": "P0.3",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O port P0.3 that can also serve as the UART4 transmit pin TxD4 (output)."
      }
    ],
    "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 size mismatch: the hint says LQFP-32(7x7), but the datasheet's LQFP32 outline is listed as 9; The MPN STC8C2K32S2 is not given its own LQFP32 diagram. The LQFP32 pin map comes from the STC8C2K64; Pins 21-28 and 13-20 descriptions are taken from the diagram labels on pages 58 and 64 rather than a"
        ],
        "pages_sent": 181,
        "cost_usd": 1.0574,
        "at": "2026-10-20T21:09:21"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589834966927777792",
        "pages": 956,
        "sha256": "f8fa5bab02998432",
        "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": "stc8c2k32s2-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-10-20",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc8c2k32s2-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": "2b8fd06860481c15942f7044367e78403b3b5c20517ab4cec81f4cfd715b5cee",
        "checked": "2026-10-20",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "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": 419,
        "doc": "ds.pdf",
        "material": "PC"
      },
      "version": 1,
      "datasheet_sha256": "f8fa5bab02998432942309872fdf828c68941a093f210adf4d7877010a37a8d3"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "f8fa5bab02998432942309872fdf828c68941a093f210adf4d7877010a37a8d3",
      "rows": [
        {
          "name": "存储温度",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -55,
          "typ": null,
          "max": 150,
          "conditions": "",
          "source_page": 786,
          "source": "datasheet"
        },
        {
          "name": "工作温度",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -40,
          "typ": null,
          "max": 85,
          "conditions": "",
          "source_page": 786,
          "source": "datasheet"
        },
        {
          "name": "工作电压",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": 1.9,
          "typ": null,
          "max": 5.5,
          "conditions": "",
          "source_page": 786,
          "source": "datasheet"
        },
        {
          "name": "VDD 对地电压",
          "symbol": "VDD",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 5.5,
          "conditions": "",
          "source_page": 786,
          "source": "datasheet"
        },
        {
          "name": "I/O 口对地电压",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": null,
          "conditions": "",
          "source_page": 786,
          "source": "datasheet"
        },
        {
          "name": "输入低电平(普通 I/O)",
          "symbol": "VIL1",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 0.99,
          "conditions": "打开施密特触发",
          "source_page": 787,
          "source": "datasheet"
        },
        {
          "name": "输入低电平(普通 I/O)",
          "symbol": "VIL1",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 1.07,
          "conditions": "关闭施密特触发",
          "source_page": 787,
          "source": "datasheet"
        },
        {
          "name": "输入高电平(普通 I/O)",
          "symbol": "VIH1",
          "kind": "electrical",
          "unit": "V",
          "min": 1.18,
          "typ": null,
          "max": null,
          "conditions": "打开施密特触发",
          "source_page": 787,
          "source": "datasheet"
        },
        {
          "name": "输入高电平(普通 I/O)",
          "symbol": "VIH1",
          "kind": "electrical",
          "unit": "V",
          "min": 1.09,
          "typ": null,
          "max": null,
          "conditions": "关闭施密特触发",
          "source_page": 787,
          "source": "datasheet"
        },
        {
          "name": "输入高电平(复位脚)",
          "symbol": "VIH2",
          "kind": "electrical",
          "unit": "V",
          "min": 1.18,
          "typ": null,
          "max": 0.99,
          "conditions": "",
          "source_page": 787,
          "source": "datasheet"
        },
        {
          "name": "逻辑 0 输入电流",
          "symbol": "IIL",
          "kind": "electrical",
          "unit": "uA",
          "min": null,
          "typ": null,
          "max": 50,
          "conditions": "端口电压 0V",
          "source_page": 787,
          "source": "datasheet"
        },
        {
          "name": "逻辑 1 到 0 的转移电流",
          "symbol": "ITL",
          "kind": "electrical",
          "unit": "uA",
          "min": 100,
          "typ": 270,
          "max": 600,
          "conditions": "端口电压 2.0V",
          "source_page": 787,
          "source": "datasheet"
        },
        {
          "name": "I/O 口上拉电阻",
          "symbol": "RPU",
          "kind": "electrical",
          "unit": "KΩ",
          "min": 5.8,
          "typ": 5.9,
          "max": 6,
          "conditions": "",
          "source_page": 787,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stc8c2k32s2-36i-lqfp32"
  ],
  "discovery_pitch": "STC8C2K32S2-36I-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",
    "stc8c2k32s2-36i-lqfp32.kicad_sym",
    "stc8c2k32s2-36i-lqfp32.kicad_mod",
    "stc8c2k32s2-36i-lqfp32.glb",
    "stc8c2k32s2-36i-lqfp32.step",
    "stc8c2k32s2-36i-lqfp32.lbr",
    "docs/hero.png",
    "docs/stc8c2k32s2-36i-lqfp32-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc8c2k32s2-36i-lqfp32-hero.glb",
    "stc8c2k32s2-36i-lqfp32-hero.overlay.json",
    "stc8c2k32s2-36i-lqfp32-etched.glb"
  ],
  "visibility": {
    "public": true
  }
}