AMIS-30623 LIN Microstepping Motordriver
Data Sheet
15.2.10. Flags Table
Table 20: 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
GetFullStatus
Charge pump failure
1
1
‘0’
GetActualPos
GetStatus
GetFullStatus
ElDef
Electrical defect
‘0’
GetActualPos
GetStatus
GetFullStatus
‘0’ = open
‘1’ = close
ESW
HS
External switch status
Electrical flag
1
1
‘0’
‘0’
<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
GetFullStatus
Motion status
3
“000”
OVC1
GetFullStatus
GetFullStatus
Internal use
Over current in coil X
Over current in coil Y
1
1
1
1
‘0’
‘0’
OVC2
Secure
enabled
Circuit going to Sleep
mode
position
SecEn
Sleep
n.a.
‘0’
‘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
Step loss
1
‘1’
DelStallHi
DelStallLo
AbsStall
GetFullStatus
GetFullStatus
GetFullStatus
Delta High Stall
Delta Low Stall
Absolute Stall
1
1
1
‘1’ = Vbemf > Ūbemf + DeltaThr
‘1’ = Vbemf > Ūbemf – DeltaThr
‘1’ = Vbemf > AbsThr
‘0’
‘0’
‘0’
GetFullStatus
GetStatus
Stall
Stop
Stall
1
1
‘0’
‘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”
‘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”
GetActualPos
GetStatus
GetFullStatus
TSD
TW
Thermal shutdown
Thermal warning
1
1
1
‘0’
‘0’
‘0’
GetActualPos
GetStatus
GetFullStatus
‘0’ = Vbb > UV2
‘1’ = Vbb ≤ UV2
GetActualPos
GetStatus
GetFullStatus
Battery
stop voltage
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’ with a
GetStatusor a
GetActualPos
GetStatus
GetFullStatus
VddReset
Digital supply reset
1
‘1’
GetFullStatuscommand.
AMI Semiconductor – June 2006, Rev 3.0
32
www.amis.com