|
AMIS-30622 Datasheet, PDF (34/42 Pages) AMI SEMICONDUCTOR – I2C Microstepping Motordriver | |||
|
◁ |
AMIS-30622
9.2.4.6. Timing and electrical characteristics of the serial interface
START
START
STOP
START
SDA
tf
SCK
tLOW
tr
tSU;DAT tf
tHD;STA
tHD;DAT tHIGH
tSU;STA
See § 5 and § 6 for DC and AC parameter values
tHD;STA
tr
tBUF
tSU;STO
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
Function
Command byte
Binary Hexadecimal
GetFullStatus1
Returns complete status of the chip
â1000 0001â
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
RunInit
Reference Search
â1000 1000â
0x88
SetMotorParam
Sets motor parameter
â1000 1001â
0x89
SetOTP
Zaps the OTP memory
â1001 0000â
0x90
SetPosition
Programmes a target and secure position â1000 1011â
0x8B
SoftStop
Motor stopping with deceleration phase
â1000 1111â
0x8F
Rev. 3 | Page 34 of 42 | www.onsemi.com
|
▷ |