
AS5134
Datasheet - D e t a i l e d D e s c r i p t i o n
7.11 Serial Synchronous Interface (SSI)
Normal mode is used for normal operations, whereas extended mode is for accessing the OTP.
Table 9. Commands of the SSI in Normal Mode
Digital interface at normal mode
#
cmd
bin
mode
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
23
WRITE
CONFIG 1
10111
write
LP
SM_
RES
tst
tst
Hyst <1:0>
tst
tst
tst
20
SET MT
COUNTER
10100
write
multi-turn-counter <8:0>
16
EN PROG
10000
write
1
0
0
0
1
1
0
0
1
0
1
0
1
1
1
0
4
RD MT
COUNTER
00100
read
multi-turn-counter <8:0>
OTP
_OK
0
RD_ANGLE
00000
read
lock_
adc
agc <5:0>
angle <8:0>
SM_RES: State machine reset of the digital part of the device (soft reset).
EN PROG: Enables the access to the OTP register in Extended Mode.
WRITE CONFIG: LP HI activates the sleep mode of the AS5134. The power consumption is significantly reduced. LP LO returns to normal
operation mode. During sleep mode, the lock_adc bit in command 0 is LO.
RD_MT Counter: Command for read out of multi turn register.
OTP_OK: Bit shows correct readout of the OTP register after startup. The bit is valid till the next OTP access.
RD_ANGLE: Command for read out of angle value and AGC value (agc). “Lock” indicates a locked ADC.
tst: Test bits for internal testing (must be left unchanged).
Hyst (11:10): Digital Hysteresis can be set via the digital interface 0, 1, 2 (default), 3 LSB
Hyst
Function
0
0
1
1
0
1
0
1
2 LSB (default value)
1
3
0
The hysteresis can be changed over the interface. An activation of the SM_RES bit is required. This can be performed in two steps -
1. Use WRITE CONFIG 1 command and write the selected hysteresis and SM_RES = ‘1’ into the device.
2. Use again WRITE CONFIG 1 command and release SM_RES = ‘0’ with the same hysteresis setting.
SET MT COUNTER: Command for setting the Multi Turn Counter to a defined value.
LP: Default "0"; "1" for using the low power function.
lock_adc: Indicates that the tracking adc is in a locked status. For a valid angle (the magnetic field has to be in a certain range, which is
indicated by the agc value) or a missing magnet the lock_adc is set.
www.austriamicrosystems.com/AS5134
Revision 2.3
18 - 32