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

no-image

AMIS-30623

Manufacturer Part Number
AMIS-30623
Description
Lin Microstepping Motordriver
Manufacturer
AMI Semiconductor, Inc.
Datasheet
AMIS-30623 LIN Microstepping Motordriver
SetDualPosition
This command is provided to the circuit by the LIN master in order to perform a positioning of the motor using two different velocities.
See Section
Note1 : This sequence cannot be interrupted by another positioning command.
Important: If for some reason ActPos equals Pos1[15:0] at the moment the SetDualPosition command is issued, the circuit will
enter in deadlock state. Therefore, the application should check the actual position by a GetPosition or a
command prior to start a dual positioning. Another solution may consist of programming a value out of the stepper motor range for
Pos1[15:0]. For the same reason Pos2[15:0] should not be equal to Pos1[15:0].
SetDualPosition corresponds to the following LIN writing frame with 0x3C identifier (type #4).
SetStallParam()
AMI Semiconductor – June 2006, Rev 3.0
www.amis.com
This commands sets the Motion Detection parameters, and the related Stepper Motor parameters such as the minimum and
maximum velocity, the run- and hold current, acceleration and stepmode See
sent by the LIN Master
SetStallParam corresponds to a 0x3C LIN command
Dual
Positioning.
Where:
Broad:
Vmax[3:0]:
Vmin[3:0]:
Pos1[15:0]:
Pos2[15:0]:
Where:
Broad:
Byte
0
1
2
3
4
5
6
7
8
Byte
0
1
2
3
4
5
6
6
8
Content
Identifier
Data 1
Data 2
Data 3
Data 4
Data 5
Data 6
Data 7
Data 8
Content
Identifier
Data 1
Data 2
Data 3
Data 4
Data 5
Data 6
Data 7
Data 8
Max velocity for first motion
Min velocity for first motion and velocity for the second motion
First position to be reached during the first motion
Relative position of the second motion
requested
If broad = ‘0’ all the circuits connected to the LIN bus will run the dual positioning
If Broad = ‘0’ all the circuits connected to the LIN bus will set the parameters in their RAMs as
Broad
MinSamples[2:0]
Bit 7
MinZCross[2:0]
0
1
Broad
Bit 7
0
1
SetDualPositioning Writing Frame
AbsThr[3:0]
Irun[3:0]
Vmax[3:0]
Bit
6
0
SetStallParam Writing Frame
Bit 6
Vmax[3:0]
0
Bit
5
1
AccShape
57
Bit 5
Shaft
Bit 4
1
1
AppCMD = 0x80
AppCMD = 0x80
CMD[6:0] = 0x16
Structure
Pos1[15:8]
Pos2[15:8]
Bit 4
Pos1[7:0]
Pos2[7:0]
Structure
CMD[6:0] = 0x08
1
StepMode[1:0]
Bit 3
AD[6:0]
1
AD[6:0]
Bit 3
Motion detection
1
Bit 2
RelThr[3:0]
Ihold[3:0]
1
Vmin[3:0]
Acc[3:0]
Bit 2
Vmin[3:0]
1
DC100StEn
Bit 1
0
Bit 1
for the meaning of the parameters
0
PWMJEn
Bit 0
Bit 0
0
0
GetFullStatus
Data Sheet

Related parts for AMIS-30623