AMIS-30621 LIN Micro-stepping Motor Driver
Data Sheet
GetOTPparam
This command is provided to the circuit by the LIN master after a preparation frame (see Preparing frames) was issued, to read the
content of an OTP memory segment which address was specified in the preparation frame.
GetOTPparamcorresponds to a LIN in-frame response 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 2
CMD[6:0] = 0x02
AD[6:0]
Reading Frame
Byte
Content
Structure
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
1
1
1
1
1
0
1
0
1
2
3
4
5
6
7
Identifier
Data 1
Data 2
Data 3
Data 4
Data 5
Data 6
Data 7
Data 8
OTP byte @0x00
OTP byte @0x01
OTP byte @0x02
OTP byte @0x03
OTP byte @0x04
OTP byte @0x05
OTP byte @0x06
OTP byte @0x07
8
Where:
(*)
According to parity computation.
GetStatus
This command is provided to the circuit by the LIN master to get a quick status (compared to that of GetFullStatuscommand) of the
circuit and of the stepper-motor. Refer to Flags Table to see the meaning of the parameters sent to the LIN master.
Note: A GetStatus command will attempt to reset flags <TW>, <TSD>, <UV2>, <ElDef>, <StepLoss>, and <VddReset>.
GetStatuscorresponds to a two data bytes LIN in-frame response with a direct ID (type #5).
GetStatus Reading Frame
Byte
Content
Structure
Bit 4
Bit 7
*
ESW
Bit 6
*
Bit 5
0
Bit 3
ID3
Bit 2
Bit 1
Bit 0
ID4
AD[6:0]
UV2 TSD
ID2
ID1
ID0
0
1
2
Identifier
Data 1
Data 2
VddReset StepLoss
ElDef
TW
Tinfo[1:0]
Where:
(*)
According to parity computation.
ID[5:0]:
Dynamically allocated direct identifier. There should be as many dedicated identifiers to this
GetStatus command as there are stepper motors connected to the LIN bus.
AMI Semiconductor – Sept. 2007, Rev 1.5
46
www.amis.com