TMC262 DATASHEET (Rev. 2.07 / 2013-FEB-14)
26
6.11 Device Initialization
The following sequence of SPI commands is an example of enabling the driver and initializing the
chopper:
SPI = $901B4;
SPI = $94557;
SPI = $D001F;
SPI = $EF010;
SPI = $00000;
// Hysteresis mode
or
// Constant toff mode
// Current setting: $d001F (max. current)
// high gate driver strength, stallGuard read, SDOFF=0
// 256 microstep setting
First test of coolStep current control:
SPI = $A8202;
// Enable coolStep with minimum current ¼ CS
The configuration parameters should be tuned to the motor and application for optimum
performance.
www.trinamic.com