|
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
|
▷ |