|
AMIS-30621 Datasheet, PDF (29/59 Pages) AMI SEMICONDUCTOR – LIN Microstepping Motordriver | |||
|
◁ |
AMISâ30621
Priority Encoder
The table below describes the simplified state management performed by the main control block.
Table 21. PRIORITY ENCODER
State "
Stopped
GotoPos
DualPosition
SoftStop
HardStop
ShutDown
Sleep
Command
â
Motor Stopped,
Ihold in Coils
Motor Motion On- No Influence on RAM
going
and TagPos
Motor Decelerating
Motor Forced to Motor Stopped, No Power
Stop
Hâbridges in HiâZ (Note 26)
GetActualPos
LIN inâframe
response
LIN inâframe
response
LIN inâframe
response
LIN inâframe
response
LIN inâframe
response
LIN inâframe
response
GetOTPparam
OTP refresh;
LIN inâframe
response
OTP refresh;
LIN inâframe
response
OTP refresh;
LIN inâframe
response
OTP refresh;
LIN inâframe
response
OTP refresh;
LIN inâframe
response
OTP refresh;
LIN inâframe
response
GetFullStatus
or GetStatus
[ attempt to clear <TSD> and
<HS> flags ]
LIN inâframe
response
LIN inâframe
response
LIN inâframe
response
LIN inâframe
response
LIN inâframe
response
LIN inâframe
response;
if (<TSD> or <HS>)
= â0â
then â Stopped
ResetToDefault
[ ActPos and TagPos are
not altered ]
OTP refresh;
OTP to RAM;
AccShape reset
OTP refresh;
OTP to RAM;
AccShape reset
OTP refresh;
OTP to RAM;
AccShape reset
(Note 28)
OTP refresh;
OTP to RAM;
AccShape reset
OTP refresh;
OTP to RAM;
AccShape reset
OTP refresh; OTP
to RAM; AccShape
reset
SetMotorParam
[ Master takes care about
proper update ]
RAM update
RAM update
RAM update
RAM update
RAM update
RAM update
ResetPosition
TagPos and ActPos
reset
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
DualPosition
â DualPosition
HardStop
SoftStop
â HardStop;
<StepLoss> = â1â
â SoftStop
â HardStop;
<StepLoss> = â1â
â HardStop;
<StepLoss> = â1â
Sleep or LIN timeout
[ â <Sleep> = â1â, reset by
any LIN command received
later ]
See Note 34
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â ]
â Shutdown
â HardStop
â HardStop
â HardStop
Thermal shutdown
[ <TSD> = â1â ]
â Shutdown
â SoftStop
â SoftStop
Motion finished
n.a.
â Stopped
â Stopped
â Stopped; TagPos
â Stopped;
n.a.
n.a.
=ActPos
TagPos =ActPos
With the Following Color Code:
Command Ignored
Transition to Another State
Master is responsible for proper update (see Note 32)
NOTE: See table notes on the following page.
http://onsemi.com
29
|
▷ |