AMIS-30623 LIN Microstepping Motordriver
Data Sheet
Usually, the AMIS-30623 makes use of dynamic identifiers for general-purpose 2, 4 or 8 bytes writing frames. If dynamic identifiers are
used for other purpose, this is acknowledged.
Some frames implement a Broadbit that allows to address a command to all the AMIS-30623 circuits connected to the same LIN bus.
Broadis active when at ‘0’, in which case the physical address provided in the frame is thus not taken into account by the slave nodes.
17.2 Application Commands
GetActualPos
This command is provided to the circuit by the LIN master to get the actual position of the stepper-motor. This position
(ActPos[15:0]) is returned in signed two’s complement 16-bit format. One should note that according to the programmed stepping
mode, the LSBs of ActPos[15:0] may have no meaning and should be assumed to be ‘0’, as described in Position Ranges.
GetActualPosalso provides a quick status of the circuit and the stepper-motor, identical to that obtained by command GetStatus
(see further).
Note: A GetActualPosition command will not attempt to reset any flag. GetActualPos corresponds to the following LIN reading frames.
1.) 4 data bytes in-frame response with direct ID (type #5)
Reading Frame
Byte
Content
Structure
Bit 7
*
ESW
Bit 6
*
Bit 5
1
Bit 4 Bit 3 Bit 2
Bit 1
ID1
Bit 0
ID0
0
ID3
ID2
0
1
2
3
Identifier
Data 1
Data 2
Data 3
Data 4
AD[6:0]
ActPos[15:8]
ActPos[7:0]
ElDef
VddReset
StepLoss
UV2
TSD
TW
Tinfo[1:0]
4
Where:
(*)
According to parity computation
ID[5:0]:
Dynamically allocated direct identifier. There should be as many dedicated identifiers to this
GetActualPos command as there are stepper-motors connected to the LIN bus.
2.) One preparing frame prior 4 data bytes in-frame response with 0x3D indirect ID
Preparing Frame
Byte
Content
Structure
Bit 7
Bit 6
*
Bit 5
0
Bit 4 Bit 3 Bit 2
Bit 1
ID1
Bit 0
ID0
*
1
1
ID4
ID3
ID2
0
1
2
Identifier
Data 1
Data 2
CMD[6:0] = 0x00
AD[6:0]
Reading Frame
Structure
Bit 4 Bit 3 Bit 2
Byte
Content
Bit 7
0
ESW
Bit 6
Bit 5
Bit 1
0
Bit 0
1
1
1
1
1
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
AD[6:0]
ActPos[15:8]
ActPos[7:0]
VddReset
StepLoss
ElDef
UV2
TSD
TW
Tinfo[1:0]
0xFF
0xFF
0xFF
0xFF
8
Where:
(*)
According to parity computation
AMI Semiconductor – June 2006, Rev 3.0
52
www.amis.com