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

no-image

AMIS-30623

Manufacturer Part Number
AMIS-30623
Description
Lin Microstepping Motordriver
Manufacturer
AMI Semiconductor, Inc.
Datasheet
AMIS-30623 LIN Microstepping Motordriver
17.0 LIN Application Commands
17.1 Introduction
The LIN Master will have to use commands to manage the different application tasks the AMIS-30623 can feature. The commands
summary is given in the table below.
Table 34: Commands Summary
These commands are described hereafter, with their corresponding LIN frames. Refer to
particularly for what concerns dynamic assignment of identifiers. A color coding is used to distinguish between master and slave parts
within the frames and to highlight dynamic identifiers. An example is shown below.
Mnemonic
GetActualPos
GetFullStatus
GetOTPparam
GetStatus
GotoSecurePosition
HardStop
ResetPosition
ResetToDefault
RunVelocity
SetDualPosition
SetMotorParam
SetOTPparam
SetStallparam
SetPosition
SetPositionShort
SetPositionShort
SetPositionShort
SetPosParam
Sleep
SoftStop
TestBemf
AMI Semiconductor – June 2006, Rev 3.0
Reading command
Writing commands
Service commands
www.amis.com
Command
Byte
0
1
2
Light Blue : master
(2 m.)
(4 m.)
(1 m.)
White : slave in-frame response
Content
Identifier
Data 1
Data 2
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x17
0x08
0x09
0x10
0x16
0x0B
0x0C
0x0D
0x0E
0x2F
0x0F
0x1F
Code
Figure 30: Color Code Used in the Definition of LIN Frames
VddReset
Bit 7
ESW
*
7, 8
7, 8
7, 8
Prep
GetStatus Reading Frame
StepLoss
Bit 6
*
Frames
5, 6
6
6
5
Read
51
ElDef
Bit 5
0
1
1
1
1
4
4
4
1, 3, 4
2
2
2
2
1
1
1
Write
Structure
Bit 4
ID4
UV2
Description
Returns the actual position of the motor
Returns a complete status of the circuit
Returns the OTP memory content
Returns a short status of the circuit
Drives the motor to its secure position
Immediate motor stop
Actual position becomes the zero position
RAM content reset
Drives motor continuously
Drives the motor to 2 different positions with different
speeds
Programs the motion parameters and values for the
current in the motor’s coils
Programs (and zaps) a selected byte of the OTP memory
Programs the motion detection parameters
Drives the motor to a given position
Drives the motor to a given position (half step mode only)
Drives two motors to 2 given positions (half step only)
Drives four motors to 4 given positions (half step only)
Drives the motor to a given position and programs some
of the motion parameters.
Drives circuit into sleep mode
Motor stopping with a deceleration phase
Outputs Bemf voltage on pin SWI
AD[6:0]
Bit 3
ID3
TSD
Yellow : dynamic identifier
LIN Frames
Bit 2
ID2
TW
Bit 1
Tinfo[1:0]
ID1
for more details on LIN frames,
Bit 0
ID0
Data Sheet

Related parts for AMIS-30623