English
Language : 

AMIS-30621 Datasheet, PDF (45/59 Pages) AMI SEMICONDUCTOR – LIN Microstepping Motordriver
AMIS−30621
GetFullStatus
This command is provided to the circuit by the LIN master
to get a complete status of the circuit and the stepper−motor.
Refer to RAM Registers and Flags Table to see the meaning
of the parameters sent to the LIN master.
Note: A GetFullStatus command will attempt to reset
flags <TW>, <TSD>, <UV2>, <ElDef>, <StepLoss>,
<CPFail>, <OVC1>, <OVC2>, <VddReset>.
The master sends either type#7 or type#8 preparing frame.
GetFullStatus corresponds to 2 successive LIN
in−frame responses with 0x3D indirect ID.
Note: It is not mandatory for the LIN master to initiate the
second in−frame response if the data in the second response
frame is not needed by the application.
1. The master sends a type #7 preparing frame. After the type#7 preparing frame, the master sends a reading frame
type#6 to retrieve the circuit’s in−frame response.
Table 35. GetFullStatus PREPARING FRAME TYPE #7
Byte
Content
Bit 7
Bit 6
Bit 5
0
Identifier
*
*
0
1
Data 1
1
2
Data 2
1
3
Checksum
Table 36. GetFullStatus READING FRAME TYPE #6 (1)
Byte
Content
Bit 7
Bit 6
Bit 5
0
Identifier
0
1
1
1
Data 1
1
2
Data 2
Irun[3:0]
3
Data 3
Vmax[3:0]
4
Data 4
AccShape
StepMode[1:0]
5
Data 5
VDDReset StepLoss
ElDef
6
Data 6
Motion[2:0]
7
Data 7
1
1
1
8
Data 8
9
Checksum
Table 37. GetFullStatus READING FRAME TYPE #6 (2)
Byte
Content
Bit 7
0
Identifier
0
1
Data 1
1
2
Data 2
3
Data 3
4
Data 4
5
Data 5
6
Data 6
7
Data 7
1
8
Data 8
9
Checksum
Where:
(*) According to parity computation
Bit 6
1
1
Bit 5
1
1
Structure
Bit 4
Bit 3
Bit 2
ID4
ID3
ID2
CMD[6:0] = 0x01
AD[6:0]
Checksum over data
Bit 1
ID1
Bit 0
ID0
Structure
Bit 4
Bit 3
1
1
AD[6:0]
Shaft
UV2
TSD
ESW
OVC1
1
TimeE
0xFF
Checksum over data
Bit 2
1
Bit 1
0
Bit 0
1
Ihold[3:0]
Vmin[3:0]
Acc[3:0]
TW
Tinfo[1:0]
OVC2
1
CPFail
DataE
HeadE
BitE
Structure
Bit 4
Bit 3
1
1
AD[6:0]
ActPos[15:8]
ActPos[7:0]
TagPos[15:8]
TagPos[7:0]
SecPos[7:0]
1
1
0xFF
Checksum over data
Bit 2
1
Bit 1
0
Bit 0
1
SecPos[10:8]
http://onsemi.com
45