main
Ray Publish 0.1.2 65cf466
{
  "schema_version": 1,
  "type": "component",
  "slug": "stc15f2k48s2-28i-lqfp32",
  "title": "STC15F2K48S2-28I-LQFP32",
  "brief": "STC Micro Microcontroller Units (MCUs/MPUs/SOCs), LQFP-32(7x7). Pinout read twice from the datasheet and the two reads agreed, KiCad symbol/footprint/3D.",
  "version": "0.1.2",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stc15f2k48s2-28i-lqfp32",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STC15F2K48S2-28I-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/bb5a56860aed633c36087b2991865afe.pdf",
    "parts": {
      "symbol": "stc15f2k48s2-28i-lqfp32.kicad_sym",
      "footprint": "stc15f2k48s2-28i-lqfp32.kicad_mod",
      "model_3d": "stc15f2k48s2-28i-lqfp32-hero.glb",
      "model_3d_plain": "stc15f2k48s2-28i-lqfp32.glb",
      "model_3d_step": "stc15f2k48s2-28i-lqfp32-etched.step",
      "model_3d_step_plain": "stc15f2k48s2-28i-lqfp32.step",
      "lbr": "stc15f2k48s2-28i-lqfp32.lbr"
    },
    "distributor_links": {
      "lcsc": "C3013120"
    },
    "distributor_check": {
      "checked_at": "2026-11-07T00:54:40Z",
      "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": "Port 1 bit 0 general I/O that can also be ADC input channel 0, CCP1 capture/PWM channel 1, or UART2 receive (RxD2)."
      },
      {
        "number": "2",
        "name": "P1.1/ADC1/CCP0/TxD2",
        "type": "bidirectional",
        "description": "Port 1 bit 1 general I/O that can also be ADC input channel 1, CCP0 capture/PWM channel 0, or UART2 transmit (TxD2)."
      },
      {
        "number": "3",
        "name": "P1.2/ADC2/SS/ECI",
        "type": "bidirectional",
        "description": "Port 1 bit 2 general I/O that can also be ADC input channel 2, SPI slave select (SS), or the CCP/PCA counter external pulse input (ECI)."
      },
      {
        "number": "4",
        "name": "P1.3/ADC3/MOSI",
        "type": "bidirectional",
        "description": "Port 1 bit 3 general I/O that can also be ADC input channel 3 or SPI master-out slave-in (MOSI)."
      },
      {
        "number": "5",
        "name": "P1.4/ADC4/MISO",
        "type": "bidirectional",
        "description": "Port 1 bit 4 general I/O that can also be ADC input channel 4 or SPI master-in slave-out (MISO)."
      },
      {
        "number": "6",
        "name": "P1.5/ADC5/SCLK",
        "type": "bidirectional",
        "description": "Port 1 bit 5 general I/O that can also be ADC input channel 5 or the SPI clock (SCLK)."
      },
      {
        "number": "7",
        "name": "P1.6/ADC6/RxD_3/XTAL2",
        "type": "bidirectional",
        "description": "Port 1 bit 6 general I/O that can also be ADC input channel 6, UART1 receive (RxD_3), or the crystal oscillator inverter output XTAL2."
      },
      {
        "number": "8",
        "name": "P1.7/ADC7/TxD_3/XTAL1",
        "type": "bidirectional",
        "description": "Port 1 bit 7 general I/O that can also be ADC input channel 7, UART1 transmit (TxD_3), or the crystal oscillator/external clock input XTAL1."
      },
      {
        "number": "9",
        "name": "P5.4/RST/MCLKO",
        "type": "bidirectional",
        "description": "Port 5 bit 4 general I/O (default) that can be set via STC-ISP as the active-high reset pin RST or as main clock output MCLKO (MCLK/1, /2 or /4)."
      },
      {
        "number": "10",
        "name": "Vcc",
        "type": "power_in",
        "description": "Positive supply; the STC15F series operates from 5.5V to 4.5V."
      },
      {
        "number": "11",
        "name": "P5.5",
        "type": "bidirectional",
        "description": "Port 5 bit 5 standard general-purpose I/O."
      },
      {
        "number": "12",
        "name": "Gnd",
        "type": "power_in",
        "description": "Ground (negative supply)."
      },
      {
        "number": "13",
        "name": "P3.0/RxD/INT4/T2CLKO",
        "type": "bidirectional",
        "description": "Port 3 bit 0 general I/O that can also be UART1 receive (RxD), falling-edge external interrupt 4 (INT4, power-down wake-up capable), or Timer 2 clock output (T2CLKO)."
      },
      {
        "number": "14",
        "name": "P3.1/TxD/T2",
        "type": "bidirectional",
        "description": "Port 3 bit 1 general I/O that can also be UART1 transmit (TxD) or the Timer/Counter 2 external input (T2)."
      },
      {
        "number": "15",
        "name": "P3.2/INT0",
        "type": "bidirectional",
        "description": "Port 3 bit 2 general I/O that can also be external interrupt 0 (INT0), rising/falling edge or falling-only if IT0 is set, with power-down wake-up."
      },
      {
        "number": "16",
        "name": "P3.3/INT1",
        "type": "bidirectional",
        "description": "Port 3 bit 3 general I/O that can also be external interrupt 1 (INT1), rising/falling edge or falling-only if IT1 is set, with power-down wake-up."
      },
      {
        "number": "17",
        "name": "P3.4/T0/T1CLKO/ECI_2",
        "type": "bidirectional",
        "description": "Port 3 bit 4 general I/O that can also be the Timer/Counter 0 external input (T0), Timer 1 clock output (T1CLKO), or the CCP/PCA counter pulse input (ECI_2)."
      },
      {
        "number": "18",
        "name": "P3.5/T1/T0CLKO/CCP0_2",
        "type": "bidirectional",
        "description": "Port 3 bit 5 general I/O that can also be the Timer/Counter 1 external input (T1), Timer 0 clock output (T0CLKO), or CCP0_2 capture/PWM channel 0."
      },
      {
        "number": "19",
        "name": "P3.6/INT2/RxD_2/CCP1_2",
        "type": "bidirectional",
        "description": "Port 3 bit 6 general I/O that can also be falling-edge external interrupt 2 (INT2, power-down wake-up), UART1 receive (RxD_2), or CCP1_2 capture/PWM channel 1."
      },
      {
        "number": "20",
        "name": "P3.7/INT3/TxD_2/CCP2/CCP2_2",
        "type": "bidirectional",
        "description": "Port 3 bit 7 general I/O that can also be falling-edge external interrupt 3 (INT3, power-down wake-up), UART1 transmit (TxD_2), or CCP2/CCP2_2 capture/PWM channel 2."
      },
      {
        "number": "21",
        "name": "P2.0/A8/RSTOUT_LOW",
        "type": "bidirectional",
        "description": "Port 2 bit 0 general I/O that can also be address bit A8 or RSTOUT_LOW, which outputs low after power-up and during reset until software sets it high or low."
      },
      {
        "number": "22",
        "name": "P2.1/A9/SCLK_2",
        "type": "bidirectional",
        "description": "Port 2 bit 1 general I/O that can also be address bit A9 or the alternate SPI clock (SCLK_2)."
      },
      {
        "number": "23",
        "name": "P2.2/A10/MISO_2",
        "type": "bidirectional",
        "description": "Port 2 bit 2 general I/O that can also be address bit A10 or the alternate SPI master-in slave-out (MISO_2)."
      },
      {
        "number": "24",
        "name": "P2.3/A11/MOSI_2",
        "type": "bidirectional",
        "description": "Port 2 bit 3 general I/O that can also be address bit A11 or the alternate SPI master-out slave-in (MOSI_2)."
      },
      {
        "number": "25",
        "name": "P2.4/A12/ECI_3/SS_2",
        "type": "bidirectional",
        "description": "Port 2 bit 4 general I/O that can also be address bit A12, the CCP/PCA counter pulse input (ECI_3), or the alternate SPI slave select (SS_2)."
      },
      {
        "number": "26",
        "name": "P2.5/A13/CCP0_3",
        "type": "bidirectional",
        "description": "Port 2 bit 5 general I/O that can also be address bit A13 or CCP0_3 capture/PWM channel 0."
      },
      {
        "number": "27",
        "name": "P2.6/A14/CCP1_3",
        "type": "bidirectional",
        "description": "Port 2 bit 6 general I/O that can also be address bit A14 or CCP1_3 capture/PWM channel 1."
      },
      {
        "number": "28",
        "name": "P2.7/A15/CCP2_3",
        "type": "bidirectional",
        "description": "Port 2 bit 7 general I/O that can also be address bit A15 or CCP2_3 capture/PWM channel 2."
      },
      {
        "number": "29",
        "name": "P0.0/AD0",
        "type": "bidirectional",
        "description": "Port 0 bit 0 general I/O or multiplexed low address/data bus bit 0 (not an ADC channel)."
      },
      {
        "number": "30",
        "name": "P0.1/AD1",
        "type": "bidirectional",
        "description": "Port 0 bit 1 general I/O or multiplexed low address/data bus bit 1 (not an ADC channel)."
      },
      {
        "number": "31",
        "name": "P0.2/AD2",
        "type": "bidirectional",
        "description": "Port 0 bit 2 general I/O or multiplexed low address/data bus bit 2 (not an ADC channel)."
      },
      {
        "number": "32",
        "name": "P0.3/AD3",
        "type": "bidirectional",
        "description": "Port 0 bit 3 general I/O or multiplexed low address/data bus bit 3 (not an ADC channel)."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-sonnet-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The pin table lists P4.0/MOSI_3 and P4.1/MISO_3 with swapped descriptions, but neither pin is on LQF"
        ],
        "pages_sent": 125,
        "cost_usd": 1.0949,
        "at": "2026-11-07T00:54:30"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/bb5a56860aed633c36087b2991865afe.pdf",
        "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": "stc15f2k48s2-28i-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-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc15f2k48s2-28i-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": "db1cdeeb77ba60645c08063fb6c321783a3ad537a05c8a8880af0633e99e4b94",
        "checked": "2026-11-07",
        "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",
        "page": 524,
        "doc": "ds.pdf",
        "material": "PC"
      },
      "version": 1,
      "datasheet_sha256": "c1fab41b0006cc18d10db3d1dbb26608116a2b9fb709ad568d0f95f96dc073f9"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "c1fab41b0006cc18d10db3d1dbb26608116a2b9fb709ad568d0f95f96dc073f9",
      "rows": [
        {
          "name": "Storage temperature",
          "symbol": "TST",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -55,
          "typ": null,
          "max": 125,
          "conditions": "",
          "source_page": 1374,
          "source": "datasheet"
        },
        {
          "name": "Operating temperature (I)",
          "symbol": "TA",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -40,
          "typ": null,
          "max": 85,
          "conditions": "",
          "source_page": 1374,
          "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": 1374,
          "source": "datasheet"
        },
        {
          "name": "Voltage on any pin",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": null,
          "conditions": "",
          "source_page": 1374,
          "source": "datasheet"
        },
        {
          "name": "Operating Voltage (5V MCU)",
          "symbol": "VDD",
          "kind": "electrical",
          "unit": "V",
          "min": 3.3,
          "typ": 5,
          "max": 5.5,
          "conditions": "",
          "source_page": 1374,
          "source": "datasheet"
        },
        {
          "name": "Operating Current",
          "symbol": "ICC",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 4,
          "max": 20,
          "conditions": "5V",
          "source_page": 1374,
          "source": "datasheet"
        },
        {
          "name": "Input Low (P0,P1,P2,P3)",
          "symbol": "VIL1",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 0.8,
          "conditions": "5V",
          "source_page": 1374,
          "source": "datasheet"
        },
        {
          "name": "Input High (P0,P1,P2,P3)",
          "symbol": "VIH1",
          "kind": "electrical",
          "unit": "V",
          "min": 2,
          "typ": null,
          "max": null,
          "conditions": "5V",
          "source_page": 1374,
          "source": "datasheet"
        },
        {
          "name": "Input High (RESET)",
          "symbol": "VIH2",
          "kind": "electrical",
          "unit": "V",
          "min": 2.2,
          "typ": null,
          "max": null,
          "conditions": "5V",
          "source_page": 1374,
          "source": "datasheet"
        },
        {
          "name": "Sourcing Current for output high (P0,P1,P2,P3) (Quasi-output)",
          "symbol": "IOH1",
          "kind": "electrical",
          "unit": "uA",
          "min": 200,
          "typ": 270,
          "max": null,
          "conditions": "5V",
          "source_page": 1374,
          "source": "datasheet"
        },
        {
          "name": "Logic 0 input current (P0,P1,P2,P3)",
          "symbol": "IIL",
          "kind": "electrical",
          "unit": "uA",
          "min": null,
          "typ": null,
          "max": 50,
          "conditions": "Vpin=0V",
          "source_page": 1374,
          "source": "datasheet"
        },
        {
          "name": "Logic 1 to 0 transition current (P0,P1,P2,P3)",
          "symbol": "ITL",
          "kind": "electrical",
          "unit": "uA",
          "min": 100,
          "typ": 270,
          "max": 600,
          "conditions": "Vpin=2.0V",
          "source_page": 1374,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stc15f2k48s2-28i-lqfp32"
  ],
  "discovery_pitch": "STC15F2K48S2-28I-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",
    "stc15f2k48s2-28i-lqfp32.kicad_sym",
    "stc15f2k48s2-28i-lqfp32.kicad_mod",
    "stc15f2k48s2-28i-lqfp32.glb",
    "stc15f2k48s2-28i-lqfp32.step",
    "stc15f2k48s2-28i-lqfp32.lbr",
    "docs/hero.png",
    "docs/stc15f2k48s2-28i-lqfp32-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc15f2k48s2-28i-lqfp32-hero.glb",
    "stc15f2k48s2-28i-lqfp32-hero.overlay.json",
    "stc15f2k48s2-28i-lqfp32-etched.glb",
    "stc15f2k48s2-28i-lqfp32-etched.step"
  ],
  "visibility": "public",
  "description": "STC Micro Microcontroller Units (MCUs/MPUs/SOCs), LQFP-32(7x7). Pinout read twice from the datasheet and the two reads agreed, KiCad symbol/footprint/3D.",
  "org": "adom"
}