AS5045
Data Sheet
8.1.1 Data Content
D11:D0 absolute angular position data (MSB is clocked out first)
OCF (Offset Compensation Finished), logic high indicates the finished Offset Compensation Algorithm
COF (Cordic Overflow), logic high indicates an out of range error in the CORDIC part. When this bit is set, the data
at D9:D0 is invalid. The absolute output maintains the last valid angular value.
This alarm may be resolved by bringing the magnet within the X-Y-Z tolerance limits.
LIN (Linearity Alarm), logic high indicates that the input field generates a critical output linearity.
When this bit is set, the data at D9:D0 may still be used, but can contain invalid data. This warning may be resolved
by bringing the magnet within the X-Y-Z tolerance limits.
Even Parity bit for transmission error detection of bits 1…17 (D11…D0, OCF, COF, LIN, MagINC, MagDEC)
lid Placing the magnet above the chip, angular values increase in clockwise direction by default.
Data D11:D0 is valid, when the status bits have the following configurations:
a Table 3. Status Bit Outputs
v OCF
COF
LIN
Mag
INC
Mag
DEC
Parity
ill 0
0
0
1
0
0
t 1
1
Even checksum of bits 1:15
0
G s 1*)
1*)
*) MagInc=MagDec=1 is only recommended in YELLOW mode (see Table 5)
s A nt 8.1.2 Z-axis Range Indication (Push Button Feature, Red/Yellow/Green Indicator)
e The AS5045 provides several options of detecting movement and distance of the magnet in the Z-direction. Signal
m t indicators MagINCn and MagDECn are available both as hardware pins (pins 1 and 2) and as status bits in the serial
data stream (see Figure 5). Additionally, an OTP programming option is available with bit MagCompEn (see
a n Figure 10) that enables additional features:
In the default state, the status bits MagINC, MagDec and pins MagINCn, MagDECn have the following function:
o Table 4. Magnetic Field Strength Variation Indicator
c Status Bits
l Mag
a INC
Mag
DEC
Hardware Pins
Mag
INCn
Mag
DECn
OTP: Mag CompEn = 0 (default)
Description
ic 0
0
Off
Off
No distance change
Magnetic input field OK (in range, ~45…75mT)
0
1
Off
On
Distance increase; pull-function. This state is dynamic and only active while
the magnet is moving away from the chip.
hn 1
0
On
Off
Distance decrease; push- function. This state is dynamic and only active
while the magnet is moving towards the chip.
c 1
1
On
On
Magnetic field is ~<45mT or >~75mT. It is still possible to operate the
AS5045 in this range, but not recommended
e When bit MagCompEn is programmed in the OTP, the function of status bits MagINC, MagDec and pins MagINCn,
TMagDECn is changed to the following function:
www.austriamicrosystems.com
Revision 1.7
14 – 33