main
Ray Publish 0.1.2 a28c8f1
{
  "slug": "stc89c58rd-40i-lqfp44",
  "version": "0.1.2",
  "type": "component",
  "description": "STC Micro STC89C58RD 40I LQFP44 Microcontrollers (MCU/MPU/SOC), LQFP-44(10x10). Datasheet-verified pinout, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "mcu",
    "stc89c58rd+40i-lqfp44"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stc89c58rd-40i-lqfp44.kicad_sym",
    "stc89c58rd-40i-lqfp44.kicad_mod",
    "stc89c58rd-40i-lqfp44.glb",
    "stc89c58rd-40i-lqfp44.step",
    "stc89c58rd-40i-lqfp44.lbr",
    "docs/hero.png",
    "docs/stc89c58rd-40i-lqfp44-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc89c58rd-40i-lqfp44-etched.step",
    "stc89c58rd-40i-lqfp44-etched.glb",
    "stc89c58rd-40i-lqfp44-hero.glb",
    "stc89c58rd-40i-lqfp44-hero.overlay.json"
  ],
  "component": {
    "mpn": "STC89C58RD+40I-LQFP44",
    "manufacturer": "STC Micro STC89C58RD 40I LQFP44",
    "package": "LQFP-44(10x10)",
    "pin_count": 44,
    "category": "Microcontrollers (MCU/MPU/SOC)",
    "parts": {
      "symbol": "stc89c58rd-40i-lqfp44.kicad_sym",
      "footprint": "stc89c58rd-40i-lqfp44.kicad_mod",
      "model_3d": "stc89c58rd-40i-lqfp44-hero.glb",
      "model_3d_plain": "stc89c58rd-40i-lqfp44.glb",
      "model_3d_step": "stc89c58rd-40i-lqfp44-etched.step",
      "model_3d_step_plain": "stc89c58rd-40i-lqfp44.step",
      "lbr": "stc89c58rd-40i-lqfp44.lbr"
    },
    "pins": [
      {
        "number": "1",
        "name": "P1.5",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[5]. Quasi-bidirectional with internal weak pull-up."
      },
      {
        "number": "2",
        "name": "P1.6",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[6]. Quasi-bidirectional with internal weak pull-up."
      },
      {
        "number": "3",
        "name": "P1.7",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[7]. Quasi-bidirectional with internal weak pull-up."
      },
      {
        "number": "4",
        "name": "RST",
        "type": "input",
        "description": "External reset input. Active high; hold high for >= 24 clocks to reset the MCU. Internal POR/BOD provided, external RC network typically not required."
      },
      {
        "number": "5",
        "name": "P3.0/RxD",
        "type": "bidirectional",
        "description": "P3.0 general purpose I/O; alternate function RxD, UART1 serial data receive input."
      },
      {
        "number": "6",
        "name": "P4.3/INT2",
        "type": "bidirectional",
        "description": "P4.3 general purpose I/O; alternate function INT2, external interrupt 2 (falling-edge or low-level trigger)."
      },
      {
        "number": "7",
        "name": "P3.1/TxD",
        "type": "bidirectional",
        "description": "P3.1 general purpose I/O; alternate function TxD, UART1 serial data transmit output."
      },
      {
        "number": "8",
        "name": "P3.2/INT0",
        "type": "bidirectional",
        "description": "P3.2 general purpose I/O; alternate function INT0, external interrupt 0 (falling-edge or low-level trigger)."
      },
      {
        "number": "9",
        "name": "P3.3/INT1",
        "type": "bidirectional",
        "description": "P3.3 general purpose I/O; alternate function INT1, external interrupt 1 (falling-edge or low-level trigger)."
      },
      {
        "number": "10",
        "name": "P3.4/T0",
        "type": "bidirectional",
        "description": "P3.4 general purpose I/O; alternate function T0, external count input for Timer/Counter 0."
      },
      {
        "number": "11",
        "name": "P3.5/T1",
        "type": "bidirectional",
        "description": "P3.5 general purpose I/O; alternate function T1, external count input for Timer/Counter 1."
      },
      {
        "number": "12",
        "name": "P3.6/WR",
        "type": "bidirectional",
        "description": "P3.6 general purpose I/O; alternate function WR, active-low external data-memory write strobe (used with MOVX to external XRAM)."
      },
      {
        "number": "13",
        "name": "P3.7/RD",
        "type": "bidirectional",
        "description": "P3.7 general purpose I/O; alternate function RD, active-low external data-memory read strobe (used with MOVX to external XRAM)."
      },
      {
        "number": "14",
        "name": "XTAL2",
        "type": "output",
        "description": "Inverting oscillator amplifier output. Connect to one lead of the external crystal (with a load cap to GND). May be left floating when an external clock source drives XTAL1."
      },
      {
        "number": "15",
        "name": "XTAL1",
        "type": "input",
        "description": "Inverting oscillator amplifier input; also the external clock input. Connect to the other lead of the crystal (with a load cap to GND) or drive with a CMOS clock (typ. 47 pF load caps for crystal, 0-40 MHz)."
      },
      {
        "number": "16",
        "name": "GND",
        "type": "power_in",
        "description": "Ground / 0 V return for the digital core and I/O."
      },
      {
        "number": "17",
        "name": "P4.0",
        "type": "bidirectional",
        "description": "Standard I/O port PORT4[0]. Quasi-bidirectional with internal weak pull-up."
      },
      {
        "number": "18",
        "name": "P2.0/A8",
        "type": "bidirectional",
        "description": "P2.0 general purpose I/O with internal pull-up; alternate function A8, external-memory address bus bit 8 (asserted during MOVX / external code fetch)."
      },
      {
        "number": "19",
        "name": "P2.1/A9",
        "type": "bidirectional",
        "description": "P2.1 general purpose I/O with internal pull-up; alternate function A9, external-memory address bit 9."
      },
      {
        "number": "20",
        "name": "P2.2/A10",
        "type": "bidirectional",
        "description": "P2.2 general purpose I/O with internal pull-up; alternate function A10, external-memory address bit 10."
      },
      {
        "number": "21",
        "name": "P2.3/A11",
        "type": "bidirectional",
        "description": "P2.3 general purpose I/O with internal pull-up; alternate function A11, external-memory address bit 11."
      },
      {
        "number": "22",
        "name": "P2.4/A12",
        "type": "bidirectional",
        "description": "P2.4 general purpose I/O with internal pull-up; alternate function A12, external-memory address bit 12."
      },
      {
        "number": "23",
        "name": "P2.5/A13",
        "type": "bidirectional",
        "description": "P2.5 general purpose I/O with internal pull-up; alternate function A13, external-memory address bit 13."
      },
      {
        "number": "24",
        "name": "P2.6/A14",
        "type": "bidirectional",
        "description": "P2.6 general purpose I/O with internal pull-up; alternate function A14, external-memory address bit 14."
      },
      {
        "number": "25",
        "name": "P2.7/A15",
        "type": "bidirectional",
        "description": "P2.7 general purpose I/O with internal pull-up; alternate function A15, external-memory address bit 15."
      },
      {
        "number": "26",
        "name": "P4.4/PSEN",
        "type": "bidirectional",
        "description": "HD-version P4.4 general purpose I/O; alternate function PSEN, active-low program-store-enable strobe for external program memory fetch. On '90C' silicon this pad is P4.4 only (PSEN unavailable)."
      },
      {
        "number": "27",
        "name": "P4.5/ALE",
        "type": "bidirectional",
        "description": "P4.5 general purpose I/O; alternate function ALE, address-latch-enable output for external memory demux and Vpp/programming pulse input. Default function is ALE; to use as P4.5 the ALEOFF bit (or 90C ISP option) must be set."
      },
      {
        "number": "28",
        "name": "P4.1",
        "type": "bidirectional",
        "description": "Standard I/O port PORT4[1]. Quasi-bidirectional with internal weak pull-up."
      },
      {
        "number": "29",
        "name": "P4.6/EA",
        "type": "bidirectional",
        "description": "HD-version P4.6 general purpose I/O; alternate function EA (External Access) - tie high for internal Flash execution, tie low to force external program memory. On '90C' silicon this pad is P4.6 only (no EA function)."
      },
      {
        "number": "30",
        "name": "P0.7/AD7",
        "type": "bidirectional",
        "description": "P0.7 open-drain I/O (external pull-up 4.7-10 k required for GPIO use); alternate function AD7, multiplexed A7/D7 line for external memory bus."
      },
      {
        "number": "31",
        "name": "P0.6/AD6",
        "type": "bidirectional",
        "description": "P0.6 open-drain I/O (needs external pull-up); alternate function AD6, multiplexed A6/D6 line for external memory bus."
      },
      {
        "number": "32",
        "name": "P0.5/AD5",
        "type": "bidirectional",
        "description": "P0.5 open-drain I/O (needs external pull-up); alternate function AD5, multiplexed A5/D5 line for external memory bus."
      },
      {
        "number": "33",
        "name": "P0.4/AD4",
        "type": "bidirectional",
        "description": "P0.4 open-drain I/O (needs external pull-up); alternate function AD4, multiplexed A4/D4 line for external memory bus."
      },
      {
        "number": "34",
        "name": "P0.3/AD3",
        "type": "bidirectional",
        "description": "P0.3 open-drain I/O (needs external pull-up); alternate function AD3, multiplexed A3/D3 line for external memory bus."
      },
      {
        "number": "35",
        "name": "P0.2/AD2",
        "type": "bidirectional",
        "description": "P0.2 open-drain I/O (needs external pull-up); alternate function AD2, multiplexed A2/D2 line for external memory bus."
      },
      {
        "number": "36",
        "name": "P0.1/AD1",
        "type": "bidirectional",
        "description": "P0.1 open-drain I/O (needs external pull-up); alternate function AD1, multiplexed A1/D1 line for external memory bus."
      },
      {
        "number": "37",
        "name": "P0.0/AD0",
        "type": "bidirectional",
        "description": "P0.0 open-drain I/O (needs external pull-up); alternate function AD0, multiplexed A0/D0 line for external memory bus."
      },
      {
        "number": "38",
        "name": "VCC",
        "type": "power_in",
        "description": "Positive supply. 3.3-5.5 V for STC89Cxx (C-suffix); 2.0-3.6 V for STC89LExx (LE low-voltage variants). Recommend local 10 uF + 0.1 uF decoupling to GND."
      },
      {
        "number": "39",
        "name": "P4.2/INT3",
        "type": "bidirectional",
        "description": "P4.2 general purpose I/O; alternate function INT3, external interrupt 3 (falling-edge or low-level trigger)."
      },
      {
        "number": "40",
        "name": "P1.0/T2",
        "type": "bidirectional",
        "description": "P1.0 general purpose I/O; alternate function T2, external count / clock input for Timer/Counter 2."
      },
      {
        "number": "41",
        "name": "P1.1/T2EX",
        "type": "bidirectional",
        "description": "P1.1 general purpose I/O; alternate function T2EX, Timer 2 capture/reload trigger input."
      },
      {
        "number": "42",
        "name": "P1.2",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[2]. Quasi-bidirectional with internal weak pull-up."
      },
      {
        "number": "43",
        "name": "P1.3",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[3]. Quasi-bidirectional with internal weak pull-up."
      },
      {
        "number": "44",
        "name": "P1.4",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[4]. Quasi-bidirectional with internal weak pull-up."
      }
    ],
    "provenance": {
      "rebuilt": "component block rebuilt 2026-10-05 from this page's own README pinout table and .kicad_sym (pins cross-checked), no re-extraction",
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "cad_basis": {
        "from": [
          "README CAD section (factory cad_wording)",
          ".kicad_mod model path agrees"
        ],
        "missing": []
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "distributor_links": {
      "lcsc": "C8709",
      "digikey": false,
      "mouser": false
    },
    "distributor_check": {
      "checked_at": "2026-10-05T19:18:46Z",
      "source": "Component Ocean /api/assign-pns + lcsc_map",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "models_3d": [
      {
        "file": "stc89c58rd-40i-lqfp44.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12,
          12,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "81aae6270b5c742bed79a8a35e9adf7fbed97c42e341e6b25ab20c1783b93b5d",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc89c58rd-40i-lqfp44-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12,
          12,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "b62da01370c2a8beb5227a7035a3fff71a051bf5a2c84cacae337ed058a51ce3",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "visibility": "public"
}