|
AMIS-30622 Datasheet, PDF (26/42 Pages) AMI SEMICONDUCTOR – I2C Microstepping Motordriver | |||
|
◁ |
AMIS-30622
9.2.2.11. Priority encoder
The table below describes the state management performed by the Main control block.
State â Stopped
GotoPos
RunInit
SoftStop
HardStop
ShutDown
Command
â
motor stopped,
Ihold in coils
motor motion no influence on
motor
ongoing
RAM and TagPos decelerating
motor forced to motor stopped,
stop
H-bridges in Hi-Z
GetActualPos
I2C in-frame
response
I2C in-frame
response
I2C in-frame
response
I2C in-frame
response
I2C in-frame
response
I2C in-frame
response
GetOTPparam
GetFullStatus1
[ attempt to clear <TSD>
and <HS> flags ]
OTP refresh;
I2C in-frame
response
I2C in-frame
response
OTP refresh;
I2C in-frame
response
I2C in-frame
response
OTP refresh;
I2C in-frame
response
I2C in-frame
response
OTP refresh;
I2C in-frame
response
I2C in-frame
response
OTP refresh;
I2C in-frame
response
I2C in-frame
response
OTP refresh;
I2C in-frame
response
I2C in-frame
response;
if (<TSD> or
<HS>) = â0â
then â Stopped
ResetToDefault OTP refresh;
OTP refresh;
OTP refresh;
OTP refresh;
OTP refresh;
OTP refresh;
[ ActPos and TagPos OTP to RAM;
OTP to RAM;
OTP to RAM;
OTP to RAM;
OTP to RAM;
OTP to RAM;
are not altered ]
AccShape reset AccShape reset AccShape reset AccShape reset AccShape reset 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
If <SecEn> = â1â
GotoSecPosition
then TagPos =
SecPos;
â GotoPos
If <SecEn> = â1â
then TagPos =
SecPos
If <SecEn> = â1â
then TagPos =
SecPos
RunInit
â RunInit
HardStop
â HardStop;
â HardStop;
â HardStop;
<StepLoss> = â1â <StepLoss> = â1â <StepLoss> = â1â
SoftStop
â SoftStop
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;
â Stopped;
TagPos =ActPos TagPos =ActPos
n.a.
With the following color code:
Command ignored
Transition to another state
Master is responsible for proper update (see note 5)
Rev. 3 | Page 26 of 42 | www.onsemi.com
|
▷ |