main
Ray Publish 0.1.0 679fcda 10d ago
{
  "slug": "stc15w4k48s4-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",
    "stc15w4k48s4-30i-lqfp32",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stc15w4k48s4-30i-lqfp32.kicad_sym",
    "stc15w4k48s4-30i-lqfp32.kicad_mod",
    "stc15w4k48s4-30i-lqfp32.glb",
    "stc15w4k48s4-30i-lqfp32.step",
    "stc15w4k48s4-30i-lqfp32.lbr",
    "docs/hero.png",
    "docs/stc15w4k48s4-30i-lqfp32-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc15w4k48s4-30i-lqfp32-hero.glb",
    "stc15w4k48s4-30i-lqfp32-hero.overlay.json",
    "stc15w4k48s4-30i-lqfp32-etched.glb"
  ],
  "component": {
    "mpn": "STC15W4K48S4-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/8609193188196839424",
    "parts": {
      "symbol": "stc15w4k48s4-30i-lqfp32.kicad_sym",
      "footprint": "stc15w4k48s4-30i-lqfp32.kicad_mod",
      "model_3d": "stc15w4k48s4-30i-lqfp32-hero.glb",
      "model_3d_plain": "stc15w4k48s4-30i-lqfp32-etched.glb",
      "model_3d_step": "stc15w4k48s4-30i-lqfp32-etched.step",
      "model_3d_step_plain": "stc15w4k48s4-30i-lqfp32.step",
      "lbr": "stc15w4k48s4-30i-lqfp32.lbr"
    },
    "distributor_links": {
      "lcsc": "C188813"
    },
    "distributor_check": {
      "checked_at": "2026-10-18T05:49:10Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "P1.0",
        "type": "bidirectional",
        "description": "Standard I/O port P1.0 (PORT1[0]) that also serves as ADC0 analog input channel 0, CCP1 capture/PWM channel 1, and UART2 receive RxD2."
      },
      {
        "number": "2",
        "name": "P1.1",
        "type": "bidirectional",
        "description": "Standard I/O port P1.1 (PORT1[1]) that also serves as ADC1 analog input channel 1, CCP0 capture/PWM channel 0, and UART2 transmit TxD2."
      },
      {
        "number": "3",
        "name": "P1.2",
        "type": "bidirectional",
        "description": "Standard I/O port P1.2 (PORT1[2]) that also serves as ADC2 analog input channel 2, SPI slave select SS, CCP/PCA external pulse input ECI, and comparator output CMPO."
      },
      {
        "number": "4",
        "name": "P1.3",
        "type": "bidirectional",
        "description": "Standard I/O port P1.3 (PORT1[3]) that also serves as ADC3 analog input channel 3 and SPI master-out/slave-in MOSI."
      },
      {
        "number": "5",
        "name": "P1.4",
        "type": "bidirectional",
        "description": "Standard I/O port P1.4 (PORT1[4]) that also serves as ADC4 analog input channel 4 and SPI master-in/slave-out MISO."
      },
      {
        "number": "6",
        "name": "P1.5",
        "type": "bidirectional",
        "description": "Standard I/O port P1.5 (PORT1[5]) that also serves as ADC5 analog input channel 5 and SPI serial clock SCLK."
      },
      {
        "number": "7",
        "name": "P1.6",
        "type": "bidirectional",
        "description": "Standard I/O port P1.6 (PORT1[6]) that also serves as ADC6 input channel 6, UART1 receive RxD_3, system clock output SysClkO_2, XTAL2 crystal amplifier output, and PWM6 output (high-impedance input after power-on, must be configured before use and needs an external pull-up in power-down if high-impedance)."
      },
      {
        "number": "8",
        "name": "P1.7",
        "type": "bidirectional",
        "description": "Standard I/O port P1.7 (PORT1[7]) that also serves as ADC7 input channel 7, UART1 transmit TxD_3, XTAL1 crystal amplifier input or external clock input, and PWM7 output (high-impedance input after power-on, must be configured before use and needs an external pull-up in power-down if high-impedance)."
      },
      {
        "number": "9",
        "name": "P5.4",
        "type": "bidirectional",
        "description": "Standard I/O port P5.4 (PORT5[4]) that also serves as active-high reset input RST, system clock output SysClkO, SPI slave select SS_3, and comparator negative input CMP- (must be set to high-impedance input when used as CMP-)."
      },
      {
        "number": "10",
        "name": "Vcc",
        "type": "power_in",
        "description": "Positive supply pin; the series operating voltage is 2.5 V to 5.5 V."
      },
      {
        "number": "11",
        "name": "P5.5",
        "type": "bidirectional",
        "description": "Standard I/O port P5.5 (PORT5[5]) that also serves as comparator positive input CMP+ (must be set to high-impedance input when used as CMP+)."
      },
      {
        "number": "12",
        "name": "Gnd",
        "type": "power_in",
        "description": "Power supply negative terminal, connected to ground."
      },
      {
        "number": "13",
        "name": "P3.0",
        "type": "bidirectional",
        "description": "Standard I/O port P3.0 (PORT3[0]) that also serves as UART1 receive RxD, external interrupt INT4 (falling edge only, can wake from power-down), and Timer2 clock output T2CLKO; P3.0/P3.1 are used for download/emulation."
      },
      {
        "number": "14",
        "name": "P3.1",
        "type": "bidirectional",
        "description": "Standard I/O port P3.1 (PORT3[1]) that also serves as UART1 transmit TxD and Timer2 external count input T2; P3.0/P3.1 are used for download/emulation."
      },
      {
        "number": "15",
        "name": "P3.2",
        "type": "bidirectional",
        "description": "Standard I/O port P3.2 (PORT3[2]) that also serves as external interrupt INT0, which is rising/falling-edge selectable via IT0 and can wake from power-down."
      },
      {
        "number": "16",
        "name": "P3.3",
        "type": "bidirectional",
        "description": "Standard I/O port P3.3 (PORT3[3]) that also serves as external interrupt INT1, which is rising/falling-edge selectable via IT1 and can wake from power-down."
      },
      {
        "number": "17",
        "name": "P3.4",
        "type": "bidirectional",
        "description": "Standard I/O port P3.4 (PORT3[4]) that also serves as Timer0 external input T0, Timer1 clock output T1CLKO, and CCP/PCA external pulse input ECI_2."
      },
      {
        "number": "18",
        "name": "P3.5",
        "type": "bidirectional",
        "description": "Standard I/O port P3.5 (PORT3[5]) that also serves as Timer1 external input T1, Timer0 clock output T0CLKO, and CCP0_2 capture/PWM channel 0."
      },
      {
        "number": "19",
        "name": "P3.6",
        "type": "bidirectional",
        "description": "Standard I/O port P3.6 (PORT3[6]) that also serves as external interrupt INT2 (falling edge only, can wake from power-down), UART1 receive RxD_2, and CCP1_2 capture/PWM channel 1."
      },
      {
        "number": "20",
        "name": "P3.7",
        "type": "bidirectional",
        "description": "Standard I/O port P3.7 (PORT3[7]) that also serves as external interrupt INT3 (falling edge only, can wake from power-down), UART1 transmit TxD_2, and PWM2 output (high-impedance input after power-on)."
      },
      {
        "number": "21",
        "name": "P2.0",
        "type": "bidirectional",
        "description": "Standard I/O port P2.0 (PORT2[0]) that also serves as address bus bit A8 and RSTOUT_LOW, which outputs low after power-on and during reset."
      },
      {
        "number": "22",
        "name": "P2.1",
        "type": "bidirectional",
        "description": "Standard I/O port P2.1 (PORT2[1]) that also serves as address bus bit A9, SPI serial clock SCLK_2, and PWM3 output (high-impedance input after power-on)."
      },
      {
        "number": "23",
        "name": "P2.2",
        "type": "bidirectional",
        "description": "Standard I/O port P2.2 (PORT2[2]) that also serves as address bus bit A10, SPI master-in/slave-out MISO_2, and PWM4 output (high-impedance input after power-on)."
      },
      {
        "number": "24",
        "name": "P2.3",
        "type": "bidirectional",
        "description": "Standard I/O port P2.3 (PORT2[3]) that also serves as address bus bit A11, SPI master-out/slave-in MOSI_2, and PWM5 output (high-impedance input after power-on)."
      },
      {
        "number": "25",
        "name": "P2.4",
        "type": "bidirectional",
        "description": "Standard I/O port P2.4 (PORT2[4]) that also serves as address bus bit A12, CCP/PCA external pulse input ECI_3, SPI slave select SS_2, and PWM fault-stop input PWMFLT."
      },
      {
        "number": "26",
        "name": "P2.5",
        "type": "bidirectional",
        "description": "Standard I/O port P2.5 (PORT2[5]) that also serves as address bus bit A13 and CCP0_3 capture/PWM channel 0."
      },
      {
        "number": "27",
        "name": "P2.6",
        "type": "bidirectional",
        "description": "Standard I/O port P2.6 (PORT2[6]) that also serves as address bus bit A14 and CCP1_3 capture/PWM channel 1."
      },
      {
        "number": "28",
        "name": "P2.7",
        "type": "bidirectional",
        "description": "Standard I/O port P2.7 (PORT2[7]) that also serves as address bus bit A15 and PWM2_2 output (high-impedance input after power-on)."
      },
      {
        "number": "29",
        "name": "P0.0",
        "type": "bidirectional",
        "description": "Standard I/O port P0.0 (PORT0[0]) that also serves as address/data bus AD0 and UART3 receive RxD3."
      },
      {
        "number": "30",
        "name": "P0.1",
        "type": "bidirectional",
        "description": "Standard I/O port P0.1 (PORT0[1]) that also serves as address/data bus AD1 and UART3 transmit TxD3."
      },
      {
        "number": "31",
        "name": "P0.2",
        "type": "bidirectional",
        "description": "Standard I/O port P0.2 (PORT0[2]) that also serves as address/data bus AD2 and UART4 receive RxD4."
      },
      {
        "number": "32",
        "name": "P0.3",
        "type": "bidirectional",
        "description": "Standard I/O port P0.3 (PORT0[3]) that also serves as address/data bus AD3 and UART4 transmit TxD4."
      }
    ],
    "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: Package dimension mismatch: the package hint says LQFP-32 (7x7), but the datasheet's LQFP32 package ; Speed grade not confirmed: the MPN carries '-30' but this datasheet's naming rule lists 28 as the ma; Pin types for multi-function pins are a judgment call: all port pins are typed bidirectional. P1.6 (",
          "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.0272,
        "at": "2026-10-18T05:48:18"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8609193188196839424",
        "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": "stc15w4k48s4-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-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc15w4k48s4-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": "eccfa85ba9fdabf00390f6b777a47db04404a0ddc007f83c3499088becf37428",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}