HAL856
DATA SHEET
Step 2: Initialize DSP
Step 4: Calculation of Shift and Slope
As the DIGITAL OUTPUT register value depends on
the settings of SLOPE, SHIFT and the OUTPUT
CHARACTERISTIC, these registers have to be initial-
ized with defined values, first:
Set the system to calibration point 1 and read the
register DIGITAL OUTPUT. The result is the value
DOUT1.
Now, set the system to calibration point 2, read the
register DIGITAL OUTPUT, and get the value DOUT2.
– ShiftINITIAL = 50%
– OUTPUT CHARACTERISTIC = ’Linear Standard’
(Setpoint 0 = 0, Setpoint 1 = 16, Setpoint 2 = 32, ...,
Setpoint 31 = 496).
With these values, the settings for Sensitivity and Shift
are calculated as:
– SlopeINITIAL depends on the setting of the digital
low-pass filter (see Table 2–9).
(DOUT2NOM – DOUT1NOM
)
--------------------------------------------------------------------------
×
Slope = SlopeINITIAL
(DOUT2 – DOUT1)
Table 2–9: Initial slope values
−3 dB Frequency
SlopeINITIAL
0.2578
100%
-------------
(DOUT2 – 2048) × Slope
----------------------------------------------------------------
× DOUT2NOM –
Shift =
4096
SlopeINITIAL
80
160
500
1000
2000
0.2578
Write the calculated values for Slope, Shift, and the
desired output characteristic into the EEPROM. The
sensor is now calibrated for the customer application.
0.1938
0.1938
As long as the LOCK bit is not set, the calibration pro-
cedure can be applied repeatedly.
0.3398
Note: For a recalibration, the calibration procedure
has to be started at the beginning (step 1).
A new initialization is necessary, as the initial
values for SlopeINITIAL, ShiftINITIAL and output
characteristic are overwritten in step 4.
Step 3: Define Calibration Points
For highest accuracy of the sensor, calibration points
near the minimum and maximum input signal are rec-
ommended.
Define nominal values DOUT1NOM and DOUT2NOM of
the DIGITAL OUTPUT register at the calibration points
1 and 2, respectively.
Step 5: Locking the Sensor
The last step is activating the LOCK function with the
“LOCK” command. Please note that the LOCK function
becomes effective after power-down and power-up of
the Hall IC. The sensor is now locked and does not
respond to any programming or reading commands.
Note: Micronas software PC856 uses default settings
DOUT1NOM = 0 and DOUT2NOM = 3968.
The output is clamped to Setpoint 0 and
Setpoint 31. In the case of “Linear Standard’”,
Setpoint 0
corresponds
to
DIGITAL
Warning: This register cannot be reset!
OUTPUT = 0, while Setpoint 31 corresponds to
DIGITAL OUTPUT = 3968.
14
March 23, 2010; DSH000142_002EN
Micronas