main
Ray Publish 0.1.0 0ce9370
{
  "slug": "l297d",
  "version": "0.1.0",
  "type": "component",
  "description": "STMicroelectronics Motor Driver ICs, SO-20-300mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "power management ics",
    "l297d",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "l297d.kicad_sym",
    "l297d.kicad_mod",
    "l297d.glb",
    "l297d.step",
    "l297d.lbr",
    "docs/hero.png",
    "docs/l297d-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "l297d-hero.glb",
    "l297d-hero.overlay.json"
  ],
  "component": {
    "mpn": "L297D",
    "manufacturer": "STMicroelectronics",
    "package": "SO-20-300mil",
    "pin_count": 21,
    "category": "Power Management ICs",
    "subcategory": "Motor Driver ICs",
    "datasheet": "https://www.st.com/resource/en/datasheet/l297d.pdf",
    "parts": {
      "symbol": "l297d.kicad_sym",
      "footprint": "l297d.kicad_mod",
      "model_3d": "l297d-hero.glb",
      "model_3d_plain": "l297d.glb",
      "model_3d_step": "l297d-etched.step",
      "model_3d_step_plain": "l297d.step",
      "lbr": "l297d.lbr"
    },
    "distributor_links": {
      "lcsc": "C1523897",
      "digikey": "497-L297D-ND",
      "mouser": "511-L297D"
    },
    "distributor_check": {
      "checked_at": "2026-11-21T06:31:28Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-L297D-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-L297D",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "SYNC",
        "type": "output",
        "description": "Output of the on-chip chopper oscillator, which can be synchronized with other L297s or driven by an injected external clock at this terminal."
      },
      {
        "number": "2",
        "name": "GND",
        "type": "power_in",
        "description": "Ground connection for the device."
      },
      {
        "number": "3",
        "name": "HOME",
        "type": "output",
        "description": "Open collector output that is open (active) when the L297 is in its initial 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 driver 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 (inactive) INH1, INH2, A, B, C and D are brought low."
      },
      {
        "number": "11",
        "name": "CONTROL",
        "type": "input",
        "description": "Control input that defines the chopper action: low chopper acts on INH1 and INH2, high chopper acts on phase lines ABCD."
      },
      {
        "number": "12",
        "name": "Vs",
        "type": "power_in",
        "description": "5V supply input for the device."
      },
      {
        "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 input for the chopper circuit, where the applied voltage determines the peak load current."
      },
      {
        "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, and is grounded on all but one device in synchronized configurations."
      },
      {
        "number": "17",
        "name": "CW/CCW",
        "type": "input",
        "description": "Clockwise/counterclockwise direction control input, which is synchronized internally so direction can be changed at any time."
      },
      {
        "number": "18",
        "name": "CLOCK",
        "type": "input",
        "description": "Step clock input where an active low pulse advances the motor one increment, with the step occurring on the rising edge of this signal."
      },
      {
        "number": "19",
        "name": "HALF/FULL",
        "type": "input",
        "description": "Half/full step select input, where high selects half step operation and low selects full step operation."
      },
      {
        "number": "20",
        "name": "RESET",
        "type": "input",
        "description": "Reset input where an active low pulse restores the translator to the home position (state 1, ABCD = 0101)."
      },
      {
        "number": "21",
        "name": "EP",
        "type": "passive",
        "description": "Exposed pad (from the footprint; not named in the datasheet pin table)."
      }
    ],
    "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: The L297D (SO20) pinout was taken from the pin function table on pages 3-4, which is shared by the D"
        ],
        "pages_sent": 11,
        "cost_usd": 0.0163,
        "at": "2026-11-21T06:31:18"
      },
      "datasheet": {
        "url": "https://www.st.com/resource/en/datasheet/l297d.pdf",
        "pages": 11,
        "sha256": "49b6f5cd43ebfcb6",
        "source_tier": "mfr",
        "citation": "STMicroelectronics datasheet"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 21,
        "described": 21,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "l297d.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.51,
          12.825,
          2.65
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "426a340121c3e38a421b5828a5ff615fa7dce27de1791713707b152db01f321b",
        "checked": "2026-11-21",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "l297d-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.51,
          12.825,
          2.65
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "c86c93315a434e45e7b6b4a6e6f49e8b5bad4b6b7bbfac764e433da6b0a07e57",
        "checked": "2026-11-21",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}