main
Ray Publish 0.1.0 fc543e3 9d ago
{
  "slug": "stc15f2k60s2-28i-lqfp32",
  "version": "0.1.0",
  "type": "component",
  "description": "STC Micro Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stc15f2k60s2-28i-lqfp32",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stc15f2k60s2-28i-lqfp32.kicad_sym",
    "stc15f2k60s2-28i-lqfp32.kicad_mod",
    "stc15f2k60s2-28i-lqfp32.glb",
    "stc15f2k60s2-28i-lqfp32.step",
    "stc15f2k60s2-28i-lqfp32.lbr",
    "docs/hero.png",
    "docs/stc15f2k60s2-28i-lqfp32-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc15f2k60s2-28i-lqfp32-hero.glb",
    "stc15f2k60s2-28i-lqfp32-hero.overlay.json",
    "stc15f2k60s2-28i-lqfp32-etched.glb"
  ],
  "component": {
    "mpn": "STC15F2K60S2-28I-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/8586175768456007680",
    "parts": {
      "symbol": "stc15f2k60s2-28i-lqfp32.kicad_sym",
      "footprint": "stc15f2k60s2-28i-lqfp32.kicad_mod",
      "model_3d": "stc15f2k60s2-28i-lqfp32-hero.glb",
      "model_3d_plain": "stc15f2k60s2-28i-lqfp32-etched.glb",
      "model_3d_step": "stc15f2k60s2-28i-lqfp32-etched.step",
      "model_3d_step_plain": "stc15f2k60s2-28i-lqfp32.step",
      "lbr": "stc15f2k60s2-28i-lqfp32.lbr"
    },
    "distributor_links": {
      "lcsc": "C34501"
    },
    "distributor_check": {
      "checked_at": "2026-10-18T00:56:10Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "P1.0/ADC0/CCP1/RxD2",
        "type": "bidirectional",
        "description": "Standard quasi-bidirectional I/O (P1.0) that can also serve as ADC channel 0, CCP1 capture/PWM output, or UART2 receive; each I/O drives up to 20mA and the whole chip must not exceed 90mA for this 32-pin package."
      },
      {
        "number": "2",
        "name": "P1.1/ADC1/CCP0/TxD2",
        "type": "bidirectional",
        "description": "Standard I/O (P1.1) that can also serve as ADC channel 1, CCP0 capture/PWM output, or UART2 transmit; each I/O drives up to 20mA and the whole chip must not exceed 90mA."
      },
      {
        "number": "3",
        "name": "P1.2/ADC2/SS/ECI",
        "type": "bidirectional",
        "description": "Standard I/O (P1.2) that can also serve as ADC channel 2, the SPI slave select input, or the CCP/PCA external counter input ECI; each I/O drives up to 20mA."
      },
      {
        "number": "4",
        "name": "P1.3/ADC3/MOSI",
        "type": "bidirectional",
        "description": "Standard I/O (P1.3) that can also serve as ADC channel 3 or the SPI master-out/slave-in line; each I/O drives up to 20mA."
      },
      {
        "number": "5",
        "name": "P1.4/ADC4/MISO",
        "type": "bidirectional",
        "description": "Standard I/O (P1.4) that can also serve as ADC channel 4 or the SPI master-in/slave-out line; each I/O drives up to 20mA."
      },
      {
        "number": "6",
        "name": "P1.5/ADC5/SCLK",
        "type": "bidirectional",
        "description": "Standard I/O (P1.5) that can also serve as ADC channel 5 or the SPI serial clock; each I/O drives up to 20mA."
      },
      {
        "number": "7",
        "name": "P1.6/ADC6/RxD_3/XTAL2",
        "type": "bidirectional",
        "description": "Standard I/O (P1.6) that can also serve as ADC channel 6, UART1 alternate receive (RxD_3), or the XTAL2 crystal output; when a external clock source is used this pin may be left floating."
      },
      {
        "number": "8",
        "name": "P1.7/ADC7/TxD_3/XTAL1",
        "type": "bidirectional",
        "description": "Standard I/O (P1.7) that can also serve as ADC channel 7, UART1 alternate transmit (TxD_3), or the XTAL1 crystal/clock input; when an external clock source is used this pin is its input."
      },
      {
        "number": "9",
        "name": "P5.4/RST/MCLKO",
        "type": "bidirectional",
        "description": "Standard I/O (P5.4) that is I/O by default but can be set via STC-ISP as the active-high reset input RST, or as the MCLKO master clock output (MCLK/1, /2 or /4)."
      },
      {
        "number": "10",
        "name": "Vcc",
        "type": "power_in",
        "description": "Positive supply pin; the datasheet gives an operating range of 5.5V to 4.5V for the F-series (5V) part."
      },
      {
        "number": "11",
        "name": "P5.5",
        "type": "bidirectional",
        "description": "Standard I/O (P5.5) with no alternate function on this package, usable as a general-purpose port pin."
      },
      {
        "number": "12",
        "name": "Gnd",
        "type": "power_in",
        "description": "Ground / negative supply pin."
      },
      {
        "number": "13",
        "name": "P3.0/RxD/INT4/T2CLKO",
        "type": "bidirectional",
        "description": "Standard I/O (P3.0) that can also serve as UART1 receive (RxD), external interrupt INT4 (falling edge only, supports power-down wake-up), or the T2 clock output T2CLKO."
      },
      {
        "number": "14",
        "name": "P3.1/TxD/T2",
        "type": "bidirectional",
        "description": "Standard I/O (P3.1) that can also serve as UART1 transmit (TxD) or the external input of Timer/Counter 2 (T2)."
      },
      {
        "number": "15",
        "name": "P3.2/INT0",
        "type": "bidirectional",
        "description": "Standard I/O (P3.2) that can also serve as external interrupt 0; INT0 can trigger on rising or falling edge (falling only if IT0 is set) and supports power-down wake-up."
      },
      {
        "number": "16",
        "name": "P3.3/INT1",
        "type": "bidirectional",
        "description": "Standard I/O (P3.3) that can also serve as external interrupt 1; INT1 can trigger on rising or falling edge (falling only if IT1 is set) and supports power-down wake-up."
      },
      {
        "number": "17",
        "name": "P3.4/T0/T1CLKO/ECI_2",
        "type": "bidirectional",
        "description": "Standard I/O (P3.4) that can also serve as the external input of Timer 0 (T0), the Timer 1 clock output T1CLKO, or the CCP/PCA external counter input ECI_2."
      },
      {
        "number": "18",
        "name": "P3.5/T1/T0CLKO/CCP0_2",
        "type": "bidirectional",
        "description": "Standard I/O (P3.5) that can also serve as the external input of Timer 1 (T1), the Timer 0 clock output T0CLKO, or CCP0 capture/PWM output on alternate pin CCP0_2."
      },
      {
        "number": "19",
        "name": "P3.6/INT2/RxD_2/CCP1_2",
        "type": "bidirectional",
        "description": "Standard I/O (P3.6) that can also serve as external interrupt INT2 (falling edge only, supports power-down wake-up), UART1 alternate receive RxD_2, or CCP1 on alternate pin CCP1_2."
      },
      {
        "number": "20",
        "name": "P3.7/INT3/TxD_2/CCP2/CCP2_2",
        "type": "bidirectional",
        "description": "Standard I/O (P3.7) that can also serve as external interrupt INT3 (falling edge only, supports power-down wake-up), UART1 alternate transmit TxD_2, or CCP2 on pins CCP2/CCP2_2."
      },
      {
        "number": "21",
        "name": "P2.0/A8/RSTOUT_LOW",
        "type": "bidirectional",
        "description": "Standard I/O (P2.0) that can also serve as address bus bit A8 or the RSTOUT_LOW output, which is driven low after power-on and during reset."
      },
      {
        "number": "22",
        "name": "P2.1/A9/SCLK_2",
        "type": "bidirectional",
        "description": "Standard I/O (P2.1) that can also serve as address bus bit A9 or the SPI clock on alternate pin SCLK_2."
      },
      {
        "number": "23",
        "name": "P2.2/A10/MISO_2",
        "type": "bidirectional",
        "description": "Standard I/O (P2.2) that can also serve as address bus bit A10 or the SPI master-in/slave-out on alternate pin MISO_2."
      },
      {
        "number": "24",
        "name": "P2.3/A11/MOSI_2",
        "type": "bidirectional",
        "description": "Standard I/O (P2.3) that can also serve as address bus bit A11 or the SPI master-out/slave-in on alternate pin MOSI_2."
      },
      {
        "number": "25",
        "name": "P2.4/A12/ECI_3/SS_2",
        "type": "bidirectional",
        "description": "Standard I/O (P2.4) that can also serve as address bus bit A12, the CCP/PCA external counter input ECI_3, or the SPI slave select on alternate pin SS_2."
      },
      {
        "number": "26",
        "name": "P2.5/A13/CCP0_3",
        "type": "bidirectional",
        "description": "Standard I/O (P2.5) that can also serve as address bus bit A13 or CCP0 capture/PWM output on alternate pin CCP0_3."
      },
      {
        "number": "27",
        "name": "P2.6/A14/CCP1_3",
        "type": "bidirectional",
        "description": "Standard I/O (P2.6) that can also serve as address bus bit A14 or CCP1 capture/PWM output on alternate pin CCP1_3."
      },
      {
        "number": "28",
        "name": "P2.7/A15/CCP2_3",
        "type": "bidirectional",
        "description": "Standard I/O (P2.7) that can also serve as address bus bit A15 or CCP2 capture/PWM output on alternate pin CCP2_3."
      },
      {
        "number": "29",
        "name": "P0.0/AD0",
        "type": "bidirectional",
        "description": "Port 0 bit 0 that operates as a standard I/O or as the multiplexed low address/data bus bit AD0 when external bus access is used; not an ADC input."
      },
      {
        "number": "30",
        "name": "P0.1/AD1",
        "type": "bidirectional",
        "description": "Port 0 bit 1 that operates as a standard I/O or as the multiplexed low address/data bus bit AD1 when external bus access is used; not an ADC input."
      },
      {
        "number": "31",
        "name": "P0.2/AD2",
        "type": "bidirectional",
        "description": "Port 0 bit 2 that operates as a standard I/O or as the multiplexed low address/data bus bit AD2 when external bus access is used; not an ADC input."
      },
      {
        "number": "32",
        "name": "P0.3/AD3",
        "type": "bidirectional",
        "description": "Port 0 bit 3 that operates as a standard I/O or as the multiplexed low address/data bus bit AD3 when external bus access is used; not an ADC input."
      }
    ],
    "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 LQFP32 page-30 figure text is garbled; pin numbers were assigned by cross-checking the pin-numbe; The datasheet gives no LQFP32 pin-type classification; all port pins are typed bidirectional and XTA; The schema has no field for headline electrical specs (supply range 5.5V-4.5V, max 28MHz, -40 to +85"
        ],
        "pages_sent": 125,
        "cost_usd": 1.1074,
        "at": "2026-10-18T00:54:08"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8586175768456007680",
        "pages": 1473,
        "sha256": "c1fab41b0006cc18",
        "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": "stc15f2k60s2-28i-lqfp32.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "be0e412f1c66fee70039b0e109e0cc7c823161dda97593718afa97569bc61ce3",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc15f2k60s2-28i-lqfp32-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "81c68e9e56ccd8ed51074c5535593faddcdc57c5729394f5ae72d9de7a0c285e",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}