English
Language : 

AMIS-30624_13 Datasheet, PDF (48/52 Pages) ON Semiconductor – I2C Micro-stepping Motor Driver
AMIS−30624, NCV70624
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 19 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 corresponds to the following I2C
command frame:). Therefore the application should not
change parameters other than Vmax while a motion is
running, otherwise correct positioning cannot be
guaranteed.
SetMotorParam
Table 45. SetMotorParam COMMAND FRAME
Structure
Byte
0
Content
Address
Bit 7
1
Bit 6
1
Bit 5
OTP3
Bit 4
OTP2
Bit 3
OTP1
Bit 2
OTP0
Bit 1
HW
Bit 0
0
1
Command
1
0
0
0
1
0
0
1
2
Data 1
1
1
1
1
1
1
1
1
3
Data 2
1
1
1
1
1
1
1
1
4
Data 3
5
Data 4
Irun[3:0]
Vmax[3:0]
Ihold[3:0]
Vmin[3:0]
6
Data 5
SecPos[10:8]
Shaft
Acc[3:0]
7
Data 6
SecPos[7:0]
8
Data 7
1
PWMfre
1
AccSha
StepMode[1:0]
1
PWMJE
q
pe
n
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:
Table 46. SetOTPParam COMMAND FRAME
Structure
Byte
Content
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
Address
1
1
OTP3
OTP2
OTP1 OTP0
HW
0
1
Command
1
0
0
1
0
0
0
0
2
Data 1
1
1
1
1
1
1
1
1
3
Data 2
1
1
1
1
1
1
1
1
4
Data 3
1
1
1
1
1
OTPA[2:0]
5
Data 4
D[7:0]
Where:
OTPA[2:0]:
D[7:0]:
OTP address
Corresponding OTP data
http://onsemi.com
48