component
STC15W4K56S4-30I-LQFP32
Public Made by Adomby adom
STC Micro Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
{
"slug": "stc15w4k56s4-30i-lqfp32",
"version": "0.1.0",
"type": "component",
"description": "STC Micro Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"tags": [
"component",
"embedded processors & controllers",
"stc15w4k56s4-30i-lqfp32",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stc15w4k56s4-30i-lqfp32.kicad_sym",
"stc15w4k56s4-30i-lqfp32.kicad_mod",
"stc15w4k56s4-30i-lqfp32.glb",
"stc15w4k56s4-30i-lqfp32.step",
"stc15w4k56s4-30i-lqfp32.lbr",
"docs/hero.png",
"docs/stc15w4k56s4-30i-lqfp32-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stc15w4k56s4-30i-lqfp32-hero.glb",
"stc15w4k56s4-30i-lqfp32-hero.overlay.json",
"stc15w4k56s4-30i-lqfp32-etched.glb"
],
"component": {
"mpn": "STC15W4K56S4-30I-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/8609193203551780864",
"parts": {
"symbol": "stc15w4k56s4-30i-lqfp32.kicad_sym",
"footprint": "stc15w4k56s4-30i-lqfp32.kicad_mod",
"model_3d": "stc15w4k56s4-30i-lqfp32-hero.glb",
"model_3d_plain": "stc15w4k56s4-30i-lqfp32-etched.glb",
"model_3d_step": "stc15w4k56s4-30i-lqfp32-etched.step",
"model_3d_step_plain": "stc15w4k56s4-30i-lqfp32.step",
"lbr": "stc15w4k56s4-30i-lqfp32.lbr"
},
"distributor_links": {
"lcsc": "C188821"
},
"distributor_check": {
"checked_at": "2026-10-17T22:54:44Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": null,
"status": "quota"
},
"mouser": {
"pn": null,
"status": "quota"
}
},
"pins": [
{
"number": "1",
"name": "P1.0",
"type": "bidirectional",
"description": "Standard I/O port 1 bit 0 (quasi-bidirectional with weak pull-up after reset), with alternate functions ADC0 analog input channel 0, CCP1 capture/PWM channel 1 and RxD2 UART2 receive."
},
{
"number": "2",
"name": "P1.1",
"type": "bidirectional",
"description": "Standard I/O port 1 bit 1, with alternate functions ADC1 analog input channel 1, CCP0 capture/PWM channel 0 and TxD2 UART2 transmit."
},
{
"number": "3",
"name": "P1.2",
"type": "bidirectional",
"description": "Standard I/O port 1 bit 2, with alternate functions ADC2 analog input channel 2, SS SPI slave select, ECI external CCP/PCA counter input and CMPO comparator output."
},
{
"number": "4",
"name": "P1.3",
"type": "bidirectional",
"description": "Standard I/O port 1 bit 3, with alternate functions ADC3 analog input channel 3 and MOSI SPI master-out/slave-in."
},
{
"number": "5",
"name": "P1.4",
"type": "bidirectional",
"description": "Standard I/O port 1 bit 4, with alternate functions ADC4 analog input channel 4 and MISO SPI master-in/slave-out."
},
{
"number": "6",
"name": "P1.5",
"type": "bidirectional",
"description": "Standard I/O port 1 bit 5, with alternate functions ADC5 analog input channel 5 and SCLK SPI serial clock."
},
{
"number": "7",
"name": "P1.6",
"type": "bidirectional",
"description": "Standard I/O port 1 bit 6, with alternate functions ADC6 analog input channel 6, RxD_3 UART1 receive, XTAL2 crystal amplifier output (floats when an external clock is used), SysClkO_2 system clock output and PWM6 output (high-impedance input after power-up, must be configured in software before use)."
},
{
"number": "8",
"name": "P1.7",
"type": "bidirectional",
"description": "Standard I/O port 1 bit 7, with alternate functions ADC7 analog input channel 7, TxD_3 UART1 transmit, XTAL1 crystal amplifier input (external clock input when an external clock is used) and PWM7 output (high-impedance input after power-up, must be configured in software before use)."
},
{
"number": "9",
"name": "P5.4",
"type": "bidirectional",
"description": "Standard I/O port 5 bit 4, with alternate functions RST active-high reset input, SysClkO system clock output, SS_3 SPI slave select and CMP- comparator negative input (must be set to high-impedance input when used as CMP-)."
},
{
"number": "10",
"name": "Vcc",
"type": "power_in",
"description": "Positive power supply pin; the STC15W4K32S4 series operates from 2.5 V to 5.5 V."
},
{
"number": "11",
"name": "P5.5",
"type": "bidirectional",
"description": "Standard I/O port 5 bit 5, with alternate function CMP+ comparator positive input (must be set to high-impedance input when used as CMP+)."
},
{
"number": "12",
"name": "Gnd",
"type": "power_in",
"description": "Power supply ground (negative supply) pin."
},
{
"number": "13",
"name": "P3.0",
"type": "bidirectional",
"description": "Standard I/O port 3 bit 0, with alternate functions RxD UART1 receive, INT4 falling-edge-only external interrupt that supports power-down wake-up, and T2CLKO timer 2 clock output; P3.0/P3.1 are also used for download/emulation."
},
{
"number": "14",
"name": "P3.1",
"type": "bidirectional",
"description": "Standard I/O port 3 bit 1, with alternate functions TxD UART1 transmit and T2 timer/counter 2 external input; P3.0/P3.1 are also used for download/emulation."
},
{
"number": "15",
"name": "P3.2",
"type": "bidirectional",
"description": "Standard I/O port 3 bit 2, with alternate function INT0 external interrupt 0 (rising or falling edge depending on IT0; supports power-down wake-up)."
},
{
"number": "16",
"name": "P3.3",
"type": "bidirectional",
"description": "Standard I/O port 3 bit 3, with alternate function INT1 external interrupt 1 (rising or falling edge depending on IT1; supports power-down wake-up)."
},
{
"number": "17",
"name": "P3.4",
"type": "bidirectional",
"description": "Standard I/O port 3 bit 4, with alternate functions T0 timer/counter 0 external input, T1CLKO timer 1 clock output and ECI_2 CCP/PCA external counter input."
},
{
"number": "18",
"name": "P3.5",
"type": "bidirectional",
"description": "Standard I/O port 3 bit 5, with alternate functions T1 timer/counter 1 external input, T0CLKO timer 0 clock output and CCP0_2 capture/PWM channel 0."
},
{
"number": "19",
"name": "P3.6",
"type": "bidirectional",
"description": "Standard I/O port 3 bit 6, with alternate functions INT2 falling-edge-only external interrupt that supports power-down wake-up, RxD_2 UART1 receive and CCP1_2 capture/PWM channel 1."
},
{
"number": "20",
"name": "P3.7",
"type": "bidirectional",
"description": "Standard I/O port 3 bit 7, with alternate functions INT3 falling-edge-only external interrupt that supports power-down wake-up, TxD_2 UART1 transmit and PWM2 output (high-impedance input after power-up, must be configured in software before use)."
},
{
"number": "21",
"name": "P2.0",
"type": "bidirectional",
"description": "Standard I/O port 2 bit 0, with alternate functions A8 address bus bit 8 and RSTOUT_LOW, which outputs low after power-on and during reset and can be set high or low by software."
},
{
"number": "22",
"name": "P2.1",
"type": "bidirectional",
"description": "Standard I/O port 2 bit 1, with alternate functions A9 address bus bit 9, SCLK_2 SPI serial clock and PWM3 output (high-impedance input after power-up, must be configured in software before use)."
},
{
"number": "23",
"name": "P2.2",
"type": "bidirectional",
"description": "Standard I/O port 2 bit 2, with alternate functions A10 address bus bit 10, MISO_2 SPI master-in/slave-out and PWM4 output (high-impedance input after power-up, must be configured in software before use)."
},
{
"number": "24",
"name": "P2.3",
"type": "bidirectional",
"description": "Standard I/O port 2 bit 3, with alternate functions A11 address bus bit 11, MOSI_2 SPI master-out/slave-in and PWM5 output (high-impedance input after power-up, must be configured in software before use)."
},
{
"number": "25",
"name": "P2.4",
"type": "bidirectional",
"description": "Standard I/O port 2 bit 4, with alternate functions A12 address bus bit 12, ECI_3 CCP/PCA external counter input, SS_2 SPI slave select and PWMFLT PWM fault-stop control input."
},
{
"number": "26",
"name": "P2.5",
"type": "bidirectional",
"description": "Standard I/O port 2 bit 5, with alternate functions A13 address bus bit 13 and CCP0_3 capture/PWM channel 0."
},
{
"number": "27",
"name": "P2.6",
"type": "bidirectional",
"description": "Standard I/O port 2 bit 6, with alternate functions A14 address bus bit 14 and CCP1_3 capture/PWM channel 1."
},
{
"number": "28",
"name": "P2.7",
"type": "bidirectional",
"description": "Standard I/O port 2 bit 7, with alternate functions A15 address bus bit 15 and PWM2_2 PWM output channel 2 (high-impedance input after power-up, must be configured in software before use)."
},
{
"number": "29",
"name": "P0.0",
"type": "bidirectional",
"description": "Standard I/O port 0 bit 0, configurable as quasi-bidirectional/weak pull-up (default after reset), push-pull, high-impedance input or open-drain, with alternate functions AD0 address/data bus and RxD3 UART3 receive."
},
{
"number": "30",
"name": "P0.1",
"type": "bidirectional",
"description": "Standard I/O port 0 bit 1, configurable as quasi-bidirectional/weak pull-up (default after reset), push-pull, high-impedance input or open-drain, with alternate functions AD1 address/data bus and TxD3 UART3 transmit."
},
{
"number": "31",
"name": "P0.2",
"type": "bidirectional",
"description": "Standard I/O port 0 bit 2, configurable as quasi-bidirectional/weak pull-up (default after reset), push-pull, high-impedance input or open-drain, with alternate functions AD2 address/data bus and RxD4 UART4 receive."
},
{
"number": "32",
"name": "P0.3",
"type": "bidirectional",
"description": "Standard I/O port 0 bit 3, configurable as quasi-bidirectional/weak pull-up (default after reset), push-pull, high-impedance input or open-drain, with alternate functions AD3 address/data bus and TxD4 UART4 transmit."
}
],
"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 MPN suffix is -30I, but the datasheet's naming examples and series table show the -28 frequency ; Pin 28 (P2.7) is labelled PWM2_2 in the LQFP32 pin figure and pin table, whereas the LQFP44/PDIP40 t; The datasheet lists pin 8 (P1.7) and pin 7 (P1.6) as XTAL1/XTAL2 and says these pins cannot be used ",
"23/32 pins cited to the wrong page (name found elsewhere): ['2:P1.1@p75', '3:P1.2@p76', '4:P1.3@p76', '5:P1.4@p76']"
],
"pages_sent": 169,
"cost_usd": 1.0262,
"at": "2026-10-17T22:52:58"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8609193203551780864",
"pages": 1219,
"sha256": "cc8c299c891646e0",
"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": "stc15w4k56s4-30i-lqfp32.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": "be0e412f1c66fee70039b0e109e0cc7c823161dda97593718afa97569bc61ce3",
"checked": "2026-10-17",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stc15w4k56s4-30i-lqfp32-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": "d6c682b5dd4cf18da80e9f352c454d721a7a4eb015f09005807eda44f81a4629",
"checked": "2026-10-17",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
}
}