main
Ray Publish 0.1.0 313c9d0 9d ago
{
  "slug": "stc15w4k56s4-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",
    "stc15w4k56s4-30i-lqfp44",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stc15w4k56s4-30i-lqfp44.kicad_sym",
    "stc15w4k56s4-30i-lqfp44.kicad_mod",
    "stc15w4k56s4-30i-lqfp44.glb",
    "stc15w4k56s4-30i-lqfp44.step",
    "stc15w4k56s4-30i-lqfp44.lbr",
    "docs/hero.png",
    "docs/stc15w4k56s4-30i-lqfp44-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc15w4k56s4-30i-lqfp44-hero.glb",
    "stc15w4k56s4-30i-lqfp44-hero.overlay.json",
    "stc15w4k56s4-30i-lqfp44-etched.glb"
  ],
  "component": {
    "mpn": "STC15W4K56S4-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/8609193675495272448",
    "parts": {
      "symbol": "stc15w4k56s4-30i-lqfp44.kicad_sym",
      "footprint": "stc15w4k56s4-30i-lqfp44.kicad_mod",
      "model_3d": "stc15w4k56s4-30i-lqfp44-hero.glb",
      "model_3d_plain": "stc15w4k56s4-30i-lqfp44-etched.glb",
      "model_3d_step": "stc15w4k56s4-30i-lqfp44-etched.step",
      "model_3d_step_plain": "stc15w4k56s4-30i-lqfp44.step",
      "lbr": "stc15w4k56s4-30i-lqfp44.lbr"
    },
    "distributor_links": {
      "lcsc": "C86616"
    },
    "distributor_check": {
      "checked_at": "2026-10-18T05:26:29Z",
      "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": "Port 0 bit 5 standard I/O (PORT0[5]) that also serves as address/data bus AD5, Timer 3 external input T3, and PWM fault-stop input PWMFLT_2 when PWM2345_S is set."
      },
      {
        "number": "2",
        "name": "P0.6",
        "type": "bidirectional",
        "description": "Port 0 bit 6 I/O that also serves as AD6, Timer 4 clock output T4CLKO, and PWM7_2 output channel 7; it is high-impedance input after power-on and must be set to another mode before use, and needs an external pull-up if it is high-impedance in power-down mode."
      },
      {
        "number": "3",
        "name": "P0.7",
        "type": "bidirectional",
        "description": "Port 0 bit 7 I/O that also serves as AD7, Timer 4 external input T4, and PWM6_2 output channel 6; it is high-impedance input after power-on and must be set to another mode before use, and needs an external pull-up if it is high-impedance in power-down mode."
      },
      {
        "number": "4",
        "name": "P1.0",
        "type": "bidirectional",
        "description": "Port 1 bit 0 standard I/O (PORT1[0]) that also serves as ADC input channel 0, CCP1 capture/PWM output, and UART2 receive RxD2."
      },
      {
        "number": "5",
        "name": "P1.1",
        "type": "bidirectional",
        "description": "Port 1 bit 1 standard I/O (PORT1[1]) that also serves as ADC input channel 1, CCP0 capture/PWM output, and UART2 transmit TxD2."
      },
      {
        "number": "6",
        "name": "P4.7/TxD2_2",
        "type": "bidirectional",
        "description": "Port 4 bit 7 standard I/O (PORT4[7]) that serves as the alternate UART2 transmit pin TxD2_2."
      },
      {
        "number": "7",
        "name": "P1.2",
        "type": "bidirectional",
        "description": "Port 1 bit 2 standard I/O (PORT1[2]) that also serves as ADC input channel 2, SPI slave select SS, CCP/PCA external pulse input ECI, and comparator output CMPO."
      },
      {
        "number": "8",
        "name": "P1.3",
        "type": "bidirectional",
        "description": "Port 1 bit 3 standard I/O (PORT1[3]) that also serves as ADC input channel 3 and SPI master-out/slave-in MOSI."
      },
      {
        "number": "9",
        "name": "P1.4",
        "type": "bidirectional",
        "description": "Port 1 bit 4 standard I/O (PORT1[4]) that also serves as ADC input channel 4 and SPI master-in/slave-out MISO."
      },
      {
        "number": "10",
        "name": "P1.5",
        "type": "bidirectional",
        "description": "Port 1 bit 5 standard I/O (PORT1[5]) that also serves as ADC input channel 5 and the SPI serial clock SCLK."
      },
      {
        "number": "11",
        "name": "P1.6",
        "type": "bidirectional",
        "description": "Port 1 bit 6 I/O that also serves as ADC input channel 6, UART1 alternate receive RxD_3, XTAL2 crystal amplifier output, system clock output SysClkO_2, and PWM6 output; it is high-impedance input after power-on and must be set to another mode before use."
      },
      {
        "number": "12",
        "name": "P1.7",
        "type": "bidirectional",
        "description": "Port 1 bit 7 I/O that also serves as ADC input channel 7, UART1 alternate transmit TxD_3, XTAL1 crystal amplifier input (external clock input when no crystal is used), and PWM7 output; it is high-impedance input after power-on and must be set to another mode before use."
      },
      {
        "number": "13",
        "name": "P5.4/RST/SysClkO/SS_3/CMP-",
        "type": "bidirectional",
        "description": "Port 5 bit 4 standard I/O (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-, which must be set high-impedance when used as a comparator input."
      },
      {
        "number": "14",
        "name": "Vcc",
        "type": "power_in",
        "description": "Positive power supply; the series operates from 2.5 V to 5.5 V."
      },
      {
        "number": "15",
        "name": "P5.5/CMP+",
        "type": "bidirectional",
        "description": "Port 5 bit 5 standard I/O (PORT5[5]) that also serves as comparator positive input CMP+, which must be set high-impedance when used as a comparator input."
      },
      {
        "number": "16",
        "name": "Gnd",
        "type": "power_in",
        "description": "Power supply ground."
      },
      {
        "number": "17",
        "name": "P4.0/MOSI_3",
        "type": "bidirectional",
        "description": "Port 4 bit 0 standard I/O (PORT4[0]) that also serves as the alternate SPI master-out/slave-in pin MOSI_3."
      },
      {
        "number": "18",
        "name": "P3.0/RxD/INT4/T2CLKO",
        "type": "bidirectional",
        "description": "Port 3 bit 0 standard I/O (PORT3[0]) that also serves as UART1 receive RxD, external interrupt INT4 (falling edge only, wake-up capable), and Timer 2 clock output T2CLKO."
      },
      {
        "number": "19",
        "name": "P3.1/TxD/T2",
        "type": "bidirectional",
        "description": "Port 3 bit 1 standard I/O (PORT3[1]) that also serves as UART1 transmit TxD and Timer 2 external counter input T2."
      },
      {
        "number": "20",
        "name": "P3.2/INT0",
        "type": "bidirectional",
        "description": "Port 3 bit 2 standard I/O (PORT3[2]) that also serves as external interrupt INT0, which is falling-edge only if IT0 is set and rising/falling-edge if IT0 is cleared, and supports power-down wake-up."
      },
      {
        "number": "21",
        "name": "P3.3/INT1",
        "type": "bidirectional",
        "description": "Port 3 bit 3 standard I/O (PORT3[3]) that also serves as external interrupt INT1, which is falling-edge only if IT1 is set and rising/falling-edge if IT1 is cleared, and supports power-down wake-up."
      },
      {
        "number": "22",
        "name": "P3.4/T0/T1CLKO/ECI_2",
        "type": "bidirectional",
        "description": "Port 3 bit 4 standard I/O (PORT3[4]) that also serves as Timer 0 external input T0, Timer 1 clock output T1CLKO, and CCP/PCA external pulse input ECI_2."
      },
      {
        "number": "23",
        "name": "P3.5/T1/T0CLKO/CCP0_2",
        "type": "bidirectional",
        "description": "Port 3 bit 5 standard I/O (PORT3[5]) that also serves as Timer 1 external input T1, Timer 0 clock output T0CLKO, and CCP0 alternate channel CCP0_2."
      },
      {
        "number": "24",
        "name": "P3.6/INT2/RxD_2/CCP1_2",
        "type": "bidirectional",
        "description": "Port 3 bit 6 standard I/O (PORT3[6]) that also serves as falling-edge-only external interrupt INT2 with power-down wake-up, UART1 alternate receive RxD_2, and CCP1 alternate channel CCP1_2."
      },
      {
        "number": "25",
        "name": "P3.7/INT3/TxD_2/PWM2",
        "type": "bidirectional",
        "description": "Port 3 bit 7 standard I/O (PORT3[7]) that also serves as falling-edge-only external interrupt INT3 with power-down wake-up, UART1 alternate transmit TxD_2, and PWM2 output; it is high-impedance input after power-on and must be set to another mode before use."
      },
      {
        "number": "26",
        "name": "P4.1/MISO_3",
        "type": "bidirectional",
        "description": "Port 4 bit 1 standard I/O (PORT4[1]) that also serves as the alternate SPI master-in/slave-out pin MISO_3."
      },
      {
        "number": "27",
        "name": "P4.2/WR/PWM5_2",
        "type": "bidirectional",
        "description": "Port 4 bit 2 standard I/O (PORT4[2]) that also serves as external data memory write strobe WR and PWM5_2 output channel 5; it is high-impedance input after power-on and must be set to another mode before use."
      },
      {
        "number": "28",
        "name": "P4.3/SCLK_3",
        "type": "bidirectional",
        "description": "Port 4 bit 3 standard I/O (PORT4[3]) that also serves as the alternate SPI serial clock SCLK_3."
      },
      {
        "number": "29",
        "name": "P4.4/RD/PWM4_2",
        "type": "bidirectional",
        "description": "Port 4 bit 4 standard I/O (PORT4[4]) that also serves as external data memory read strobe RD and PWM4_2 output channel 4; it is high-impedance input after power-on and must be set to another mode before use."
      },
      {
        "number": "30",
        "name": "P2.0",
        "type": "bidirectional",
        "description": "Port 2 bit 0 standard I/O (PORT2[0]) that also serves as address bus bit A8 and RSTOUT_LOW, which is driven low after power-on and during reset and can be set high or low by software."
      },
      {
        "number": "31",
        "name": "P2.1/A9/SCLK_2/PWM3",
        "type": "bidirectional",
        "description": "Port 2 bit 1 standard I/O (PORT2[1]) that also serves as address bus bit A9, alternate SPI clock SCLK_2, and PWM3 output channel 3; it is high-impedance input after power-on and must be set to another mode before use."
      },
      {
        "number": "32",
        "name": "P2.2/A10/MISO_2/PWM4",
        "type": "bidirectional",
        "description": "Port 2 bit 2 standard I/O (PORT2[2]) that also serves as address bus bit A10, alternate SPI master-in/slave-out MISO_2, and PWM4 output channel 4; it is high-impedance input after power-on and must be set to another mode before use."
      },
      {
        "number": "33",
        "name": "P2.3/A11/MOSI_2/PWM5",
        "type": "bidirectional",
        "description": "Port 2 bit 3 standard I/O (PORT2[3]) that also serves as address bus bit A11, alternate SPI master-out/slave-in MOSI_2, and PWM5 output channel 5; it is high-impedance input after power-on and must be set to another mode before use."
      },
      {
        "number": "34",
        "name": "P2.4/A12/ECI_3/SS_2/PWMFLT",
        "type": "bidirectional",
        "description": "Port 2 bit 4 standard I/O (PORT2[4]) that also serves as address bus bit A12, CCP/PCA external pulse input ECI_3, alternate SPI slave select SS_2, and PWM fault-stop input PWMFLT."
      },
      {
        "number": "35",
        "name": "P2.5/A13/CCP0_3",
        "type": "bidirectional",
        "description": "Port 2 bit 5 standard I/O (PORT2[5]) that also serves as address bus bit A13 and CCP0 alternate channel CCP0_3 for capture, high-speed output, or PWM."
      },
      {
        "number": "36",
        "name": "P2.6/A14/CCP1_3",
        "type": "bidirectional",
        "description": "Port 2 bit 6 standard I/O (PORT2[6]) that also serves as address bus bit A14 and CCP1 alternate channel CCP1_3 for capture, high-speed output, or PWM."
      },
      {
        "number": "37",
        "name": "P2.7",
        "type": "bidirectional",
        "description": "Port 2 bit 7 standard I/O (PORT2[7]) that also serves as address bus bit A15 and PWM2_2 output channel 2; it is high-impedance input after power-on and must be set to another mode before use."
      },
      {
        "number": "38",
        "name": "P4.5",
        "type": "bidirectional",
        "description": "Port 4 bit 5 standard I/O (PORT4[5]) that also serves as address latch enable ALE and PWM3_2 output channel 3; it is high-impedance input after power-on and must be set to another mode before use."
      },
      {
        "number": "39",
        "name": "P4.6/RxD2_2",
        "type": "bidirectional",
        "description": "Port 4 bit 6 standard I/O (PORT4[6]) that serves as the alternate UART2 receive pin RxD2_2."
      },
      {
        "number": "40",
        "name": "P0.0",
        "type": "bidirectional",
        "description": "Port 0 bit 0 standard I/O (PORT0[0]) that also serves as address/data bus AD0 and UART3 receive RxD3."
      },
      {
        "number": "41",
        "name": "P0.1",
        "type": "bidirectional",
        "description": "Port 0 bit 1 standard I/O (PORT0[1]) that also serves as address/data bus AD1 and UART3 transmit TxD3."
      },
      {
        "number": "42",
        "name": "P0.2",
        "type": "bidirectional",
        "description": "Port 0 bit 2 standard I/O (PORT0[2]) that also serves as address/data bus AD2 and UART4 receive RxD4."
      },
      {
        "number": "43",
        "name": "P0.3",
        "type": "bidirectional",
        "description": "Port 0 bit 3 standard I/O (PORT0[3]) that also serves as address/data bus AD3 and UART4 transmit TxD4."
      },
      {
        "number": "44",
        "name": "P0.4",
        "type": "bidirectional",
        "description": "Port 0 bit 4 standard I/O (PORT0[4]) that also serves as address/data bus AD4 and Timer 3 clock output T3CLKO."
      }
    ],
    "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: Source conflict: the LQFP44 pin diagram labels pin 17 as P4.0/MOSI_3 and pin 26 as P4.1/MISO_3, whil; Multi-function pins (XTAL1/XTAL2, RST, CMP+/CMP-, PWM outputs) are all typed as bidirectional becaus; Port 2 and Port 4 pins with address-bus or PWM alternate functions are listed with their alternate f"
        ],
        "pages_sent": 169,
        "cost_usd": 1.0479,
        "at": "2026-10-18T05:23:00"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8609193675495272448",
        "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": "stc15w4k56s4-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-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc15w4k56s4-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": "579c48832caa9dc868faae08e4915aad6214d5ca8c34c30f65f08d25abe82967",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}