main
Ray
Publish 0.1.1
30c5962
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
{
"slug": "stc12c5a32s2-35i-lqfp48",
"version": "0.1.1",
"type": "component",
"description": "STC Micro Microcontroller Units (MCUs/MPUs/SOCs), LQFP-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"tags": [
"component",
"embedded processors & controllers",
"stc12c5a32s2-35i-lqfp48",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stc12c5a32s2-35i-lqfp48.kicad_sym",
"stc12c5a32s2-35i-lqfp48.kicad_mod",
"stc12c5a32s2-35i-lqfp48.glb",
"stc12c5a32s2-35i-lqfp48.step",
"stc12c5a32s2-35i-lqfp48.lbr",
"docs/hero.png",
"docs/stc12c5a32s2-35i-lqfp48-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stc12c5a32s2-35i-lqfp48-hero.glb",
"stc12c5a32s2-35i-lqfp48-hero.overlay.json",
"stc12c5a32s2-35i-lqfp48-etched.glb",
"stc12c5a32s2-35i-lqfp48-etched.step"
],
"component": {
"mpn": "STC12C5A32S2-35I-LQFP48",
"manufacturer": "STC Micro",
"package": "LQFP-48(7x7)",
"pin_count": 48,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
"datasheet": "https://datasheet.lcsc.com/datasheet/pdf/02701df9a7b1d205cdff5187053fcc09.pdf",
"parts": {
"symbol": "stc12c5a32s2-35i-lqfp48.kicad_sym",
"footprint": "stc12c5a32s2-35i-lqfp48.kicad_mod",
"model_3d": "stc12c5a32s2-35i-lqfp48-hero.glb",
"model_3d_plain": "stc12c5a32s2-35i-lqfp48.glb",
"model_3d_step": "stc12c5a32s2-35i-lqfp48-etched.step",
"model_3d_step_plain": "stc12c5a32s2-35i-lqfp48.step",
"lbr": "stc12c5a32s2-35i-lqfp48.lbr"
},
"distributor_links": {
"lcsc": "C21655"
},
"distributor_check": {
"checked_at": "2026-10-27T01:32:39Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": null,
"status": "no match"
},
"mouser": {
"pn": null,
"status": "no match"
}
},
"pins": [
{
"number": "1",
"name": "P5.3",
"type": "bidirectional",
"description": "General-purpose I/O port 5 bit 3, configurable via P5M1/P5M0 into quasi-bidirectional, push-pull, input-only or open-drain mode."
},
{
"number": "2",
"name": "MOSI/ADC5/P1.5",
"type": "bidirectional",
"description": "P1.5 I/O that serves as SPI MOSI or 10-bit ADC input channel 5; set to open-drain or input-only mode when used as ADC."
},
{
"number": "3",
"name": "MISO/ADC6/P1.6",
"type": "bidirectional",
"description": "P1.6 I/O that serves as SPI MISO or 10-bit ADC input channel 6; set to open-drain or input-only mode when used as ADC."
},
{
"number": "4",
"name": "SCLK/ADC7/P1.7",
"type": "bidirectional",
"description": "P1.7 I/O that serves as SPI clock (SCLK) or 10-bit ADC input channel 7; set to open-drain or input-only mode when used as ADC."
},
{
"number": "5",
"name": "P4.7/RST",
"type": "bidirectional",
"description": "Reset input or P4.7 I/O, chosen at ISP programming time; if set as P4.7 I/O an external clock must be used."
},
{
"number": "6",
"name": "RxD/P3.0",
"type": "bidirectional",
"description": "P3.0 I/O that serves as UART1 receive (RxD) and can wake the part from power-down mode."
},
{
"number": "7",
"name": "SCLK/TxD2/CCP1/P4.3",
"type": "bidirectional",
"description": "P4.3 I/O that carries SPI SCLK, UART2 TxD2 or PCA CCP1 when the P4 alternate-pin option is selected in AUXR1."
},
{
"number": "8",
"name": "TxD/P3.1",
"type": "bidirectional",
"description": "P3.1 I/O that serves as UART1 transmit (TxD)."
},
{
"number": "9",
"name": "INT0/P3.2",
"type": "bidirectional",
"description": "P3.2 I/O that serves as external interrupt 0 input and can wake the part from power-down mode."
},
{
"number": "10",
"name": "INT1/P3.3",
"type": "bidirectional",
"description": "P3.3 I/O that serves as external interrupt 1 input and can wake the part from power-down mode."
},
{
"number": "11",
"name": "CLKOUT0/T0/P3.4",
"type": "bidirectional",
"description": "P3.4 I/O that serves as Timer 0 external input or the Timer 0 overflow clock output (CLKOUT0), and can wake the part from power-down mode."
},
{
"number": "12",
"name": "CLKOUT1/T1/P3.5",
"type": "bidirectional",
"description": "P3.5 I/O that serves as Timer 1 external input or the Timer 1 overflow clock output (CLKOUT1), and can wake the part from power-down mode."
},
{
"number": "13",
"name": "P3.6/WR",
"type": "bidirectional",
"description": "P3.6 I/O that serves as the external data memory write strobe (WR)."
},
{
"number": "14",
"name": "P3.7/RD",
"type": "bidirectional",
"description": "P3.7 I/O that serves as the external data memory read strobe (RD)."
},
{
"number": "15",
"name": "XTAL2",
"type": "output",
"description": "Crystal oscillator output; leave floating when an external clock is fed into XTAL1."
},
{
"number": "16",
"name": "XTAL1",
"type": "input",
"description": "Crystal oscillator input or external clock input."
},
{
"number": "17",
"name": "Gnd",
"type": "power_in",
"description": "Ground."
},
{
"number": "18",
"name": "P4.0/SS",
"type": "bidirectional",
"description": "P4.0 I/O that serves as SPI slave select (SS) when SPI is switched to port 4."
},
{
"number": "19",
"name": "P2.0",
"type": "bidirectional",
"description": "General-purpose I/O port 2 bit 0, also the address bus bit for external memory access."
},
{
"number": "20",
"name": "P2.1",
"type": "bidirectional",
"description": "General-purpose I/O port 2 bit 1, also the address bus bit for external memory access."
},
{
"number": "21",
"name": "P2.2",
"type": "bidirectional",
"description": "General-purpose I/O port 2 bit 2, also the address bus bit for external memory access."
},
{
"number": "22",
"name": "P2.3",
"type": "bidirectional",
"description": "General-purpose I/O port 2 bit 3, also the address bus bit for external memory access."
},
{
"number": "23",
"name": "P2.4",
"type": "bidirectional",
"description": "General-purpose I/O port 2 bit 4, also the address bus bit for external memory access."
},
{
"number": "24",
"name": "P5.0",
"type": "bidirectional",
"description": "General-purpose I/O port 5 bit 0, configurable via P5M1/P5M0 into quasi-bidirectional, push-pull, input-only or open-drain mode."
},
{
"number": "25",
"name": "P5.1",
"type": "bidirectional",
"description": "General-purpose I/O port 5 bit 1, configurable via P5M1/P5M0 into quasi-bidirectional, push-pull, input-only or open-drain mode."
},
{
"number": "26",
"name": "P2.5",
"type": "bidirectional",
"description": "General-purpose I/O port 2 bit 5, also the address bus bit for external memory access."
},
{
"number": "27",
"name": "P2.6",
"type": "bidirectional",
"description": "General-purpose I/O port 2 bit 6, also the address bus bit for external memory access."
},
{
"number": "28",
"name": "P2.7",
"type": "bidirectional",
"description": "General-purpose I/O port 2 bit 7, also the address bus bit for external memory access."
},
{
"number": "29",
"name": "P4.4/NA",
"type": "bidirectional",
"description": "After reset (P4SW.4=0) this pin is a weak pull-up with no function; setting P4SW.4=1 makes it the P4.4 I/O."
},
{
"number": "30",
"name": "P4.5/ALE",
"type": "bidirectional",
"description": "After reset (P4SW.5=0) this pin carries the ALE signal, output only during MOVX access to external devices; setting P4SW.5=1 makes it the P4.5 I/O."
},
{
"number": "31",
"name": "P4.1/ECI/MOSI",
"type": "bidirectional",
"description": "P4.1 I/O that carries PCA external clock input (ECI) or SPI MOSI when the P4 alternate-pin option is selected."
},
{
"number": "32",
"name": "P4.6/EX_LVD/RST2",
"type": "bidirectional",
"description": "After reset (P4SW.6=0) this is the external low-voltage detect input (EX_LVD) that can act as the second reset RST2 and wake power-down mode; setting P4SW.6=1 makes it the P4.6 I/O."
},
{
"number": "33",
"name": "P0.7",
"type": "bidirectional",
"description": "General-purpose I/O port 0 bit 7, also the data/address bus bit for external memory access."
},
{
"number": "34",
"name": "P0.6",
"type": "bidirectional",
"description": "General-purpose I/O port 0 bit 6, also the data/address bus bit for external memory access."
},
{
"number": "35",
"name": "P0.5",
"type": "bidirectional",
"description": "General-purpose I/O port 0 bit 5, also the data/address bus bit for external memory access."
},
{
"number": "36",
"name": "P0.4",
"type": "bidirectional",
"description": "General-purpose I/O port 0 bit 4, also the data/address bus bit for external memory access."
},
{
"number": "37",
"name": "P0.3",
"type": "bidirectional",
"description": "General-purpose I/O port 0 bit 3, also the data/address bus bit for external memory access."
},
{
"number": "38",
"name": "P0.2",
"type": "bidirectional",
"description": "General-purpose I/O port 0 bit 2, also the data/address bus bit for external memory access."
},
{
"number": "39",
"name": "P0.1",
"type": "bidirectional",
"description": "General-purpose I/O port 0 bit 1, also the data/address bus bit for external memory access."
},
{
"number": "40",
"name": "P0.0",
"type": "bidirectional",
"description": "General-purpose I/O port 0 bit 0, also the data/address bus bit for external memory access."
},
{
"number": "41",
"name": "Vcc",
"type": "power_in",
"description": "Positive supply; the STC12C5A60S2 (C) series operates from 5.5V to 3.5V."
},
{
"number": "42",
"name": "MISO/RxD2/CCP0/P4.2",
"type": "bidirectional",
"description": "P4.2 I/O that carries SPI MISO, UART2 RxD2 or PCA CCP0 when the P4 alternate-pin option is selected."
},
{
"number": "43",
"name": "CLKOUT2/ADC0/P1.0",
"type": "bidirectional",
"description": "P1.0 I/O that serves as the baud-rate timer clock output (CLKOUT2) or 10-bit ADC input channel 0; set to open-drain or input-only mode when used as ADC."
},
{
"number": "44",
"name": "ADC1/P1.1",
"type": "bidirectional",
"description": "P1.1 I/O that serves as 10-bit ADC input channel 1; set to open-drain or input-only mode when used as ADC."
},
{
"number": "45",
"name": "RxD2/ECI/ADC2/P1.2",
"type": "bidirectional",
"description": "P1.2 I/O that serves as UART2 receive (RxD2), PCA external clock input (ECI) or 10-bit ADC input channel 2."
},
{
"number": "46",
"name": "TxD2/CCP0/ADC3/P1.3",
"type": "bidirectional",
"description": "P1.3 I/O that serves as UART2 transmit (TxD2), PCA/PWM channel CCP0 or 10-bit ADC input channel 3, and can wake power-down mode."
},
{
"number": "47",
"name": "SS/CCP1/ADC4/P1.4",
"type": "bidirectional",
"description": "P1.4 I/O that serves as SPI slave select (SS), PCA/PWM channel CCP1 or 10-bit ADC input channel 4, and can wake power-down mode."
},
{
"number": "48",
"name": "P5.2",
"type": "bidirectional",
"description": "General-purpose I/O port 5 bit 2, configurable via P5M1/P5M0 into quasi-bidirectional, push-pull, input-only or open-drain mode."
}
],
"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+vision",
"consensus_model": "claude-opus-5-5",
"consensus": "agreed",
"guards": "pin_guards 0.1: passed",
"guard_notes": [
"extractor flagged: The package hint says LQFP-48 (7x7), but this datasheet lists the LQFP48 drawing as 9mm*9mm (content; The datasheet covers the whole STC12C5A60S2 series. STC12C5A32S2 (32K Flash) is listed in the select; The LQFP48 drawing shows P5.0-P5.3 only as port names. The datasheet gives no alternate functions fo",
"vision extraction: provenance cannot be text-verified; needs consensus"
],
"pages_sent": 123,
"cost_usd": 0.6233,
"at": "2026-10-27T01:32:05"
},
"datasheet": {
"url": "https://datasheet.lcsc.com/datasheet/pdf/02701df9a7b1d205cdff5187053fcc09.pdf",
"pages": 1543,
"sha256": "7fde44da8887b7a0",
"source_tier": "lcsc"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 48,
"described": 48,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"models_3d": [
{
"file": "stc12c5a32s2-35i-lqfp48.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
9.0,
9.0,
1.5
],
"zmin_mm": -0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "9dea352d93177c2904afd7d7b68ea8855ce1ab691f69f8b3e13655600514b6bf",
"checked": "2026-10-27",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stc12c5a32s2-35i-lqfp48-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
9.0,
9.0,
1.5
],
"zmin_mm": -0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "892e33195686503598fb3192de4908ae4a14164423fb9b2fa6364aa9b19fc43c",
"checked": "2026-10-27",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"title": "STC12C5A32S2-35I-LQFP48",
"brief": "STC Micro Microcontroller Units (MCUs/MPUs/SOCs), LQFP-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"metadata": {
"specs": {
"Manufacturer": "STC Micro",
"Package": "LQFP-48(7x7)",
"Category": "Embedded Processors & Controllers",
"Pins": "48"
}
},
"discovery_triggers": [
"stc12c5a32s2-35i-lqfp48"
],
"discovery_pitch": "STC12C5A32S2-35I-LQFP48 (STC Micro) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
"visibility": "public"
}