Motor Drivers & PMIC

Analog Devices / Trinamic TMC5160 in the datasheet corpus

High-power SPI stepper controller with SixPoint motion ramp generator and external MOSFET gates.

standing: provisionalSPI + STEP/DIRSPI Mode 3 (40-bit datagrams, up to 4 MHz)
VendorAnalog Devices / TrinamicMotor Drivers & PMIC
InterfaceSPI + STEP/DIRSPI Mode 3 (40-bit datagrams, up to 4 MHz)
Record StatusCatalog profileDatasheet / behavioral twin

Driver oracle & capability record

Indexed in the CircuitTwin datasheet corpus (motor-driver class) with 40-bit pipelined SPI status echo.

Driver referenceZephyr adi,tmc51xx / Trinamic TMC-API
Evidence standingprovisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples).
Published recordGenerate or inspect locally via ct twin generate (see /docs/twin-generation).

Key registers & reset values

Address / FieldRegisterReset / ExpectedPurpose
0x00 / 0x01GCONF / GSTAT0x00 / reset flagGlobal configuration and reset/driver-error status
0x20 / 0x21RAMPMODE / XACTUAL0x00 / 32-bit posPosition/velocity ramp mode and current step position
0x2DXTARGET32-bit targetTarget step coordinate for internal ramp generator
0x6FDRV_STATUS32-bit flagsStallGuard2, standstill, open-load and short-to-GND bits

Attach with ct CLI

Shell - run firmware with TMC5160
# Run compiled firmware with TMC5160 attached on nucleo-h743zi2
ct run --json --board nucleo-h743zi2 --device tmc5160 build/app.elf

# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/tmc5160.xml tests/tmc5160-fault.suite.yaml

Fault-injection test snippet (suite.yaml)

tests/tmc5160-fault.suite.yaml
version: 1
board: nucleo-h743zi2
firmware: build/app.elf
tests:
  - name: tmc5160-spi-disconnect-and-fault
    faults:
      - at_ms: 40
        part: tmc5160
        kind: bus_disconnect
        duration_ms: 25
    expect:
      console_contains: "SPI_FAULT_HANDLED"
      exit_code: 0

Compatible board twins

More in Motor Drivers & PMIC