main
Ray Publish 0.1.0 da480a8 8d ago
{
  "slug": "stc15w4k32s4-30i-lqfp44",
  "version": "0.1.0",
  "type": "component",
  "description": "STC Micro Microcontrollers (MCU/MPU/SOC), LQFP-44(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stc15w4k32s4-30i-lqfp44",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stc15w4k32s4-30i-lqfp44.kicad_sym",
    "stc15w4k32s4-30i-lqfp44.kicad_mod",
    "stc15w4k32s4-30i-lqfp44.glb",
    "stc15w4k32s4-30i-lqfp44.step",
    "stc15w4k32s4-30i-lqfp44.lbr",
    "docs/hero.png",
    "docs/stc15w4k32s4-30i-lqfp44-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc15w4k32s4-30i-lqfp44-hero.glb",
    "stc15w4k32s4-30i-lqfp44-hero.overlay.json",
    "stc15w4k32s4-30i-lqfp44-etched.glb"
  ],
  "component": {
    "mpn": "STC15W4K32S4-30I-LQFP44",
    "manufacturer": "STC Micro",
    "package": "LQFP-44(10x10)",
    "pin_count": 44,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8609193291942543360",
    "parts": {
      "symbol": "stc15w4k32s4-30i-lqfp44.kicad_sym",
      "footprint": "stc15w4k32s4-30i-lqfp44.kicad_mod",
      "model_3d": "stc15w4k32s4-30i-lqfp44-hero.glb",
      "model_3d_plain": "stc15w4k32s4-30i-lqfp44-etched.glb",
      "model_3d_step": "stc15w4k32s4-30i-lqfp44-etched.step",
      "model_3d_step_plain": "stc15w4k32s4-30i-lqfp44.step",
      "lbr": "stc15w4k32s4-30i-lqfp44.lbr"
    },
    "distributor_links": {
      "lcsc": "C58472"
    },
    "distributor_check": {
      "checked_at": "2026-10-19T04:32:39Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "P0.5",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O (PORT0[5]); also AD5 address/data bus bit, T3 external counter input, and PWMFLT_2 PWM fault-stop input when PWM2345_S selects it."
      },
      {
        "number": "2",
        "name": "P0.6",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O (PORT0[6]); also AD6 bus bit, T4CLKO timer-4 clock output, and PWM7_2 output that is high-impedance after power-on and must be configured before use."
      },
      {
        "number": "3",
        "name": "P0.7",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O (PORT0[7]); also AD7 bus bit, T4 external input, and PWM6_2 output that is high-impedance after power-on and must be configured before use."
      },
      {
        "number": "4",
        "name": "P1.0",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O (PORT1[0]); also ADC0 analog input, CCP1 capture/PWM output, and RxD2 UART2 receive."
      },
      {
        "number": "5",
        "name": "P1.1",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O (PORT1[1]); also ADC1 analog input, CCP0 capture/PWM output, and TxD2 UART2 transmit."
      },
      {
        "number": "6",
        "name": "P4.7",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O (PORT4[7]); also TxD2_2 UART2 alternate transmit output, selected via S2_S."
      },
      {
        "number": "7",
        "name": "P1.2",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O (PORT1[2]); also ADC2 analog input, SPI SS slave select, ECI CCP/PCA external pulse input, and CMPO comparator output."
      },
      {
        "number": "8",
        "name": "P1.3",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O (PORT1[3]); also ADC3 analog input and SPI MOSI (master out / slave in)."
      },
      {
        "number": "9",
        "name": "P1.4",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O (PORT1[4]); also ADC4 analog input and SPI MISO (master in / slave out)."
      },
      {
        "number": "10",
        "name": "P1.5",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O (PORT1[5]); also ADC5 analog input and SPI SCLK clock."
      },
      {
        "number": "11",
        "name": "P1.6",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O (PORT1[6]); also ADC6 input, RxD_3 UART1 alternate receive, XTAL2 crystal amplifier output (may float when an external clock drives XTAL1), SysClkO_2 system clock output, and PWM6 output that is high-impedance after power-on."
      },
      {
        "number": "12",
        "name": "P1.7",
        "type": "bidirectional",
        "description": "Standard bidirectional I/O (PORT1[7]); also ADC7 input, TxD_3 UART1 alternate transmit, XTAL1 crystal amplifier input (external clock input when no crystal is used), and PWM7 output that is high-impedance after power-on."
      },
      {
        "number": "13",
        "name": "P5.4/RST",
        "type": "bidirectional",
        "description": "Standard I/O (PORT5[4]); also RST high-level reset input, SysClkO system clock output, SS_3 SPI slave select, and CMP- comparator negative input that must be high-impedance when used as CMP-."
      },
      {
        "number": "14",
        "name": "Vcc",
        "type": "power_in",
        "description": "Positive power supply; the STC15W4K32S4 series operates from 2.5V to 5.5V."
      },
      {
        "number": "15",
        "name": "P5.5",
        "type": "bidirectional",
        "description": "Standard I/O (PORT5[5]); also CMP+ comparator positive input that must be set to high-impedance input when used as CMP+."
      },
      {
        "number": "16",
        "name": "Gnd",
        "type": "power_in",
        "description": "Power supply negative terminal, connected to ground."
      },
      {
        "number": "17",
        "name": "P4.0",
        "type": "bidirectional",
        "description": "Standard I/O (PORT4[0]); alternate SPI function MOSI_3 per the pin map (see review item on the P4.0/P4.1 SPI conflict)."
      },
      {
        "number": "18",
        "name": "P3.0",
        "type": "bidirectional",
        "description": "Standard I/O (PORT3[0]); also RxD UART1 receive, INT4 falling-edge external interrupt that can wake power-down mode, and T2CLKO timer-2 clock output."
      },
      {
        "number": "19",
        "name": "P3.1",
        "type": "bidirectional",
        "description": "Standard I/O (PORT3[1]); also TxD UART1 transmit and T2 timer-2 external counter input."
      },
      {
        "number": "20",
        "name": "P3.2",
        "type": "bidirectional",
        "description": "Standard I/O (PORT3[2]); also INT0 external interrupt, which is rising/falling edge when IT0=0 and falling-edge only when IT0=1, and which supports power-down wake-up."
      },
      {
        "number": "21",
        "name": "P3.3",
        "type": "bidirectional",
        "description": "Standard I/O (PORT3[3]); also INT1 external interrupt, which is rising/falling edge when IT1=0 and falling-edge only when IT1=1, and which supports power-down wake-up."
      },
      {
        "number": "22",
        "name": "P3.4",
        "type": "bidirectional",
        "description": "Standard I/O (PORT3[4]); also T0 timer-0 external input, T1CLKO timer-1 clock output, and ECI_2 CCP/PCA external pulse input."
      },
      {
        "number": "23",
        "name": "P3.5",
        "type": "bidirectional",
        "description": "Standard I/O (PORT3[5]); also T1 timer-1 external input, T0CLKO timer-0 clock output, and CCP0_2 capture/PWM channel 0."
      },
      {
        "number": "24",
        "name": "P3.6",
        "type": "bidirectional",
        "description": "Standard I/O (PORT3[6]); also INT2 falling-edge-only external interrupt that supports power-down wake-up, RxD_2 UART1 alternate receive, and CCP1_2 capture/PWM channel 1."
      },
      {
        "number": "25",
        "name": "P3.7",
        "type": "bidirectional",
        "description": "Standard I/O (PORT3[7]); also INT3 falling-edge-only external interrupt that supports power-down wake-up, TxD_2 UART1 alternate transmit, and PWM2 output that is high-impedance after power-on."
      },
      {
        "number": "26",
        "name": "P4.1",
        "type": "bidirectional",
        "description": "Standard I/O (PORT4[1]); alternate SPI function MISO_3 per the pin map (see review item on the P4.0/P4.1 SPI conflict)."
      },
      {
        "number": "27",
        "name": "P4.2",
        "type": "bidirectional",
        "description": "Standard I/O (PORT4[2]); also WR external data memory write strobe and PWM5_2 output that is high-impedance after power-on."
      },
      {
        "number": "28",
        "name": "P4.3",
        "type": "bidirectional",
        "description": "Standard I/O (PORT4[3]); also SCLK_3 SPI clock signal."
      },
      {
        "number": "29",
        "name": "P4.4",
        "type": "bidirectional",
        "description": "Standard I/O (PORT4[4]); also RD external data memory read strobe and PWM4_2 output that is high-impedance after power-on."
      },
      {
        "number": "30",
        "name": "P2.0",
        "type": "bidirectional",
        "description": "Standard I/O (PORT2[0]); also A8 address bus bit 8 and RSTOUT_LOW, which drives low after power-on and during reset."
      },
      {
        "number": "31",
        "name": "P2.1",
        "type": "bidirectional",
        "description": "Standard I/O (PORT2[1]); also A9 address bus bit, SCLK_2 SPI clock alternate, and PWM3 output that is high-impedance after power-on."
      },
      {
        "number": "32",
        "name": "P2.2",
        "type": "bidirectional",
        "description": "Standard I/O (PORT2[2]); also A10 address bus bit, MISO_2 SPI alternate, and PWM4 output that is high-impedance after power-on."
      },
      {
        "number": "33",
        "name": "P2.3",
        "type": "bidirectional",
        "description": "Standard I/O (PORT2[3]); also A11 address bus bit, MOSI_2 SPI alternate, and PWM5 output that is high-impedance after power-on."
      },
      {
        "number": "34",
        "name": "P2.4",
        "type": "bidirectional",
        "description": "Standard I/O (PORT2[4]); also A12 address bus bit, ECI_3 CCP/PCA external pulse input, SS_2 SPI slave select, and PWMFLT PWM fault-stop input."
      },
      {
        "number": "35",
        "name": "P2.5",
        "type": "bidirectional",
        "description": "Standard I/O (PORT2[5]); also A13 address bus bit and CCP0_3 capture/PWM channel 0."
      },
      {
        "number": "36",
        "name": "P2.6",
        "type": "bidirectional",
        "description": "Standard I/O (PORT2[6]); also A14 address bus bit and CCP1_3 capture/PWM channel 1."
      },
      {
        "number": "37",
        "name": "P2.7",
        "type": "bidirectional",
        "description": "Standard I/O (PORT2[7]); also A15 address bus bit and PWM2_2 output that is high-impedance after power-on."
      },
      {
        "number": "38",
        "name": "P4.5",
        "type": "bidirectional",
        "description": "Standard I/O (PORT4[5]); also ALE address latch enable and PWM3_2 output that is high-impedance after power-on."
      },
      {
        "number": "39",
        "name": "P4.6",
        "type": "bidirectional",
        "description": "Standard I/O (PORT4[6]); also RxD2_2 UART2 alternate receive input."
      },
      {
        "number": "40",
        "name": "P0.0",
        "type": "bidirectional",
        "description": "Standard I/O (PORT0[0]); also AD0 address/data bus bit and RxD3 UART3 receive."
      },
      {
        "number": "41",
        "name": "P0.1",
        "type": "bidirectional",
        "description": "Standard I/O (PORT0[1]); also AD1 address/data bus bit and TxD3 UART3 transmit."
      },
      {
        "number": "42",
        "name": "P0.2",
        "type": "bidirectional",
        "description": "Standard I/O (PORT0[2]); also AD2 address/data bus bit and RxD4 UART4 receive."
      },
      {
        "number": "43",
        "name": "P0.3",
        "type": "bidirectional",
        "description": "Standard I/O (PORT0[3]); also AD3 address/data bus bit and TxD4 UART4 transmit."
      },
      {
        "number": "44",
        "name": "P0.4",
        "type": "bidirectional",
        "description": "Standard I/O (PORT0[4]); also AD4 address/data bus bit and T3CLKO timer-3 clock output."
      }
    ],
    "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: Conflict in the datasheet. The LQFP44 pin map (PAGE 83) labels pin 17 as P4.0/MOSI_3 and pin 26 as P; OCR artifact in the pin map: the text reads XTALO/XTALI. The pin-function table gives XTAL2 (pin 11); OCR artifact: the pin map text reads 'P3.0/RxD/INT4/T2CLKO22'. The stray '22' is ignored and the nam"
        ],
        "pages_sent": 169,
        "cost_usd": 1.0596,
        "at": "2026-10-19T04:30:07"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8609193291942543360",
        "pages": 1219,
        "sha256": "cc8c299c891646e0",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 44,
        "described": 44,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stc15w4k32s4-30i-lqfp44.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12.0,
          12.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "81aae6270b5c742bed79a8a35e9adf7fbed97c42e341e6b25ab20c1783b93b5d",
        "checked": "2026-10-19",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc15w4k32s4-30i-lqfp44-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12.0,
          12.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "66be397a1ba38d04a26ec3c15cab0e3600db3a498546699f6858943147ed0c5f",
        "checked": "2026-10-19",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}