User manual
TMCM-1141 TMCL Firmware V1.19 Manual (Rev. 1.01 / 2012-JUL-27)  69 
www.trinamic.com   
4.1  stallGuard2 
The module is equipped with TMC262 motor driver chip. The TMC262 features load measurement that can 
be used for stall detection. stallGuard2 delivers a sensorless load measurement of the motor as well as a 
stall detection signal. The measured value changes linear with the load on the motor in a wide range of 
load,  velocity  and  current  settings.  At  maximum  motor  load  the  stallGuard2  value  goes  to  zero.  This 
corresponds to a load angle of 90° between the magnetic field of the stator and magnets in the rotor. This 
also is the most energy efficient point of operation for the motor. 
Stall detection means that the motor will be stopped when the load gets too high. It is configured by axis 
parameter #174. 
Stall detection can also be used for finding the reference point. Do not use RFS in this case. 
4.2  coolStep Related Axis Parameters 
The  figure  below  gives  an  overview  of  the  coolStep  related  parameters.  Please  have  in  mind  that  the 
figure shows only one example for a drive. There are parameters which concern the configuration of the 
current. Other parameters are for velocity regulation and for time adjustment.  
THE FOLLOWING ADJUSTMENTS HAVE TO BE MADE: 
-  Thresholds for current (I
6
, I
7
 and I
183
) and velocity (V
182
) have to be identified and set. 
-  The stallGuard2 feature has to be adjusted and enabled with parameters SG
170
 and SG
181
.  
-  The reduction or increasing of the current in the coolStep area (depending on the load) has to be 
configured with parameters I
169
 and I
171
.  
In  this  chapter  only  basic  axis  parameters  are  mentioned  which  concern  coolStep  and  stallGuard2.  The 
complete list of axis parameters in chapter 4 contains further parameters which offer more configuration 
possibilities.  
Velocity
Time
T214
coolStep™ area
I7
I7
area without coolStep™
coolStep™ Adjustment Points and Thresholds
SG170
SG181
V182
I6
I183 I183
Current
V123 Velocity and parameter
I123 Current and parameter
T123  Time parameter
I7
I6
I183
I6/2*
* The lower threshold of the coolStep™ current can be adjusted up to I6/4. Refer to parameter 168.
The current depends on 
the load of the motor.
SG123  stallGuard2™ parameter
Figure 4.1: coolStep™ adjustment points and thresholds 










