AMIS-30621 LIN Micro-stepping Motor Driver
Data Sheet
Dynamic Identifiers Writing Frame
Byte
Content
Structure
Bit 4 Bit 3
Bit 7
Bit 6
Bit 5
Bit 2
Bit 1
Bit 0
0x3C
0x80
0
1
2
Identifier
AppCmnd
CMD
1
0x11
AD3
Broad
AD6
AD5
AD4
AD2
AD1
AD0
3
4
5
6
7
8
Address
Data 1
Data 2
Data 3
Data 4
Data 5
DynID_1[3:0]
DynID_2[1:0]
ROMp_3[3:0]
ROMp_4[2:0]
ROMp_1[3:0]
DynID_1[5:4]
DynID_2[5:2]
DynID_3[5:0]
ROMp_2[3:0]
DynID_4[5:0]
ROMp_4[3:2]
Where:
CMD[6:0]:
Broad:
0x11, corresponding to dynamic assignment of four LIN identifiers.
If Broad = ‘0’ all the circuits connected to the LIN bus will share the same dynamically assigned
identifiers.
DynID_x[5:0]: Dynamically assigned LIN identifier to the application command which ROM pointer is ROMp_x[3:0].
One frame allows only assigning four identifiers. Therefore, additional frames could be needed in order to assign more identifiers
(maximum three for the AMIS-30621).
Dynamic ID
ROM pointer
Application Command
User Defined
0010
GetActualPos
User Defined
User Defined
User Defined
User Defined
User Defined
User Defined
User Defined
User Defined
0011
0100
0101
0110
0111
0000
0001
1000
GetStatus
SetPosition
SetPositionShort (1 m)
SetPositionShort (2 m)
SetPositionShort (4 m)
GeneralPurpose 2 bytes
GeneralPurpose 4bytes
Preparation Frame
Command assignement done at start-up
Command assignement via Dynamic ID during operation
Figure 26: Principle of Dynamic Command Assignment
15.7 Commands Table
Table 23: LIN Commands with Corresponding ROM Pointer
Command Mnemonic
Command Byte (CMD)
Dynamic ID (example)
ROM Pointer
0x00
0x01
0x02
0x03
0x04
0x05
GetActualPos
GetFullStatus
GetOTPparam
GetStatus
000000
000001
000010
000011
000100
000101
100xxx
n.a.
0010
n.a.
000xxx
n.a.
0011
GotoSecurePosition
HardStop
n.a.
AMI Semiconductor – Sept. 2007, Rev 1.5
40
www.amis.com