main
Ray Publish 0.1.0 1d5da72
{
  "slug": "stc15f2k48s2-28i-lqfp44",
  "version": "0.1.0",
  "type": "component",
  "description": "STC Micro Microcontroller Units (MCUs/MPUs/SOCs), LQFP-44(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stc15f2k48s2-28i-lqfp44",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stc15f2k48s2-28i-lqfp44.kicad_sym",
    "stc15f2k48s2-28i-lqfp44.kicad_mod",
    "stc15f2k48s2-28i-lqfp44.glb",
    "stc15f2k48s2-28i-lqfp44.step",
    "stc15f2k48s2-28i-lqfp44.lbr",
    "docs/hero.png",
    "docs/stc15f2k48s2-28i-lqfp44-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc15f2k48s2-28i-lqfp44-hero.glb",
    "stc15f2k48s2-28i-lqfp44-hero.overlay.json"
  ],
  "component": {
    "mpn": "STC15F2K48S2-28I-LQFP44",
    "manufacturer": "STC Micro",
    "package": "LQFP-44(10x10)",
    "pin_count": 44,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/3a3802f9478365c87106d7a5e7d6b11b.pdf",
    "parts": {
      "symbol": "stc15f2k48s2-28i-lqfp44.kicad_sym",
      "footprint": "stc15f2k48s2-28i-lqfp44.kicad_mod",
      "model_3d": "stc15f2k48s2-28i-lqfp44-hero.glb",
      "model_3d_plain": "stc15f2k48s2-28i-lqfp44.glb",
      "model_3d_step": "stc15f2k48s2-28i-lqfp44-etched.step",
      "model_3d_step_plain": "stc15f2k48s2-28i-lqfp44.step",
      "lbr": "stc15f2k48s2-28i-lqfp44.lbr"
    },
    "distributor_links": {
      "lcsc": "C128222"
    },
    "distributor_check": {
      "checked_at": "2026-11-13T14:23:46Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "P0.5/AD5",
        "type": "bidirectional",
        "description": "Port 0 pin P0.5, quasi-bidirectional with weak pull-up after reset (configurable to push-pull, high-impedance input or open-drain), multiplexed as address/data bus line AD5."
      },
      {
        "number": "2",
        "name": "P0.6/AD6",
        "type": "bidirectional",
        "description": "Port 0 pin P0.6, quasi-bidirectional with weak pull-up after reset (configurable to push-pull, high-impedance input or open-drain), multiplexed as address/data bus line AD6."
      },
      {
        "number": "3",
        "name": "P0.7/AD7",
        "type": "bidirectional",
        "description": "Port 0 pin P0.7, quasi-bidirectional with weak pull-up after reset (configurable to push-pull, high-impedance input or open-drain), multiplexed as address/data bus line AD7."
      },
      {
        "number": "4",
        "name": "P1.0/ADC0/CCP1/RxD2",
        "type": "bidirectional",
        "description": "Port 1 pin P1.0, standard quasi-bidirectional I/O (20 mA per pin), also ADC input channel 0, CCP1 capture/PWM output, and UART2 receive (RxD2)."
      },
      {
        "number": "5",
        "name": "P1.1/ADC1/CCP0/TxD2",
        "type": "bidirectional",
        "description": "Port 1 pin P1.1, standard quasi-bidirectional I/O (20 mA per pin), also ADC input channel 1, CCP0 capture/PWM output, and UART2 transmit (TxD2)."
      },
      {
        "number": "6",
        "name": "P4.7/TxD2_2",
        "type": "bidirectional",
        "description": "Port 4 pin P4.7, standard I/O, alternate UART2 transmit pin (TxD2_2); per the datasheet, P4.7 needs a 3.3K pull-up and weak-pull-up/quasi-bidirectional mode when UART2 is switched here."
      },
      {
        "number": "7",
        "name": "P1.2/ADC2/SS/ECI",
        "type": "bidirectional",
        "description": "Port 1 pin P1.2, standard I/O, also ADC input channel 2, SPI slave select (SS), and CCP/PCA external count input (ECI)."
      },
      {
        "number": "8",
        "name": "P1.3/ADC3/MOSI",
        "type": "bidirectional",
        "description": "Port 1 pin P1.3, standard I/O, also ADC input channel 3 and SPI master-out/slave-in (MOSI)."
      },
      {
        "number": "9",
        "name": "P1.4/ADC4/MISO",
        "type": "bidirectional",
        "description": "Port 1 pin P1.4, standard I/O, also ADC input channel 4 and SPI master-in/slave-out (MISO)."
      },
      {
        "number": "10",
        "name": "P1.5/ADC5/SCLK",
        "type": "bidirectional",
        "description": "Port 1 pin P1.5, standard I/O, also ADC input channel 5 and SPI serial clock (SCLK)."
      },
      {
        "number": "11",
        "name": "P1.6/ADC6/RxD_3/XTAL2",
        "type": "bidirectional",
        "description": "Port 1 pin P1.6, standard I/O, also ADC input channel 6, UART1 alternate receive (RxD_3), and XTAL2 output of the internal oscillator amplifier (float when an external clock drives XTAL1)."
      },
      {
        "number": "12",
        "name": "P1.7/ADC7/TxD_3/XTAL1",
        "type": "bidirectional",
        "description": "Port 1 pin P1.7, standard I/O, also ADC input channel 7, UART1 alternate transmit (TxD_3), and XTAL1 input to the oscillator amplifier (external clock input when an external clock source is used)."
      },
      {
        "number": "13",
        "name": "P5.4/RST/MCLKO/SS_3",
        "type": "bidirectional",
        "description": "Port 5 pin P5.4, factory default I/O; can be set via STC-ISP as RST (high-level reset input) or used as main-clock output MCLKO (MCLK/1, /2, /4); the datasheet notes the MCLKO function on the C-version outputs only the internal R/C clock."
      },
      {
        "number": "14",
        "name": "Vcc",
        "type": "power_in",
        "description": "Positive power supply pin (5.5 V to 4.5 V for the 5 V STC15F2K60S2-series part; the datasheet lists 5.5-4.5 V for the F-version)."
      },
      {
        "number": "15",
        "name": "P5.5",
        "type": "bidirectional",
        "description": "Port 5 pin P5.5, standard I/O; also comparator positive input CMP+ when used as such, in which case it must be set to high-impedance input."
      },
      {
        "number": "16",
        "name": "Gnd",
        "type": "power_in",
        "description": "Ground (negative power supply) pin."
      },
      {
        "number": "17",
        "name": "P4.0/MOSI_3",
        "type": "bidirectional",
        "description": "Port 4 pin P4.0, standard I/O, alternate SPI master-out/slave-in pin (MOSI_3)."
      },
      {
        "number": "18",
        "name": "P3.0/RxD/INT4/T2CLKO",
        "type": "bidirectional",
        "description": "Port 3 pin P3.0, standard I/O, UART1 receive (RxD), external interrupt INT4 (falling edge only, supports power-down wake-up), and Timer 2 clock output (T2CLKO)."
      },
      {
        "number": "19",
        "name": "P3.1/TxD/T2",
        "type": "bidirectional",
        "description": "Port 3 pin P3.1, standard I/O, UART1 transmit (TxD) and external input of Timer/Counter 2 (T2)."
      },
      {
        "number": "20",
        "name": "P3.2/INT0",
        "type": "bidirectional",
        "description": "Port 3 pin P3.2, standard I/O, external interrupt INT0 (rising/falling edge selectable by IT0; supports power-down wake-up)."
      },
      {
        "number": "21",
        "name": "P3.3/INT1",
        "type": "bidirectional",
        "description": "Port 3 pin P3.3, standard I/O, external interrupt INT1 (rising/falling edge selectable by IT1; supports power-down wake-up)."
      },
      {
        "number": "22",
        "name": "P3.4/T0/T1CLKO/ECI_2",
        "type": "bidirectional",
        "description": "Port 3 pin P3.4, standard I/O, external input of Timer/Counter 0 (T0), Timer 1 clock output (T1CLKO), and CCP/PCA external count input ECI_2."
      },
      {
        "number": "23",
        "name": "P3.5/T1/T0CLKO/CCP0_2",
        "type": "bidirectional",
        "description": "Port 3 pin P3.5, standard I/O, external input of Timer/Counter 1 (T1), Timer 0 clock output (T0CLKO), and CCP0 alternate capture/PWM output (CCP0_2)."
      },
      {
        "number": "24",
        "name": "P3.6/INT2/RxD_2/CCP1_2",
        "type": "bidirectional",
        "description": "Port 3 pin P3.6, standard I/O, external interrupt INT2 (falling edge only, supports power-down wake-up), UART1 alternate receive (RxD_2), and CCP1 alternate capture/PWM output (CCP1_2)."
      },
      {
        "number": "25",
        "name": "P3.7/INT3/TxD_2/CCP2/CCP2_2",
        "type": "bidirectional",
        "description": "Port 3 pin P3.7, standard I/O, external interrupt INT3 (falling edge only, supports power-down wake-up), UART1 alternate transmit (TxD_2), and CCP2 capture/PWM output (CCP2/CCP2_2)."
      },
      {
        "number": "26",
        "name": "P4.1/MISO_3",
        "type": "bidirectional",
        "description": "Port 4 pin P4.1, standard I/O, alternate SPI master-in/slave-out pin (MISO_3)."
      },
      {
        "number": "27",
        "name": "P4.2/WR",
        "type": "bidirectional",
        "description": "Port 4 pin P4.2, standard I/O, external data memory write strobe (WR)."
      },
      {
        "number": "28",
        "name": "P4.3/SCLK_3",
        "type": "bidirectional",
        "description": "Port 4 pin P4.3, standard I/O, alternate SPI serial clock (SCLK_3)."
      },
      {
        "number": "29",
        "name": "P4.4/RD",
        "type": "bidirectional",
        "description": "Port 4 pin P4.4, standard I/O, external data memory read strobe (RD)."
      },
      {
        "number": "30",
        "name": "P2.0/A8/RSTOUT_LOW",
        "type": "bidirectional",
        "description": "Port 2 pin P2.0, standard I/O, address bus bit A8, and RSTOUT_LOW output (low after power-on and during reset)."
      },
      {
        "number": "31",
        "name": "P2.1/A9/SCLK_2",
        "type": "bidirectional",
        "description": "Port 2 pin P2.1, standard I/O, address bus bit A9, and alternate SPI clock (SCLK_2)."
      },
      {
        "number": "32",
        "name": "P2.2/A10/MISO_2",
        "type": "bidirectional",
        "description": "Port 2 pin P2.2, standard I/O, address bus bit A10, and alternate SPI master-in/slave-out (MISO_2)."
      },
      {
        "number": "33",
        "name": "P2.3/A11/MOSI_2",
        "type": "bidirectional",
        "description": "Port 2 pin P2.3, standard I/O, address bus bit A11, and alternate SPI master-out/slave-in (MOSI_2)."
      },
      {
        "number": "34",
        "name": "P2.4/A12/ECI_3/SS_2",
        "type": "bidirectional",
        "description": "Port 2 pin P2.4, standard I/O, address bus bit A12, alternate CCP/PCA external count input (ECI_3), and alternate SPI slave select (SS_2)."
      },
      {
        "number": "35",
        "name": "P2.5/A13/CCP0_3",
        "type": "bidirectional",
        "description": "Port 2 pin P2.5, standard I/O, address bus bit A13, and CCP0 alternate capture/PWM output (CCP0_3)."
      },
      {
        "number": "36",
        "name": "P2.6/A14/CCP1_3",
        "type": "bidirectional",
        "description": "Port 2 pin P2.6, standard I/O, address bus bit A14, and CCP1 alternate capture/PWM output (CCP1_3)."
      },
      {
        "number": "37",
        "name": "P2.7/A15/CCP2_3",
        "type": "bidirectional",
        "description": "Port 2 pin P2.7, standard I/O, address bus bit A15, and CCP2 alternate capture/PWM output (CCP2_3)."
      },
      {
        "number": "38",
        "name": "P4.5/ALE",
        "type": "bidirectional",
        "description": "Port 4 pin P4.5, standard I/O, and address latch enable output (ALE)."
      },
      {
        "number": "39",
        "name": "P4.6/RxD2_2",
        "type": "bidirectional",
        "description": "Port 4 pin P4.6, standard I/O, and alternate UART2 receive (RxD2_2)."
      },
      {
        "number": "40",
        "name": "P0.0/AD0",
        "type": "bidirectional",
        "description": "Port 0 pin P0.0, quasi-bidirectional with weak pull-up after reset (configurable to push-pull, high-impedance input or open-drain), multiplexed as address/data bus line AD0."
      },
      {
        "number": "41",
        "name": "P0.1/AD1",
        "type": "bidirectional",
        "description": "Port 0 pin P0.1, quasi-bidirectional with weak pull-up after reset (configurable to push-pull, high-impedance input or open-drain), multiplexed as address/data bus line AD1."
      },
      {
        "number": "42",
        "name": "P0.2/AD2",
        "type": "bidirectional",
        "description": "Port 0 pin P0.2, quasi-bidirectional with weak pull-up after reset (configurable to push-pull, high-impedance input or open-drain), multiplexed as address/data bus line AD2."
      },
      {
        "number": "43",
        "name": "P0.3/AD3",
        "type": "bidirectional",
        "description": "Port 0 pin P0.3, quasi-bidirectional with weak pull-up after reset (configurable to push-pull, high-impedance input or open-drain), multiplexed as address/data bus line AD3."
      },
      {
        "number": "44",
        "name": "P0.4/AD4",
        "type": "bidirectional",
        "description": "Port 0 pin P0.4, quasi-bidirectional with weak pull-up after reset (configurable to push-pull, high-impedance input or open-drain), multiplexed as address/data bus line AD4."
      }
    ],
    "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: MPN STC15F2K48S2-28I-LQFP44 is not itself listed in the supplied text; the pin table covers the STC1; Pin 2 is printed as 'P0.6/AD5' in the pin-table row, while the pin diagram and other rows show P0.6/; Pin 13 (P5.4/RST/MCLKO) and pin 15 (P5.5) type assigned as bidirectional because these are port pins"
        ],
        "pages_sent": 125,
        "cost_usd": 1.1012,
        "at": "2026-11-13T14:23:33"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/3a3802f9478365c87106d7a5e7d6b11b.pdf",
        "pages": 1473,
        "sha256": "8cc33c8ee7256eeb",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 44,
        "described": 44,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stc15f2k48s2-28i-lqfp44.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12.0,
          12.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "81aae6270b5c742bed79a8a35e9adf7fbed97c42e341e6b25ab20c1783b93b5d",
        "checked": "2026-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc15f2k48s2-28i-lqfp44-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12.0,
          12.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "b2ffa0bd50819aaa763c411d9a48579225939b504c113a0376db6da8ac68b4cc",
        "checked": "2026-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "LQFP44",
      "source_page": 247,
      "D": {
        "nom_mm": 10.0,
        "range_mm": [
          null,
          null
        ]
      },
      "E1": {
        "nom_mm": 10.0,
        "range_mm": [
          null,
          null
        ]
      },
      "E": {
        "nom_mm": 12.0,
        "range_mm": [
          null,
          null
        ]
      },
      "e": {
        "nom_mm": 0.8,
        "range_mm": [
          null,
          null
        ]
      },
      "A": {
        "nom_mm": 1.6,
        "range_mm": [
          null,
          1.6
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "stc15f2k48s2-28i-lqfp44.step",
        "verdict": "PASS",
        "reasons": [
          "height and body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}