main
Ray Publish 0.1.0 34cea74
{
  "slug": "stc12c5a32s2-35i-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",
    "stc12c5a32s2-35i-lqfp44",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stc12c5a32s2-35i-lqfp44.kicad_sym",
    "stc12c5a32s2-35i-lqfp44.kicad_mod",
    "stc12c5a32s2-35i-lqfp44.glb",
    "stc12c5a32s2-35i-lqfp44.step",
    "stc12c5a32s2-35i-lqfp44.lbr",
    "docs/hero.png",
    "docs/stc12c5a32s2-35i-lqfp44-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc12c5a32s2-35i-lqfp44-hero.glb",
    "stc12c5a32s2-35i-lqfp44-hero.overlay.json"
  ],
  "component": {
    "mpn": "STC12C5A32S2-35I-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/02701df9a7b1d205cdff5187053fcc09.pdf",
    "parts": {
      "symbol": "stc12c5a32s2-35i-lqfp44.kicad_sym",
      "footprint": "stc12c5a32s2-35i-lqfp44.kicad_mod",
      "model_3d": "stc12c5a32s2-35i-lqfp44-hero.glb",
      "model_3d_plain": "stc12c5a32s2-35i-lqfp44.glb",
      "model_3d_step": "stc12c5a32s2-35i-lqfp44-etched.step",
      "model_3d_step_plain": "stc12c5a32s2-35i-lqfp44.step",
      "lbr": "stc12c5a32s2-35i-lqfp44.lbr"
    },
    "distributor_links": {
      "lcsc": "C8694"
    },
    "distributor_check": {
      "checked_at": "2026-11-13T12:19:33Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "P1.5/MOSI/ADC5",
        "type": "bidirectional",
        "description": "Port 1.5 general I/O (20mA drive) that can also be SPI MOSI or 10-bit ADC input channel 5."
      },
      {
        "number": "2",
        "name": "P1.6/MISO/ADC6",
        "type": "bidirectional",
        "description": "Port 1.6 general I/O (20mA drive) that can also be SPI MISO or 10-bit ADC input channel 6."
      },
      {
        "number": "3",
        "name": "P1.7/SCLK/ADC7",
        "type": "bidirectional",
        "description": "Port 1.7 general I/O (20mA drive) that can also be SPI clock or 10-bit ADC input channel 7."
      },
      {
        "number": "4",
        "name": "RST/P4.7",
        "type": "bidirectional",
        "description": "Reset input or Port 4.7 I/O, selected at ISP programming; if set as P4.7 an external clock must be used."
      },
      {
        "number": "5",
        "name": "P3.0/RxD",
        "type": "bidirectional",
        "description": "Port 3.0 general I/O that is also UART1 receive (RxD) and a power-down wake-up pin."
      },
      {
        "number": "6",
        "name": "P4.3/SCLK/TxD2/CCP1",
        "type": "bidirectional",
        "description": "Port 4.3 general I/O that is the alternate location of SPI clock, UART2 TxD and PCA/PWM channel 1 (CCP1) when the AUXR1 switch bits are set."
      },
      {
        "number": "7",
        "name": "P3.1/TxD",
        "type": "bidirectional",
        "description": "Port 3.1 general I/O that is also UART1 transmit (TxD)."
      },
      {
        "number": "8",
        "name": "P3.2/INT0",
        "type": "bidirectional",
        "description": "Port 3.2 general I/O that is also external interrupt 0 (falling edge or low level) and a power-down wake-up pin."
      },
      {
        "number": "9",
        "name": "P3.3/INT1",
        "type": "bidirectional",
        "description": "Port 3.3 general I/O that is also external interrupt 1 (falling edge or low level) and a power-down wake-up pin."
      },
      {
        "number": "10",
        "name": "P3.4/T0/CLKOUT0",
        "type": "bidirectional",
        "description": "Port 3.4 general I/O that is also Timer 0 external input, Timer 0 overflow clock output (CLKOUT0) and a power-down wake-up pin."
      },
      {
        "number": "11",
        "name": "P3.5/T1/CLKOUT1",
        "type": "bidirectional",
        "description": "Port 3.5 general I/O that is also Timer 1 external input, Timer 1 overflow clock output (CLKOUT1) and a power-down wake-up pin."
      },
      {
        "number": "12",
        "name": "P3.6/WR",
        "type": "bidirectional",
        "description": "Port 3.6 general I/O that is also the external data memory write strobe (WR)."
      },
      {
        "number": "13",
        "name": "P3.7/RD",
        "type": "bidirectional",
        "description": "Port 3.7 general I/O that is also the external data memory read strobe (RD)."
      },
      {
        "number": "14",
        "name": "XTAL2",
        "type": "output",
        "description": "Crystal oscillator output; left floating when an external clock is fed to XTAL1 or when the internal R/C oscillator is used."
      },
      {
        "number": "15",
        "name": "XTAL1",
        "type": "input",
        "description": "Crystal oscillator input, or direct external clock input."
      },
      {
        "number": "16",
        "name": "Gnd",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "17",
        "name": "P4.0/SS",
        "type": "bidirectional",
        "description": "Port 4.0 general I/O that is the alternate location of the SPI slave-select (SS) when the SPI is switched to Port 4."
      },
      {
        "number": "18",
        "name": "P2.0",
        "type": "bidirectional",
        "description": "Port 2.0 general I/O (20mA drive), quasi-bidirectional after reset."
      },
      {
        "number": "19",
        "name": "P2.1",
        "type": "bidirectional",
        "description": "Port 2.1 general I/O (20mA drive), quasi-bidirectional after reset."
      },
      {
        "number": "20",
        "name": "P2.2",
        "type": "bidirectional",
        "description": "Port 2.2 general I/O (20mA drive), quasi-bidirectional after reset."
      },
      {
        "number": "21",
        "name": "P2.3",
        "type": "bidirectional",
        "description": "Port 2.3 general I/O (20mA drive), quasi-bidirectional after reset."
      },
      {
        "number": "22",
        "name": "P2.4",
        "type": "bidirectional",
        "description": "Port 2.4 general I/O (20mA drive), quasi-bidirectional after reset."
      },
      {
        "number": "23",
        "name": "P2.5",
        "type": "bidirectional",
        "description": "Port 2.5 general I/O (20mA drive), quasi-bidirectional after reset."
      },
      {
        "number": "24",
        "name": "P2.6",
        "type": "bidirectional",
        "description": "Port 2.6 general I/O (20mA drive), quasi-bidirectional after reset."
      },
      {
        "number": "25",
        "name": "P2.7",
        "type": "bidirectional",
        "description": "Port 2.7 general I/O (20mA drive), quasi-bidirectional after reset."
      },
      {
        "number": "26",
        "name": "P4.4/NA",
        "type": "bidirectional",
        "description": "After reset this pin is a weak pull-up with no function; setting P4SW.4=1 makes it I/O port P4.4."
      },
      {
        "number": "27",
        "name": "P4.5/ALE",
        "type": "bidirectional",
        "description": "After reset this pin is the ALE signal, output only during MOVX access to external devices; setting P4SW.5=1 makes it I/O port P4.5."
      },
      {
        "number": "28",
        "name": "P4.1/ECI/MOSI",
        "type": "bidirectional",
        "description": "Port 4.1 general I/O that is the alternate location of the PCA external clock input (ECI) and SPI MOSI when switched to Port 4."
      },
      {
        "number": "29",
        "name": "P4.6/EX_LVD/RST2",
        "type": "bidirectional",
        "description": "After reset this pin is the external low-voltage detect input and second reset function (RST2); setting P4SW.6=1 makes it I/O port P4.6."
      },
      {
        "number": "30",
        "name": "P0.7",
        "type": "bidirectional",
        "description": "Port 0.7 general I/O (20mA drive), quasi-bidirectional after reset."
      },
      {
        "number": "31",
        "name": "P0.6",
        "type": "bidirectional",
        "description": "Port 0.6 general I/O (20mA drive), quasi-bidirectional after reset."
      },
      {
        "number": "32",
        "name": "P0.5",
        "type": "bidirectional",
        "description": "Port 0.5 general I/O (20mA drive), quasi-bidirectional after reset."
      },
      {
        "number": "33",
        "name": "P0.4",
        "type": "bidirectional",
        "description": "Port 0.4 general I/O (20mA drive), quasi-bidirectional after reset."
      },
      {
        "number": "34",
        "name": "P0.3",
        "type": "bidirectional",
        "description": "Port 0.3 general I/O (20mA drive), quasi-bidirectional after reset."
      },
      {
        "number": "35",
        "name": "P0.2",
        "type": "bidirectional",
        "description": "Port 0.2 general I/O (20mA drive), quasi-bidirectional after reset."
      },
      {
        "number": "36",
        "name": "P0.1",
        "type": "bidirectional",
        "description": "Port 0.1 general I/O (20mA drive), quasi-bidirectional after reset."
      },
      {
        "number": "37",
        "name": "P0.0",
        "type": "bidirectional",
        "description": "Port 0.0 general I/O (20mA drive), quasi-bidirectional after reset."
      },
      {
        "number": "38",
        "name": "Vcc",
        "type": "power_in",
        "description": "Positive supply; operating range 5.5V to 3.5V for the STC12C5A60S2 series."
      },
      {
        "number": "39",
        "name": "P4.2/MISO/RxD2/CCP0",
        "type": "bidirectional",
        "description": "Port 4.2 general I/O that is the alternate location of SPI MISO, UART2 RxD2 and PCA/PWM channel 0 (CCP0) when switched to Port 4."
      },
      {
        "number": "40",
        "name": "P1.0/ADC0/CLKOUT2",
        "type": "bidirectional",
        "description": "Port 1.0 general I/O that can also be 10-bit ADC input channel 0 or the BRT baud-rate timer clock output (CLKOUT2)."
      },
      {
        "number": "41",
        "name": "P1.1/ADC1",
        "type": "bidirectional",
        "description": "Port 1.1 general I/O that can also be 10-bit ADC input channel 1."
      },
      {
        "number": "42",
        "name": "P1.2/ADC2/RxD2/ECI",
        "type": "bidirectional",
        "description": "Port 1.2 general I/O that can also be ADC input channel 2, UART2 receive (RxD2) or PCA external clock input (ECI)."
      },
      {
        "number": "43",
        "name": "P1.3/ADC3/TxD2/CCP0",
        "type": "bidirectional",
        "description": "Port 1.3 general I/O that can also be ADC input channel 3, UART2 transmit (TxD2) or PCA/PWM channel 0 (CCP0)."
      },
      {
        "number": "44",
        "name": "P1.4/ADC4/SS/CCP1",
        "type": "bidirectional",
        "description": "Port 1.4 general I/O that can also be ADC input channel 4, SPI slave select (SS) or PCA/PWM channel 1 (CCP1)."
      }
    ],
    "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+vision",
        "consensus_model": "claude-opus-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: None of the supplied page images show the LQFP44 pin drawing, so the pin-to-number assignment was re; The datasheet draws LQFP44 at 12mm x 12mm (section 3.2), while the package hint says 10x10. The pack; The datasheet does not state individual per-pin electrical limits, so the descriptions use the serie",
          "vision extraction: provenance cannot be text-verified; needs consensus"
        ],
        "pages_sent": 123,
        "cost_usd": 0.2312,
        "at": "2026-11-13T12:19:23"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/02701df9a7b1d205cdff5187053fcc09.pdf",
        "pages": 1543,
        "sha256": "7fde44da8887b7a0",
        "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": "stc12c5a32s2-35i-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": "stc12c5a32s2-35i-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": "d04963571dc9f9be46d68f6c00766b16eabcc7a8386181dbbd0e6a6145a403bf",
        "checked": "2026-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "LQFP44",
      "source_page": 104,
      "D": {
        "nom_mm": 10.0,
        "range_mm": [
          9.9,
          10.1
        ]
      },
      "E1": {
        "nom_mm": 10.0,
        "range_mm": [
          9.9,
          10.1
        ]
      },
      "E": {
        "nom_mm": 12.0,
        "range_mm": [
          11.95,
          12.05
        ]
      },
      "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": "stc12c5a32s2-35i-lqfp44.step",
        "verdict": "PASS",
        "reasons": [
          "height and body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}