Motor Drivers & PMIC

# Analog Devices / Trinamic TMC2209 in the datasheet corpus

SilentStepStick 256-microstep stepper driver with single-wire UART, StealthChop2 and StallGuard4.

standing: provisional STEP/DIR + UART Single-wire half-duplex UART (9600-500k baud, CRC-8)

Vendor Analog Devices / Trinamic Motor Drivers & PMIC

Interface STEP/DIR + UART Single-wire half-duplex UART (9600-500k baud, CRC-8)

Record Status Catalog profile Datasheet / 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](https://circuittwin.ai/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.yaml
```

## Fault-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
```

## Compatible board twins

[Board: arduino-mega2560](https://circuittwin.ai/boards/arduino-mega2560) [Board: black-pill-f411ce](https://circuittwin.ai/boards/black-pill-f411ce) [Board: nucleo-f446re](https://circuittwin.ai/boards/nucleo-f446re) [Accuracy report](https://circuittwin.ai/docs/accuracy)

## More in Motor Drivers & PMIC

[DRV8305 (Texas)](https://circuittwin.ai/twins/drv8305) [TLF35584 (Infineon)](https://circuittwin.ai/twins/tlf35584) [TMC5160 (Analog)](https://circuittwin.ai/twins/tmc5160)

> ## Inject TMC2209 bus faults in CI
>
> Wire TMC2209 onto your MCU board twin, drive physical stimuli and fail builds when your driver hangs on NACKs or frozen registers.
>
> [Start now](https://app.circuittwin.ai/try) [Inputs & fault injection docs](https://circuittwin.ai/docs/inputs) [Connect a coding agent](https://circuittwin.ai/docs/agents)
