main
Ray Set visibility: public d318c67
{
  "schema_version": 1,
  "type": "component",
  "slug": "stc15w4k32s4-30i-lqfp32",
  "title": "STC15W4K32S4-30I-LQFP32",
  "brief": "STC Micro Microcontroller Units (MCUs/MPUs/SOCs), 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",
    "stc15w4k32s4-30i-lqfp32",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STC15W4K32S4-30I-LQFP32",
    "manufacturer": "STC Micro",
    "package": "LQFP-32(7x7)",
    "pin_count": 32,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/caa5a792ca87f52d47a7cc948ca9d105.pdf",
    "parts": {
      "symbol": "stc15w4k32s4-30i-lqfp32.kicad_sym",
      "footprint": "stc15w4k32s4-30i-lqfp32.kicad_mod",
      "model_3d": "stc15w4k32s4-30i-lqfp32-hero.glb",
      "model_3d_plain": "stc15w4k32s4-30i-lqfp32.glb",
      "model_3d_step": "stc15w4k32s4-30i-lqfp32-etched.step",
      "model_3d_step_plain": "stc15w4k32s4-30i-lqfp32.step",
      "lbr": "stc15w4k32s4-30i-lqfp32.lbr"
    },
    "distributor_links": {
      "lcsc": "C188811"
    },
    "distributor_check": {
      "checked_at": "2026-11-17T07:19:30Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "P1.0/RxD2/CCP1/ADC0",
        "type": "bidirectional",
        "description": "Standard quasi-bidirectional I/O (PORT1[0]) that can also serve as ADC input channel 0, CCP1 capture/PWM output, or UART2 receive (RxD2); the port drives up to 20 mA and the whole chip must not exceed 90 mA for 32-pin packages."
      },
      {
        "number": "2",
        "name": "P1.1/TxD2/CCP0/ADC1",
        "type": "bidirectional",
        "description": "Standard quasi-bidirectional I/O (PORT1[1]) that can also serve as ADC input channel 1, CCP0 capture/PWM output, or UART2 transmit (TxD2); the port drives up to 20 mA."
      },
      {
        "number": "3",
        "name": "P1.2/CMPO/ECI/SS/ADC2",
        "type": "bidirectional",
        "description": "Standard I/O (PORT1[2]) that can also serve as ADC input channel 2, SPI slave select SS, CCP/PCA external counter input ECI, or comparator output CMPO."
      },
      {
        "number": "4",
        "name": "P1.3/ADC3/MOSI",
        "type": "bidirectional",
        "description": "Standard I/O (PORT1[3]) that can also serve as ADC input channel 3 or SPI master-out/slave-in MOSI."
      },
      {
        "number": "5",
        "name": "P1.4/MISO/ADC4",
        "type": "bidirectional",
        "description": "Standard I/O (PORT1[4]) that can also serve as ADC input channel 4 or SPI master-in/slave-out MISO."
      },
      {
        "number": "6",
        "name": "P1.5/SCLK/ADC5",
        "type": "bidirectional",
        "description": "Standard I/O (PORT1[5]) that can also serve as ADC input channel 5 or SPI serial clock SCLK."
      },
      {
        "number": "7",
        "name": "P1.6/PWM6/SysClkO_2/XTAL2/RxD_3/ADC6",
        "type": "bidirectional",
        "description": "Standard I/O (PORT1[6]) that can also serve as ADC input channel 6, UART1 receive (RxD_3), system clock output SysClkO_2, crystal amplifier output XTAL2, or PWM6; PWM6 pins default to high-impedance input after power-on and must be set to another mode before use, and must not be high-impedance in power-down mode."
      },
      {
        "number": "8",
        "name": "P1.7/PWM7/XTAL1/TxD_3/ADC7",
        "type": "bidirectional",
        "description": "Standard I/O (PORT1[7]) that can also serve as ADC input channel 7, UART1 transmit (TxD_3), crystal amplifier input XTAL1 (external clock input when no crystal is used), or PWM7; PWM7 pins default to high-impedance input after power-on and must be set to another mode before use."
      },
      {
        "number": "9",
        "name": "P5.4/RST/SysClkO/SS_3/CMP-",
        "type": "bidirectional",
        "description": "Standard I/O (PORT5[4]) that can also serve as the active-high reset input RST, system clock output SysClkO (SysClk/1, /2, /4 or /16), SPI slave select SS_3, or comparator negative input CMP- (must be set to high-impedance input when used as CMP-)."
      },
      {
        "number": "10",
        "name": "Vcc",
        "type": "power_in",
        "description": "Positive power supply; the series operates from 2.5 V to 5.5 V."
      },
      {
        "number": "11",
        "name": "P5.5/CMP+",
        "type": "bidirectional",
        "description": "Standard I/O (PORT5[5]) that can also serve 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 ground."
      },
      {
        "number": "13",
        "name": "P3.0/RxD/INT4/T2CLKO",
        "type": "bidirectional",
        "description": "Standard I/O (PORT3[0]) that can also serve as UART1 receive (RxD), external interrupt INT4 (falling edge only, can wake power-down mode), or T2 clock output T2CLKO."
      },
      {
        "number": "14",
        "name": "P3.1/TxD/T2",
        "type": "bidirectional",
        "description": "Standard I/O (PORT3[1]) that can also serve as UART1 transmit (TxD) or external input of Timer/Counter 2 (T2)."
      },
      {
        "number": "15",
        "name": "P3.2/INT0",
        "type": "bidirectional",
        "description": "Standard I/O (PORT3[2]) that can also serve as external interrupt 0; it is rising- or falling-edge triggered depending on IT0 and can wake power-down mode."
      },
      {
        "number": "16",
        "name": "P3.3/INT1",
        "type": "bidirectional",
        "description": "Standard I/O (PORT3[3]) that can also serve as external interrupt 1; it is rising- or falling-edge triggered depending on IT1 and can wake power-down mode."
      },
      {
        "number": "17",
        "name": "P3.4/T0/T1CLKO/ECI_2",
        "type": "bidirectional",
        "description": "Standard I/O (PORT3[4]) that can also serve as external input of Timer/Counter 0 (T0), Timer 1 clock output T1CLKO, or CCP/PCA external counter input ECI_2."
      },
      {
        "number": "18",
        "name": "P3.5/T1/T0CLKO/CCP0_2",
        "type": "bidirectional",
        "description": "Standard I/O (PORT3[5]) that can also serve as external input of Timer/Counter 1 (T1), Timer 0 clock output T0CLKO, or CCP0 channel CCP0_2."
      },
      {
        "number": "19",
        "name": "P3.6/INT2/RxD_2/CCP1_2",
        "type": "bidirectional",
        "description": "Standard I/O (PORT3[6]) that can also serve as external interrupt INT2 (falling edge only, can wake power-down mode), UART receive RxD_2, or CCP1_2."
      },
      {
        "number": "20",
        "name": "P3.7/INT3/TxD_2/PWM2",
        "type": "bidirectional",
        "description": "Standard I/O (PORT3[7]) that can also serve as external interrupt INT3 (falling edge only, can wake power-down mode), UART transmit TxD_2, or PWM2; the PWM2 pin defaults to high-impedance input after power-on and must be set to another mode before use."
      },
      {
        "number": "21",
        "name": "P2.0/A8/RSTOUT_LOW",
        "type": "bidirectional",
        "description": "Standard I/O (PORT2[0]) that can also serve as address bus bit A8 or 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/A9/SCLK_2/PWM3",
        "type": "bidirectional",
        "description": "Standard I/O (PORT2[1]) that can also serve as address bus bit A9, SPI clock SCLK_2, or PWM3; the PWM3 pin defaults to high-impedance input after power-on and must be set to another mode before use."
      },
      {
        "number": "23",
        "name": "P2.2/A10/MISO_2/PWM4",
        "type": "bidirectional",
        "description": "Standard I/O (PORT2[2]) that can also serve as address bus bit A10, SPI master-in/slave-out MISO_2, or PWM4; the PWM4 pin defaults to high-impedance input after power-on and must be set to another mode before use."
      },
      {
        "number": "24",
        "name": "P2.3/A11/MOSI_2/PWM5",
        "type": "bidirectional",
        "description": "Standard I/O (PORT2[3]) that can also serve as address bus bit A11, SPI master-out/slave-in MOSI_2, or PWM5; the PWM5 pin defaults to high-impedance input after power-on and must be set to another mode before use."
      },
      {
        "number": "25",
        "name": "P2.4/A12/ECI_3/SS_2/PWMFLT",
        "type": "bidirectional",
        "description": "Standard I/O (PORT2[4]) that can also serve as address bus bit A12, CCP/PCA external counter input ECI_3, SPI slave select SS_2, or PWM fault-stop control input PWMFLT."
      },
      {
        "number": "26",
        "name": "P2.5/A13/CCP0_3",
        "type": "bidirectional",
        "description": "Standard I/O (PORT2[5]) that can also serve as address bus bit A13 or CCP0 channel CCP0_3 (capture, high-speed output and PWM)."
      },
      {
        "number": "27",
        "name": "P2.6/A14/CCP1_3",
        "type": "bidirectional",
        "description": "Standard I/O (PORT2[6]) that can also serve as address bus bit A14 or CCP1 channel CCP1_3 (capture, high-speed output and PWM)."
      },
      {
        "number": "28",
        "name": "P2.7/A15/PWM2_2",
        "type": "bidirectional",
        "description": "Standard I/O (PORT2[7]) that can also serve as address bus bit A15 or PWM2 channel PWM2_2; the pin defaults to high-impedance input after power-on and must be set to another mode before use."
      },
      {
        "number": "29",
        "name": "P0.0/AD0/RxD3",
        "type": "bidirectional",
        "description": "Standard I/O (PORT0[0]) that can also serve as address/data bus bit AD0 or UART3 receive (RxD3)."
      },
      {
        "number": "30",
        "name": "P0.1/AD1/TxD3",
        "type": "bidirectional",
        "description": "Standard I/O (PORT0[1]) that can also serve as address/data bus bit AD1 or UART3 transmit (TxD3)."
      },
      {
        "number": "31",
        "name": "P0.2/AD2/RxD4",
        "type": "bidirectional",
        "description": "Standard I/O (PORT0[2]) that can also serve as address/data bus bit AD2 or UART4 receive (RxD4)."
      },
      {
        "number": "32",
        "name": "P0.3/AD3/TxD4",
        "type": "bidirectional",
        "description": "Standard I/O (PORT0[3]) that can also serve as address/data bus bit AD3 or 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: Pin 9 is named P5.4/RST in the datasheet; the reset function is active-high (RST) and the pin is als; Multi-function pins are listed with the GPIO name first, as printed in the LQFP32 pinout figure. Alt; Pin 28 is printed as PWM2_2 in the LQFP32 pinout figure; the pin description table row for P2.7 is c",
          "2/32 pins cited to the wrong page (name found elsewhere): ['10:Vcc@p91', '12:Gnd@p91']"
        ],
        "pages_sent": 169,
        "cost_usd": 1.0307,
        "at": "2026-11-17T07:19:19"
      },
      "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": 32,
        "described": 32,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stc15w4k32s4-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-11-17",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc15w4k32s4-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": "f642b1319f05d383e9a56ccb6d777e0f309bab5a88311f3c311a9964aa3bad60",
        "checked": "2026-11-17",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "LQFP32",
      "source_page": 197,
      "D": {
        "nom_mm": 7,
        "range_mm": [
          6.9,
          7.1
        ]
      },
      "E1": {
        "nom_mm": 7,
        "range_mm": [
          6.9,
          7.1
        ]
      },
      "E": {
        "nom_mm": 9,
        "range_mm": [
          8.8,
          9.2
        ]
      },
      "e": {
        "nom_mm": 0.8,
        "range_mm": [
          null,
          null
        ]
      },
      "A": {
        "nom_mm": 1.55,
        "range_mm": [
          1.45,
          1.65
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "stc15w4k32s4-30i-lqfp32.step",
        "verdict": "PASS",
        "reasons": [
          "height and body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  },
  "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": "℃",
          "min": -55,
          "typ": null,
          "max": 125,
          "conditions": "",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "Operating temperature (I)",
          "symbol": "TA",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -40,
          "typ": null,
          "max": 85,
          "conditions": "Grade (I), matches the -30I suffix",
          "source_page": 1184,
          "source": "datasheet"
        },
        {
          "name": "Voltage on any pin",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": null,
          "conditions": "Maximum printed as VCC + 0.3",
          "source_page": 1184,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stc15w4k32s4-30i-lqfp32"
  ],
  "discovery_pitch": "STC15W4K32S4-30I-LQFP32 (STC Micro) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stc15w4k32s4-30i-lqfp32.kicad_sym",
    "stc15w4k32s4-30i-lqfp32.kicad_mod",
    "stc15w4k32s4-30i-lqfp32.glb",
    "stc15w4k32s4-30i-lqfp32.step",
    "stc15w4k32s4-30i-lqfp32.lbr",
    "docs/hero.png",
    "docs/stc15w4k32s4-30i-lqfp32-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc15w4k32s4-30i-lqfp32-hero.glb",
    "stc15w4k32s4-30i-lqfp32-hero.overlay.json"
  ],
  "visibility": {
    "public": true
  }
}