English
Language : 

AMIS-30624_13 Datasheet, PDF (42/52 Pages) ON Semiconductor – I2C Micro-stepping Motor Driver
AMIS−30624, NCV70624
I2C APPLICATION COMMANDS
Introduction
Communications between the AMIS−30624/NCV70624
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−30624/NCV70624.
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/NCV70624
can feature. The commands summary is given in Table 31.
Commands Table
Table 31. I2C COMMANDS WITH CORRESPONDING ROM POINTER
Command Byte
Command Mnemonic
GetFullStatus1
Function
Returns complete status of the chip
Binary
“1000 0001”
Hexadecimal
0x81
GetFullStatus2
Returns actual, target and secure position
“1111 1100”
0xFC
GetOTPParam
Returns OTP parameter
“1000 0010”
0x82
GotoSecurePosition
Drives motor to secure position
“1000 0100”
0x84
HardStop
Immediate full stop
“1000 0101”
0x85
ResetPosition
Sets actual position to zero
“1000 0110”
0x86
ResetToDefault
Overwrites the chip RAM with OTP contents
“1000 0111”
0x87
SetDualPosition
Drives the motor to two different positions with
different speed
“1000 1000”
0x88
SetMotorParam
Sets motor parameter
“1000 1001”
0x89
SetOTP
Zaps the OTP memory
“1001 0000”
0x90
SetPosition
Programs a target and secure position
“1000 1011”
0x8B
SetStallParam
Sets stall parameters
“1001 0110”
0x96
SoftStop
Motor stopping with deceleration phase
“1000 1111”
0x8F
Runvelocity
Drives motor continuously
“1001 0111”
0x97
TestBemf
Outputs Bemf voltage on pin SWI
“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.
Light Gray: Master Data
White: Slave Response
Figure 33. Color Code Used in the Definition of I2C Frames
http://onsemi.com
42