TSC2005
www.ti.com
SBAS379–DECEMBER 2006
NOTE: The default setting for MAVF is MVF (median value filter with averaging bypassed) for any invalid
configuration. For example, if (M1, M0, W1, W0) = (1,0, 1,0), the MAVF performs as it was configured for
(1,0,0,0), median filter only with filter size = 7 and no averaging. The only exception is M > 1 and (W1, W0) =
(1,1). This setting is reserved and should not be used.
Table 3. Combined MAV Filter Setting
M
W
INTERPRETATION
Bypass both MAF and AVF
Bypass MVF only
N =
W
OUTPUT
= 1
= 1
> 1
= 1
> 1
= 1
The converted result
W
Average of W converted results
Median of M converted results
Bypass AVF only
M
Average of middle W of M converted results with the median
counted twice
> 1
> 1
M > W
M
The MAV filter is available for all analog inputs including the touch screen inputs, temperature measurements
TEMP1 and TEMP2, and the AUX measurement.
Averaging output
from window W
W
M = 1
N
N Acquired
Data
N measurements input
into temporary array
Sort by
descending order
Median value
from array M
N
M > 1 and W = 1
N
N
M
M
Averaging output
from window W
W
M > 1 and W > 1
Figure 26. MAV Filter Operation
Zone Detection
The Zone Detection unit is capable of screening all processed data from the MAVF and retaining only the data
of interest (data that fit the prerequisite). This unit can be programmed to send an alert if a predefined condition
set by two threshold value registers is met. Three different zones may be set for:
1. Above the upper limit (X ≥ Threshold High)
2. Between the two thresholds (Threshold Low < X < Threshold High)
3. Below the lower limit (X ≤ Threshold Low)
The AUX and temperatures TEMP1 and TEMP2 have separate threshold value registers that can be enabled or
disabled. This function is not available to the touch screen inputs. Once the preset condition is met, the DAV
output to the PINTDAV pin is pulled low and the corresponding DAV bit is set.
18
Submit Documentation Feedback