Datasheet

TMC220X, TMC222X DATASHEET (Rev. 1.02 / 2017-MAY-16) 36
www.trinamic.com
5.4.3 DRV_STATUS Driver Status Flags
0X6F: DRV_STATUS DRIVER STATUS FLAGS AND CURRENT LEVEL READ BACK
Bit
Name
Function
Comment
31
stst
standstill indicator
This flag indicates motor stand still in each operation
mode. This occurs 2^20 clocks after the last step pulse.
30
stealth
stealthChop indicator
1: Driver operates in stealthChop mode
0: Driver operates in spreadCycle mode
29
-
reserved
Ignore these bits.
28
27
26
25
24
23
-
reserved
Ignore these bits.
22
21
20
CS_
ACTUAL
actual motor current /
smart energy current
Actual current control scaling, for monitoring the
function of the automatic current scaling.
19
18
17
16
15
-
reserved
Ignore these bits.
14
13
12
11
t157
157°C comparator
1: Temperature threshold is exceeded
10
t150
150°C comparator
1: Temperature threshold is exceeded
9
t143
143°C comparator
1: Temperature threshold is exceeded
8
t120
120°C comparator
1: Temperature threshold is exceeded
7
olb
open load indicator
phase B
1: Open load detected on phase A or B.
Hint: This is just an informative flag. The driver takes no
action upon it. False detection may occur in fast motion
and standstill. Check during slow motion, only.
6
ola
open load indicator
phase A
5
s2vsb
low side short
indicator phase B
1: Short on low-side MOSFET detected on phase A or B.
The driver becomes disabled. The flags stay active, until
the driver is disabled by software (TOFF=0) or by the
ENN input. Flags are separate for both chopper modes.
4
s2vsa
low side short
indicator phase A
3
s2gb
short to ground
indicator phase B
1: Short to GND detected on phase A or B. The driver
becomes disabled. The flags stay active, until the driver
is disabled by software (TOFF=0) or by the ENN input.
Flags are separate for both chopper modes.
2
s2ga
short to ground
indicator phase A
1
ot
overtemperature flag
1: The selected overtemperature limit has been reached.
Drivers become disabled until otpw is also cleared due
to cooling down of the IC.
The overtemperature flag is common for both bridges.
0
otpw
overtemperature pre-
warning flag
1: The selected overtemperature pre-warning threshold
is exceeded.
The overtemperature pre-warning flag is common for
both bridges.