English
Language : 

AMIS-30624 Datasheet, PDF (47/56 Pages) AMI SEMICONDUCTOR – I2C Microstepping Motordriver
AMIS-30624
16.3.3. GetOTPParam
This command is provided to the circuit by the I2C master to read the content of the OTP memory. More information can be found in
OTP Memory Structure.
GetOTPParam corresponds to the following I2C command frame:
Byte Content
0
Address
1
Command
Bit 7
1
1
GetOTPParam Command Frame
Structure
Bit 6
Bit 5
Bit 4 Bit 3
1
OTP3
OTP2 OTP1
0
0
0
0
Bit 2
OTP0
0
Bit 1
HW
1
Bit 0
0
0
Byte Content
0
Address
1 OTP byte 0
2 OTP byte 1
3 OTP byte 2
4 OTP byte 3
5 OTP byte 4
6 OTP byte 5
7 OTP byte 6
8 OTP byte 7
Bit 7
1
GetOTPParam Response Frame
Structure
Bit 6
Bit 5
Bit 4 Bit 3
1
OTP3
OTP2 OTP1
OTP byte @0x00
OTP byte @0x01
OTP byte @0x02
OTP byte @0x03
OTP byte @0x04
OTP byte @0x05
OTP byte @0x06
OTP byte @0x07
Bit 2
OTP0
Bit 1
HW
Bit 0
1
16.3.4. GotoSecurePosition
This command is provided by the I2C master to one or all the stepper motors to move to the secure position SecPos[10:0]. See the
priority encoder description for more details. The priority encoder table also acknowledges the cases where a GotoSecurePosition
command will be ignored.
GotoSecurePosition corresponds to the following I2C command frame:
Byte Content
0
Address
1
Command
Bit 7
1
1
GotoSecurePosition Command Frame
Structure
Bit 6
Bit 5
Bit 4 Bit 3
1
OTP3
OTP2 OTP1
0
0
0
0
Bit 2
OTP0
1
Bit 1
HW
0
Bit 0
0
0
16.3.5. HardStop
This command will be internally triggered when an electrical problem is detected in one or both coils, leading to shutdown mode. If this
occurs while the motor is moving, the <StepLoss> flag is raised to allow warning of the I2C master at the next GetStatus1 command
that steps may have been lost. Once the motor is stopped, ActPos register is copied into TagPos register to ensure keeping the stop
position. The I2C master for some safety reasons can also issue a HardStop command.
HardStop corresponds to the following I2C command frame:
Byte Content
0
Address
1
Command
Bit 7
1
1
HardStop Command Frame
Structure
Bit 6
Bit 5
Bit 4 Bit 3
1
OTP3
OTP2 OTP1
0
0
0
0
Bit 2
OTP0
1
Bit 1
HW
0
Bit 0
0
1
16.3.6. ResetPosition
This command is provided to the circuit by the I2C master to reset ActPos and TagPos registers to zero. This can be helpful to prepare
for instance a relative positioning.
Rev. 4 | Page 47 of 56 | www.onsemi.com