Datasheet

TMC262 / TMC262C DATASHEET (Rev. 2.22 / 2019-FEB-22) 28
www.trinamic.com
6.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 = $EF010; // high gate driver strength, StallGuard read, SDOFF=0
SPI = $00000; // 256 microstep setting
First test of CoolStep current control:
SPI = $A0222; // Enable CoolStep with minimum current ½ CS
The configuration parameters should be tuned to the motor and application for optimum
performance.