main
Ray Set visibility: public 083a9e9 8d ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673
{
  "schema_version": 1,
  "type": "component",
  "slug": "l297dm",
  "title": "L297DM",
  "brief": "HGSEMI Stepper Motor Driver, SOP-20-300mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "motor driver ics",
    "l297dm",
    "factory-2.0.0",
    "extractor-text"
  ],
  "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,
        "centre_offset_mm": 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,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "4bf8a56e3f0c3310cd663fafdacae9bd7195d246b353adf7a6b0116f7b16263e",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "HGSEMI",
      "Package": "SOP-20-300mil",
      "Category": "Motor Driver ICs",
      "Pins": "20"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "bbdff7f0738894f2a32d0c2c26e10ce449da78cc9e43773543444f35d2675e26",
      "rows": [
        {
          "name": "Supply voltage (pin 12)",
          "symbol": "Vs",
          "kind": "electrical",
          "unit": "V",
          "min": 4.75,
          "typ": null,
          "max": 7,
          "conditions": "",
          "source_page": 6,
          "source": "datasheet"
        },
        {
          "name": "Quiescent supply current (pin 12)",
          "symbol": "Is",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 50,
          "max": 80,
          "conditions": "Outputs floating",
          "source_page": 6,
          "source": "datasheet"
        },
        {
          "name": "Input voltage low (pins 11, 17, 18, 19, 20)",
          "symbol": "Vi",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 0.6,
          "conditions": "Low",
          "source_page": 6,
          "source": "datasheet"
        },
        {
          "name": "Input voltage high (pins 11, 17, 18, 19, 20)",
          "symbol": "Vi",
          "kind": "electrical",
          "unit": "V",
          "min": 2,
          "typ": null,
          "max": null,
          "conditions": "High",
          "source_page": 6,
          "source": "datasheet"
        },
        {
          "name": "Input current (pins 11, 17, 18, 19, 20)",
          "symbol": "Ii",
          "kind": "electrical",
          "unit": "µA",
          "min": null,
          "typ": null,
          "max": 100,
          "conditions": "Vi = L",
          "source_page": 6,
          "source": "datasheet"
        },
        {
          "name": "Input current (pins 11, 17, 18, 19, 20)",
          "symbol": "Ii",
          "kind": "electrical",
          "unit": "µA",
          "min": null,
          "typ": null,
          "max": 10,
          "conditions": "Vi = H",
          "source_page": 6,
          "source": "datasheet"
        },
        {
          "name": "Enable input voltage low (pin 10)",
          "symbol": "Ven",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 1.3,
          "conditions": "Low",
          "source_page": 6,
          "source": "datasheet"
        },
        {
          "name": "Enable input voltage high (pin 10)",
          "symbol": "Ven",
          "kind": "electrical",
          "unit": "V",
          "min": 2,
          "typ": null,
          "max": null,
          "conditions": "High",
          "source_page": 6,
          "source": "datasheet"
        },
        {
          "name": "Enable input current (pin 10)",
          "symbol": "Ien",
          "kind": "electrical",
          "unit": "µA",
          "min": null,
          "typ": null,
          "max": 100,
          "conditions": "Ven = L",
          "source_page": 6,
          "source": "datasheet"
        },
        {
          "name": "Enable input current (pin 10)",
          "symbol": "Ien",
          "kind": "electrical",
          "unit": "µA",
          "min": null,
          "typ": null,
          "max": 10,
          "conditions": "Ven = H",
          "source_page": 6,
          "source": "datasheet"
        },
        {
          "name": "Phase output voltage low (pins 4, 6, 7, 9)",
          "symbol": "VOL",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 0.4,
          "conditions": "Io = 10mA",
          "source_page": 6,
          "source": "datasheet"
        },
        {
          "name": "Phase output voltage high (pins 4, 6, 7, 9)",
          "symbol": "VOH",
          "kind": "electrical",
          "unit": "V",
          "min": 3.9,
          "typ": null,
          "max": null,
          "conditions": "Io = 5mA",
          "source_page": 6,
          "source": "datasheet"
        },
        {
          "name": "Inhibit output voltage low (pins 5, 8)",
          "symbol": "Vinh L",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 0.4,
          "conditions": "Io = 10mA",
          "source_page": 6,
          "source": "datasheet"
        },
        {
          "name": "Inhibit output voltage high (pins 5, 8)",
          "symbol": "Vinh H",
          "kind": "electrical",
          "unit": "V",
          "min": 3.9,
          "typ": null,
          "max": null,
          "conditions": "Io = 5mA",
          "source_page": 6,
          "source": "datasheet"
        },
        {
          "name": "Sync output voltage high (pin 1)",
          "symbol": "VSYNC H",
          "kind": "electrical",
          "unit": "V",
          "min": 3.3,
          "typ": null,
          "max": null,
          "conditions": "Io = 5mA",
          "source_page": 6,
          "source": "datasheet"
        },
        {
          "name": "Sync output voltage low (pin 1)",
          "symbol": "VSYNC L",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 0.8,
          "conditions": "Io = 5mA",
          "source_page": 6,
          "source": "datasheet"
        },
        {
          "name": "Leakage current (pin 3)",
          "symbol": "Ileak",
          "kind": "electrical",
          "unit": "µA",
          "min": null,
          "typ": null,
          "max": 1,
          "conditions": "VCE = 7V",
          "source_page": 7,
          "source": "datasheet"
        },
        {
          "name": "Saturation voltage (pin 3)",
          "symbol": "Vsat",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 0.4,
          "conditions": "I = 5 mA",
          "source_page": 7,
          "source": "datasheet"
        },
        {
          "name": "Comparators offset voltage (pins 13, 14, 15)",
          "symbol": "Voff",
          "kind": "electrical",
          "unit": "mV",
          "min": null,
          "typ": null,
          "max": 5,
          "conditions": "Vref = 1 V",
          "source_page": 7,
          "source": "datasheet"
        },
        {
          "name": "Comparator bias current (pins 13, 14, 15)",
          "symbol": "Io",
          "kind": "electrical",
          "unit": "µA",
          "min": -100,
          "typ": null,
          "max": 10,
          "conditions": "",
          "source_page": 7,
          "source": "datasheet"
        },
        {
          "name": "Input reference voltage (pin 15)",
          "symbol": "Vref",
          "kind": "electrical",
          "unit": "V",
          "min": 0,
          "typ": null,
          "max": 3,
          "conditions": "",
          "source_page": 7,
          "source": "datasheet"
        },
        {
          "name": "Clock time",
          "symbol": "tCLK",
          "kind": "timing",
          "unit": "µs",
          "min": 0.5,
          "typ": null,
          "max": null,
          "conditions": "",
          "source_page": 7,
          "source": "datasheet"
        },
        {
          "name": "Set up time",
          "symbol": "tS",
          "kind": "timing",
          "unit": "µs",
          "min": 1,
          "typ": null,
          "max": null,
          "conditions": "",
          "source_page": 7,
          "source": "datasheet"
        },
        {
          "name": "Hold time",
          "symbol": "tH",
          "kind": "timing",
          "unit": "µs",
          "min": 4,
          "typ": null,
          "max": null,
          "conditions": "",
          "source_page": 7,
          "source": "datasheet"
        },
        {
          "name": "Reset time",
          "symbol": "tR",
          "kind": "timing",
          "unit": "µs",
          "min": 1,
          "typ": null,
          "max": null,
          "conditions": "",
          "source_page": 7,
          "source": "datasheet"
        },
        {
          "name": "Reset to clock delay",
          "symbol": "tRCLK",
          "kind": "timing",
          "unit": "µs",
          "min": 1,
          "typ": null,
          "max": null,
          "conditions": "",
          "source_page": 7,
          "source": "datasheet"
        },
        {
          "name": "Supply voltage (pin 12)",
          "symbol": "Vs",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 10,
          "conditions": "",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Input signals",
          "symbol": "Vi",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 7,
          "conditions": "",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Total power dissipation",
          "symbol": "Ptot",
          "kind": "absolute_maximum",
          "unit": "W",
          "min": null,
          "typ": null,
          "max": 1,
          "conditions": "Tamb = 70°C",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Storage and junction temperature",
          "symbol": "Tstg, Tj",
          "kind": "absolute_maximum",
          "unit": "°C",
          "min": -40,
          "typ": null,
          "max": 150,
          "conditions": "",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Thermal resistance junction-ambient (SO20)",
          "symbol": "Rth-j-amb",
          "kind": "thermal",
          "unit": "°C/W",
          "min": null,
          "typ": null,
          "max": 100,
          "conditions": "",
          "source_page": 4,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "l297dm"
  ],
  "discovery_pitch": "L297DM (HGSEMI) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray",
    "email": "[email protected]"
  },
  "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"
  ],
  "visibility": {
    "public": true
  }
}