English
Language : 

AMIS-30622_13 Datasheet, PDF (46/50 Pages) ON Semiconductor – I2C Micro-Stepping Motor Driver
AMIS−30622
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 38. SetMotorParam COMMAND FRAME
Structure
Byte
0
1
Content
Address
Command
Bit 7
1
1
Bit 6
1
0
Bit 5
OTP3
0
Bit 4
OTP2
0
Bit 3
OTP1
1
Bit 2
OTP0
0
Bit 1
HW
0
Bit 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
Irun[3:0]
Ihold[3:0]
5
Data 4
Vmax[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
1
1
AccShape
StepMode[1:0]
1
1
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 39. 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
46