www.austriamicrosystems.com/AS5130
Revision 1.12
15 - 41
AS5130
Datasheet - Detailed Description
7.2 Serial Synchronous Interface (SSI)
7.2.1   Commands of the SSI in Normal Mode
WD2COS / WD2SIN: xen_X disables Hall element X from the sensor array in the cosine or sine channel; xinv_X inverts the voltage output of Hall
element X in the channels.
RD2COS / RD2SIN: The Hall array configuration for cosine and sine channel can be read out by these commands, initial values are 0.
SET TEST CFG 1: gen_rst HI triggers a digital reset.
WRITE CONFIG: go2sleep HI activates the low power mode of the AS5130. The power consumption is significantly reduced. go2sleep LO
returns to normal operation mode. During low power mode, the lock bit in command 0 and command 1 is LO.
WRITE CUST: With wlsb_x the threshold level for generation of a WAKE pulse is set (only important in polling mode). The initial value is 4 LSB.
No value lower than 4 LSB can be set. The maximum value is 127 LSB.
gain_x sets the gain in the signal
HYST_RST: setHyst enables an additional hysteresis of the digital output signal. It is enabled by default. Only after 2 consecutive equal signals
the output is changed.
rst_otp forces the IC to read out the OTP in polling mode. This reset has to be performed after initial startup and every WAKE signal.
rst_multi resets the multi turn counter to 0.
READ CUST: With this command wlsb_x and gain_x can be read out.
RD_BOTH: Angle and multi turn counter value can be read out simultaneously by this command. Due to limited data size, the parity bit is not
available in this command.
STORE REF: This command stores the actual angle as reference angle in the storage registers (only important in polling mode). The output is
the stored angle (angle_stored), a flag, if the voltage at DVDD is OK (store_ok), a flag, if the supply voltage is OK (vdd_ok) and a check bit, if the
register was written.
RD_MULTI: Command for read out of multi turn register (multiturn) and AGC value (agc). Lock indicates a locked ADC and parity an even
parity checksum.
RD_ANGLE: Command for read out of angle value and AGC value (agc). Lock indicates a locked ADC and parity an even parity checksum.
Table 9. SSI in Normal Mode
#
cmd
bin
mode
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
23    WRITE CUST    10111
write
wlsb <6:0>
gain <2:0>
nc
22
WD2COS
10110
write    xen_7   inv_7   xen_6  inv_6  xen_5  inv_5  xen_4  inv_4  xen_3  inv_3  xen_2  inv_2  xen_1  inv_1  xen_0  inv_0
21
SET TEST
CFG1
10101
write
gen_r
st
20
reserved
10100
write
19
HYST_RST
10011
write   rst_otp    nc
rst_m
ulti
nc
setHy
st
18
WD2SIN
10010
write    xen_7   inv_7   xen_6  inv_6  xen_5  inv_5  xen_4  inv_4  xen_3  inv_3  xen_2  inv_2  xen_1  inv_1  xen_0  inv_0
17
WRITE
CONFIG
10001
write
go2sle
ep
16
--
10000
write
7
READ CUST
00111
read
wlsb <6:0>
gain <2:0>
nc
parity
6
RD2COS
00110
read    xen_7   inv_7   xen_6  inv_6  xen_5  inv_5  xen_4  inv_4  xen_3  inv_3  xen_2  inv_2  xen_1  inv_1  xen_0  inv_0
5
00101
read
4
RD_BOTH
00100
read
Multiturn <7:0>
angle <7:0>
3
STORE REF
00011
read
store_
ok
vdd_ok
reg_s
et
nc
angle_stored <7:0>
parity
2
RD2SIN
00010
read    xen_7   inv_7   xen_6  inv_6  xen_5  inv_5  xen_4  inv_4  xen_3  inv_3  xen_2  inv_2  xen_1  inv_1  xen_0  inv_0
1
RD_MULTI
00001
read
lock
agc <5:0>
Multiturn <7:0>
parity
0
RD_ANGLE
00000
read
lock
agc <5:0>
angle <7:0>
parity