Datasheet
www.ti.com
N Acquired
Data
W
N
N m asue rementsinput
intotemporaryarray
Sortby
descendingorder
Averagingoutp tu
fromwindowW
N
M=1
M>1andW=1
M
N
Median value
fromarrayM
N
M>1andW>1
Averagingoutp tu
fromwindowW
M
W
Zone Detection
TSC2004
SBAS408E – JUNE 2007 – REVISED MARCH 2008
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 N = OUTPUT
= 1 = 1 Bypass both MAF and AVF W The converted result
= 1 > 1 Bypass MVF only W Average of W converted results
> 1 = 1 Bypass AVF only M Median of M converted results
Average of middle W of M converted results with the median
> 1 > 1 M > W M
counted twice
The MAV filter is available for all analog inputs including the touch screen inputs, temperature measurements
TEMP1 and TEMP2, and the AUX measurement.
Figure 31. MAV Filter Operation (patent pending)
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:
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.
22 Submit Documentation Feedback Copyright © 2007 – 2008, Texas Instruments Incorporated
Product Folder Link(s): TSC2004