Trinamic stepper driver

Also known as: TMC stepper driver · TMC2209

On this page 7

A Trinamic stepper driver is a stepper motor driver chip from the TMC family, such as the widely used TMC2209, that converts step and direction signals from a printer mainboard into precisely regulated coil currents. In 3D printer hardware, a field within 3D printing & making, TMC stepper drivers are known for near-silent motion, high microstep resolution and software configuration of current and operating mode.

Trinamic, now part of Analog Devices, developed several proprietary techniques, including StealthChop, SpreadCycle and StallGuard, that changed what hobby and professional printers sound like and how they home their axes.

How a Trinamic driver controls a stepper motor

A Trinamic driver controls a stepper motor by switching two H-bridges, one per motor coil, so that the coil currents follow a sine and cosine pattern. Each pulse on the step input advances that pattern by one microstep, and the direction input sets which way the pattern rotates.

The driver regulates current with a chopper, which switches the coil voltage on and off thousands of times per second while measuring current through sense resistors. The way the chopper decides when to switch defines the operating mode and therefore the noise, smoothness and torque behavior of the motor.

Most TMC drivers also include MicroPlyer interpolation, which internally expands each incoming microstep to 256 microsteps. The mainboard can therefore send 16 microsteps per full step, keeping the step rate manageable, while the motor still moves with very fine increments.

The table below lists the main functions found on current Trinamic chips used in printers.

FunctionWhat it doesEffect on a printer
StealthChopVoltage-based chopper with low rippleNearly silent motion at low speeds
SpreadCycleCycle-by-cycle current chopperHigher torque at high speed
StallGuardMeasures motor load from back EMFEnables sensorless homing
CoolStepLowers current when load is lightLess heat in motors and driver
MicroPlyerInterpolates to 256 microstepsSmoother motion and less vibration
Core Trinamic driver functions

Common TMC driver models

The TMC family spans small integrated drivers for desktop printers and controllers with external transistors for large machines. Models differ mainly in current rating, supply voltage and the configuration interface, which is either a single-wire UART or a faster SPI bus.

ModelApproximate current (RMS)InterfaceTypical use
TMC2208About 1.4 AUARTEarly silent upgrades
TMC2209About 2.0 AUARTMost current desktop printers
TMC2226About 2.0 AUARTImproved package for cooling
TMC2130About 1.2 ASPIEarlier sensorless homing setups
TMC2240About 2.1 ASPI or UARTNewer boards with built-in current sensing
TMC5160Several amperesSPILarge printers and high-voltage builds
Trinamic drivers used in 3D printers

The TMC2209 became the de facto standard because it combines StallGuard4 with StealthChop, a supply range up to 29 volts and a simple UART link in a low-cost package. The TMC5160 uses external MOSFETs, which allows supply voltages up to about 60 volts and much higher currents for large-format machines.

StealthChop and SpreadCycle compared

StealthChop and SpreadCycle are two chopper modes that trade silence against torque and dynamic control. StealthChop regulates voltage to produce an almost ripple-free current and removes the familiar whine of steppers, while SpreadCycle actively regulates current every cycle and holds torque better at speed.

AspectStealthChopSpreadCycle
Audible noiseVery lowAudible hum or hiss
Torque at high speedDrops earlierMaintained better
Response to sudden loadsCan lose stepsMore robust
Interaction with input shapingCan blur resonance dataMore predictable
Typical axisSlow Z axis, quiet office printersFast X and Y axes
Chopper mode comparison

Drivers can switch automatically between modes at a set velocity threshold, often called hybrid mode. A common configuration uses StealthChop for quiet slow moves and SpreadCycle above a speed at which torque becomes critical.

Configuring Trinamic drivers in firmware

Configuring a Trinamic driver means setting its current, microstepping and chopper mode through firmware rather than by turning a potentiometer. With UART or SPI connected, both Marlin and Klipper can read driver status and change settings at runtime.

  • Set the run current to roughly 70 to 85 percent of the motor rating, then adjust for temperature.
  • Reduce the hold current to lower heat when the motor is stationary.
  • Use 16 microsteps with interpolation as a reliable default on most axes.
  • Tune the StallGuard threshold carefully before relying on sensorless homing.
  • Check driver error flags for overtemperature and short-to-ground warnings.

The decision table below shows typical choices for common situations.

SituationRecommended settingReason
Printer in a living spaceStealthChop on all axesLowest noise
High-speed CoreXY machineSpreadCycle on X and YStable torque at speed
No endstop switchesStallGuard sensorless homingFewer parts and wires
Driver near its limitLower current, add heatsink and fanPrevents thermal shutdown
Configuration choices by situation

Limitations and common mistakes

Trinamic drivers are capable but sensitive to wiring, cooling and configuration. The most frequent mistake is assuming the current rating printed on a module can be used continuously, while in practice small boards reach thermal shutdown well below the nominal value without active cooling.

Sensorless homing is convenient but less repeatable than a mechanical or optical switch, so many builders still use a dedicated endstop or probe for the Z axis. StealthChop can also produce mid-band resonance or step loss on fast axes, which is a frequent cause of layer shift on upgraded printers.

Finally, UART and SPI wiring differs between boards, and swapping driver modules without changing jumpers and firmware settings leaves the driver in a fallback standalone mode with default current.

Supply voltage also matters. Running a 24 volt system gives steppers more headroom at speed than 12 volts, but exceeding the chip maximum, for example by feeding a TMC2209 with more than 29 volts, can destroy the driver instantly.

A plain-language summary

A 3D printer moves its parts with small motors that turn in tiny steps. A Trinamic stepper driver is the chip that feeds power to each motor and tells it exactly how far to turn.

These chips are popular because they make the motors almost silent and very smooth. They can even sense when a motor bumps into the end of its path, so the printer can find its starting point without extra switches.

An example from practice

A school makerspace runs three desktop printers in a classroom where loud motor whine disturbs lessons. The technician replaces older drivers with TMC2209 modules in UART mode on each mainboard and enables StealthChop for all axes, with a hybrid threshold that switches X and Y to SpreadCycle above 100 millimeters per second.

Run current is set to 0.8 A for the 1.5 A motors, and small heatsinks with a board fan keep the drivers cool. The printers become quiet enough to run during class, and print quality stays the same because fast travel moves still benefit from SpreadCycle torque.