|
AMIS-30622 Datasheet, PDF (35/42 Pages) AMI SEMICONDUCTOR – I2C Microstepping Motordriver | |||
|
◁ |
AMIS-30622
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
0
1
Content
Slave Address
GetFullStatus1
GetFullStatus1 command
Structure
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
1
1
OTP3 OTP2 OTP1 OTP0 HW
0
1
0
0
0
0
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)
Structure
bit 7
bit 6
bit 5 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
Rev. 3 | Page 35 of 42 | www.onsemi.com
|
▷ |