AMIS-30623 LIN Microstepping Motordriver
Data Sheet
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> and <VddReset>.
GetFullStatuscorresponds to 2 successive LIN in-frame responses with 0x3D indirect ID.
Preparing Frame
Byte Content
Structure
Bit 7
Bit 6
*
Bit 5
0
Bit 4
ID4
Bit 3
ID3
Bit 2
ID2
Bit 1
ID1
Bit 0
ID0
*
1
1
0
1
2
Identifier
Data 1
Data 1
CMD[6:0] = 0x01
AD[6:0]
Reading Frame 1
Structure
Bit 4 Bit 3
Byte Content
Bit 7
Bit 6
Bit 5
Bit 2
Bit 1
Bit 0
0
1
1
1
1
1
1
0
1
0
1
2
3
4
5
6
7
8
Identifier
Data 1
Data 2
Data 3
Data 4
Data 5
Data 6
Data 7
Data 8
AD[6:0]
Irun[3:0]
Vmax[3:0]
StepMode[1:0]
StepLoss
Ihold[3:0]
Vmin[3:0]
Acc[3:0]
AccShape
VddReset
Shaft
UV2
ESW
0
ElDef
TSD
OVC1
TimeE DataE
TW
Tinfo[1:0]
Motion[2:0]
OVC2
Stall
HeadE
DelThr[3:0]
CPFail
BitE
0
0
0
AbsThr[3:0]
Reading Frame 2
Structure
Bit 4 Bit 3
Byte Content
Bit 7
Bit 6
Bit 5
Bit 2
Bit 1
Bit 0
0
1
1
1
1
1
1
0
1
0
1
2
3
4
5
6
7
8
Identifier
Data 1
Data 2
Data 3
Data 4
Data 5
Data 6
Data 7
Data 8
AD[6:0]
ActPos[15:8]
ActPos[7:0]
TagPos[15:8]
TagPos[7:0]
SecPos[7:0]
MinZCross[2:0]
1
DC100
SecPos[10:8]
DelStallLo
DelStallHi
DC100StEn
AbsStall
MinSamples[2:0]
PWMJEn
Where:
(*)
According to parity computation
Important: it is not mandatory for the LIN master to initiate the second in-frame response if ActPos, TagPos and SecPos are not
needed by the application.
AMI Semiconductor – June 2006, Rev 3.0
53
www.amis.com