← Commit history

Initial commit: component/stspin820

Ray ·0840aa911b ·
2 files changed +306
README.mdadded+61
@@ -0,0 +1,61 @@+# STSPIN820++**STMicroelectronics** · Stepper Motor Driver · QFN-24-EP(4x4)++STSPIN820 from STMicroelectronics, in a QFN-24-EP(4x4). Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | REF | input | Reference voltage for the PWM current control circuitry; operating range 0.1 to 1 V, absolute maximum −0.3 to 2 V. |+| 2 | GND | power_in | Device ground; one of two dedicated ground pins on the logic side of the package. |+| 3 | GND | power_in | Device ground; one of two dedicated ground pins on the logic side of the package. |+| 4 | SNSA | input | 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. |+| 5 | SENSEA1 | power_out | Bridge A power-stage sense output (A1 side); connects to external shunt resistor for phase-current sensing; rated 1.5 Arms continuous. |+| 6 | SENSEA2 | power_out | Bridge A power-stage sense output (A2 side); connects to external shunt resistor for phase-current sensing; rated 1.5 Arms continuous. |+| 7 | OUTA1 | power_out | 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. |+| 8 | OUTA2 | power_out | 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. |+| 9 | VS | power_in | 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. |+| 10 | VS | power_in | 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. |+| 11 | OUTB2 | power_out | Full-bridge B power output, side B2; motor coil B terminal; 7-45 V operating supply range, 1.5 Arms continuous. |+| 12 | OUTB1 | power_out | Full-bridge B power output, side B1; motor coil B terminal; 7-45 V operating supply range, 1.5 Arms continuous. |+| 13 | SENSEB2 | power_out | Bridge B power-stage sense output (B2 side); connects to external shunt resistor for phase-current sensing; rated 1.5 Arms continuous. |+| 14 | SENSEB1 | power_out | Bridge B power-stage sense output (B1 side); connects to external shunt resistor for phase-current sensing; rated 1.5 Arms continuous. |+| 15 | SNSB | input | 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. |+| 16 | ~{STBY}/~{RESET} | input | 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. |+| 17 | ~{EN}/~{FAULT} | bidirectional | 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. |+| 18 | DECAY | input | 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). |+| 19 | STCK | input | 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. |+| 20 | DIR | input | 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. |+| 21 | MODE1 | input | 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. |+| 22 | MODE2 | input | 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. |+| 23 | MODE3 | input | 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. |+| 24 | TOFF | input | 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. |+| 25 | EP | passive | Exposed pad (from the footprint; not named in the datasheet pin table). |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | QFN-24-EP(4x4) |+| Category | Motor Driver ICs |+| Pins | 25 |++## CAD (KiCad official)++- Symbol: `STSPIN820`+- Footprint: `Package_DFN_QFN:QFN-24-1EP_4x4mm_P0.5mm_EP2.7x2.7mm`+- 3D model: QFN-24-EP(4x4) (KiCad packages3D, STEP)+- 3D model files: `stspin820-etched.step` / `stspin820-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stspin820.step` / `stspin820.glb` are the bare package body.++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [STMicroelectronics datasheet](https://www.st.com/resource/en/datasheet/stspin820.pdf) (29 pp, sha256 `b1fd1d7e1b993fc0`, retrieved 2026-09-22, tier: manufacturer)+- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.2`, primary `claude-haiku-4-5-20251001` (text), consensus `claude-sonnet-4-6` (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.+- **CAD:** KiCad official libraries (CC-BY-SA 4.0).++[Datasheet PDF](docs/stspin820-datasheet.pdf)
page.jsonadded+245
@@ -0,0 +1,245 @@+{+  "slug": "stspin820",+  "version": "0.1.0",+  "type": "component",+  "description": "STMicroelectronics Stepper Motor Driver, QFN-24-EP(4x4). Datasheet-verified pinout, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "motor driver ics",+    "stspin820",+    "factory-2.0.0",+    "extractor-text"+  ],+  "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"+  ],+  "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-etched.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"+    }+  },+  "visibility": "public",+  "org": "adom",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file