Datasheet
TMC2300 DATASHEET (Rev. 1.02 / 2019-NOV-06) 25
www.trinamic.com
5.3 StallGuard Control
COOLSTEP AND STALLGUARD CONTROL REGISTER SET (0X14, 0X40…0X42)
R/W
Addr
n
Register
Description / bit names
W
0x14
10
TCOOLTHRS
TCOOLTHRS
This is the lower threshold velocity for switching on smart
energy CoolStep and StallGuard feature. (unsigned)
Set this parameter to disable CoolStep at low speeds, where it
cannot work reliably. The stall output signal becomes enabled
when exceeding this velocity.
TCOOLTHRS ≥ TSTEP
- CoolStep is enabled
- Stall output signal on pin DIAG is enabled
W
0x40
8
SGTHRS
SGTHRS
Detection threshold for stall. The StallGuard value SG_VALUE
becomes compared to this threshold.
A stall is signaled with
SG_VALUE ≤ SGTHRS*2
R
0x41
10
SG_VALUE
StallGuard result. SG_RESULT becomes updated with each
fullstep, independent of TCOOLTHRS and SGTHRS. A higher
value signals a lower motor load and more torque headroom.
Intended for StealthChop mode, only. Bits 9 and 0 will always
show 0. Scaling to 10 bit is for compatibility to StallGuard2.
W
0x42
16
COOLCONF
CoolStep configuration
See separate table!