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.
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 reference | Zephyr adi,tmc51xx / Trinamic TMC-API |
|---|---|
| Evidence standing | provisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples). |
| Published record | Generate or inspect locally via ct twin generate (see /docs/twin-generation). |
Key registers & reset values
| Address / Field | Register | Reset / Expected | Purpose |
|---|---|---|---|
0x00 / 0x01 | GCONF / GSTAT | 0x00 / reset flag | Global configuration and reset/driver-error status |
0x20 / 0x21 | RAMPMODE / XACTUAL | 0x00 / 32-bit pos | Position/velocity ramp mode and current step position |
0x2D | XTARGET | 32-bit target | Target step coordinate for internal ramp generator |
0x6F | DRV_STATUS | 32-bit flags | StallGuard2, 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.yamlFault-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