English
Language : 

AMIS-30624 Datasheet, PDF (45/56 Pages) AMI SEMICONDUCTOR – I2C Microstepping Motordriver
AMIS-30624 I2C Microstepping Motordriver
Data Sheet
17.0 I2C Application Commands
17.1 Introduction
Communications between the AMIS-30624 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 steppermotor
• Verify the right programming and configuration of the AMIS-30624
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
The I2C-bus master will have to use commands to manage the different application tasks the AMIS-30624 can feature. The commands
summary is given in Table 30.
17.2 Commands Table
Table 30: I2C Commands with Corresponding ROM Pointer
Command Mnemonic
Function
GetFullStatus1
GetFullStatus2
GetOTPParam
GotoSecurePosition
HardStop
ResetPosition
ResetToDefault
SetDualPosition
SetMotorParam
SetOTP
SetPosition
SetStallParam
SoftStop
Runvelocity
TestBemf
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
Drives the motor to two different positions with different speed
Sets motor parameter
Zaps the OTP memory
Programs a target and secure position
Sets stall parameters
Motor stopping with deceleration phase
Drives motor continuously
Outputs Bemf voltage on pin SWI
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
“1001 0110”
0x96
“1000 1111”
0x8F
“1001 0111”
0x97
“1001 1111”
0x9F
These commands are described hereafter, with their corresponding I2C frames. Refer to Data Transfer Formats for more details. A color
coding is used to distinguish between master and slave parts within the frames. An example is shown below.
Byte
0
1
2
Light Blue : Master data
GetFullStatus1 Response Frame
Content
Structure
Bit 7
Bit 6
Bit 5
Bit 4 Bit 3 Bit 2
Bit 1
Bit 0
Address
1
1
OTP3
OTP2 OTP1 OTP0
HW
0
Address
1
Data 1
1
1
Irun[3:0]
OTP3 OTP2 OTP1 OTP0
HW
Ihold[3:0]
White: Slave response
Figure 35: Color Code Used in the Definition of I2C Frames
AMI Semiconductor – Apr. 2007, Rev 3.1, M-20664-003
45
www.amis.com