English
Language : 

AMIS-30623 Datasheet, PDF (33/67 Pages) AMI SEMICONDUCTOR – LIN Microstepping Motordriver
AMIS-30623 LIN Microstepping Motordriver
Data Sheet
15.2.10.1.
Priority Encoder
The table below describes the state management performed by the main control block.
Table 21: Priority Encoder
State →
Stopped
Command
↓
motor stopped,
Ihold in coils
GetActualPos
LIN in-frame
response
GetOTPparam
OTP refresh;
LIN in-frame
response
GetFullStatus
or GetStatus
[ attempt to clear <TSD>
and <HS> flags ]
LIN in-frame
response
ResetToDefault
OTP refresh;
[ ActPos and TagPos OTP to RAM;
are not altered ]
AccShape reset
GotoPos
motor motion
ongoing
LIN in-frame
response
OTP refresh;
LIN in-frame
response
LIN in-frame
response
OTP refresh;
OTP to RAM;
AccShape reset
DualPosition
no influence on
RAM and
TagPos
LIN in-frame
response
OTP refresh;
LIN in-frame
response
LIN in-frame
response
OTP refresh;
OTP to RAM;
AccShape reset
(note 3)
SoftStop
motor
decelerating
LIN in-frame
response
OTP refresh;
LIN in-frame
response
LIN in-frame
response
OTP refresh;
OTP to RAM;
AccShape reset
HardStop
ShutDown
Sleep
motor forced to motor stopped, no power
stop
H-bridges in (note 1)
Hi-Z
LIN in-frame
response
LIN in-frame
response
OTP refresh;
LIN in-frame
response
OTP refresh;
LIN in-frame
response
LIN in-frame
response
LIN in-frame
response;
if (<TSD> or
<HS>) = ‘0’
then → Stopped
OTP refresh;
OTP refresh;
OTP to RAM; OTP to RAM;
AccShape reset AccShape reset
SetMotorParam
[ Master takes care
about proper update ]
RAM update
RAM update
RAM update
ResetPosition
TagPos and
ActPos reset
SetPosition
TagPos updated;
→ GotoPos
TagPos updated
TagPos updated
SetPositionShort
[ half-step mode only) ]
TagPos updated;
→ GotoPos
TagPos updated
TagPos updated
GotoSecPosition
If <SecEn> = ‘1’
then TagPos =
SecPos;
→ GotoPos
If <SecEn> = ‘1’
then TagPos =
SecPos
If <SecEn> = ‘1’
then TagPos =
SecPos
RAM update
RAM update
RAM update
TagPos and
ActPos reset
DualPosition
→ DualPosition
HardStop
→ HardStop; → HardStop; → HardStop;
<StepLoss> = ‘1’ <StepLoss> = ‘1’ <StepLoss> = ‘1’
SoftStop
→ SoftStop
Sleep or LIN timeout
[ ⇒ <Sleep> = ‘1’, reset
by any LIN command
received later ]
See note 9
If <SecEn> = ‘1’
then TagPos =
SecPos
else → SoftStop
If <SecEn> = ‘1’
then TagPos =
SecPos;
will be evaluated
after DualPosition
No action;
<Sleep> flag will
be evaluated
when motor stops
No action;
<Sleep> flag will
be evaluated
when motor stops
→ Sleep
HardStop
[ ⇔ (<CPFail> or
<UV2> or <ElDef>) =
‘1’ ⇒ <HS> = ‘1’ ]
Thermal shutdown
[ <TSD> = ‘1’ ]
→ Shutdown
→ Shutdown
→ HardStop
→ SoftStop
→ HardStop
→ SoftStop
→ HardStop
Motion finished
n.a.
→ Stopped
→ Stopped
→ Stopped;
→ Stopped;
TagPos =ActPos TagPos =ActPos
n.a.
n.a.
With the following color code:
Command ignored
Transition to another state
Master is responsible for proper update (see note 7)
AMI Semiconductor – June 2006, Rev 3.0
33
www.amis.com