AMIS-30624 I2C Microstepping Motordriver
Data Sheet
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.
GetOTPParamcorresponds to the following I2C command frame:
GetOTPParam Command Frame
Byte
Content
Structure
Bit 4
Bit 7
1
1
Bit 6
1
0
Bit 5
OTP3
0
Bit 3
Bit 2
OTP0
0
Bit 1
HW
1
Bit 0
0
0
OTP2
OTP1
0
0
1
Address
Command
0
GetOTPParam Response Frame
Structure
Byte
Content
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
1
1
OTP3
OTP2
OTP1
OTP0
HW
1
0
1
2
3
4
5
6
7
8
Address
OTP byte @0x00
OTP byte @0x01
OTP byte @0x02
OTP byte @0x03
OTP byte @0x04
OTP byte @0x05
OTP byte @0x06
OTP byte @0x07
OTP byte 0
OTP byte 1
OTP byte 2
OTP byte 3
OTP byte 4
OTP byte 5
OTP byte 6
OTP byte 7
GotoSecurePosition
This command is provided by the I2C master to one or all the steppermotors 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.
GotoSecurePositioncorresponds to the following I2C command frame:
GotoSecurePosition Command Frame
Byte
Content
Structure
Bit 7
1
1
Bit 6
1
0
Bit 5
OTP3
0
Bit 4
OTP2
0
Bit 3
OTP1
0
Bit 2
OTP0
1
Bit 1
HW
0
Bit 0
0
0
0
1
Address
Command
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 GetStatus1command
that steps may have been lost. Once the motor is stopped, ActPosregister is copied into TagPosregister to ensure keeping the stop
position. The I2C master for some safety reasons can also issue a HardStop command.
HardStopcorresponds to the following I2C command frame:
HardStop Command Frame
Byte
Content
Structure
Bit 4
Bit 7
1
1
Bit 6
1
0
Bit 5
OTP3
0
Bit 3
Bit 2
OTP0
1
Bit 1
HW
0
Bit 0
0
1
OTP2
OTP1
0
1
Address
Command
0
0
ResetPosition
This command is provided to the circuit by the I2C master to reset ActPosand TagPosregisters to zero. This can be helpful to prepare
for instance a relative positioning.
ResetPositioncorresponds to the following I2C command frame:
ResetPosition Command Frame
Byte
Content
Structure
Bit 4
Bit 7
1
1
Bit 6
1
0
Bit 5
OTP3
0
Bit 3
Bit 2
OTP0
1
Bit 1
HW
1
Bit 0
0
0
0
1
Address
Command
OTP2
0
OTP1
0
AMI Semiconductor – Apr. 2007, Rev 3.1, M-20664-003
48
www.amis.com