English
Language : 

AMIS-30622 Datasheet, PDF (39/42 Pages) AMI SEMICONDUCTOR – I2C Microstepping Motordriver
AMIS-30622
SetOTP
The Master provides this command to the circuit in order to zap the OTP memory.
Byte
0
1
2
3
4
5
Content
Slave Address
ZapOTP
N/A
N/A
OTP Address
Pbit
SetOTP command
Structure
bit 7 bit 6 bit 5 bit 4 bit 3
1
1
OTP3 OTP2 OTP1
1
0
0
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Pbit[7:0]
bit 2 bit 1 bit 0
OTP0 HW
0
0
0
0
1
1
1
1
1
1
OTPA[2:0]
SetPosition
This command is provided to the circuit by the Master to the motors to a given position relative to the zero
position, defined in number of half or micro steps, according to StepMode[1:0] value.
SetPosition will not be performed if one of the following flags is set to one:
• temperature shutdown <TSD>
• under voltage <UV2>
• step loss <StepLoss>
• electrical defect <ElDef>
Byte
0
1
2
3
4
5
Content
Slave Address
SetPosition
N/A
N/A
Position byte1
Position byte2
SetPosition command
Structure
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
1
1
OTP3 OTP2 OTP1 OTP0 HW
0
1
0
0
0
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
TagPos[15:8]
TagPos[7:0]
SoftStop
If a SoftStop command occurs during a motion of the Stepper motor, it provokes an immediate deceleration to
Vmin followed by a stop, regardless of the position reached. This command occurs in the following cases:
• The chip temperature raises the Thermal shutdown threshold.
• The Master requests a SoftStop.
Byte
0
1
Content
Slave Address
SoftStop
SoftStop command
Structure
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
1
1
OTP3 OTP2 OTP1 OTP0 HW
0
1
0
0
0
1
1
1
1
Rev. 3 | Page 39 of 42 | www.onsemi.com