main
Ray Publish 0.1.2 b80c198
{
  "schema_version": 1,
  "type": "component",
  "slug": "stspin820",
  "title": "STSPIN820",
  "brief": "STMicroelectronics Stepper Motor Driver, QFN-24-EP(4x4). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.2",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "motor driver ics",
    "stspin820",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STSPIN820",
    "manufacturer": "STMicroelectronics",
    "package": "QFN-24-EP(4x4)",
    "pin_count": 25,
    "category": "Motor Driver ICs",
    "subcategory": "Stepper Motor Driver",
    "datasheet": "https://www.st.com/resource/en/datasheet/stspin820.pdf",
    "parts": {
      "symbol": "stspin820.kicad_sym",
      "footprint": "stspin820.kicad_mod",
      "model_3d": "stspin820-hero.glb",
      "model_3d_plain": "stspin820.glb",
      "model_3d_step": "stspin820-etched.step",
      "model_3d_step_plain": "stspin820.step",
      "lbr": "stspin820.lbr"
    },
    "distributor_links": {
      "lcsc": "C160702"
    },
    "pins": [
      {
        "number": "1",
        "name": "REF",
        "type": "input",
        "description": "Reference voltage for the PWM current control circuitry; operating range 0.1 to 1 V, absolute maximum −0.3 to 2 V."
      },
      {
        "number": "2",
        "name": "GND",
        "type": "power_in",
        "description": "Device ground; one of two dedicated ground pins on the logic side of the package."
      },
      {
        "number": "3",
        "name": "GND",
        "type": "power_in",
        "description": "Device ground; one of two dedicated ground pins on the logic side of the package."
      },
      {
        "number": "4",
        "name": "SNSA",
        "type": "input",
        "description": "Full-bridge A current-regulator sense input; voltage here is compared to the internal PWM reference; operating range −1 to +1 V, absolute maximum ±2 V."
      },
      {
        "number": "5",
        "name": "SENSEA1",
        "type": "power_out",
        "description": "Bridge A power-stage sense output (A1 side); connects to external shunt resistor for phase-current sensing; rated 1.5 Arms continuous."
      },
      {
        "number": "6",
        "name": "SENSEA2",
        "type": "power_out",
        "description": "Bridge A power-stage sense output (A2 side); connects to external shunt resistor for phase-current sensing; rated 1.5 Arms continuous."
      },
      {
        "number": "7",
        "name": "OUTA1",
        "type": "power_out",
        "description": "Full-bridge A power output, side A1; motor coil A terminal; 7-45 V operating supply range, 1.5 Arms continuous, RDSon HS+LS = 1 Ω typical."
      },
      {
        "number": "8",
        "name": "OUTA2",
        "type": "power_out",
        "description": "Full-bridge A power output, side A2; motor coil A terminal; 7-45 V operating supply range, 1.5 Arms continuous, RDSon HS+LS = 1 Ω typical."
      },
      {
        "number": "9",
        "name": "VS",
        "type": "power_in",
        "description": "Device supply voltage; both VS pins must be held at the same potential; operating range 7 to 45 V, absolute maximum −0.3 to 48 V."
      },
      {
        "number": "10",
        "name": "VS",
        "type": "power_in",
        "description": "Device supply voltage; both VS pins must be held at the same potential; operating range 7 to 45 V, absolute maximum −0.3 to 48 V."
      },
      {
        "number": "11",
        "name": "OUTB2",
        "type": "power_out",
        "description": "Full-bridge B power output, side B2; motor coil B terminal; 7-45 V operating supply range, 1.5 Arms continuous."
      },
      {
        "number": "12",
        "name": "OUTB1",
        "type": "power_out",
        "description": "Full-bridge B power output, side B1; motor coil B terminal; 7-45 V operating supply range, 1.5 Arms continuous."
      },
      {
        "number": "13",
        "name": "SENSEB2",
        "type": "power_out",
        "description": "Bridge B power-stage sense output (B2 side); connects to external shunt resistor for phase-current sensing; rated 1.5 Arms continuous."
      },
      {
        "number": "14",
        "name": "SENSEB1",
        "type": "power_out",
        "description": "Bridge B power-stage sense output (B1 side); connects to external shunt resistor for phase-current sensing; rated 1.5 Arms continuous."
      },
      {
        "number": "15",
        "name": "SNSB",
        "type": "input",
        "description": "Full-bridge B current-regulator sense input; voltage here is compared to the internal PWM reference; operating range −1 to +1 V, absolute maximum ±2 V."
      },
      {
        "number": "16",
        "name": "~{STBY}/~{RESET}",
        "type": "input",
        "description": "Standby/reset input; forcing below VSTBYL (0.8 V max) disables the power stage, resets all control logic to power-up state, and reduces supply current to 45 µA max; normal operation requires >2 V; 60 kΩ internal pull-down."
      },
      {
        "number": "17",
        "name": "~{EN}/~{FAULT}",
        "type": "bidirectional",
        "description": "Active-low power stage enable (logic input, 5 V compliant, 5 µA pull-down) with open-drain fault output; internal MOSFET pulls pin low on overcurrent, short-circuit, or thermal shutdown; VRELEASE = 0.6 V max, VOL = 0.3 V max at 4 mA; external REN/CEN programs re-enable delay."
      },
      {
        "number": "18",
        "name": "DECAY",
        "type": "input",
        "description": "Decay mode selection; high (>2 V) selects slow-decay only (tOFF,SLOW = tOFF); low (<0.8 V) selects mixed decay (tOFF,SLOW = 5/8 × tOFF, tOFF,FAST = 3/8 × tOFF)."
      },
      {
        "number": "19",
        "name": "STCK",
        "type": "input",
        "description": "Step clock input; each rising edge advances or retards the microstepping sequencer by one step; maximum frequency 4 MHz, minimum high or low pulse width 20 ns."
      },
      {
        "number": "20",
        "name": "DIR",
        "type": "input",
        "description": "Direction input; high increments the sequencer (forward), low decrements it (reverse); 20 ns setup time and 20 ns hold time required relative to STCK rising edge."
      },
      {
        "number": "21",
        "name": "MODE1",
        "type": "input",
        "description": "Step-mode selection bit 1; combined with MODE2 and MODE3 selects full-step through 1/256-step resolution per Table 7; 20 ns setup/hold time required before STCK rising edge."
      },
      {
        "number": "22",
        "name": "MODE2",
        "type": "input",
        "description": "Step-mode selection bit 2; combined with MODE1 and MODE3 selects full-step through 1/256-step resolution per Table 7; 20 ns setup/hold time required before STCK rising edge."
      },
      {
        "number": "23",
        "name": "MODE3",
        "type": "input",
        "description": "Step-mode selection bit 3; combined with MODE1 and MODE2 selects full-step through 1/256-step resolution per Table 7; 20 ns setup/hold time required before STCK rising edge."
      },
      {
        "number": "24",
        "name": "TOFF",
        "type": "input",
        "description": "PWM OFF-time adjustment pin; external resistor ROFF from this pin to GND sets total tOFF; recommended range 5 kΩ to 180 kΩ yielding approximately 10 µs to 150 µs; ROFF = 10 kΩ gives tOFF = 13 µs typical."
      },
      {
        "number": "25",
        "name": "EP",
        "type": "passive",
        "description": "Exposed pad (from the footprint; not named in the datasheet pin table)."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.2",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.2",
        "primary_model": "claude-haiku-4-5-20251001",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-4-6",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "exposed pad 25 added from the footprint"
        ],
        "pages_sent": 29,
        "cost_usd": 0.5098,
        "at": "2026-09-22T04:28:02"
      },
      "datasheet": {
        "url": "https://www.st.com/resource/en/datasheet/stspin820.pdf",
        "pages": 29,
        "sha256": "b1fd1d7e1b993fc0",
        "source_tier": "mfr"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 25,
        "described": 25,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stspin820.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          4,
          4,
          0.77
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "f7d256794c4147daf24dcae0554fae18510315e565ad1e239b475be7fef80d8b",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stspin820-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          4,
          4,
          0.77
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "4c2a2793f8e98da94b848fc0bb7d5457f3eac3af8d56ab304b160802c71ed3ec",
        "checked": "2026-11-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "QFN-24-EP(4x4)",
      "Category": "Motor Driver ICs",
      "Pins": "25"
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stspin820"
  ],
  "discovery_pitch": "STSPIN820 (STMicroelectronics) component page with datasheet-verified CAD.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stspin820.kicad_sym",
    "stspin820.kicad_mod",
    "stspin820.glb",
    "stspin820.step",
    "stspin820.lbr",
    "docs/hero.png",
    "docs/stspin820-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stspin820-etched.glb",
    "stspin820-etched.step",
    "stspin820-hero.glb",
    "stspin820-hero.overlay.json"
  ],
  "visibility": "public",
  "updated_at": "2026-09-25T09:08:26.882Z",
  "description": "STMicroelectronics Stepper Motor Driver, QFN-24-EP(4x4). Datasheet-verified pinout, KiCad symbol/footprint/3D.",
  "org": "adom"
}