CS5376
0x0F (decimal 5 to 15), depending on the available
time to settle the algorithm.
Once the EXP bits are written, the ORCAL bit (bit
14) in the FILT_CFG register is set to enable offset
calibration. When enabled, background noise mea-
surements are averaged using the exponential aver-
aging routine, with updated offset correction values
automatically written to the OFFSET registers.
When the exponential algorithm settles the OR-
CAL bit is cleared to disable offset calibration, and
the values in the OFFSET registers are no longer
updated. The last values written to the OFFSET
registers are used as the final offset correction val-
ues.
The characteristic equations for the exponential
offset calibration algorithm include an input value,
X, an output value, Y, a summation value, YSUM,
a sample index, n, and an exponential value, N.
Y(n) = X(n) - [YSUM(n-1) >> N]
YSUM(n) = Y(n) + YSUM(n-1)
Offset Correction = YSUM >> N
DS256PP1
67