Datasheet

www.ti.com
Configuration Register 2
TSC2004
SBAS408E JUNE 2007 REVISED MARCH 2008
Configuration register 2 (CFR2) defines the preprocessor configuration.
Table 22. Configuration Register 2 (Reset Value = 0000h)
MSB LSB
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
MAVE MAVE MAVE MAVE MAVE
PINTS1 PINTS0 M1 M0 W1 W0 TZ1 TZ0 AZ1 AZ0 Resrvd
X Y Z AUX TEMP
PINTS1 (default 0) This bit controls the output format of the PINTDAV pin. When this bit is set to '0', the output
format is shown as the AND-form of internal signals of PENIRQ and DAV). When this bit is set to '1', PINTDAV
outputs PENIRQ only.
PINTS0 (default 0) This bit selects what is output on the PINTDAV pin. If this bit set to '0', the output format of
PINTDAV depends on the selection made on the PINTS1 bit. If this bit set to '1', the internal signal of DAV is
output on PINTDAV.
Table 23. PINTSx Selection
PINTS1 PINTS0 PINTDAV PIN OUTPUT =
0 0 AND combination of PENIRQ (active low) and DAV (active high).
0 1 Data available, DAV (active low).
1 0 Interrupt, PENIRQ (active low) generated by pen-touch.
1 1 Data available, DAV (active low).
M1, M0, W1, W0 (default 0000) Preprocessing MAV filter control. Note that when the MAV filter is processing
data, the STS bit and the corresponding DAV bits in the status register indicate that the converter is busy until all
conversions necessary for the preprocessing are complete. The default state for these bits is 0000, which
bypasses the preprocessor. These bits are the same whether reading or writing.
TZ1 and TZ0, or AZ1 and AZ0 (default 00) Zone detection bit definition (for TEMP or AUX measurements).
TZ1 and TZ0 are for the TEMP measurement. AZ1 and AZ0 are for the AUX measurement. The action taken in
zone detection is to store the processed data in the corresponding data registers and to update the
corresponding DAV bits in status register. If the processed data do not meet the selected criteria, these data are
ignored and the corresponding DAV bits are not updated. When zone detection is disabled, the processed data
are simply stored in the corresponding data registers and the corresponding DAV bits are updated without any
comparison of criteria. Note that the converted samples are always processed according to the setting of the
MAVE bits for AUX/TEMP before zone detection takes effect. See Table 30 for thresholds.
Table 24. Zone Detection Bit Definition
TZ1/AZ1 TZ0/AZ0 FUNCTION
0 0 Zone detection is disabled.
0 1 When the processed data are below low threshold
1 0 When the processed data are between low and high thresholds
1 1 When the processed data are above high threshold
MAVE (default is 00000) MAV filter function enable bit. When the corresponding bit is set to '1', the MAV filter
setup is applied to the corresponding measurement.
Copyright © 2007 2008, Texas Instruments Incorporated Submit Documentation Feedback 37
Product Folder Link(s): TSC2004