main
Ray
Set visibility: public
978d364
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588
{
"schema_version": 1,
"type": "component",
"slug": "stc8c2k64s4-36i-lqfp32",
"title": "STC8C2K64S4-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",
"single chip microcomputer-microcontroller",
"stc8c2k64s4-36i-lqfp32",
"factory-2.0.0",
"extractor-text"
],
"component": {
"mpn": "STC8C2K64S4-36I-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/73d58be2ee34ecb6692592c0f184ce32.pdf",
"parts": {
"symbol": "stc8c2k64s4-36i-lqfp32.kicad_sym",
"footprint": "stc8c2k64s4-36i-lqfp32.kicad_mod",
"model_3d": "stc8c2k64s4-36i-lqfp32-hero.glb",
"model_3d_plain": "stc8c2k64s4-36i-lqfp32.glb",
"model_3d_step": "stc8c2k64s4-36i-lqfp32-etched.step",
"model_3d_step_plain": "stc8c2k64s4-36i-lqfp32.step",
"lbr": "stc8c2k64s4-36i-lqfp32.lbr"
},
"distributor_links": {
"lcsc": "C3013127"
},
"distributor_check": {
"checked_at": "2026-11-20T23:05:32Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": null,
"status": "deferred",
"error": "shared DigiKey quota guard: 934 calls left today"
},
"mouser": {
"pn": null,
"status": "no match"
}
},
"pins": [
{
"number": "1",
"name": "P1.0/RxD2",
"type": "bidirectional",
"description": "Standard I/O port bit whose alternate function RxD2 is the serial port 2 receive pin, and which is high-impedance input after power-up."
},
{
"number": "2",
"name": "P1.1/TxD2",
"type": "bidirectional",
"description": "Standard I/O port bit whose alternate function TxD2 is the serial port 2 transmit pin."
},
{
"number": "3",
"name": "P1.2 (SS, T2)",
"type": "bidirectional",
"description": "Standard I/O port bit with alternate functions SS (SPI slave select, output when operating as master) and T2 (Timer 2 external clock input)."
},
{
"number": "4",
"name": "P1.3 (MOSI, T2CLKO)",
"type": "bidirectional",
"description": "Standard I/O port bit with alternate functions MOSI (SPI master output/slave input) and T2CLKO (Timer 2 clock output, toggling on overflow)."
},
{
"number": "5",
"name": "P1.4 (MISO, SDA)",
"type": "bidirectional",
"description": "Standard I/O port bit with alternate functions MISO (SPI master input/slave output) and SDA (I2C data line)."
},
{
"number": "6",
"name": "P1.5 (SCLK, SCL)",
"type": "bidirectional",
"description": "Standard I/O port bit with alternate functions SCLK (SPI clock) and SCL (I2C clock line)."
},
{
"number": "7",
"name": "P1.6 (RxD_3, XTALO, MCLKO_2)",
"type": "bidirectional",
"description": "Standard I/O port bit with alternate functions RxD_3 (serial 1 receive), XTALO (external crystal output) and MCLKO_2 (divided master clock output)."
},
{
"number": "8",
"name": "P1.7 (TxD_3, XTALI)",
"type": "bidirectional",
"description": "Standard I/O port bit with alternate functions TxD_3 (serial 1 transmit) and XTALI (external crystal or external clock input)."
},
{
"number": "9",
"name": "P5.4/RST/MCLKO",
"type": "bidirectional",
"description": "Standard I/O port bit by default, which becomes an active-low RST reset input when selected as reset pin, with MCLKO as master clock output; its internal 4K pull-up stays on when used as RST."
},
{
"number": "10",
"name": "Vcc",
"type": "power_in",
"description": "Power supply pin; the datasheet states an operating voltage of 1.9 V to 5.5 V."
},
{
"number": "11",
"name": "P5.5",
"type": "bidirectional",
"description": "Standard I/O port bit with no alternate function listed in the pin description table."
},
{
"number": "12",
"name": "GND",
"type": "power_in",
"description": "Ground pin."
},
{
"number": "13",
"name": "P3.0/RxD/INT4",
"type": "bidirectional",
"description": "Standard I/O port bit (weak pull-up after power-up) with alternate functions RxD (serial 1 receive) and INT4 (external interrupt 4, falling edge only); 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/TxD",
"type": "bidirectional",
"description": "Standard I/O port bit (weak pull-up after power-up) whose alternate function TxD is the serial 1 transmit pin."
},
{
"number": "15",
"name": "P3.2/INT0/SCLK_4/I2CSCL_4",
"type": "bidirectional",
"description": "Standard I/O port bit with alternate functions INT0 (external interrupt 0), SCLK_4 (SPI clock) and SCL_4 (I2C clock)."
},
{
"number": "16",
"name": "P3.3/INT1/MISO_4/I2CSDA_4",
"type": "bidirectional",
"description": "Standard I/O port bit with alternate functions INT1 (external interrupt 1), MISO_4 (SPI master input) and SDA_4 (I2C data)."
},
{
"number": "17",
"name": "P3.4/T0/T1CLKO/MOSI_4/CMPO",
"type": "bidirectional",
"description": "Standard I/O port bit with alternate functions T0 (Timer 0 external clock input), T1CLKO (Timer 1 clock output), MOSI_4 (SPI master output) and CMPO (comparator output)."
},
{
"number": "18",
"name": "P3.5/T1/T0CLKO/SS_4",
"type": "bidirectional",
"description": "Standard I/O port bit with alternate functions T1 (Timer 1 external clock input), T0CLKO (Timer 0 clock output) and SS_4 (SPI slave select)."
},
{
"number": "19",
"name": "P3.6/INT2/WR_2/RxD_2/CMP-",
"type": "bidirectional",
"description": "Standard I/O port bit with alternate functions INT2 (falling-edge external interrupt 2), WR_2 (external bus write strobe), RxD_2 and CMP- (comparator negative input)."
},
{
"number": "20",
"name": "P3.7/INT3/RD_2/TxD_2/CMP+",
"type": "bidirectional",
"description": "Standard I/O port bit with alternate functions INT3 (falling-edge external interrupt 3), RD_2 (external bus read strobe), TxD_2 and CMP+ (comparator positive input)."
},
{
"number": "21",
"name": "P2.0",
"type": "bidirectional",
"description": "Standard I/O port bit as shown in the LQFP32 pin diagram, with no further alternate function listed for this package."
},
{
"number": "22",
"name": "P2.1",
"type": "bidirectional",
"description": "Standard I/O port bit as shown in the LQFP32 pin diagram, with no alternate function listed for this package."
},
{
"number": "23",
"name": "P2.2/SS_2",
"type": "bidirectional",
"description": "Standard I/O port bit with alternate function SS_2 (SPI slave select, group 2)."
},
{
"number": "24",
"name": "P2.3/MOSI_2",
"type": "bidirectional",
"description": "Standard I/O port bit with alternate function MOSI_2 (SPI master output, group 2)."
},
{
"number": "25",
"name": "P2.4 (MISO_2, I2CSDA_2)",
"type": "bidirectional",
"description": "Standard I/O port bit with alternate functions MISO_2 (SPI master input, group 2) and I2CSDA_2 (I2C data, group 2)."
},
{
"number": "26",
"name": "P2.5 (SCLK_2, I2CSCL_2)",
"type": "bidirectional",
"description": "Standard I/O port bit with alternate functions SCLK_2 (SPI clock, group 2) and I2CSCL_2 (I2C clock, group 2)."
},
{
"number": "27",
"name": "P2.6",
"type": "bidirectional",
"description": "Standard I/O port bit with no alternate function shown in the LQFP32 pin diagram."
},
{
"number": "28",
"name": "P2.7",
"type": "bidirectional",
"description": "Standard I/O port bit with no alternate function shown in the LQFP32 pin diagram."
},
{
"number": "29",
"name": "P0.0 (RxD3)",
"type": "bidirectional",
"description": "Standard I/O port bit whose alternate function RxD3 is the serial 3 receive pin."
},
{
"number": "30",
"name": "P0.1 (TxD3)",
"type": "bidirectional",
"description": "Standard I/O port bit whose alternate function TxD3 is the serial 3 transmit pin."
},
{
"number": "31",
"name": "P0.2 (RxD4)",
"type": "bidirectional",
"description": "Standard I/O port bit whose alternate function RxD4 is the serial 4 receive pin."
},
{
"number": "32",
"name": "P0.3 (TxD4)",
"type": "bidirectional",
"description": "Standard I/O port bit whose alternate function TxD4 is the serial 4 transmit pin."
}
],
"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 package hint says LQFP-32 (7x7), but the datasheet's package drawing section 4; Pin-function table rows for P2.x and P3.7 (datasheet page 21) are not included in the supplied text.; P2.1, P2.6 and P2.7 have no alternate function shown in the LQFP32 diagram, and the LQFP44 mapping l",
"27/32 pins cited to the wrong page (name found elsewhere): ['2:P1.1 (TxD2)@p19', '3:P1.2 (SS, T2)@p19', '4:P1.3 (MOSI, T2CLKO)@p19', '5:P1.4 (MISO, SDA)@p19']"
],
"pages_sent": 181,
"cost_usd": 1.0692,
"at": "2026-11-20T23:05:15"
},
"datasheet": {
"url": "https://datasheet.lcsc.com/datasheet/pdf/73d58be2ee34ecb6692592c0f184ce32.pdf",
"pages": 956,
"sha256": "f8fa5bab02998432",
"source_tier": "lcsc",
"citation": "STC Micro datasheet, copy hosted by 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": "stc8c2k64s4-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-20",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stc8c2k64s4-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": "36d39b3b5dd95adf085416c25497247b105f5707a9ba65b94d1f15aee487da49",
"checked": "2026-11-20",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
],
"package_dims": {
"package_code": "LQFP32",
"source_page": 118,
"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": [
null,
null
]
},
"A": {
"nom_mm": 1.55,
"range_mm": [
null,
1.65
]
},
"source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
"model_check": {
"file": "stc8c2k64s4-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": "Single Chip Microcomputer/Microcontroller",
"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": "存储温度 (storage temperature)",
"symbol": "",
"kind": "absolute_maximum",
"unit": "℃",
"min": -55,
"typ": null,
"max": 150,
"conditions": "",
"source_page": 786,
"source": "datasheet"
},
{
"name": "工作温度 (operating temperature)",
"symbol": "",
"kind": "absolute_maximum",
"unit": "℃",
"min": -40,
"typ": null,
"max": 85,
"conditions": "",
"source_page": 786,
"source": "datasheet"
},
{
"name": "工作电压 (operating voltage)",
"symbol": "",
"kind": "absolute_maximum",
"unit": "V",
"min": 1.9,
"typ": null,
"max": 5.5,
"conditions": "",
"source_page": 786,
"source": "datasheet"
},
{
"name": "VDD 对地电压 (VDD to ground)",
"symbol": "VDD",
"kind": "absolute_maximum",
"unit": "V",
"min": -0.3,
"typ": null,
"max": 5.5,
"conditions": "",
"source_page": 786,
"source": "datasheet"
},
{
"name": "I/O 口对地电压 (I/O voltage to ground)",
"symbol": "",
"kind": "absolute_maximum",
"unit": "V",
"min": -0.3,
"typ": null,
"max": null,
"conditions": "",
"source_page": 786,
"source": "datasheet"
},
{
"name": "输入低电平 (input low voltage)",
"symbol": "VIL1",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 0.99,
"conditions": "打开施密特触发",
"source_page": 787,
"source": "datasheet"
},
{
"name": "输入低电平 (input low voltage)",
"symbol": "VIL1",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 1.07,
"conditions": "关闭施密特触发",
"source_page": 787,
"source": "datasheet"
},
{
"name": "输入高电平(普通 I/O)(input high voltage, standard I/O)",
"symbol": "VIH1",
"kind": "electrical",
"unit": "V",
"min": 1.18,
"typ": null,
"max": null,
"conditions": "打开施密特触发",
"source_page": 787,
"source": "datasheet"
},
{
"name": "输入高电平(普通 I/O)(input high voltage, standard I/O)",
"symbol": "VIH1",
"kind": "electrical",
"unit": "V",
"min": 1.09,
"typ": null,
"max": null,
"conditions": "关闭施密特触发",
"source_page": 787,
"source": "datasheet"
},
{
"name": "输入高电平(复位脚)(input high voltage, reset pin)",
"symbol": "VIH2",
"kind": "electrical",
"unit": "V",
"min": 1.18,
"typ": null,
"max": 0.99,
"conditions": "",
"source_page": 787,
"source": "datasheet"
},
{
"name": "逻辑 0 输入电流 (logic 0 input current)",
"symbol": "IIL",
"kind": "electrical",
"unit": "uA",
"min": null,
"typ": null,
"max": 50,
"conditions": "端口电压 0V",
"source_page": 787,
"source": "datasheet"
},
{
"name": "逻辑 1 到 0 的转移电流 (logic 1 to 0 transition current)",
"symbol": "ITL",
"kind": "electrical",
"unit": "uA",
"min": 100,
"typ": 270,
"max": 600,
"conditions": "端口电压 2.0V",
"source_page": 787,
"source": "datasheet"
},
{
"name": "I/O 口上拉电阻 (I/O pull-up resistance)",
"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": [
"stc8c2k64s4-36i-lqfp32"
],
"discovery_pitch": "STC8C2K64S4-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",
"stc8c2k64s4-36i-lqfp32.kicad_sym",
"stc8c2k64s4-36i-lqfp32.kicad_mod",
"stc8c2k64s4-36i-lqfp32.glb",
"stc8c2k64s4-36i-lqfp32.step",
"stc8c2k64s4-36i-lqfp32.lbr",
"docs/hero.png",
"docs/stc8c2k64s4-36i-lqfp32-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stc8c2k64s4-36i-lqfp32-hero.glb",
"stc8c2k64s4-36i-lqfp32-hero.overlay.json"
],
"visibility": {
"public": true
}
}