
www.ams.com
Revision 1.5
12 - 22
NSE-5310
Datasheet - Application Information
8.2 Automatic Gain Control (AGC)
As the magnetic input field varies non-linearly with the air gap between sensor and magnet, the gain is controlled to an optimum input signal for
the SD ADC. The magnitude output is compared to a target register value. The most significant eight bits are used. If the actual magnitude differs
from the target value, an UP/DOWN signal for the AGC counter signal is generated.
For air gap detection functionality, two magnitude-change outputs are derived from the AGC counter UP/DOWN signals while the loop is
controlling the amplitude back to the target amplitude. Magnitude Increasing (MagINCn) and Magnitude Decreasing (MagDECn) signals indicate
air gap (SIN/COS amplitude) changes. Both signals are high for saturation of the AGC counter (running into upper / lower limit) and produce a
Non-Valid-Range alarm. The output pins can be connected together in wired-OR configuration to produce a single NVRn bit. For faster power-up
and response time, a successive approximation algorithm is implemented.
8.3 Temperature Sensor
The Temperature Sensor provides the junction temperature information over the serial interface.
Table 10. Temperature Sensor Characteristics
8.4 I2C User Interface
The device is accessible via an I2C two-wire serial interface. The default address is A<6:0>1000000. A<5:1> can be defined by the OTP I2C
Address. A0 can be selected by pulling up pin 11 (default internal pull down). CSn (default internal pull up) must be low during I2C data
transmission.
Figure 9. I2C Read Out by an μC-Master
In addition to the position data, magnitude and temperature sensor information can be read out as described in
Automatic Gain Control (AGC) on
page 12
and
Temperature Sensor on page 12
.
Parameter
Conditions
Mn
Typ
Max
Units
Absolute Error Trimmed
See I2C User Interface on page 12
±10
oC
Conversion Rate
For continuous readout
(1303 clock cycles between conversion)
767
sample/s
Temperature Range
Specified temperature range
-30
70
oC
Readout Range
Design limit for temperature range
-50
80
oC
Resolution
Temp [oC] = output code [LSB] x 0.667 [oC/LSB] -
75[oC]
8
bit
0.667
oC/LSB
Clock Frequency
System clock (4 MHz) divided by 4
1
MHz
D11 - D0: Linear position
Offset Compensation Finished: “high” indicates a data valid.
CORDIC OverFlow: “high” indicates a DSP calculation overflow.
Linearity Alarm: “high” indicates the ADC input range exceeds ±625mV (=Filter OverFlow)
MagIncr / MagDecr “high” OR connection indicates changing magnitude and non-valid input range (see also pin 2 and 3)
ACK
Address
by Slave
9
Mag
Incr
Decr
SCL
SDA
1
9
1
9
1
1
S
ACK
Master
ACK
Master
Data Byte 1
Data
Byte 3
Data Byte 2
Lin
Alarm
cordic
Over
Flow
Offset
Comp
Finish
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
R/
A0p
A1
A2
A3
A4
A5
1
Type Identifier
Address
Read
AGC7