AMIS-30624 AMI Semiconductor, Inc., AMIS-30624 Datasheet - Page 45

no-image

AMIS-30624

Manufacturer Part Number
AMIS-30624
Description
I2c Microstepping Motordriver
Manufacturer
AMI Semiconductor, Inc.
Datasheet
AMIS-30624 I
17.0 I
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:
Writing commands are used to:
The I
summary is given in Table 30.
17.2 Commands Table
Table 30: I
These commands are described hereafter, with their corresponding I
coding is used to distinguish between master and slave parts within the frames. An example is shown below.
GetFullStatus1
GetFullStatus2
GetOTPParam
GotoSecurePosition
HardStop
ResetPosition
ResetToDefault
SetDualPosition
SetMotorParam
SetOTP
SetPosition
SetStallParam
SoftStop
Runvelocity
TestBemf
AMI Semiconductor – Apr. 2007, Rev 3.1, M-20664-003
www.amis.com
2
C-bus master will have to use commands to manage the different application tasks the AMIS-30624 can feature. The commands
Command Mnemonic
2
Get actual status information, e.g. error flags
Get actual position of the steppermotor
Verify the right programming and configuration of the AMIS-30624
Program the OTP memory
Configure the positioner with motion parameters (max/min speed, acceleration, stepping mode, etc.)
Provide target positions to the Stepper motor
C Application Commands
2
C Commands with Corresponding ROM Pointer
Byte
0
1
2
Light Blue : Master data
Content
Address
Address
Data 1
2
C Microstepping Motordriver
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
Bit 7
1
1
Figure 35: Color Code Used in the Definition of I
Bit 6
1
1
GetFullStatus1 Response Frame
Irun[3:0]
Function
OTP3
Bit 5
1
45
2
C frames. Refer to
OTP2
OTP3
Bit 4
Structure
OTP1
OTP2
Bit 3
2
C Frames
Data Transfer Formats
OTP0
OTP1
Bit 2
Ihold[3:0]
“1000 0001”
“1111 1100”
“1000 0010”
“1000 0100”
“1000 0101”
“1000 0110”
“1000 0111”
“1000 1000”
“1000 1001”
“1001 0000”
“1000 1011”
“1001 0110”
“1000 1111”
“1001 0111”
“1001 1111”
OTP0
Bit 1
White: Slave response
HW
Binary
Command Byte
for more details. A color
Bit 0
HW
0
Data Sheet
Hexadecimal
0x81
0xFC
0x82
0x84
0x85
0x86
0x87
0x88
0x89
0x90
0x8B
0x96
0x8F
0x97
0x9F

Related parts for AMIS-30624