|
AMIS-30622_13 Datasheet, PDF (41/50 Pages) ON Semiconductor – I2C Micro-Stepping Motor Driver | |||
|
◁ |
AMISâ30622
Application Commands
GetFullStatus1
This command is provided to the circuit by the master to
get a complete status of the circuit and of the stepper motor.
Refer to Tables 19 and 20 to see the meaning of the
parameters sent back to the I2C master.
Note: A GetFullStatus1 command will attempt to
reset flags <TW>, <TSD>, <UV2>, <ElDef>,
<StepLoss>, <CPFail>, <OVC1>, <OVC2>, and
<VddReset>.
GetFullStatus1 corresponds to the following I2C command frame:
Table 26. GetFullStatus1 COMMAND FRAME
Structure
Byte
Content
Bit 7
Bit 6
Bit 5
Bit 4 Bit 3 Bit 2
Bit 1
Bit 0
0
Address
1
1
OTP3
OTP2 OTP1 OTP0
HW
0
1
Command
1
0
0
0
0
0
0
1
Table 27. GetFullStatus1 RESPONSE FRAME
Structure
Byte
Content
Bit 7
Bit 6
Bit 5
Bit 4 Bit 3 Bit 2
Bit 1
Bit 0
0
Address
1
1
OTP3
OTP2 OTP1 OTP0
HW
1
1
Address
1
1
1
OTP3 OTP2 OTP1 OTP0
HW
2
Data 1
Irun[3:0]
Ihold[3:0]
3
Data 2
Vmax[3:0]
Vmin[3:0]
4
Data 3
AccShape
StepMode[1:0]
Shaft
Acc[3:0]
5
Data 4
VddReset StepLoss ElDef
UV2
TSD
TW
Tinfo[1:0]
6
Data 5
Motion[2:0]
ESW OVC1 OVC2
1
CPFail
7
Data 6
1
1
1
1
1
1
1
1
8
Data 7
1
1
1
1
1
1
1
1
Where:
OTP(n)
HW
OTP address bits PA[3:0]
Hardwired address bit
StepLoss
ElDef
Step loss occurred
Electrical defect
Irun[3:0]
Operating current in the motor coil
UV2
Battery under voltage detected
Ihold[3:0]
Standstill current in the motor coil
TSD
Vmax[3:0]
Maximum velocity
TW
Thermal shutdown
Thermal warning
Vmin[3:0]
AccShape
StepMode[1:0]
Minimum velocity
Enables motion without acceleration
Step mode definition
Tinfo[1:0]
Motion[2:0]
ESW
Temperature Info
Motion status
External switch status
Shaft
Acc[3:0]
VddReset
Direction of movement
Acceleration form minimum to
maximum velocity
Reset of digital supply
OVC1
OVC2
CPFail
Over current in Xâcoil detected
Over current in Yâcoil detected
Charge pump failure
http://onsemi.com
41
|
▷ |