
AMIS-30624 I
2
C Microstepping Motordriver
Data Sheet
48
AMI Semiconductor
– Apr. 2007, Rev 3.1, M-20664-003
www.amis.com
GetOTPParam
This command is provided to the circuit by the I
2
C master to read the content of the OTP memory. More information can be found in
OTP Memory Structure
.
GetOTPParam
corresponds to the following I
2
C command frame:
GetOTPParam Command Frame
Byte
Content
Bit 7
Bit 6
Bit 5
0
Address
1
1
OTP3
1
Command
1
0
0
GetOTPParam Response Frame
Byte
Content
Bit 7
Bit 6
Bit 5
0
Address
1
1
OTP3
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
Structure
Bit 4
OTP2
0
Bit 3
OTP1
0
Bit 2
OTP0
0
Bit 1
HW
1
Bit 0
0
0
Structure
Bit 4
OTP2
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 3
OTP1
Bit 2
OTP0
Bit 1
HW
Bit 0
1
GotoSecurePosition
This command is provided by the I
2
C 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.
GotoSecurePosition
corresponds to the following I
2
C command frame:
GotoSecurePosition Command Frame
Byte
Content
Bit 7
Bit 6
Bit 5
0
Address
1
1
OTP3
1
Command
1
0
0
Structure
Bit 4
OTP2
0
Bit 3
OTP1
0
Bit 2
OTP0
1
Bit 1
HW
0
Bit 0
0
0
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 I
C 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 I
C master for some safety reasons can also issue a HardStop command.
HardStop
corresponds to the following I
C command frame:
HardStop Command Frame
Byte
Content
Bit 7
Bit 6
Bit 5
0
Address
1
1
OTP3
1
Command
1
0
0
Structure
Bit 4
OTP2
0
Bit 3
OTP1
0
Bit 2
OTP0
1
Bit 1
HW
0
Bit 0
0
1
ResetPosition
This command is provided to the circuit by the I
2
C master to reset
ActPos
and
TagPos
registers to zero. This can be helpful to prepare
for instance a relative positioning.
ResetPosition
corresponds to the following I
2
C command frame:
ResetPosition Command Frame
Byte
Content
Bit 7
Bit 6
Bit 5
0
Address
1
1
OTP3
1
Command
1
0
0
Structure
Bit 4
OTP2
0
Bit 3
OTP1
0
Bit 2
OTP0
1
Bit 1
HW
1
Bit 0
0
0