AMIS-30622 I2C Microstepping Motordriver
Data Sheet
RunInit
command is received. Furthermore the master has to check
that the actual position of the stepper motor does not
correspond to the target position of the first motion. This is
very important otherwise the circuit goes into a deadlock
state. Once the circuit is in deadlock state only a hardstop
command followed by a GetFullStatus1 command will
cause the circuit to leave this state.
The Master provides this command to the circuit in order to
initialize positioning of the motor by seeking the zero (or
reference) position.
Once the RunInit command is started it cannot be
interrupted by any other command, except on the
occurrence of a condition leading to a motor shutdown (See
§ 9.2.2.7 Motor Shutdown Mode), or when a HardStop
RunInitCommand
Byte
Content
Structure
bit 7
bit 6
bit 5
OTP3
0
1
1
bit 4
OTP2
0
1
1
bit 3
OTP1
1
1
1
bit 2
OTP0
0
1
bit 1
HW
0
1
1
bit 0
0
1
2
3
4
5
6
7
8
Slave Address
RunInitcommand
N/A
N/A
VmaxVmin
Position2 byte 1
Position2 byte 2
Position1 byte 1
Position1 byte 2
1
1
1
1
1
0
1
1
0
0
1
1
1
Vmax[3:0]
Vmin[3:0]
TagPos1[15:8]
TagPos1[7:0]
TagPos2[15:8]
TagPos2[7:0]
SetMotorParam
• minimum velocity for the Stepper-motor (Vmin)
• acceleration shape (AccShape)
• stepping mode (StepMode)
This command is provided to the circuit by the Master to
set the values for the Stepper motor parameters (listed
below) in RAM.
• indicator of the stepper motor reference position (Shaft)
• acceleration (deceleration) for the stepper motor (Acc)
• secure position for the stepper motor (SecPos)
• coil peak current value (Irun)
• coil hold current value (Ihold)
• maximum velocity for the stepper motor (Vmax)
SetMotorParamCommand
Byte
Content
Structure
bit 7
bit 6
bit 5
OTP3
0
1
1
bit 4
OTP2
0
1
1
bit 3
OTP1
1
1
1
bit 2
OTP0
0
1
1
bit 1
HW
0
1
1
bit 0
0
1
2
3
4
5
6
7
8
Slave Address
SetMotorParam
N/A
1
1
1
1
1
0
1
1
0
1
1
1
N/A
Irun & I hold
Vmax & Vmin
Status
SecurePos
StepMode
Irun[3:0]
Vmax[3:0]
SecPos[10:8] Shaft
Ihold[3:0]
Vmin[3:0]
Acc[3:0]
SecPos[7:0]
AccShape StepMode[1:0]
1
1
1
1
1
SetOTP
The Master provides this command to the circuit in order to
zap the OTP memory.
SetOTPCommand
Byte
Content
Structure
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
0
1
2
3
4
5
Slave Address
ZapOTP
N/A
N/A
OTP Address
Pbit
1
1
1
1
1
1
0
1
1
1
OTP3
OTP2
OTP1
OTP0
HW
0
1
1
0
0
1
1
0
1
1
1
1
1
1
1
0
1
1
1
0
1
1
OTPA[2:0]
Pbit[7:0]
AMI Semiconductor - Rev. 2.3
32
www.amis.com