main
Ray Set visibility: public 6c8afd5 7h ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568
{
  "schema_version": 1,
  "type": "component",
  "slug": "stc15w4k48s4-30i-lqfp64s",
  "title": "STC15W4K48S4-30I-LQFP64S",
  "brief": "STC Micro Microcontroller Units (MCUs/MPUs/SOCs), LQFP-64(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stc15w4k48s4-30i-lqfp64s",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STC15W4K48S4-30I-LQFP64S",
    "manufacturer": "STC Micro",
    "package": "LQFP-64(10x10)",
    "pin_count": 64,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/caa5a792ca87f52d47a7cc948ca9d105.pdf",
    "parts": {
      "symbol": "stc15w4k48s4-30i-lqfp64s.kicad_sym",
      "footprint": "stc15w4k48s4-30i-lqfp64s.kicad_mod",
      "model_3d": "stc15w4k48s4-30i-lqfp64s-hero.glb",
      "model_3d_plain": "stc15w4k48s4-30i-lqfp64s-etched.glb",
      "model_3d_step": "stc15w4k48s4-30i-lqfp64s-etched.step",
      "model_3d_step_plain": "stc15w4k48s4-30i-lqfp64s.step",
      "lbr": "stc15w4k48s4-30i-lqfp64s.lbr"
    },
    "distributor_links": {
      "lcsc": "C91268"
    },
    "distributor_check": {
      "checked_at": "2026-10-27T00:10: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": "Standard I/O port PORT5[3], alternate function TxD4_2 (UART4 transmit)."
      },
      {
        "number": "2",
        "name": "P0.5",
        "type": "bidirectional",
        "description": "Standard I/O port PORT0[5], alternate functions AD5 address/data bus, T3 external input of timer 3 and PWMFLT_2 PWM abnormal-stop control."
      },
      {
        "number": "3",
        "name": "P0.6",
        "type": "bidirectional",
        "description": "Standard I/O port PORT0[6], alternate functions AD6 address/data bus, T4CLKO timer 4 clock output and PWM7_2 (high-impedance input after power-up, must be set to another mode by software to drive out)."
      },
      {
        "number": "4",
        "name": "P0.7",
        "type": "bidirectional",
        "description": "Standard I/O port PORT0[7], alternate functions AD7 address/data bus, T4 timer 4 external input and PWM6_2 (high-impedance input after power-up, must be set to another mode by software to drive out)."
      },
      {
        "number": "5",
        "name": "P6.0",
        "type": "bidirectional",
        "description": "Standard I/O port PORT6[0]."
      },
      {
        "number": "6",
        "name": "P6.1",
        "type": "bidirectional",
        "description": "Standard I/O port PORT6[1]."
      },
      {
        "number": "7",
        "name": "P6.2",
        "type": "bidirectional",
        "description": "Standard I/O port PORT6[2]."
      },
      {
        "number": "8",
        "name": "P6.3",
        "type": "bidirectional",
        "description": "Standard I/O port PORT6[3]."
      },
      {
        "number": "9",
        "name": "P1.0",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[0], alternate functions ADC0 input channel 0, CCP1 capture/high-speed pulse/PWM channel 1 and RxD2 (UART2 receive)."
      },
      {
        "number": "10",
        "name": "P1.1",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[1], alternate functions ADC1 input channel 1, CCP0 capture/high-speed pulse/PWM channel 0 and TxD2 (UART2 transmit)."
      },
      {
        "number": "11",
        "name": "P4.7",
        "type": "bidirectional",
        "description": "Standard I/O port PORT4[7], alternate function TxD2_2 (UART2 transmit)."
      },
      {
        "number": "12",
        "name": "P1.2",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[2], alternate functions ADC2 input channel 2, SS SPI slave select, ECI CCP/PCA counter external pulse input and CMPO comparator output."
      },
      {
        "number": "13",
        "name": "P1.3",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[3], alternate functions ADC3 input channel 3 and SPI MOSI (master out, slave in)."
      },
      {
        "number": "14",
        "name": "P1.4",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[4], alternate functions ADC4 input channel 4 and SPI MISO (master in, slave out)."
      },
      {
        "number": "15",
        "name": "P1.5",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[5], alternate functions ADC5 input channel 5 and SPI SCLK clock."
      },
      {
        "number": "16",
        "name": "P1.6",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[6], alternate functions ADC6, RxD_3 (UART1 receive), SysClkO_2 system clock output (SysClk/1, /2, /4, /16), XTAL2 crystal oscillator output and PWM6 (high-impedance input after power-up)."
      },
      {
        "number": "17",
        "name": "P1.7",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[7], alternate functions ADC7, TxD_3 (UART1 transmit), XTAL1 crystal/external clock input and PWM7 (high-impedance input after power-up)."
      },
      {
        "number": "18",
        "name": "P5.4",
        "type": "bidirectional",
        "description": "Standard I/O port PORT5[4], alternate functions RST reset (active high), SysClkO system clock output (SysClk/1, /2, /4, /16), SS_3 SPI slave select and CMP- comparator negative input (must be set high-impedance when used as CMP-)."
      },
      {
        "number": "19",
        "name": "Vcc",
        "type": "power_in",
        "description": "Positive power supply."
      },
      {
        "number": "20",
        "name": "P5.5",
        "type": "bidirectional",
        "description": "Standard I/O port PORT5[5], alternate function CMP+ comparator positive input (must be set high-impedance when used as CMP+)."
      },
      {
        "number": "21",
        "name": "Gnd",
        "type": "power_in",
        "description": "Power negative terminal, ground."
      },
      {
        "number": "22",
        "name": "P4.0",
        "type": "bidirectional",
        "description": "Standard I/O port PORT4[0], alternate function SPI MOSI_3 per pin diagram (the pin table names it MISO_3)."
      },
      {
        "number": "23",
        "name": "P6.4",
        "type": "bidirectional",
        "description": "Standard I/O port PORT6[4]."
      },
      {
        "number": "24",
        "name": "P6.5",
        "type": "bidirectional",
        "description": "Standard I/O port PORT6[5]."
      },
      {
        "number": "25",
        "name": "P6.6",
        "type": "bidirectional",
        "description": "Standard I/O port PORT6[6]."
      },
      {
        "number": "26",
        "name": "P6.7",
        "type": "bidirectional",
        "description": "Standard I/O port PORT6[7]."
      },
      {
        "number": "27",
        "name": "P3.0",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[0], alternate functions RxD (UART1 receive), INT4 falling-edge-only external interrupt 4 with power-down wake-up, and T2CLKO timer 2 clock output."
      },
      {
        "number": "28",
        "name": "P3.1",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[1], alternate functions TxD (UART1 transmit) and T2 timer/counter 2 external input."
      },
      {
        "number": "29",
        "name": "P3.2",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[2], alternate function INT0 external interrupt 0 (falling edge only if IT0=1, both edges if IT0=0) with power-down wake-up."
      },
      {
        "number": "30",
        "name": "P3.3",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[3], alternate function INT1 external interrupt 1 (falling edge only if IT1=1, both edges if IT1=0) with power-down wake-up."
      },
      {
        "number": "31",
        "name": "P3.4",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[4], alternate functions T0 timer 0 external input, T1CLKO timer 1 clock output and ECI_2 CCP/PCA counter external pulse input."
      },
      {
        "number": "32",
        "name": "P5.0",
        "type": "bidirectional",
        "description": "Standard I/O port PORT5[0], alternate function RxD3_2 (UART3 receive)."
      },
      {
        "number": "33",
        "name": "P5.1",
        "type": "bidirectional",
        "description": "Standard I/O port PORT5[1], alternate function TxD3_2 (UART3 transmit)."
      },
      {
        "number": "34",
        "name": "P3.5",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[5], alternate functions T1 timer 1 external input, T0CLKO timer 0 clock output and CCP0_2 capture/high-speed pulse/PWM channel 0."
      },
      {
        "number": "35",
        "name": "P3.6",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[6], alternate functions INT2 falling-edge-only external interrupt 2 with power-down wake-up, RxD_2 (UART1 receive) and CCP1_2 capture/high-speed pulse/PWM channel 1."
      },
      {
        "number": "36",
        "name": "P3.7",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[7], alternate functions INT3 falling-edge-only external interrupt 3 with power-down wake-up, TxD_2 (UART1 transmit) and PWM2 (high-impedance input after power-up)."
      },
      {
        "number": "37",
        "name": "P7.0",
        "type": "bidirectional",
        "description": "Standard I/O port PORT7[0]."
      },
      {
        "number": "38",
        "name": "P7.1",
        "type": "bidirectional",
        "description": "Standard I/O port PORT7[1]."
      },
      {
        "number": "39",
        "name": "P7.2",
        "type": "bidirectional",
        "description": "Standard I/O port PORT7[2]."
      },
      {
        "number": "40",
        "name": "P7.3",
        "type": "bidirectional",
        "description": "Standard I/O port PORT7[3]."
      },
      {
        "number": "41",
        "name": "P4.1",
        "type": "bidirectional",
        "description": "Standard I/O port PORT4[1], alternate function SPI MISO_3 per pin diagram (the pin table names it MOSI_3)."
      },
      {
        "number": "42",
        "name": "P4.2",
        "type": "bidirectional",
        "description": "Standard I/O port PORT4[2], alternate functions WR external data memory write pulse and PWM5_2 (high-impedance input after power-up)."
      },
      {
        "number": "43",
        "name": "P4.3",
        "type": "bidirectional",
        "description": "Standard I/O port PORT4[3], alternate function SCLK_3 SPI clock."
      },
      {
        "number": "44",
        "name": "P4.4",
        "type": "bidirectional",
        "description": "Standard I/O port PORT4[4], alternate functions RD external data memory read pulse and PWM4_2 (high-impedance input after power-up)."
      },
      {
        "number": "45",
        "name": "P2.0",
        "type": "bidirectional",
        "description": "Standard I/O port PORT2[0], alternate functions A8 address bit 8 and RSTOUT_LOW (output low after power-up and during reset, software-configurable)."
      },
      {
        "number": "46",
        "name": "P2.1",
        "type": "bidirectional",
        "description": "Standard I/O port PORT2[1], alternate functions A9 address bit 9, SCLK_2 SPI clock and PWM3 (high-impedance input after power-up)."
      },
      {
        "number": "47",
        "name": "P2.2",
        "type": "bidirectional",
        "description": "Standard I/O port PORT2[2], alternate functions A10 address bit 10, MISO_2 SPI master in/slave out and PWM4 (high-impedance input after power-up)."
      },
      {
        "number": "48",
        "name": "P2.3",
        "type": "bidirectional",
        "description": "Standard I/O port PORT2[3], alternate functions A11 address bit 11, MOSI_2 SPI master out/slave in and PWM5 (high-impedance input after power-up)."
      },
      {
        "number": "49",
        "name": "P2.4",
        "type": "bidirectional",
        "description": "Standard I/O port PORT2[4], alternate functions A12 address bit 12, ECI_3 CCP/PCA counter external pulse input, SS_2 SPI slave select and PWMFLT PWM abnormal-stop control."
      },
      {
        "number": "50",
        "name": "P2.5",
        "type": "bidirectional",
        "description": "Standard I/O port PORT2[5], alternate functions A13 address bit 13 and CCP0_3 capture/high-speed pulse/PWM channel 0."
      },
      {
        "number": "51",
        "name": "P2.6",
        "type": "bidirectional",
        "description": "Standard I/O port PORT2[6], alternate functions A14 address bit 14 and CCP1_3 capture/high-speed pulse/PWM channel 1."
      },
      {
        "number": "52",
        "name": "P2.7",
        "type": "bidirectional",
        "description": "Standard I/O port PORT2[7], alternate functions A15 address bit 15 and PWM2_2 (high-impedance input after power-up)."
      },
      {
        "number": "53",
        "name": "P7.4",
        "type": "bidirectional",
        "description": "Standard I/O port PORT7[4]."
      },
      {
        "number": "54",
        "name": "P7.5",
        "type": "bidirectional",
        "description": "Standard I/O port PORT7[5]."
      },
      {
        "number": "55",
        "name": "P7.6",
        "type": "bidirectional",
        "description": "Standard I/O port PORT7[6]."
      },
      {
        "number": "56",
        "name": "P7.7",
        "type": "bidirectional",
        "description": "Standard I/O port PORT7[7]."
      },
      {
        "number": "57",
        "name": "P4.5",
        "type": "bidirectional",
        "description": "Standard I/O port PORT4[5], alternate functions ALE address latch enable and PWM3_2 (high-impedance input after power-up)."
      },
      {
        "number": "58",
        "name": "P4.6",
        "type": "bidirectional",
        "description": "Standard I/O port PORT4[6], alternate function RxD2_2 (UART2 receive)."
      },
      {
        "number": "59",
        "name": "P0.0",
        "type": "bidirectional",
        "description": "Standard I/O port PORT0[0], alternate functions AD0 address/data bus and RxD3 (UART3 receive)."
      },
      {
        "number": "60",
        "name": "P0.1",
        "type": "bidirectional",
        "description": "Standard I/O port PORT0[1], alternate functions AD1 address/data bus and TxD3 (UART3 transmit)."
      },
      {
        "number": "61",
        "name": "P0.2",
        "type": "bidirectional",
        "description": "Standard I/O port PORT0[2], alternate functions AD2 address/data bus and RxD4 (UART4 receive)."
      },
      {
        "number": "62",
        "name": "P0.3",
        "type": "bidirectional",
        "description": "Standard I/O port PORT0[3], alternate functions AD3 address/data bus and TxD4 (UART4 transmit)."
      },
      {
        "number": "63",
        "name": "P0.4",
        "type": "bidirectional",
        "description": "Standard I/O port PORT0[4], alternate functions AD4 address/data bus and T3CLKO timer 3 clock output."
      },
      {
        "number": "64",
        "name": "P5.2",
        "type": "bidirectional",
        "description": "Standard I/O port PORT5[2], alternate function RxD4_2 (UART4 receive)."
      }
    ],
    "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 datasheet lists LQFP64 pinout only in the STC15W4K32S4 section (page 81) with LQFP64S and LQFP64"
        ],
        "pages_sent": 169,
        "cost_usd": 0.24,
        "at": "2026-10-27T00:09:54"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/caa5a792ca87f52d47a7cc948ca9d105.pdf",
        "pages": 1219,
        "sha256": "cc8c299c891646e0",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 64,
        "described": 64,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stc15w4k48s4-30i-lqfp64s.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12,
          12,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "b0c827bc5c05552175d28affe44a5bd2ab45c9c36efff6ff07a74cc449b13db4",
        "checked": "2026-10-27",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc15w4k48s4-30i-lqfp64s-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12,
          12,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "12386537c2c0c317ea672a635a1c7c7d192f1e2e3d73087fb081c304dad05ca3",
        "checked": "2026-10-27",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STC Micro",
      "Package": "LQFP-64(10x10)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "64"
    },
    "appearance": {
      "housing": {
        "quote": "Accumulator contents and the contents of a sixteen-bit base register, which may be either the Data Pointer or the PC. In the latter case, the PC is incremented to the address of the following",
        "page": 441,
        "doc": "ds.pdf",
        "material": "PC"
      },
      "version": 1,
      "datasheet_sha256": "cc8c299c891646e085df0552ec8e4fe9a1ed6286ffbcc1a3e26ab7f4810e35fa"
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stc15w4k48s4-30i-lqfp64s"
  ],
  "discovery_pitch": "STC15W4K48S4-30I-LQFP64S (STC Micro) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray",
    "email": "[email protected]"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stc15w4k48s4-30i-lqfp64s.kicad_sym",
    "stc15w4k48s4-30i-lqfp64s.kicad_mod",
    "stc15w4k48s4-30i-lqfp64s.glb",
    "stc15w4k48s4-30i-lqfp64s.step",
    "stc15w4k48s4-30i-lqfp64s.lbr",
    "docs/hero.png",
    "docs/stc15w4k48s4-30i-lqfp64s-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc15w4k48s4-30i-lqfp64s-hero.glb",
    "stc15w4k48s4-30i-lqfp64s-hero.overlay.json",
    "stc15w4k48s4-30i-lqfp64s-etched.glb"
  ],
  "visibility": {
    "public": true
  }
}