Datasheet

TMC2590 DATASHEET (V1.0 / 2019-FEB-22) 30
www.trinamic.com
7.11 Device Initialization
The following sequence of SPI commands is an example of enabling the driver and initializing the
chopper:
SPI = $901B4; // Hysteresis mode
or
SPI = $94557; // Constant t
off
mode
SPI = $D001F; // Current setting: $d001F (max. current)
SPI = $EF013; // medium gate driver strength, StallGuard read, STEP & DIR-Mode,
// enable short to VS protection, CLK failsafe and resonance dampening
SPI = $00000; // 256 microstep setting
First test of CoolStep current control:
SPI = $A0222; // Enable CoolStep with minimum current ½CS and medium fast response
The configuration parameters should be tuned to the motor and application for optimum
performance.