AMIS-30624 I2C Microstepping Motordriver
Data Sheet
17.3 Application Commands
GetFullStatus1
This command is provided to the circuit by the master to get a complete status of the circuit and of the steppermotor. Refer to Table 18
and Table 19 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>.
GetFullStatus1corresponds to the following I2C command frame:
GetFullStatus1 Command Frame
Byte
Content
Structure
Bit 4
Bit 7
Bit 6
Bit 5
OTP3
0
Bit 3
Bit 2
OTP0
0
Bit 1
HW
Bit 0
1
1
1
0
OTP2
0
OTP1
0
0
1
0
1
Address
0
Command
GetFullStatus1 Response Frame
Structure
Byte
Content
Bit 7
Bit 6
Bit 5
OTP3
1
Bit 4
OTP2
OTP3
Bit 3
OTP1
OTP2
Bit 2
OTP0
OTP1
Bit 1
HW
Bit 0
1
1
1
0
1
2
3
4
5
6
7
8
Address
Address
Data 1
Data 2
Data 3
Data 4
Data 5
Data 6
Data 7
1
1
OTP0
HW
Irun[3:0]
Ihold[3:0]
Vmin[3:0]
Acc[3:0]
Vmax[3:0]
AccShape
VddReset
Shaft
UV2
ESW
1
StepMode[1:0]
StepLoss
Motion[2:0]
1
ElDef
TSD
OVC1
1
Tinfo[1:0]
TW
OVC2
Stall
1
CPFail
1
1
1
1
AbsThr[3:0]
DelThr[3:0]
Where:
OTP(n)
HW
OTP address bits PA[3:0]
Hardwired address bit
Irun[3:0]
Ihold[3:0]
Vmax[3:0]
Vmin[3:0]
AccShape
Operating current in the motor coil
Standstill current in the motor coil
Maximum velocity
Minimum velocity
Enables motion without acceleration
StepMode[1:0] Step mode definition
Shaft
Direction of movement
Acc[3:0]
VddReset
StepLoss
ElDef
Acceleration form minimum to maximum velocity
Reset of digital supply
Step loss occurred
Electrical defect
UV2
TSD
Battery under voltage detected
Thermal shutdown
TW
Thermal warning
Tinfo[1:0]
Motion[2:0]
ESW
OVC1
OVC2
Temperature Info
Motion status
External switch status
Over current in X-coil detected
Over current in Y-coil detected
Stall detected
Stall
CPFail
AbsThr[3:0]
DelThr[3:0]
Charge pump failure
Stall detection absolute threshold
Stall detection delta threshold
AMI Semiconductor – Apr. 2007, Rev 3.1, M-20664-003
46
www.amis.com