AMIS-30623 AMI Semiconductor, Inc., AMIS-30623 Datasheet - Page 46

no-image

AMIS-30623

Manufacturer Part Number
AMIS-30623
Description
Lin Microstepping Motordriver
Manufacturer
AMI Semiconductor, Inc.
Datasheet
AMIS-30623 LIN Microstepping Motordriver
16.6.4. Dynamic Assignment of Identifiers
The identifier field in the LIN datagram denotes the content of the message. Six identifier bits and two parity bits are used to represent
the content. The identifiers 0x3C and 0x3F are reserved for command frames and extended frames. Slave nodes need to be very
flexible to adapt itself to a given LIN network in order to avoid conflicts with slave nodes from different manufacturers. Dynamic
assignment of the identifiers will fulfill this requirement by writing identifiers into the circuits RAM. ROM pointers are linking commands
and dynamic identifiers together. A writing frame with identifier 0x3C issued by the LIN master will write dynamic identifiers into the
RAM. One writing frame is able to assign 4 identifiers, therefore 3 frames are needed to assign all identifiers. Each ROM pointer
ROMp_x [3:0] place the corresponding dynamic identifier Dyn_ID_x [5:0] at the correct place in the RAM (see Table 1: LIN – Dynamic
Identifiers Writing Frame).
When setting <BROAD> to zero broadcasting is active and each slave on the LIN bus will store the same dynamic identifiers, otherwise
only the slave with the corresponding slave address is programmed.
One frame allows only to assign four identifiers. Therefore, additional frames could be needed in order to assign more identifiers
(maximum three for the AMIS-30623).
AMI Semiconductor – June 2006, Rev 3.0
www.amis.com
Where:
CMD[6:0]:
Broad:
DynID_x[5:0]: Dynamically assigned LIN identifier to the application command which ROM pointer is ROMp_x[3:0]
Byte
0
1
2
3
4
5
6
7
8
Content
Identifier
AppCmnd
CMD
Address
Data
Data
Data
Data
Data
0x11, corresponding to dynamic assignment of four LIN identifiers
identifiers.
If broad = ‘0’ all the circuits connected to the LIN bus will share the same dynamically assigned
User Defined
User Defined
User Defined
User Defined
User Defined
User Defined
User Defined
User Defined
User Defined
User Defined
Dynamic ID
Command assignement done at start-up
Command assignement via Dynamic ID during operation
Figure 26:Principle of Dynamic Command Assignment
Broad
Bit 7
ROMp_4[2:0]
DynID_2[1:0]
1
Dynamic Identifiers Writing Frame
ROMp_3[3:0]
Bit 6
DynID_1[3:0]
AD6
ROM pointer
46
Bit 5
DynID_4[5:0]
AD5
0010
0011
0100
0101
0110
0111
0000
0001
1000
1001
Bit 4
ROMp_2[3:0]
AD4
Structure
0x3C
0x80
Bit 3
0x11
AD3
DynID_3[5:0]
GeneralPurpose 2 bytes
GeneralPurpose 4bytes
Application Command
SetPositionShort (1 m)
SetPositionShort (2 m)
SetPositionShort (4 m)
Preparation Frame
Bit 2
ROMp_1[3:0]
GetActualPos
SetPosParam
AD2
DynID_2[5:2]
SetPosition
GetStatus
Bit 1
ROMp_4[3:2]
AD1
DynID_1[5:4]
Bit 0
AD0
Data Sheet

Related parts for AMIS-30623