Motor Drivers & PMIC
Analog Devices / Trinamic TMC2209 in the datasheet corpus
SilentStepStick 256-microstep stepper driver with single-wire UART, StealthChop2 and StallGuard4.
VendorAnalog Devices / TrinamicMotor Drivers & PMIC
InterfaceSTEP/DIR + UARTSingle-wire half-duplex UART (9600-500k baud, CRC-8)
Record StatusCatalog profileDatasheet / behavioral twin
Driver oracle & capability record
Backed by CircuitTwin step-driver modeling (crates/ct-model/src/behavior/step_driver.rs) and indexed in the datasheet corpus.
| Driver reference | Marlin TMCStepper / Klipper TMC2209 UART driver |
|---|---|
| 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 | GCONF | 0x00000040 | Microstep source (MSTEP_REG), UART enable and StealthChop |
0x06 | IOIN | VERSION[31:24]=0x21 | Pin states and TMC2209 silicon version 0x21 |
0x10 | IHOLD_IRUN | 0x00071F00 | Hold current, run current and ramp-down delay |
0x41 / 0x6F | SG_RESULT / DRV_STATUS | Stall / OT flags | StallGuard4 load readout and overtemp/short diagnostics |
Attach with ct CLI
Shell - run firmware with TMC2209
# Run compiled firmware with TMC2209 attached on arduino-mega2560
ct run --json --board arduino-mega2560 --device tmc2209 build/app.elf
# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/tmc2209.xml tests/tmc2209-fault.suite.yamlFault-injection test snippet (suite.yaml)
tests/tmc2209-fault.suite.yaml
version: 1
board: arduino-mega2560
firmware: build/app.elf
tests:
- name: tmc2209-uart-timeout-and-retry
faults:
- at_ms: 120
part: tmc2209
kind: uart_drop_rx
duration_ms: 250
expect:
console_contains: "UART_RETRY_OK"
exit_code: 0