component
STC15H2K64S4-36I-SOP28
Public Made by Adomby adom
STC Micro Microcontrollers (MCU/MPU/SOC), SOP-28. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527
{
"schema_version": 1,
"type": "component",
"slug": "stc15h2k64s4-36i-sop28",
"title": "STC15H2K64S4-36I-SOP28",
"brief": "STC Micro Microcontrollers (MCU/MPU/SOC), SOP-28. 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",
"stc15h2k64s4-36i-sop28",
"factory-2.0.0",
"extractor-text"
],
"component": {
"mpn": "STC15H2K64S4-36I-SOP28",
"manufacturer": "STC Micro",
"package": "SOP-28",
"pin_count": 28,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8603394997840998400",
"parts": {
"symbol": "stc15h2k64s4-36i-sop28.kicad_sym",
"footprint": "stc15h2k64s4-36i-sop28.kicad_mod",
"model_3d": "stc15h2k64s4-36i-sop28-hero.glb",
"model_3d_plain": "stc15h2k64s4-36i-sop28-etched.glb",
"model_3d_step": "stc15h2k64s4-36i-sop28-etched.step",
"model_3d_step_plain": "stc15h2k64s4-36i-sop28.step",
"lbr": "stc15h2k64s4-36i-sop28.lbr"
},
"distributor_links": {
"lcsc": "C22472739"
},
"distributor_check": {
"checked_at": "2026-10-19T08:50:40Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": null,
"status": "error"
},
"mouser": {
"pn": null,
"status": "no match"
}
},
"pins": [
{
"number": "1",
"name": "P2.6/PWM26/A14/CCP1_3",
"type": "bidirectional",
"description": "General-purpose I/O P2.6 (alternates PWM26, CCP1_3, A14) that powers up as a high-impedance input and must have its mode set before use."
},
{
"number": "2",
"name": "P2.7/PWM27/A15/CCP2_3",
"type": "bidirectional",
"description": "General-purpose I/O P2.7 (alternates PWM27, CCP2_3, A15) that powers up as a high-impedance input and must have its mode set before use."
},
{
"number": "3",
"name": "P1.0",
"type": "bidirectional",
"description": "General-purpose I/O P1.0 (alternates UART2 RxD2, CCP1, ADC channel 0, PWM10) that powers up as a high-impedance input and must have its mode set before use."
},
{
"number": "4",
"name": "P1.1",
"type": "bidirectional",
"description": "General-purpose I/O P1.1 (alternates UART2 TxD2, CCP0, ADC channel 1, PWM11) that powers up as a high-impedance input and must have its mode set before use."
},
{
"number": "5",
"name": "P1.2",
"type": "bidirectional",
"description": "General-purpose I/O P1.2 (alternates Timer 2 external count input T2, SPI SS, ECI, ADC channel 2, PWM12) that powers up as a high-impedance input and must have its mode set before use."
},
{
"number": "6",
"name": "P1.3",
"type": "bidirectional",
"description": "General-purpose I/O P1.3 (alternates T2CLKO, SPI MOSI, ADC channel 3, PWM13) that powers up as a high-impedance input and must have its mode set before use."
},
{
"number": "7",
"name": "P1.4",
"type": "bidirectional",
"description": "General-purpose I/O P1.4 (alternates I2C SDA, SPI MISO, ADC channel 4, PWM14) that powers up as a high-impedance input and can also wake the MCU from power-down via I2C SDA falling edge."
},
{
"number": "8",
"name": "P1.5",
"type": "bidirectional",
"description": "General-purpose I/O P1.5 (alternates I2C SCL, SPI SCLK, ADC channel 5, PWM15) that powers up as a high-impedance input and must have its mode set before use."
},
{
"number": "9",
"name": "P1.6",
"type": "bidirectional",
"description": "General-purpose I/O P1.6 that serves as XTALO crystal output when a crystal is used, and is fixed as a high-impedance input when external clock mode (XITYPE=0) is selected."
},
{
"number": "10",
"name": "P1.7",
"type": "bidirectional",
"description": "General-purpose I/O P1.7 that serves as XTALI crystal or external clock input when the external oscillator is enabled, and otherwise is available as ADC channel 7 or PWM17."
},
{
"number": "11",
"name": "P5.4",
"type": "bidirectional",
"description": "P5.4 is a general-purpose I/O by default and becomes an active-low reset input (nRST) when the RST pin function is selected in RSTCFG; in reset mode its internal 4K pull-up stays enabled, while as I/O its pull-up is on for about 6.5 ms after power-up."
},
{
"number": "12",
"name": "Vcc/AVcc/ADC_VRef+",
"type": "power_in",
"description": "Main MCU supply (Vcc, also AVcc and ADC_VRef+); the datasheet gives an operating range of 1.9 V to 5.5 V, and ADC_VRef+ must be tied to an external reference of 2.4 V to MCU-VCC or directly to VCC, never left floating."
},
{
"number": "13",
"name": "P5.2",
"type": "bidirectional",
"description": "General-purpose I/O P5.2 (alternates UART4 RxD4_2 and PWM52) that powers up as a high-impedance input and must have its mode set before use."
},
{
"number": "14",
"name": "Gnd/AGnd",
"type": "power_in",
"description": "Ground reference for the digital core and analog ground (AGnd); the datasheet requires the ADC analog ground to be connected to system ground with a short, thick trace."
},
{
"number": "15",
"name": "P3.0/PWM30/RxD/INT4",
"type": "bidirectional",
"description": "General-purpose I/O P3.0 (alternates UART1 RxD, PWM30, INT4 falling-edge interrupt) that powers up in weak-pull-up quasi-bidirectional mode and is used with P3.1/P3.2 for USB ISP boot selection, so these three pins must not all be low at power-up if user code is to run."
},
{
"number": "16",
"name": "P3.1/PWM31/TxD",
"type": "bidirectional",
"description": "General-purpose I/O P3.1 (alternates UART1 TxD and PWM31) that powers up in weak-pull-up quasi-bidirectional mode and is part of the ISP download/emulation interface."
},
{
"number": "17",
"name": "P3.2/PWM32/INT0/SCLK_4/I2CSCL_4",
"type": "bidirectional",
"description": "General-purpose I/O P3.2 (alternates external interrupt INT0 with rising/falling edge support, PWM32, SCLK_4, I2C SCL_4) that powers up as a high-impedance input and is part of the USB ISP boot-selection check at power-up."
},
{
"number": "18",
"name": "P3.3/PWM33/INT1/MISO_4/I2CSDA_4",
"type": "bidirectional",
"description": "General-purpose I/O P3.3 (alternates external interrupt INT1 with rising/falling edge support, PWM33, MISO_4, I2C SDA_4) that powers up as a high-impedance input and must have its mode set before use."
},
{
"number": "19",
"name": "P3.4/PWM34/T0/T1CLKO/ECI_2/MOSI_4/CMPO",
"type": "bidirectional",
"description": "General-purpose I/O P3.4 (alternates Timer 0 external input T0, T1CLKO, ECI_2, MOSI_4, comparator output CMPO, PWM34) that powers up as a high-impedance input and must have its mode set before use."
},
{
"number": "20",
"name": "P3.5/PWM35/T1/T0CLKO/SS_4/CCP0_2/PWMFLT",
"type": "bidirectional",
"description": "General-purpose I/O P3.5 (alternates Timer 1 external input T1, T0CLKO, SS_4, CCP0_2, PWMFLT, PWM35) that powers up as a high-impedance input and must have its mode set before use."
},
{
"number": "21",
"name": "P3.6/PWM36/INT2/RxD_2/CMP-/CCP1_2",
"type": "bidirectional",
"description": "General-purpose I/O P3.6 (alternates external interrupt INT2 falling-edge only, UART2 RxD_2, comparator input CMP-, CCP1_2, PWM36) that powers up as a high-impedance input and must have its mode set before use."
},
{
"number": "22",
"name": "P3.7/PWM37/INT3/TxD_2/CMP+/CCP2_2/CCP2",
"type": "bidirectional",
"description": "General-purpose I/O P3.7 (alternates external interrupt INT3 falling-edge only, UART2 TxD_2, comparator input CMP+, CCP2_2, CCP2, PWM37) that powers up as a high-impedance input and must have its mode set before use."
},
{
"number": "23",
"name": "P2.0/PWM20/A8",
"type": "bidirectional",
"description": "General-purpose I/O P2.0 (alternates PWM20 and address bit A8) that powers up as a high-impedance input and must have its mode set before use."
},
{
"number": "24",
"name": "P2.1/PWM21/A9",
"type": "bidirectional",
"description": "General-purpose I/O P2.1 (alternates PWM21 and address bit A9) that powers up as a high-impedance input and must have its mode set before use."
},
{
"number": "25",
"name": "P2.2/PWM22/A10/SS_2",
"type": "bidirectional",
"description": "General-purpose I/O P2.2 (alternates PWM22, address bit A10, SPI SS_2) that powers up as a high-impedance input and must have its mode set before use."
},
{
"number": "26",
"name": "P2.3/PWM23/A11/MOSI_2",
"type": "bidirectional",
"description": "General-purpose I/O P2.3 (alternates PWM23, address bit A11, SPI MOSI_2) that powers up as a high-impedance input and must have its mode set before use."
},
{
"number": "27",
"name": "P2.4/PWM24/A12/ECI_3/I2CSDA_2/MISO_2",
"type": "bidirectional",
"description": "General-purpose I/O P2.4 (alternates PWM24, address bit A12, ECI_3, I2C SDA_2, SPI MISO_2) that powers up as a high-impedance input and must have its mode set before use."
},
{
"number": "28",
"name": "P2.5/PWM25/A13/CCP0_3/I2CSCL_2/SCLK_2",
"type": "bidirectional",
"description": "General-purpose I/O P2.5 (alternates PWM25, address bit A13, CCP0_3, I2C SCL_2, SPI SCLK_2) that powers up as a high-impedance input and must have its mode set before use."
}
],
"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 pinout is taken from the SOP28/SKDIP28 pin diagram on PDF page 33, which the datasheet presents ; Pin 9 and pin 10 (P1.6/P1.7) are shared with the external crystal/clock function. Their GPIO use dep; Pins 1, 2 and 23-28 list address alternates (A8-A15). The datasheet states the external 64 KB bus ca"
],
"pages_sent": 182,
"cost_usd": 1.0351,
"at": "2026-10-19T08:50:22"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8603394997840998400",
"pages": 1003,
"sha256": "eceec044fae19745",
"source_tier": "lcsc"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 28,
"described": 28,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"models_3d": [
{
"file": "stc15h2k64s4-36i-sop28.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
11.636,
18.16,
2.666
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "ecc34510e8f74b6103a72c2f24133ad80006c738972a56531d1221b277fcecdb",
"checked": "2026-10-19",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stc15h2k64s4-36i-sop28-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
11.636,
18.16,
2.666
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "984848178f070c5a85737f737b3c09ce3844c0744f59f957c47ac2ba54213139",
"checked": "2026-10-19",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"metadata": {
"specs": {
"Manufacturer": "STC Micro",
"Package": "SOP-28",
"Category": "Embedded Processors & Controllers",
"Pins": "28"
},
"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": 395,
"doc": "ds.pdf",
"material": "PC"
},
"version": 1,
"datasheet_sha256": "eceec044fae197453b530e37e150662ece7e590705b0122c6687901c8757a115"
},
"characteristics": {
"version": 1,
"source": "datasheet",
"datasheet_sha256": "eceec044fae197453b530e37e150662ece7e590705b0122c6687901c8757a115",
"rows": [
{
"name": "Input low voltage (Schmitt trigger open)",
"symbol": "VIL1",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 0.99,
"conditions": "打开施密特触发",
"source_page": 866,
"source": "datasheet"
},
{
"name": "Input low voltage (Schmitt trigger closed)",
"symbol": "VIL1",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 1.07,
"conditions": "关闭施密特触发",
"source_page": 866,
"source": "datasheet"
},
{
"name": "Input high voltage, normal I/O (Schmitt trigger open)",
"symbol": "VIH1",
"kind": "electrical",
"unit": "V",
"min": 1.18,
"typ": null,
"max": null,
"conditions": "打开施密特触发",
"source_page": 866,
"source": "datasheet"
},
{
"name": "Input high voltage, normal I/O (Schmitt trigger closed)",
"symbol": "VIH1",
"kind": "electrical",
"unit": "V",
"min": 1.09,
"typ": null,
"max": null,
"conditions": "关闭施密特触发",
"source_page": 866,
"source": "datasheet"
},
{
"name": "Input high voltage, reset pin (as printed)",
"symbol": "VIH2",
"kind": "electrical",
"unit": "V",
"min": 1.18,
"typ": null,
"max": 0.99,
"conditions": "",
"source_page": 866,
"source": "datasheet"
},
{
"name": "Logic 1 to 0 transition current",
"symbol": "ITL",
"kind": "electrical",
"unit": "uA",
"min": 100,
"typ": 270,
"max": 600,
"conditions": "端口电压 2.0V",
"source_page": 866,
"source": "datasheet"
},
{
"name": "Logic 0 input current",
"symbol": "IIL",
"kind": "electrical",
"unit": "uA",
"min": null,
"typ": null,
"max": 50,
"conditions": "端口电压 0V",
"source_page": 866,
"source": "datasheet"
},
{
"name": "High-level output current, bidirectional mode",
"symbol": "IOH1",
"kind": "electrical",
"unit": "uA",
"min": 200,
"typ": 270,
"max": null,
"conditions": "",
"source_page": 866,
"source": "datasheet"
},
{
"name": "I/O port pull-up resistor",
"symbol": "RPU",
"kind": "electrical",
"unit": "KΩ",
"min": 5.8,
"typ": 5.9,
"max": 6,
"conditions": "",
"source_page": 866,
"source": "datasheet"
},
{
"name": "Storage temperature",
"symbol": "",
"kind": "absolute_maximum",
"unit": "℃",
"min": -55,
"typ": null,
"max": 150,
"conditions": "",
"source_page": 865,
"source": "datasheet"
},
{
"name": "Operating temperature",
"symbol": "",
"kind": "absolute_maximum",
"unit": "℃",
"min": -40,
"typ": null,
"max": 85,
"conditions": "",
"source_page": 865,
"source": "datasheet"
},
{
"name": "Operating voltage",
"symbol": "",
"kind": "absolute_maximum",
"unit": "V",
"min": 1.9,
"typ": null,
"max": 5.5,
"conditions": "",
"source_page": 865,
"source": "datasheet"
},
{
"name": "VDD to ground voltage",
"symbol": "",
"kind": "absolute_maximum",
"unit": "V",
"min": -0.3,
"typ": null,
"max": 5.5,
"conditions": "",
"source_page": 865,
"source": "datasheet"
},
{
"name": "I/O port to ground voltage",
"symbol": "",
"kind": "absolute_maximum",
"unit": "V",
"min": -0.3,
"typ": null,
"max": null,
"conditions": "",
"source_page": 865,
"source": "datasheet"
}
]
}
},
"variants": [],
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"stc15h2k64s4-36i-sop28"
],
"discovery_pitch": "STC15H2K64S4-36I-SOP28 (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",
"stc15h2k64s4-36i-sop28.kicad_sym",
"stc15h2k64s4-36i-sop28.kicad_mod",
"stc15h2k64s4-36i-sop28.glb",
"stc15h2k64s4-36i-sop28.step",
"stc15h2k64s4-36i-sop28.lbr",
"docs/hero.png",
"docs/stc15h2k64s4-36i-sop28-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stc15h2k64s4-36i-sop28-hero.glb",
"stc15h2k64s4-36i-sop28-hero.overlay.json",
"stc15h2k64s4-36i-sop28-etched.glb"
],
"visibility": {
"public": true
}
}