AMIS-30621 LIN Micro-stepping Motor Driver
Data Sheet
14.2.10. Flags Table
Table 19: Flags Table
Length
(bit)
Flag
Mnemonic
Related Commands
Comment
Reset State
‘0’ = charge pump OK
‘1’ = charge pump failure
Reset only after GetFullStatus
<OVC1>or <OVC2>or <open circuit 1>or
<open circuit 2>or <CPFail>
Resets only after Get(Full)Status
CPFail
Charge pump failure
1
1
GetFullStatus
‘0’
GetActualPos
GetStatus
GetFullStatus
GetActualPos
GetStatus
ElDef
Electrical defect
‘0’
‘0’ = open
‘1’ = close
ESW
HS
External switch status
Electrical flag
1
1
‘0’
‘0’
GetFullStatus
<CPFail> or <UV2> or <ElDef> or
<VDDreset>
Internal use
“x00” = Stop
“001” = inner motion acceleration
“010” = inner motion deceleration
“011” = inner motion max. speed
“101” = outer motion acceleration
“110” = outer motion deceleration
“111” = outer motion max. speed
‘1’ = over current
Reset only after GetFullStatus
‘1’ = over current
Reset only after GetFullStatus
‘0’ if SecPos= “100 0000 0000”
‘1’ otherwise
Motion
Motion status
3
GetFullStatus
“000”
OVC1
Over current in coil X
Over current in coil Y
Secure position enabled
1
1
1
1
GetFullStatus
GetFullStatus
Internal use
‘0’
‘0’
OVC2
SecEn
Sleep
n.a.
‘0’
Circuit going to sleep
mode
‘1’ = sleep mode
Reset by LIN command
Internal use
GetActualPos
GetStatus
GetFullStatus
‘1’ = step loss due to under voltage, over current
or open circuit
StepLoss
Stop
Step loss
1
1
‘1’
‘0’
Motor stop
Internal use
“00” = normal temperature range
“01” = low temperature warning
“10” = high temperature warning
“11” = motor shutdown
GetActualPos
GetStatus
GetFullStatus
Tinfo
Temperature info
2
“00”
GetActualPos
GetStatus
GetFullStatus
GetActualPos
GetStatus
GetFullStatus
GetActualPos
GetStatus
GetFullStatus
‘1’ = shutdown (> 155°C typ.)
reset only after Get(Full)Status and if
<Tinfo> = “00”
‘1’ = over temp. (> 145°C)
reset only after Get(Full)Status and if
<Tinfo> = “00”
‘0’ = Vbb > UV2
‘1’ = Vbb ≤ UV2
Reset only after Get(Full)Status
Set at ‘1’ after power-up of the circuit. If this was
due to a supply micro-cut, it warns that the RAM
contents may have been lost; can be reset to ‘0’
TSD
TW
Thermal shutdown
Thermal warning
Battery stop voltage
1
1
1
‘0’
‘0’
‘0’
UV2
GetActualPos
GetStatus
GetFullStatus
VddReset
Digital supply reset
1
‘1’
with
a GetStatus or a GetFullStatus
command.
AMI Semiconductor – Sept. 2007, Rev 1.5
29
www.amis.com