www.ams.com
Revision 1.4
9 - 27
AS5132
Datasheet - Detailed Description
7.1.1 Commands of the SSI in Normal Mode
Note: Gray bits can be ignored by the user.
GEN RST: A HI generates a reset of the AS5132. GEN RST must be set to LO after reset.
Hyst_Dis: Hysteresis disable.
PRE_COM_DYN <5:0>: Absolute dynamic pre-commutation value. Depending on the setup of the pole pairs, a mechanical angle offset can be
adjusted. The range is 0 to 63 mechanical degrees (LSBs).
MT-COUNTER <8:0>: The multiturn counter can be set or read over the interface.
EN PROG: This command with this data enables the access to the OTP register in extended mode. OTP Programming mode is only possible in
extended mode with special connection (see Figure 11).
EZ ERR: Indicates a wrong operation of the OTP memory after programming at room temperature.
ANGLE <8:0>: Absolute angle information with angular true resolution (360 steps).
LOCK ADC: Indicates a locked ADC. An angle value is only valid in case of a locked ADC. During sleep mode is the LOCK ADC bit LO.
AGC <5:1>: Automatic gain control value indicates the magnetic field strength.
P: Parity information of the 15 data bits. Odd parity.
Table 3. Read/Write Interface Commands in Normal Mode
Command
Name
Command
Data
Access
Mode
MSB
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
LSB
0
WRITE
CONFIG
0001_0111
write
GEN
RST
Hyst
Dis
PRE_COM_DYN<5:0>
MTC2 MTC1
SET MT
COUNTER
0001_0100
write
MT - COUNTER <8:0>
EN PROG
1000_0100
write
0
1
1
0 0
1
0
1
0
1
1
1
0
0
0
0
RD MT
COUNTER
0000_0100
read
MT - COUNTER <8:0>
EZ
ERR
P
RD_ANGLE
0000_0000
read
ANGLE <8:0>
LOCK
ADC
AGC <5:1>
P