English
Language : 

AMIS-30622 Datasheet, PDF (29/35 Pages) AMI SEMICONDUCTOR – I2C Microstepping Motordriver
AMIS-30622 I2C Microstepping Motordriver
Data Sheet
9.2.4.7 Description of Application Commands
Communications between the AMIS-30622 and a 2-wire
Serial Bus Interface Master takes place via a large set of
commands.
Reading commands are used to:
• Get actual status information, e.g. error flags
• Get actual position of the stepper motor
• Verify the right programming and configuration of the
AMIS-30622
Writing commands are used to:
• Program the OTP Memory
• Configure the positioner with motion parameters
(max/min speed, acceleration, stepping mode, etc.)
• Provide target positions to the stepper motor
9.2.4.8 Command Overview
Command Mnemonic
GetFullStatus1
GetFullStatus2
GetOTPParam
GotoSecurePosition
HardStop
ResetPosition
ResetToDefault
RunInit
SetMotorParam
SetOTP
SetPosition
SoftStop
Function
Returns complete status of the chip
Returns actual, target and secure position
Returns OTP parameter
Drives motor to secure position
Immediate full stop
Sets actual position to zero
Overwrites the chip RAM with OTP contents
Reference search
Sets motor parameter
Zaps the OTP memory
Programmes a target and secure position
Motor stopping with deceleration phase
Command Byte
Binary
Hexadecimal
“1000 0001”
0x81
“1111 1100”
0xFC
“1000 0010”
0x82
“1000 0100”
0x84
“1000 0101”
0x85
“1000 0110”
0x86
“1000 0111”
0x87
“1000 1000”
0x88
“1000 1001”
0x89
“1001 0000”
0x90
“1000 1011”
0x8B
“1000 1111”
0x8F
9.2.4.9 Commands Description
GetFullStatus1
This command is provided to the circuit by the Master to
get a complete status of the circuit and of the stepper
motor. The parameters sent via the 2-wire serial bus to the
Master are:
• coil peak and hold currents value (Irun and Ihold)
• maximum and minimum velocities for the stepper motor
(Vmax and Vmin)
• direction of movement clockwise / counter clockwise
(Shaft)
• stepping mode (StepMode)
• acceleration (deceleration) for the stepper motor (Acc)
• acceleration shape (AccShape)
• status information (see further)
• motion status <Motion [2:0]>
• over current flags for coil #1 <OVC1> and coil #2 <OVC2>
• digital supply reset <VddReset>
• charge pump status <CPFail>
• external switch status <ESW>
• step loss <StepLoss>
• electrical defect <ElDef>
• under voltage <UV2>
• temperature information <Tinfo>
• temperature warning <TW>
• temperature shutdown <TSD>
Byte Content
0
Slave Address
1
GetFullStatus1
bit 7
1
1
GetFullStatus1 Command
Structure
bit 6
bit 5
bit 4
1
OTP3
OTP2
0
0
0
bit 3
OTP1
0
bit 2
OTP0
0
bit 1
HW
0
bit 0
0
1
Byte
0
1
2
3
4
5
6
7
8
Content
Slave Address
Address
Irun & Ihold
Vmax & Vmin
Status 1
Status 2
Status 3
N/A
N/A
GetFullStatus1 Command (Response)
bit 7
bit 6
bit 5
Structure
bit 4
bit 3
1
1
OTP3
OTP2
OTP1
1
1
1
1
OTP3
Irun [3:0]
Vmax [3:0]
AccShape StepMode[1:0]
Shaft
VDDReset StepLoss ElDef UV2
TSD
Motion[2:0]
ESW
OVC1
1
1
1
1
1
1
1
1
1
1
bit 2
bit 1
bit 0
OTP0
HW
1
OTP2
OTP1
OTP0
Ihold [3:0]
Vmin [3:0]
ACC[3:0]
TW
Tinfo[1:0]
OVC2
1
CPFail
1
1
1
1
1
1
AMI Semiconductor - Rev. 2.3
www.amis.com
29