main
Ray
Publish 0.1.2
65cf466
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527
{
"schema_version": 1,
"type": "component",
"slug": "stc15f2k48s2-28i-lqfp32",
"title": "STC15F2K48S2-28I-LQFP32",
"brief": "STC Micro Microcontroller Units (MCUs/MPUs/SOCs), LQFP-32(7x7). Pinout read twice from the datasheet and the two reads agreed, KiCad symbol/footprint/3D.",
"version": "0.1.2",
"license": "CC-BY-SA-4.0",
"tags": [
"component",
"embedded processors & controllers",
"stc15f2k48s2-28i-lqfp32",
"factory-2.0.0",
"extractor-text"
],
"component": {
"mpn": "STC15F2K48S2-28I-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/bb5a56860aed633c36087b2991865afe.pdf",
"parts": {
"symbol": "stc15f2k48s2-28i-lqfp32.kicad_sym",
"footprint": "stc15f2k48s2-28i-lqfp32.kicad_mod",
"model_3d": "stc15f2k48s2-28i-lqfp32-hero.glb",
"model_3d_plain": "stc15f2k48s2-28i-lqfp32.glb",
"model_3d_step": "stc15f2k48s2-28i-lqfp32-etched.step",
"model_3d_step_plain": "stc15f2k48s2-28i-lqfp32.step",
"lbr": "stc15f2k48s2-28i-lqfp32.lbr"
},
"distributor_links": {
"lcsc": "C3013120"
},
"distributor_check": {
"checked_at": "2026-11-07T00:54:40Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": null,
"status": "no match"
},
"mouser": {
"pn": null,
"status": "no match"
}
},
"pins": [
{
"number": "1",
"name": "P1.0/ADC0/CCP1/RxD2",
"type": "bidirectional",
"description": "Port 1 bit 0 general I/O that can also be ADC input channel 0, CCP1 capture/PWM channel 1, or UART2 receive (RxD2)."
},
{
"number": "2",
"name": "P1.1/ADC1/CCP0/TxD2",
"type": "bidirectional",
"description": "Port 1 bit 1 general I/O that can also be ADC input channel 1, CCP0 capture/PWM channel 0, or UART2 transmit (TxD2)."
},
{
"number": "3",
"name": "P1.2/ADC2/SS/ECI",
"type": "bidirectional",
"description": "Port 1 bit 2 general I/O that can also be ADC input channel 2, SPI slave select (SS), or the CCP/PCA counter external pulse input (ECI)."
},
{
"number": "4",
"name": "P1.3/ADC3/MOSI",
"type": "bidirectional",
"description": "Port 1 bit 3 general I/O that can also be ADC input channel 3 or SPI master-out slave-in (MOSI)."
},
{
"number": "5",
"name": "P1.4/ADC4/MISO",
"type": "bidirectional",
"description": "Port 1 bit 4 general I/O that can also be ADC input channel 4 or SPI master-in slave-out (MISO)."
},
{
"number": "6",
"name": "P1.5/ADC5/SCLK",
"type": "bidirectional",
"description": "Port 1 bit 5 general I/O that can also be ADC input channel 5 or the SPI clock (SCLK)."
},
{
"number": "7",
"name": "P1.6/ADC6/RxD_3/XTAL2",
"type": "bidirectional",
"description": "Port 1 bit 6 general I/O that can also be ADC input channel 6, UART1 receive (RxD_3), or the crystal oscillator inverter output XTAL2."
},
{
"number": "8",
"name": "P1.7/ADC7/TxD_3/XTAL1",
"type": "bidirectional",
"description": "Port 1 bit 7 general I/O that can also be ADC input channel 7, UART1 transmit (TxD_3), or the crystal oscillator/external clock input XTAL1."
},
{
"number": "9",
"name": "P5.4/RST/MCLKO",
"type": "bidirectional",
"description": "Port 5 bit 4 general I/O (default) that can be set via STC-ISP as the active-high reset pin RST or as main clock output MCLKO (MCLK/1, /2 or /4)."
},
{
"number": "10",
"name": "Vcc",
"type": "power_in",
"description": "Positive supply; the STC15F series operates from 5.5V to 4.5V."
},
{
"number": "11",
"name": "P5.5",
"type": "bidirectional",
"description": "Port 5 bit 5 standard general-purpose I/O."
},
{
"number": "12",
"name": "Gnd",
"type": "power_in",
"description": "Ground (negative supply)."
},
{
"number": "13",
"name": "P3.0/RxD/INT4/T2CLKO",
"type": "bidirectional",
"description": "Port 3 bit 0 general I/O that can also be UART1 receive (RxD), falling-edge external interrupt 4 (INT4, power-down wake-up capable), or Timer 2 clock output (T2CLKO)."
},
{
"number": "14",
"name": "P3.1/TxD/T2",
"type": "bidirectional",
"description": "Port 3 bit 1 general I/O that can also be UART1 transmit (TxD) or the Timer/Counter 2 external input (T2)."
},
{
"number": "15",
"name": "P3.2/INT0",
"type": "bidirectional",
"description": "Port 3 bit 2 general I/O that can also be external interrupt 0 (INT0), rising/falling edge or falling-only if IT0 is set, with power-down wake-up."
},
{
"number": "16",
"name": "P3.3/INT1",
"type": "bidirectional",
"description": "Port 3 bit 3 general I/O that can also be external interrupt 1 (INT1), rising/falling edge or falling-only if IT1 is set, with power-down wake-up."
},
{
"number": "17",
"name": "P3.4/T0/T1CLKO/ECI_2",
"type": "bidirectional",
"description": "Port 3 bit 4 general I/O that can also be the Timer/Counter 0 external input (T0), Timer 1 clock output (T1CLKO), or the CCP/PCA counter pulse input (ECI_2)."
},
{
"number": "18",
"name": "P3.5/T1/T0CLKO/CCP0_2",
"type": "bidirectional",
"description": "Port 3 bit 5 general I/O that can also be the Timer/Counter 1 external input (T1), Timer 0 clock output (T0CLKO), or CCP0_2 capture/PWM channel 0."
},
{
"number": "19",
"name": "P3.6/INT2/RxD_2/CCP1_2",
"type": "bidirectional",
"description": "Port 3 bit 6 general I/O that can also be falling-edge external interrupt 2 (INT2, power-down wake-up), UART1 receive (RxD_2), or CCP1_2 capture/PWM channel 1."
},
{
"number": "20",
"name": "P3.7/INT3/TxD_2/CCP2/CCP2_2",
"type": "bidirectional",
"description": "Port 3 bit 7 general I/O that can also be falling-edge external interrupt 3 (INT3, power-down wake-up), UART1 transmit (TxD_2), or CCP2/CCP2_2 capture/PWM channel 2."
},
{
"number": "21",
"name": "P2.0/A8/RSTOUT_LOW",
"type": "bidirectional",
"description": "Port 2 bit 0 general I/O that can also be address bit A8 or RSTOUT_LOW, which outputs low after power-up and during reset until software sets it high or low."
},
{
"number": "22",
"name": "P2.1/A9/SCLK_2",
"type": "bidirectional",
"description": "Port 2 bit 1 general I/O that can also be address bit A9 or the alternate SPI clock (SCLK_2)."
},
{
"number": "23",
"name": "P2.2/A10/MISO_2",
"type": "bidirectional",
"description": "Port 2 bit 2 general I/O that can also be address bit A10 or the alternate SPI master-in slave-out (MISO_2)."
},
{
"number": "24",
"name": "P2.3/A11/MOSI_2",
"type": "bidirectional",
"description": "Port 2 bit 3 general I/O that can also be address bit A11 or the alternate SPI master-out slave-in (MOSI_2)."
},
{
"number": "25",
"name": "P2.4/A12/ECI_3/SS_2",
"type": "bidirectional",
"description": "Port 2 bit 4 general I/O that can also be address bit A12, the CCP/PCA counter pulse input (ECI_3), or the alternate SPI slave select (SS_2)."
},
{
"number": "26",
"name": "P2.5/A13/CCP0_3",
"type": "bidirectional",
"description": "Port 2 bit 5 general I/O that can also be address bit A13 or CCP0_3 capture/PWM channel 0."
},
{
"number": "27",
"name": "P2.6/A14/CCP1_3",
"type": "bidirectional",
"description": "Port 2 bit 6 general I/O that can also be address bit A14 or CCP1_3 capture/PWM channel 1."
},
{
"number": "28",
"name": "P2.7/A15/CCP2_3",
"type": "bidirectional",
"description": "Port 2 bit 7 general I/O that can also be address bit A15 or CCP2_3 capture/PWM channel 2."
},
{
"number": "29",
"name": "P0.0/AD0",
"type": "bidirectional",
"description": "Port 0 bit 0 general I/O or multiplexed low address/data bus bit 0 (not an ADC channel)."
},
{
"number": "30",
"name": "P0.1/AD1",
"type": "bidirectional",
"description": "Port 0 bit 1 general I/O or multiplexed low address/data bus bit 1 (not an ADC channel)."
},
{
"number": "31",
"name": "P0.2/AD2",
"type": "bidirectional",
"description": "Port 0 bit 2 general I/O or multiplexed low address/data bus bit 2 (not an ADC channel)."
},
{
"number": "32",
"name": "P0.3/AD3",
"type": "bidirectional",
"description": "Port 0 bit 3 general I/O or multiplexed low address/data bus bit 3 (not an ADC channel)."
}
],
"provenance": {
"extractor": "extract_pins 0.3",
"factory_chain": {
"factory": "2.0.0",
"extractor": "extract_pins 0.3",
"primary_model": "claude-sonnet-5-5",
"primary_mode": "text",
"consensus_model": "claude-sonnet-5-5",
"consensus": "agreed",
"guards": "pin_guards 0.1: passed",
"guard_notes": [
"extractor flagged: The pin table lists P4.0/MOSI_3 and P4.1/MISO_3 with swapped descriptions, but neither pin is on LQF"
],
"pages_sent": 125,
"cost_usd": 1.0949,
"at": "2026-11-07T00:54:30"
},
"datasheet": {
"url": "https://datasheet.lcsc.com/datasheet/pdf/bb5a56860aed633c36087b2991865afe.pdf",
"pages": 1473,
"sha256": "c1fab41b0006cc18",
"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": "stc15f2k48s2-28i-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-07",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stc15f2k48s2-28i-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": "db1cdeeb77ba60645c08063fb6c321783a3ad537a05c8a8880af0633e99e4b94",
"checked": "2026-11-07",
"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",
"page": 524,
"doc": "ds.pdf",
"material": "PC"
},
"version": 1,
"datasheet_sha256": "c1fab41b0006cc18d10db3d1dbb26608116a2b9fb709ad568d0f95f96dc073f9"
},
"characteristics": {
"version": 1,
"source": "datasheet",
"datasheet_sha256": "c1fab41b0006cc18d10db3d1dbb26608116a2b9fb709ad568d0f95f96dc073f9",
"rows": [
{
"name": "Storage temperature",
"symbol": "TST",
"kind": "absolute_maximum",
"unit": "℃",
"min": -55,
"typ": null,
"max": 125,
"conditions": "",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "Operating temperature (I)",
"symbol": "TA",
"kind": "absolute_maximum",
"unit": "℃",
"min": -40,
"typ": null,
"max": 85,
"conditions": "",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "DC power supply (5V)",
"symbol": "VDD - VSS",
"kind": "absolute_maximum",
"unit": "V",
"min": -0.3,
"typ": null,
"max": 5.5,
"conditions": "",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "Voltage on any pin",
"symbol": "",
"kind": "absolute_maximum",
"unit": "V",
"min": -0.3,
"typ": null,
"max": null,
"conditions": "",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "Operating Voltage (5V MCU)",
"symbol": "VDD",
"kind": "electrical",
"unit": "V",
"min": 3.3,
"typ": 5,
"max": 5.5,
"conditions": "",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "Operating Current",
"symbol": "ICC",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": 4,
"max": 20,
"conditions": "5V",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "Input Low (P0,P1,P2,P3)",
"symbol": "VIL1",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 0.8,
"conditions": "5V",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "Input High (P0,P1,P2,P3)",
"symbol": "VIH1",
"kind": "electrical",
"unit": "V",
"min": 2,
"typ": null,
"max": null,
"conditions": "5V",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "Input High (RESET)",
"symbol": "VIH2",
"kind": "electrical",
"unit": "V",
"min": 2.2,
"typ": null,
"max": null,
"conditions": "5V",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "Sourcing Current for output high (P0,P1,P2,P3) (Quasi-output)",
"symbol": "IOH1",
"kind": "electrical",
"unit": "uA",
"min": 200,
"typ": 270,
"max": null,
"conditions": "5V",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "Logic 0 input current (P0,P1,P2,P3)",
"symbol": "IIL",
"kind": "electrical",
"unit": "uA",
"min": null,
"typ": null,
"max": 50,
"conditions": "Vpin=0V",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "Logic 1 to 0 transition current (P0,P1,P2,P3)",
"symbol": "ITL",
"kind": "electrical",
"unit": "uA",
"min": 100,
"typ": 270,
"max": 600,
"conditions": "Vpin=2.0V",
"source_page": 1374,
"source": "datasheet"
}
]
}
},
"variants": [],
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"stc15f2k48s2-28i-lqfp32"
],
"discovery_pitch": "STC15F2K48S2-28I-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",
"stc15f2k48s2-28i-lqfp32.kicad_sym",
"stc15f2k48s2-28i-lqfp32.kicad_mod",
"stc15f2k48s2-28i-lqfp32.glb",
"stc15f2k48s2-28i-lqfp32.step",
"stc15f2k48s2-28i-lqfp32.lbr",
"docs/hero.png",
"docs/stc15f2k48s2-28i-lqfp32-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stc15f2k48s2-28i-lqfp32-hero.glb",
"stc15f2k48s2-28i-lqfp32-hero.overlay.json",
"stc15f2k48s2-28i-lqfp32-etched.glb",
"stc15f2k48s2-28i-lqfp32-etched.step"
],
"visibility": "public",
"description": "STC Micro Microcontroller Units (MCUs/MPUs/SOCs), LQFP-32(7x7). Pinout read twice from the datasheet and the two reads agreed, KiCad symbol/footprint/3D.",
"org": "adom"
}