Datasheet

TMC2590 DATASHEET (V1.0 / 2019-FEB-22) 5
www.trinamic.com
In addition to these performance enhancements, TRINAMIC motor drivers also offer safeguards to
detect and protect against shorted outputs, open-circuit output, overtemperature, and undervoltage
conditions for enhancing safety and recovery from equipment malfunctions.
1.2 Control Interfaces
There are two control interfaces from the motion controller to the motor driver: the SPI serial
interface and the STEP/DIR interface. The SPI interface is used to write control information to the chip
and read back status information. This interface allows application specific initialization of parameters
and modes. This interface may also be used for directly setting the currents flowing through the
motor coils, as an alternative to stepping the motor using the STEP and DIR signals, so the motor can
be controlled through the SPI interface alone.
In stand-alone mode, the most common configuration is pre-loaded automatically. The three SPI
inputs allow for additional choices.
The STEP/DIR interface allow universal real-time-control and is simple and robust.
1.2.1 SPI Interface
The SPI interface is a bit-serial interface synchronous to a bus clock. For every bit sent from the bus
master to the bus slave, another bit is sent simultaneously from the slave to the master.
Communication between an SPI master and the TMC2590 slave always consists of sending one 20-bit
command word and receiving one 20-bit status word.
1.2.2 Stand-Alone Control
Three configuration lines set 16 or 256 microsteps, chopper hysteresis, to adapt for motor size, and
motor current (2-level). With this, basic configuration of the driver does not require any interfacing.
1.2.3 STEP/DIR Interface
The STEP/DIR interface is enabled by default. Active edges on the STEP input can be rising edges or
both rising and falling edges, as controlled by the mode bit (DEDGE). Using both edges cuts the
toggle rate of the STEP signal in half, which is useful for communication over slow interfaces such as
optically isolated interfaces.
On each active edge, the state sampled from the DIR input determines whether to step forward or
back. Each step can be a fullstep or a microstep, in which there are 2, 4, 8, 16, 32, 64, 128, or 256
microsteps per fullstep. During microstepping, a low state on DIR increases the microstep counter and
a high decreases the counter by an amount controlled by the microstep resolution. An internal table
translates the counter value into the sine and cosine values which control the motor current for
microstepping.
1.3 Mechanical Load Sensing
The TMC2590 provides StallGuard2 high-resolution load measurement for determining the mechanical
load on the motor by measuring the back EMF. In addition to detecting when a motor stalls, this
feature can be used for homing to a mechanical stop without a limit switch or proximity detector. The
CoolStep power-saving mechanism uses StallGuard2 to reduce the motor current to the minimum
motor current required to meet the actual load placed on the motor.
1.4 Current Control
Current into the motor coils is controlled using a cycle-by-cycle chopper mode. Two chopper modes
are available: a traditional constant off-time mode and the new SpreadCycle mode. SpreadCycle mode
offers smoother operation and greater power efficiency over a wide range of speed and load.