English
Language : 

AMIS-30624 Datasheet, PDF (50/56 Pages) AMI SEMICONDUCTOR – I2C Microstepping Motordriver
AMIS-30624 I2C Microstepping Motordriver
Data Sheet
SetStallParam
This command sets the motion detection parameters and the related steppermotor parameters, such as the minimum and maximum
velocity, the run- and hold current, acceleration and step-mode. See Motion Detection for the meaning of these parameters.
SetStallParam corresponds to the following I2C command frame:
Byte Content
0
Address
1 Command
2
Data 1
3
Data 2
4
Data 3
5
Data 4
6
Data 5
7
Data 6
8
Data 7
SetStallParam Command Frame
Structure
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
1
1
OTP3
OTP2
OTP1
OTP0
HW
1
0
0
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Irun[3:0]
Ihold[3:0]
Vmax[3:0]
Vmin[3:0]
MinSamples[2:0]
Shaft
Acc[3:0]
AbsThr[3:0]
DelThr[3:0]
FS2StallEn[2:0]
AccShape StepMode[1:0] DC100StEn
Bit 0
0
0
1
1
PWMJEn
SetMotorParam
This command is provided to the circuit by the I2C master to set the values for the stepper motor parameters (listed below) in RAM.
Refer to Table 18 to see the meaning of the parameters sent by the I2C master.
Important: If a SetMotorParam occurs while a motion is ongoing, it will modify at once the motion parameters (see Position
Controller). Therefore the application should not change parameters other than Vmax and Vmin while a motion is running, otherwise
correct positioning cannot be guaranteed.
SetMotorParam corresponds to the following I2C command frame:
Byte Content
0
Address
1 Command
2
Data 1
3
Data 2
4
Data 3
5
Data 4
6
Data 5
7
Data 6
8
Data 7
Bit 7
1
1
1
1
1
SetMotorParam Command Frame
Structure
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
1
OTP3
OTP2
OTP1
OTP0
HW
0
0
0
1
0
0
1
1
1
1
1
1
1
1
1
1
1
1
Irun[3:0]
Ihold[3:0]
Vmax[3:0]
Vmin[3:0]
SecPos[10:8]
Shaft
Acc[3:0]
SecPos[7:0]
PWMfreq
1
AccShape StepMode[1:0]
1
Bit 0
0
1
1
1
PWMJEn
SetOTPParam
This command is provided to the circuit by the I2C master to program and zap the OTP data D[7:0] in OTP address OTPA[2:0].
Important: This command must be sent under a specific Vbb voltage value. See parameter VbbOTP in Table 5. This is a mandatory
condition to ensure reliable zapping.
SetOTPParam corresponds to the following I2C command frame:
SetOTPParam Command Frame
Byte Content
Structure
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
0
Address
1
1
OTP3
OTP2
OTP1
1 Command
1
0
0
1
0
2
Data 1
1
1
1
1
1
3
Data 2
1
1
1
1
1
4
Data 3
1
1
1
1
1
5
Data 4
D[7:0]
Where:
OTPA[2:0]: OTP address
D[7:0]: Corresponding OTP data
Bit 2
OTP0
0
1
1
Bit 1
HW
0
1
1
OTPA[2:0]
Bit 0
0
0
1
1
AMI Semiconductor – Apr. 2007, Rev 3.1, M-20664-003
50
www.amis.com