main
Ray stc15w4k56s4-30i-lqfp64s: component.models_3d pose record per STEP (Z-up, seated z=0, pad-centre origin, identity bindi… 73d0490
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566
{
  "schema_version": 1,
  "type": "component",
  "slug": "stc15w4k56s4-30i-lqfp64s",
  "title": "STC15W4K56S4-30I-LQFP64S",
  "brief": "STC Micro Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10). Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.2.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "mcu",
    "stc15w4k56s4-30i-lqfp64s"
  ],
  "component": {
    "mpn": "STC15W4K56S4-30I-LQFP64S",
    "manufacturer": "STC Micro",
    "package": "LQFP-64(10x10)",
    "pin_count": 64,
    "category": "MCU",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/cc38920c47b64bde8d53676c982b6082.pdf",
    "parts": {
      "symbol": "stc15w4k56s4-30i-lqfp64s.kicad_sym",
      "footprint": "stc15w4k56s4-30i-lqfp64s.kicad_mod",
      "model_3d": "stc15w4k56s4-30i-lqfp64s-etched.glb",
      "model_3d_plain": "stc15w4k56s4-30i-lqfp64s.glb",
      "model_3d_step": "stc15w4k56s4-30i-lqfp64s-etched.step",
      "model_3d_step_plain": "stc15w4k56s4-30i-lqfp64s.step",
      "lbr": "stc15w4k56s4-30i-lqfp64s.lbr"
    },
    "distributor_links": {},
    "pins": [
      {
        "number": "1",
        "name": "P5.3/TxD4_2",
        "type": "bidirectional",
        "description": "Port 5 bit 3, standard I/O. Alternate: UART4 transmit (TxD4) secondary mapping."
      },
      {
        "number": "2",
        "name": "P0.5/AD5/T3/PWMFLT_2",
        "type": "bidirectional",
        "description": "Port 0 bit 5, standard I/O. Address/data bus AD5 in external memory mode; Timer3 external clock input (T3); PWM fault input alt-mapping."
      },
      {
        "number": "3",
        "name": "P0.6/AD6/T4CLKO/PWM7_2",
        "type": "bidirectional",
        "description": "Port 0 bit 6, standard I/O. Address/data bus AD6; Timer4 clock output (T4CLKO); PWM channel 7 alt-mapping."
      },
      {
        "number": "4",
        "name": "P0.7/AD7/T4/PWM2_2",
        "type": "bidirectional",
        "description": "Port 0 bit 7, standard I/O. Address/data bus AD7; Timer4 external input (T4); PWM channel 2 alt-mapping."
      },
      {
        "number": "5",
        "name": "P6.0",
        "type": "bidirectional",
        "description": "Port 6 bit 0, standard bidirectional I/O."
      },
      {
        "number": "6",
        "name": "P6.1",
        "type": "bidirectional",
        "description": "Port 6 bit 1, standard bidirectional I/O."
      },
      {
        "number": "7",
        "name": "P6.2",
        "type": "bidirectional",
        "description": "Port 6 bit 2, standard bidirectional I/O."
      },
      {
        "number": "8",
        "name": "P6.3",
        "type": "bidirectional",
        "description": "Port 6 bit 3, standard bidirectional I/O."
      },
      {
        "number": "9",
        "name": "P1.0/ADC0/CCP1/RxD2",
        "type": "bidirectional",
        "description": "Port 1 bit 0. ADC channel 0; PCA/CCP capture/compare channel 1 (CCP1); UART2 receive (RxD2)."
      },
      {
        "number": "10",
        "name": "P1.1/ADC1/CCP0/TxD2",
        "type": "bidirectional",
        "description": "Port 1 bit 1. ADC channel 1; PCA/CCP channel 0 (CCP0); UART2 transmit (TxD2)."
      },
      {
        "number": "11",
        "name": "P4.7/TxD2_2",
        "type": "bidirectional",
        "description": "Port 4 bit 7, standard I/O. UART2 transmit alt-mapping (TxD2_2)."
      },
      {
        "number": "12",
        "name": "P1.2/ADC2/SS/ECI/CMPO",
        "type": "bidirectional",
        "description": "Port 1 bit 2. ADC channel 2; SPI slave-select (SS); PCA external clock input (ECI); on-chip comparator output (CMPO)."
      },
      {
        "number": "13",
        "name": "P1.3/ADC3/MOSI",
        "type": "bidirectional",
        "description": "Port 1 bit 3. ADC channel 3; SPI master-out-slave-in (MOSI)."
      },
      {
        "number": "14",
        "name": "P1.4/ADC4/MISO",
        "type": "bidirectional",
        "description": "Port 1 bit 4. ADC channel 4; SPI master-in-slave-out (MISO)."
      },
      {
        "number": "15",
        "name": "P1.5/ADC5/SCLK",
        "type": "bidirectional",
        "description": "Port 1 bit 5. ADC channel 5; SPI serial clock (SCLK)."
      },
      {
        "number": "16",
        "name": "P1.6/ADC6/RxD_3/XTAL2/MCLKO_2/PWM6",
        "type": "bidirectional",
        "description": "Port 1 bit 6. ADC channel 6; UART1 receive alt-mapping (RxD_3); external crystal output XTAL2; master-clock output alt (MCLKO_2); PWM channel 6."
      },
      {
        "number": "17",
        "name": "P1.7/ADC7/TxD_3/XTAL1/PWM7",
        "type": "bidirectional",
        "description": "Port 1 bit 7. ADC channel 7; UART1 transmit alt-mapping (TxD_3); external crystal input XTAL1; PWM channel 7."
      },
      {
        "number": "18",
        "name": "P5.4/RST/MCLKO/SS_3/CMP-",
        "type": "bidirectional",
        "description": "Port 5 bit 4 / external RESET input (RST) / master-clock output (MCLKO) / SPI slave-select alt (SS_3) / comparator negative input (CMP-). Default function is RST; selectable as GPIO via ISP flag."
      },
      {
        "number": "19",
        "name": "VCC",
        "type": "power_in",
        "description": "Positive supply (Vcc). Operating range 2.5V-5.5V (5V grade). Decouple with 100nF close to the pin."
      },
      {
        "number": "20",
        "name": "P5.5/CMP+",
        "type": "bidirectional",
        "description": "Port 5 bit 5, standard I/O. Comparator positive input (CMP+)."
      },
      {
        "number": "21",
        "name": "GND",
        "type": "power_in",
        "description": "Ground (0V) reference for supply and I/O."
      },
      {
        "number": "22",
        "name": "P4.0/MOSI_3",
        "type": "bidirectional",
        "description": "Port 4 bit 0, standard I/O. SPI master-out-slave-in alt-mapping (MOSI_3)."
      },
      {
        "number": "23",
        "name": "P6.4",
        "type": "bidirectional",
        "description": "Port 6 bit 4, standard bidirectional I/O."
      },
      {
        "number": "24",
        "name": "P6.5",
        "type": "bidirectional",
        "description": "Port 6 bit 5, standard bidirectional I/O."
      },
      {
        "number": "25",
        "name": "P6.6",
        "type": "bidirectional",
        "description": "Port 6 bit 6, standard bidirectional I/O."
      },
      {
        "number": "26",
        "name": "P6.7",
        "type": "bidirectional",
        "description": "Port 6 bit 7, standard bidirectional I/O."
      },
      {
        "number": "27",
        "name": "P3.0/RxD/INT4/T2CLKO",
        "type": "bidirectional",
        "description": "Port 3 bit 0. UART1 receive (RxD); external interrupt 4 (INT4, falling-edge only); Timer2 clock output (T2CLKO). Used by the STC ISP loader for programming."
      },
      {
        "number": "28",
        "name": "P3.1/TxD/T2",
        "type": "bidirectional",
        "description": "Port 3 bit 1. UART1 transmit (TxD); Timer2 external input (T2). Used by the STC ISP loader."
      },
      {
        "number": "29",
        "name": "P3.2/INT0",
        "type": "bidirectional",
        "description": "Port 3 bit 2 / external interrupt 0 (INT0), rising- and falling-edge sensitive. Can wake MCU from power-down."
      },
      {
        "number": "30",
        "name": "P3.3/INT1",
        "type": "bidirectional",
        "description": "Port 3 bit 3 / external interrupt 1 (INT1), rising- and falling-edge sensitive. Can wake MCU from power-down."
      },
      {
        "number": "31",
        "name": "P3.4/T0/T1CLKO/ECI_2",
        "type": "bidirectional",
        "description": "Port 3 bit 4. Timer0 external input (T0); Timer1 clock output (T1CLKO); PCA external clock alt-mapping (ECI_2)."
      },
      {
        "number": "32",
        "name": "P5.0/RxD3_2",
        "type": "bidirectional",
        "description": "Port 5 bit 0. UART3 receive alt-mapping (RxD3_2)."
      },
      {
        "number": "33",
        "name": "P5.1/TxD3_2",
        "type": "bidirectional",
        "description": "Port 5 bit 1. UART3 transmit alt-mapping (TxD3_2)."
      },
      {
        "number": "34",
        "name": "P3.5/T1/T0CLKO/CCP0_2",
        "type": "bidirectional",
        "description": "Port 3 bit 5. Timer1 external input (T1); Timer0 clock output (T0CLKO); PCA/CCP channel 0 alt-mapping (CCP0_2)."
      },
      {
        "number": "35",
        "name": "P3.6/INT2/RxD_2/CCP1_2",
        "type": "bidirectional",
        "description": "Port 3 bit 6 / external interrupt 2 (INT2, falling-edge only); UART1 receive alt (RxD_2); PCA/CCP channel 1 alt (CCP1_2)."
      },
      {
        "number": "36",
        "name": "P3.7/INT3/TxD_2/PWM2",
        "type": "bidirectional",
        "description": "Port 3 bit 7 / external interrupt 3 (INT3, falling-edge only); UART1 transmit alt (TxD_2); PWM channel 2."
      },
      {
        "number": "37",
        "name": "P7.0",
        "type": "bidirectional",
        "description": "Port 7 bit 0, standard bidirectional I/O."
      },
      {
        "number": "38",
        "name": "P7.1",
        "type": "bidirectional",
        "description": "Port 7 bit 1, standard bidirectional I/O."
      },
      {
        "number": "39",
        "name": "P7.2",
        "type": "bidirectional",
        "description": "Port 7 bit 2, standard bidirectional I/O."
      },
      {
        "number": "40",
        "name": "P7.3",
        "type": "bidirectional",
        "description": "Port 7 bit 3, standard bidirectional I/O."
      },
      {
        "number": "41",
        "name": "P4.1/MISO_3",
        "type": "bidirectional",
        "description": "Port 4 bit 1. SPI master-in-slave-out alt-mapping (MISO_3)."
      },
      {
        "number": "42",
        "name": "P4.2/WR/PWM5_2",
        "type": "bidirectional",
        "description": "Port 4 bit 2. External memory write strobe (/WR); PWM channel 5 alt-mapping."
      },
      {
        "number": "43",
        "name": "P4.3/SCLK_3",
        "type": "bidirectional",
        "description": "Port 4 bit 3. SPI clock alt-mapping (SCLK_3)."
      },
      {
        "number": "44",
        "name": "P4.4/RD/PWM4_2",
        "type": "bidirectional",
        "description": "Port 4 bit 4. External memory read strobe (/RD); PWM channel 4 alt-mapping."
      },
      {
        "number": "45",
        "name": "P2.0/A8/RSTOUT_LOW",
        "type": "bidirectional",
        "description": "Port 2 bit 0. External memory address bus A8; MCU reset-output-low pin (drives low during reset, tri-state after) for peripheral reset."
      },
      {
        "number": "46",
        "name": "P2.1/A9/SCLK_2/PWM3",
        "type": "bidirectional",
        "description": "Port 2 bit 1. Address bus A9; SPI clock alt (SCLK_2); PWM channel 3."
      },
      {
        "number": "47",
        "name": "P2.2/A10/MISO_2/PWM4",
        "type": "bidirectional",
        "description": "Port 2 bit 2. Address bus A10; SPI MISO alt (MISO_2); PWM channel 4."
      },
      {
        "number": "48",
        "name": "P2.3/A11/MOSI_2/PWM5",
        "type": "bidirectional",
        "description": "Port 2 bit 3. Address bus A11; SPI MOSI alt (MOSI_2); PWM channel 5."
      },
      {
        "number": "49",
        "name": "P2.4/A12/ECI_3/SS_2/PWMFLT",
        "type": "bidirectional",
        "description": "Port 2 bit 4. Address bus A12; PCA external clock alt (ECI_3); SPI slave-select alt (SS_2); PWM fault-input (PWMFLT, stops PWM when asserted)."
      },
      {
        "number": "50",
        "name": "P2.5/A13/CCP0_3",
        "type": "bidirectional",
        "description": "Port 2 bit 5. Address bus A13; PCA/CCP channel 0 alt-mapping (CCP0_3)."
      },
      {
        "number": "51",
        "name": "P2.6/A14/CCP1_3",
        "type": "bidirectional",
        "description": "Port 2 bit 6. Address bus A14; PCA/CCP channel 1 alt-mapping (CCP1_3)."
      },
      {
        "number": "52",
        "name": "P2.7/A15/PWM2_2",
        "type": "bidirectional",
        "description": "Port 2 bit 7. Address bus A15; PWM channel 2 alt-mapping (PWM2_2)."
      },
      {
        "number": "53",
        "name": "P7.4",
        "type": "bidirectional",
        "description": "Port 7 bit 4, standard bidirectional I/O."
      },
      {
        "number": "54",
        "name": "P7.5",
        "type": "bidirectional",
        "description": "Port 7 bit 5, standard bidirectional I/O."
      },
      {
        "number": "55",
        "name": "P7.6",
        "type": "bidirectional",
        "description": "Port 7 bit 6, standard bidirectional I/O."
      },
      {
        "number": "56",
        "name": "P7.7",
        "type": "bidirectional",
        "description": "Port 7 bit 7, standard bidirectional I/O."
      },
      {
        "number": "57",
        "name": "P4.5/ALE/PWM3_2",
        "type": "bidirectional",
        "description": "Port 4 bit 5. External memory address-latch-enable (ALE) strobe; PWM channel 3 alt-mapping (PWM3_2)."
      },
      {
        "number": "58",
        "name": "P4.6/RxD2_2",
        "type": "bidirectional",
        "description": "Port 4 bit 6. UART2 receive alt-mapping (RxD2_2)."
      },
      {
        "number": "59",
        "name": "P0.0/AD0/RxD3",
        "type": "bidirectional",
        "description": "Port 0 bit 0. External memory address/data bus AD0; UART3 receive (RxD3)."
      },
      {
        "number": "60",
        "name": "P0.1/AD1/TxD3",
        "type": "bidirectional",
        "description": "Port 0 bit 1. Address/data bus AD1; UART3 transmit (TxD3)."
      },
      {
        "number": "61",
        "name": "P0.2/AD2/RxD4",
        "type": "bidirectional",
        "description": "Port 0 bit 2. Address/data bus AD2; UART4 receive (RxD4)."
      },
      {
        "number": "62",
        "name": "P0.3/AD3/TxD4",
        "type": "bidirectional",
        "description": "Port 0 bit 3. Address/data bus AD3; UART4 transmit (TxD4)."
      },
      {
        "number": "63",
        "name": "P0.4/AD4/T3CLKO",
        "type": "bidirectional",
        "description": "Port 0 bit 4. Address/data bus AD4; Timer3 clock output (T3CLKO)."
      },
      {
        "number": "64",
        "name": "P5.2/RxD4_2",
        "type": "bidirectional",
        "description": "Port 5 bit 2. UART4 receive alt-mapping (RxD4_2)."
      }
    ],
    "provenance": {
      "extractor": "ds2sf",
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/cc38920c47b64bde8d53676c982b6082.pdf",
        "pages": 1116,
        "sha256": "5fbdfd823a6ce7e0",
        "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": "stc15w4k56s4-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-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc15w4k56s4-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": "2707df3bed83c42d205f6da790ce9daf56cadc34242574f408af805dcf604bbf",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STC Micro",
      "Package": "LQFP-64(10x10)",
      "Category": "MCU",
      "Pins": "64"
    }
  },
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stc15w4k56s4-30i-lqfp64s"
  ],
  "discovery_pitch": "STC15W4K56S4-30I-LQFP64S (STC Micro) component page with datasheet-verified CAD.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stc15w4k56s4-30i-lqfp64s.kicad_sym",
    "stc15w4k56s4-30i-lqfp64s.kicad_mod",
    "stc15w4k56s4-30i-lqfp64s.glb",
    "stc15w4k56s4-30i-lqfp64s.step",
    "stc15w4k56s4-30i-lqfp64s-etched.step",
    "stc15w4k56s4-30i-lqfp64s.lbr",
    "docs/hero.png",
    "docs/stc15w4k56s4-30i-lqfp64s-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "visibility": {
    "public": true
  },
  "variants": [
    {
      "mpn": "STC15W4K56S4-30I-LQFP64S",
      "kind": "packaging"
    },
    {
      "mpn": "STC15W4K56S4-30I-LQFP64L",
      "kind": "unknown"
    },
    {
      "mpn": "STC15W4K56S4-30I-LQFP64SQFN64",
      "kind": "packaging"
    },
    {
      "mpn": "STC15W4K56S4-30I-LQFP48",
      "kind": "unknown"
    },
    {
      "mpn": "STC15W4K56S4-30I-LQFP44",
      "kind": "unknown"
    },
    {
      "mpn": "STC15W4K56S4-30I-LQFP64SPDIP40",
      "kind": "packaging"
    },
    {
      "mpn": "STC15W4K56S4-30I-LQFP64SSOP32",
      "kind": "packaging"
    },
    {
      "mpn": "STC15W4K56S4-30I-LQFP32",
      "kind": "unknown"
    },
    {
      "mpn": "STC15W4K56S4-30I-LQFP64SSOP28",
      "kind": "packaging"
    },
    {
      "mpn": "STC15W4K56S4-30I-LQFP64SSKDIP28",
      "kind": "packaging"
    }
  ],
  "updated_at": "2026-09-25T08:28:36.005Z"
}