main
Ray Publish 0.1.0 8ea4080 8d ago
{
  "slug": "l297dm",
  "version": "0.1.0",
  "type": "component",
  "description": "HGSEMI Stepper Motor Driver, SOP-20-300mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "motor driver ics",
    "l297dm",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "l297dm.kicad_sym",
    "l297dm.kicad_mod",
    "l297dm.glb",
    "l297dm.step",
    "l297dm.lbr",
    "docs/hero.png",
    "docs/l297dm-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "l297dm-hero.glb",
    "l297dm-hero.overlay.json",
    "l297dm-etched.glb"
  ],
  "component": {
    "mpn": "L297DM",
    "manufacturer": "HGSEMI",
    "package": "SOP-20-300mil",
    "pin_count": 20,
    "category": "Motor Driver ICs",
    "subcategory": "Stepper Motor Driver",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590227455300055041",
    "parts": {
      "symbol": "l297dm.kicad_sym",
      "footprint": "l297dm.kicad_mod",
      "model_3d": "l297dm-hero.glb",
      "model_3d_plain": "l297dm-etched.glb",
      "model_3d_step": "l297dm-etched.step",
      "model_3d_step_plain": "l297dm.step",
      "lbr": "l297dm.lbr"
    },
    "distributor_links": {
      "lcsc": "C2987341"
    },
    "distributor_check": {
      "checked_at": "2026-10-18T23:06:15Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "quota"
      },
      "mouser": {
        "pn": null,
        "status": "quota"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "SYNC",
        "type": "bidirectional",
        "description": "Output of the on-chip chopper oscillator; SYNC pins of synchronized L297s are tied together with the oscillator components on only one device, and an external clock may be injected here (VSYNC high 3.3 V min and low 0.8 V max at Io = 5 mA)."
      },
      {
        "number": "2",
        "name": "GND",
        "type": "power_in",
        "description": "Ground connection."
      },
      {
        "number": "3",
        "name": "HOME",
        "type": "output",
        "description": "Open-collector output that indicates the initial translator state (ABCD = 0101) when active, with leakage of 1 µA max at VCE = 7 V and saturation voltage of 0.4 V max at 5 mA."
      },
      {
        "number": "4",
        "name": "A",
        "type": "output",
        "description": "Motor phase A drive signal for the power stage, with output low 0.4 V max at 10 mA and output high 3.9 V min at 5 mA."
      },
      {
        "number": "5",
        "name": "INH1",
        "type": "output",
        "description": "Active-low inhibit output for the driver stages of phases A and B, used for fast load-current decay in a bipolar bridge and by the chopper to regulate current when CONTROL is low; inhibit output low 0.4 V max at 10 mA and high 3.9 V min at 5 mA."
      },
      {
        "number": "6",
        "name": "B",
        "type": "output",
        "description": "Motor phase B drive signal for the power stage, with output low 0.4 V max at 10 mA and output high 3.9 V min at 5 mA."
      },
      {
        "number": "7",
        "name": "C",
        "type": "output",
        "description": "Motor phase C drive signal for the power stage, with output low 0.4 V max at 10 mA and output high 3.9 V min at 5 mA."
      },
      {
        "number": "8",
        "name": "INH2",
        "type": "output",
        "description": "Active-low inhibit output for the driver stages of phases C and D, with the same function as INH1; inhibit output low 0.4 V max at 10 mA and high 3.9 V min at 5 mA."
      },
      {
        "number": "9",
        "name": "D",
        "type": "output",
        "description": "Motor phase D drive signal for the power stage, with output low 0.4 V max at 10 mA and output high 3.9 V min at 5 mA."
      },
      {
        "number": "10",
        "name": "ENABLE",
        "type": "input",
        "description": "Chip enable input; when low (inactive) INH1, INH2, A, B, C and D are forced low, with input low max 1.3 V and high min 2 V."
      },
      {
        "number": "11",
        "name": "CONTROL",
        "type": "input",
        "description": "Control input defining the chopper action: when low the chopper acts on INH1 and INH2, when high it acts on phase lines ABCD; input low max 0.6 V and high min 2 V."
      },
      {
        "number": "12",
        "name": "Vs",
        "type": "power_in",
        "description": "5 V supply input, specified at 4.75 V min to 7 V max with a quiescent supply current of 50 mA typ and 80 mA max (outputs floating); absolute maximum 10 V."
      },
      {
        "number": "13",
        "name": "SENS2",
        "type": "input",
        "description": "Load current sense voltage input from the power stages of phases C and D, with comparator offset of 5 mV max at Vref = 1 V and bias current of -100 to 10 µA."
      },
      {
        "number": "14",
        "name": "SENS1",
        "type": "input",
        "description": "Load current sense voltage input from the power stages of phases A and B, with comparator offset of 5 mV max at Vref = 1 V and bias current of -100 to 10 µA."
      },
      {
        "number": "15",
        "name": "Vref",
        "type": "power_in",
        "description": "Reference voltage for the chopper circuit that sets the peak load current, specified over 0 V to 3 V."
      },
      {
        "number": "16",
        "name": "OSC",
        "type": "passive",
        "description": "Connection for an RC network (R to VCC, C to ground) that sets the chopper rate with f ≅ 1/0.69RC; grounded on all devices except the one carrying the oscillator in synchronized multi-L297 configurations."
      },
      {
        "number": "17",
        "name": "CW/CCW",
        "type": "input",
        "description": "Clockwise/counterclockwise direction control input, internally synchronized so direction can be changed at any time; input low max 0.6 V and high min 2 V."
      },
      {
        "number": "18",
        "name": "CLOCK",
        "type": "input",
        "description": "Step clock input that advances the motor one increment on the rising edge of an active-low pulse, with minimum clock time tCLK of 0.5 µs; input low max 0.6 V and high min 2 V."
      },
      {
        "number": "19",
        "name": "HALF/FULL",
        "type": "input",
        "description": "Half/full step select input: high selects half-step operation and low selects full-step operation; input low max 0.6 V and high min 2 V."
      },
      {
        "number": "20",
        "name": "RESET",
        "type": "input",
        "description": "Active-low reset input that restores the translator to the home position (state 1, ABCD = 0101); reset time tR of 1 µs min and reset-to-clock delay of 1 µs min apply."
      }
    ],
    "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: Pin connection diagram on page 2 is an image and not present in the extracted text; pin numbers are ; Datasheet lists the SO20 package and ordering number L297D but does not state '300mil' in the text; ; SYNC (pin 1) type is ambiguous: the datasheet describes it as an oscillator output but also says an "
        ],
        "pages_sent": 8,
        "cost_usd": 0.0454,
        "at": "2026-10-18T23:02:08"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590227455300055041",
        "pages": 8,
        "sha256": "bbdff7f0738894f2",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 20,
        "described": 20,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "l297dm.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.26,
          12.8,
          2.65
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "3d24e8d31624d20d323eebf77fb228dc083ebab3db7e888bf3c181f0843342b1",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "l297dm-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.26,
          12.8,
          2.65
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "4bf8a56e3f0c3310cd663fafdacae9bd7195d246b353adf7a6b0116f7b16263e",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}