main
Ray Publish 0.1.2 1112b16
{
  "slug": "l297-1",
  "version": "0.1.2",
  "type": "component",
  "description": "STMicroelectronics Stepper Motor Driver, DIP-20. Pinout settled in review by an AI reviewer against the manufacturer's datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "motor driver ics",
    "l297",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "l297-1.kicad_sym",
    "l297-1.kicad_mod",
    "l297-1.glb",
    "l297-1.step",
    "l297-1.lbr",
    "docs/hero.png",
    "docs/l297-1-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "l297-1-hero.glb",
    "l297-1-hero.overlay.json",
    "l297-1-etched.glb"
  ],
  "component": {
    "mpn": "L297/1",
    "manufacturer": "STMicroelectronics",
    "package": "DIP-20",
    "pin_count": 20,
    "category": "Motor Driver ICs",
    "subcategory": "Stepper Motor Driver",
    "datasheet": "https://www.st.com/resource/en/datasheet/l297.pdf",
    "parts": {
      "symbol": "l297-1.kicad_sym",
      "footprint": "l297-1.kicad_mod",
      "model_3d": "l297-1-hero.glb",
      "model_3d_plain": "l297-1-etched.glb",
      "model_3d_step": "l297-1-etched.step",
      "model_3d_step_plain": "l297-1.step",
      "lbr": "l297-1.lbr"
    },
    "distributor_links": {
      "lcsc": "C34301",
      "digikey": "497-1394-5-ND",
      "mouser": "511-L297"
    },
    "distributor_check": {
      "checked_at": "2026-11-12T05:35:20Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-1394-5-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-L297",
        "status": "found"
      },
      "matched_as": "L297/1"
    },
    "pins": [
      {
        "number": "1",
        "name": "SYNC",
        "type": "bidirectional",
        "description": "Output of the on-chip chopper oscillator, with SYNC pins of synchronized L297s connected together, and an external clock source injected at this terminal if used."
      },
      {
        "number": "2",
        "name": "GND",
        "type": "power_in",
        "description": "Ground connection."
      },
      {
        "number": "3",
        "name": "HOME",
        "type": "output",
        "description": "Open collector output that opens the transistor when active to indicate the initial translator state (ABCD = 0101)."
      },
      {
        "number": "4",
        "name": "A",
        "type": "output",
        "description": "Motor phase A drive signal for the power stage."
      },
      {
        "number": "5",
        "name": "~{INH1}",
        "type": "input",
        "description": "Active low inhibit control for the driver stage of phases A and B, also used by the chopper to regulate load current when CONTROL is low."
      },
      {
        "number": "6",
        "name": "B",
        "type": "output",
        "description": "Motor phase B drive signal for the power stage."
      },
      {
        "number": "7",
        "name": "C",
        "type": "output",
        "description": "Motor phase C drive signal for the power stage."
      },
      {
        "number": "8",
        "name": "~{INH2}",
        "type": "input",
        "description": "Active low inhibit control for the drive stages of phases C and D, with the same functions as INH1."
      },
      {
        "number": "9",
        "name": "D",
        "type": "output",
        "description": "Motor phase D drive signal for the power stage."
      },
      {
        "number": "10",
        "name": "ENABLE",
        "type": "input",
        "description": "Chip enable input; when low, INH1, INH2, A, B, C and D are brought low."
      },
      {
        "number": "11",
        "name": "CONTROL",
        "type": "input",
        "description": "Control input that selects chopper action: when low the chopper acts on INH1 and INH2, and when high it acts on phase lines ABCD."
      },
      {
        "number": "12",
        "name": "Vs",
        "type": "power_in",
        "description": "5V supply input; the electrical characteristics specify Vs from 4.75 V to 7 V."
      },
      {
        "number": "13",
        "name": "SENS2",
        "type": "input",
        "description": "Input for the load current sense voltage from the power stages of phases C and D."
      },
      {
        "number": "14",
        "name": "SENS1",
        "type": "input",
        "description": "Input for the load current sense voltage from the power stages of phases A and B."
      },
      {
        "number": "15",
        "name": "Vref",
        "type": "power_in",
        "description": "Reference voltage for the chopper circuit that determines the peak load current, specified over a 0 to 3 V range."
      },
      {
        "number": "16",
        "name": "OSC",
        "type": "passive",
        "description": "RC network (R to VCC, C to ground) sets the chopper rate with f ≅ 1/0.69RC, and this pin is grounded on all but one device in synchronized configurations."
      },
      {
        "number": "17",
        "name": "CW/~{CCW}",
        "type": "input",
        "description": "Clockwise/counterclockwise direction control input that is synchronized internally so direction can change at any time."
      },
      {
        "number": "18",
        "name": "~{CLOCK}",
        "type": "input",
        "description": "Step clock input where the motor advances one increment on the rising edge of an active low pulse."
      },
      {
        "number": "19",
        "name": "HALF/~{FULL}",
        "type": "input",
        "description": "Half/full step select input; high selects half step operation and low selects full step operation."
      },
      {
        "number": "20",
        "name": "~{RESET}",
        "type": "input",
        "description": "Active low reset input that restores the translator to the home position (state 1, ABCD = 0101)."
      }
    ],
    "provenance": {
      "extractor": "ds2sf",
      "datasheet": {
        "url": "https://www.st.com/resource/en/datasheet/l297.pdf",
        "pages": 11,
        "sha256": "49b6f5cd43ebfcb6",
        "source_tier": "mfr"
      },
      "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": "l297-1.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "body on z = 0, through-hole leads below",
        "extents_mm": [
          7.874,
          26.162,
          6.98
        ],
        "zmin_mm": -3.3,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "ca359c9b9e0ce94efcb6c96866513f659eef6517d629ace3c4a0a779f6fd57bb",
        "checked": "2026-11-12",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "l297-1-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "body on z = 0, through-hole leads below",
        "extents_mm": [
          7.874,
          26.162,
          6.98
        ],
        "zmin_mm": -3.3,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "35a7287ade7569828033ca0c68240eb40137a0fbab7c8ced64dca0fe0bab4a66",
        "checked": "2026-11-12",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "DIP20",
      "source_page": 9,
      "D": {
        "nom_mm": 25.4,
        "range_mm": [
          null,
          null
        ]
      },
      "E1": {
        "nom_mm": 7.1,
        "range_mm": [
          null,
          null
        ]
      },
      "E": {
        "nom_mm": 8.5,
        "range_mm": [
          null,
          null
        ]
      },
      "e": {
        "nom_mm": 2.54,
        "range_mm": [
          null,
          null
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "l297-1.step",
        "verdict": "PASS",
        "reasons": [
          "body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}