English
Language : 

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