main
Ray Set visibility: public 2aaee5b 9d ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660
{
  "schema_version": 1,
  "type": "component",
  "slug": "stc15w4k56s4-30i-lqfp32",
  "title": "STC15W4K56S4-30I-LQFP32",
  "brief": "STC Micro Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). 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",
    "stc15w4k56s4-30i-lqfp32",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STC15W4K56S4-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/8609193203551780864",
    "parts": {
      "symbol": "stc15w4k56s4-30i-lqfp32.kicad_sym",
      "footprint": "stc15w4k56s4-30i-lqfp32.kicad_mod",
      "model_3d": "stc15w4k56s4-30i-lqfp32-hero.glb",
      "model_3d_plain": "stc15w4k56s4-30i-lqfp32-etched.glb",
      "model_3d_step": "stc15w4k56s4-30i-lqfp32-etched.step",
      "model_3d_step_plain": "stc15w4k56s4-30i-lqfp32.step",
      "lbr": "stc15w4k56s4-30i-lqfp32.lbr"
    },
    "distributor_links": {
      "lcsc": "C188821"
    },
    "distributor_check": {
      "checked_at": "2026-10-17T22:54:44Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "quota"
      },
      "mouser": {
        "pn": null,
        "status": "quota"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "P1.0",
        "type": "bidirectional",
        "description": "Standard I/O port 1 bit 0 (quasi-bidirectional with weak pull-up after reset), with alternate functions ADC0 analog input channel 0, CCP1 capture/PWM channel 1 and RxD2 UART2 receive."
      },
      {
        "number": "2",
        "name": "P1.1",
        "type": "bidirectional",
        "description": "Standard I/O port 1 bit 1, with alternate functions ADC1 analog input channel 1, CCP0 capture/PWM channel 0 and TxD2 UART2 transmit."
      },
      {
        "number": "3",
        "name": "P1.2",
        "type": "bidirectional",
        "description": "Standard I/O port 1 bit 2, with alternate functions ADC2 analog input channel 2, SS SPI slave select, ECI external CCP/PCA counter input and CMPO comparator output."
      },
      {
        "number": "4",
        "name": "P1.3",
        "type": "bidirectional",
        "description": "Standard I/O port 1 bit 3, with alternate functions ADC3 analog input channel 3 and MOSI SPI master-out/slave-in."
      },
      {
        "number": "5",
        "name": "P1.4",
        "type": "bidirectional",
        "description": "Standard I/O port 1 bit 4, with alternate functions ADC4 analog input channel 4 and MISO SPI master-in/slave-out."
      },
      {
        "number": "6",
        "name": "P1.5",
        "type": "bidirectional",
        "description": "Standard I/O port 1 bit 5, with alternate functions ADC5 analog input channel 5 and SCLK SPI serial clock."
      },
      {
        "number": "7",
        "name": "P1.6",
        "type": "bidirectional",
        "description": "Standard I/O port 1 bit 6, with alternate functions ADC6 analog input channel 6, RxD_3 UART1 receive, XTAL2 crystal amplifier output (floats when an external clock is used), SysClkO_2 system clock output and PWM6 output (high-impedance input after power-up, must be configured in software before use)."
      },
      {
        "number": "8",
        "name": "P1.7",
        "type": "bidirectional",
        "description": "Standard I/O port 1 bit 7, with alternate functions ADC7 analog input channel 7, TxD_3 UART1 transmit, XTAL1 crystal amplifier input (external clock input when an external clock is used) and PWM7 output (high-impedance input after power-up, must be configured in software before use)."
      },
      {
        "number": "9",
        "name": "P5.4",
        "type": "bidirectional",
        "description": "Standard I/O port 5 bit 4, with alternate functions RST active-high reset input, SysClkO system clock output, SS_3 SPI slave select and CMP- comparator negative input (must be set to high-impedance input when used as CMP-)."
      },
      {
        "number": "10",
        "name": "Vcc",
        "type": "power_in",
        "description": "Positive power supply pin; the STC15W4K32S4 series operates from 2.5 V to 5.5 V."
      },
      {
        "number": "11",
        "name": "P5.5",
        "type": "bidirectional",
        "description": "Standard I/O port 5 bit 5, with alternate function CMP+ comparator positive input (must be set to high-impedance input when used as CMP+)."
      },
      {
        "number": "12",
        "name": "Gnd",
        "type": "power_in",
        "description": "Power supply ground (negative supply) pin."
      },
      {
        "number": "13",
        "name": "P3.0",
        "type": "bidirectional",
        "description": "Standard I/O port 3 bit 0, with alternate functions RxD UART1 receive, INT4 falling-edge-only external interrupt that supports power-down wake-up, and T2CLKO timer 2 clock output; P3.0/P3.1 are also used for download/emulation."
      },
      {
        "number": "14",
        "name": "P3.1",
        "type": "bidirectional",
        "description": "Standard I/O port 3 bit 1, with alternate functions TxD UART1 transmit and T2 timer/counter 2 external input; P3.0/P3.1 are also used for download/emulation."
      },
      {
        "number": "15",
        "name": "P3.2",
        "type": "bidirectional",
        "description": "Standard I/O port 3 bit 2, with alternate function INT0 external interrupt 0 (rising or falling edge depending on IT0; supports power-down wake-up)."
      },
      {
        "number": "16",
        "name": "P3.3",
        "type": "bidirectional",
        "description": "Standard I/O port 3 bit 3, with alternate function INT1 external interrupt 1 (rising or falling edge depending on IT1; supports power-down wake-up)."
      },
      {
        "number": "17",
        "name": "P3.4",
        "type": "bidirectional",
        "description": "Standard I/O port 3 bit 4, with alternate functions T0 timer/counter 0 external input, T1CLKO timer 1 clock output and ECI_2 CCP/PCA external counter input."
      },
      {
        "number": "18",
        "name": "P3.5",
        "type": "bidirectional",
        "description": "Standard I/O port 3 bit 5, with alternate functions T1 timer/counter 1 external input, T0CLKO timer 0 clock output and CCP0_2 capture/PWM channel 0."
      },
      {
        "number": "19",
        "name": "P3.6",
        "type": "bidirectional",
        "description": "Standard I/O port 3 bit 6, with alternate functions INT2 falling-edge-only external interrupt that supports power-down wake-up, RxD_2 UART1 receive and CCP1_2 capture/PWM channel 1."
      },
      {
        "number": "20",
        "name": "P3.7",
        "type": "bidirectional",
        "description": "Standard I/O port 3 bit 7, with alternate functions INT3 falling-edge-only external interrupt that supports power-down wake-up, TxD_2 UART1 transmit and PWM2 output (high-impedance input after power-up, must be configured in software before use)."
      },
      {
        "number": "21",
        "name": "P2.0",
        "type": "bidirectional",
        "description": "Standard I/O port 2 bit 0, with alternate functions A8 address bus bit 8 and RSTOUT_LOW, which outputs low after power-on and during reset and can be set high or low by software."
      },
      {
        "number": "22",
        "name": "P2.1",
        "type": "bidirectional",
        "description": "Standard I/O port 2 bit 1, with alternate functions A9 address bus bit 9, SCLK_2 SPI serial clock and PWM3 output (high-impedance input after power-up, must be configured in software before use)."
      },
      {
        "number": "23",
        "name": "P2.2",
        "type": "bidirectional",
        "description": "Standard I/O port 2 bit 2, with alternate functions A10 address bus bit 10, MISO_2 SPI master-in/slave-out and PWM4 output (high-impedance input after power-up, must be configured in software before use)."
      },
      {
        "number": "24",
        "name": "P2.3",
        "type": "bidirectional",
        "description": "Standard I/O port 2 bit 3, with alternate functions A11 address bus bit 11, MOSI_2 SPI master-out/slave-in and PWM5 output (high-impedance input after power-up, must be configured in software before use)."
      },
      {
        "number": "25",
        "name": "P2.4",
        "type": "bidirectional",
        "description": "Standard I/O port 2 bit 4, with alternate functions A12 address bus bit 12, ECI_3 CCP/PCA external counter input, SS_2 SPI slave select and PWMFLT PWM fault-stop control input."
      },
      {
        "number": "26",
        "name": "P2.5",
        "type": "bidirectional",
        "description": "Standard I/O port 2 bit 5, with alternate functions A13 address bus bit 13 and CCP0_3 capture/PWM channel 0."
      },
      {
        "number": "27",
        "name": "P2.6",
        "type": "bidirectional",
        "description": "Standard I/O port 2 bit 6, with alternate functions A14 address bus bit 14 and CCP1_3 capture/PWM channel 1."
      },
      {
        "number": "28",
        "name": "P2.7",
        "type": "bidirectional",
        "description": "Standard I/O port 2 bit 7, with alternate functions A15 address bus bit 15 and PWM2_2 PWM output channel 2 (high-impedance input after power-up, must be configured in software before use)."
      },
      {
        "number": "29",
        "name": "P0.0",
        "type": "bidirectional",
        "description": "Standard I/O port 0 bit 0, configurable as quasi-bidirectional/weak pull-up (default after reset), push-pull, high-impedance input or open-drain, with alternate functions AD0 address/data bus and RxD3 UART3 receive."
      },
      {
        "number": "30",
        "name": "P0.1",
        "type": "bidirectional",
        "description": "Standard I/O port 0 bit 1, configurable as quasi-bidirectional/weak pull-up (default after reset), push-pull, high-impedance input or open-drain, with alternate functions AD1 address/data bus and TxD3 UART3 transmit."
      },
      {
        "number": "31",
        "name": "P0.2",
        "type": "bidirectional",
        "description": "Standard I/O port 0 bit 2, configurable as quasi-bidirectional/weak pull-up (default after reset), push-pull, high-impedance input or open-drain, with alternate functions AD2 address/data bus and RxD4 UART4 receive."
      },
      {
        "number": "32",
        "name": "P0.3",
        "type": "bidirectional",
        "description": "Standard I/O port 0 bit 3, configurable as quasi-bidirectional/weak pull-up (default after reset), push-pull, high-impedance input or open-drain, with alternate functions AD3 address/data bus and TxD4 UART4 transmit."
      }
    ],
    "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 MPN suffix is -30I, but the datasheet's naming examples and series table show the -28 frequency ; Pin 28 (P2.7) is labelled PWM2_2 in the LQFP32 pin figure and pin table, whereas the LQFP44/PDIP40 t; The datasheet lists pin 8 (P1.7) and pin 7 (P1.6) as XTAL1/XTAL2 and says these pins cannot be used ",
          "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.0262,
        "at": "2026-10-17T22:52:58"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8609193203551780864",
        "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": "stc15w4k56s4-30i-lqfp32.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "be0e412f1c66fee70039b0e109e0cc7c823161dda97593718afa97569bc61ce3",
        "checked": "2026-10-17",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc15w4k56s4-30i-lqfp32-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "d6c682b5dd4cf18da80e9f352c454d721a7a4eb015f09005807eda44f81a4629",
        "checked": "2026-10-17",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STC Micro",
      "Package": "LQFP-32(7x7)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "32"
    },
    "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"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "cc8c299c891646e085df0552ec8e4fe9a1ed6286ffbcc1a3e26ab7f4810e35fa",
      "rows": [
        {
          "name": "Storage temperature",
          "symbol": "TST",
          "kind": "absolute_maximum",
          "unit": "°C",
          "min": -55,
          "typ": null,
          "max": 125,
          "conditions": "",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "Operating temperature (I)",
          "symbol": "TA",
          "kind": "absolute_maximum",
          "unit": "°C",
          "min": -40,
          "typ": null,
          "max": 85,
          "conditions": "",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "DC power supply (5V)",
          "symbol": "VDD - VSS",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 5.5,
          "conditions": "",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "DC power supply (3V)",
          "symbol": "VDD - VSS",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 3.6,
          "conditions": "",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "Voltage on any pin",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": null,
          "conditions": "",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "VDD Operating Voltage (5V MCU)",
          "symbol": "VDD",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 3.3,
          "typ": 5,
          "max": 5.5,
          "conditions": "",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "Power Down Current (5V MCU)",
          "symbol": "IPD",
          "kind": "electrical",
          "unit": "uA",
          "min": null,
          "typ": null,
          "max": 0.1,
          "conditions": "5V",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "Operating Current (5V MCU)",
          "symbol": "ICC",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 4,
          "max": 20,
          "conditions": "5V",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "Input Low (P0,P1,P2,P3) (5V MCU)",
          "symbol": "VIL1",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 0.8,
          "conditions": "5V",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "Input High (P0,P1,P2,P3) (5V MCU)",
          "symbol": "VIH1",
          "kind": "electrical",
          "unit": "V",
          "min": 2,
          "typ": null,
          "max": null,
          "conditions": "5V",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "Input High (RESET) (5V MCU)",
          "symbol": "VIH2",
          "kind": "electrical",
          "unit": "V",
          "min": 2.2,
          "typ": null,
          "max": null,
          "conditions": "5V",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "Sourcing Current for output high, Quasi-output (P0,P1,P2,P3) (5V MCU)",
          "symbol": "IOH1",
          "kind": "electrical",
          "unit": "uA",
          "min": 200,
          "typ": 270,
          "max": null,
          "conditions": "5V",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "Logic 0 input current (P0,P1,P2,P3) (5V MCU)",
          "symbol": "IIL",
          "kind": "electrical",
          "unit": "uA",
          "min": null,
          "typ": null,
          "max": 50,
          "conditions": "Vpin=0V",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "Logic 1 to 0 transition current (P0,P1,P2,P3) (5V MCU)",
          "symbol": "ITL",
          "kind": "electrical",
          "unit": "uA",
          "min": 100,
          "typ": 270,
          "max": 600,
          "conditions": "Vpin=2.0V",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "VDD Operating Voltage (3V MCU)",
          "symbol": "VDD",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 2.4,
          "typ": 3.3,
          "max": 3.6,
          "conditions": "",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "Power Down Current (3V MCU)",
          "symbol": "IPD",
          "kind": "electrical",
          "unit": "uA",
          "min": null,
          "typ": null,
          "max": 0.1,
          "conditions": "3.3V",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "Operating Current (3V MCU)",
          "symbol": "ICC",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 4,
          "max": 10,
          "conditions": "3.3V",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "Input Low (P0,P1,P2,P3) (3V MCU)",
          "symbol": "VIL1",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 0.8,
          "conditions": "3.3V",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "Input High (P0,P1,P2,P3) (3V MCU)",
          "symbol": "VIH1",
          "kind": "electrical",
          "unit": "V",
          "min": 2,
          "typ": null,
          "max": null,
          "conditions": "3.3V",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "Input High (RESET) (3V MCU)",
          "symbol": "VIH2",
          "kind": "electrical",
          "unit": "V",
          "min": 2.2,
          "typ": null,
          "max": null,
          "conditions": "3.3V",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "Sourcing Current for output high, Quasi-output (P0,P1,P2,P3) (3V MCU)",
          "symbol": "IOH1",
          "kind": "electrical",
          "unit": "uA",
          "min": 140,
          "typ": 170,
          "max": null,
          "conditions": "3.3V",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "Logic 0 input current (P0,P1,P2,P3) (3V MCU)",
          "symbol": "IIL",
          "kind": "electrical",
          "unit": "uA",
          "min": null,
          "typ": 8,
          "max": 50,
          "conditions": "Vpin=0V",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "Logic 1 to 0 transition current (P0,P1,P2,P3) (3V MCU)",
          "symbol": "ITL",
          "kind": "electrical",
          "unit": "uA",
          "min": null,
          "typ": 110,
          "max": 600,
          "conditions": "Vpin=2.0V",
          "source_page": 1184,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stc15w4k56s4-30i-lqfp32"
  ],
  "discovery_pitch": "STC15W4K56S4-30I-LQFP32 (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",
    "stc15w4k56s4-30i-lqfp32.kicad_sym",
    "stc15w4k56s4-30i-lqfp32.kicad_mod",
    "stc15w4k56s4-30i-lqfp32.glb",
    "stc15w4k56s4-30i-lqfp32.step",
    "stc15w4k56s4-30i-lqfp32.lbr",
    "docs/hero.png",
    "docs/stc15w4k56s4-30i-lqfp32-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc15w4k56s4-30i-lqfp32-hero.glb",
    "stc15w4k56s4-30i-lqfp32-hero.overlay.json",
    "stc15w4k56s4-30i-lqfp32-etched.glb"
  ],
  "visibility": {
    "public": true
  }
}