L6482
Programming manual
Doc ID 023768 Rev 1
59/73
TH_STATUS bits indicate the current device thermal status (
):
UVLO, UVLO_ADC, OCD, CMD_ERROR, SW_EVN and TH_STATUS bits are latched:
when the respective conditions make them active (low or high) they remain in that state until
a GetStatus command is sent to the IC.
The BUSY bit reflects the BUSY pin status. The BUSY flag is low when a constant speed,
positioning or motion command is under execution and is released (high) after the command
has been completed.
The STCK_MOD bit is an active high flag indicating that the device is working in Step-clock
mode. In this case the step-clock signal should be provided through the STCK input pin.
The DIR bit indicates the current motor direction:
MOT_STATUS indicates the current motor status:
Any attempt to write to the register causes the command to be ignored and the
NOTPERF_CMD to rise (
).
Table 44.
STATUS register TH_STATUS bits
TH_STATUS
Status
0
0
Normal
0
1
Warning
1
0
Bridge shutdown
1
1
Device shutdown
Table 45.
STATUS register DIR bit
DIR
Motor direction
1
Forward
0
Reverse
Table 46.
STATUS register MOT_STATE bits
MOT_STATUS
Motor status
0
0
Stopped
0
1
Acceleration
1
0
Deceleration
1
1
Constant speed