Datasheet
www.ti.com
Converter Function Select Register
TSC2004
SBAS408E – JUNE 2007 – REVISED MARCH 2008
The Converter Function Select (CFN) register reflects the converter function select status.
Table 25. Converter Function Select Status Register (Reset Value = 0000h)
MSB LSB
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
CFN15 CFN14 CFN13 CFN12 CFN11 CFN10 CFN9 CFN8 CFN7 CFN6 CFN5 CFN4 CFN3 CFN2 CFN1 CFN0
CFN15-CFN13— Touch screen drivers status. These bits represent the current status of the touch screen drivers
that are turned on. CFN13 is set to '1' if both X+ and X- drivers are turned on. CFN14 is set to '1' if both Y+ and
Y- drivers are turned on. CFN15 is set to '1' if Y+ and X- drivers are turned on. Otherwise, these bits are set to
'0'. These bits are reset to 0h whenever the converter function is either complete, stopped by the STS bit, or
reset (by a hardware reset from the RESET pin or a software reset from SWRST bit in Control Byte 1).
CFN12-CFN0— Converter function select status. These bits represent the converter function currently running,
which is set in bits C3-C0 of Control Byte 1. When the CFNx bit shows '1', where x is the decimal value of
converter function select bits C3-C0, it indicates that the converter function that is set in bits C3-C0 is running.
For example, when CFN2 shows '1', it indicates the converter function set in bits C3-C0 ('0010') is running. The
CFNx bits are reset to 0000h whenever the converter function is complete, stopped by STS bit, or reset (by the
hardware reset from the RESET pin or the software reset from SWRST bit in Control Byte 1). However, if the
TSC-initiated scan function mode is issued (by setting the PSM bit in the CFR0 register to '1'), the CFN0 or
CFN1 bit will not be reset when the corresponding converter function is complete because there is no pen touch.
This event allows the TSC2004 to immediately initiate the scan process (corresponding to CFN0 or CFN1 set to
'1') when the next pen touch is detected.
Table 26. STATUS Register (Reset Value = 0004h)
MSB LSB
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
DAV DAV DAV DAV DAV DAV DAV
RESRVD RESET X Y RESRVD Y
Due Due Due Due Due Due Due PDST ID1 ID0
(read '0') Flag CON CON (read '0') SHR
X Y Z1 Z2 AUX TEMP1 TEMP2
DAV Bits— Data available bits. These seven bits mirror the operation of the internal signals of DAV. When any
processed data are stored in data registers, the corresponding DAV bit is set to '1'. It stays at '1' until the
register(s) updated to the processed data have been read out by the host.
Table 27. DAV Function
DAV DESCRIPTION
0 No new processed data are available.
1 Processed data are available. This will stay at 1 until the host has read out all updated registers.
RESET Flag— See Table 28 for the interpretation of the RESET flag bits.
Table 28. RESET Flag Bits
RESET Flag DESCRIPTION
0 Device was reset since last status poll (hardware or software reset).
1 Device has not been reset since last status poll.
X CON— This bit is '1' if the X axis of the touch screen panel is properly connected to the X drivers. This bit is the
connection test result.
Y CON— This bit is '1' if the Y axis of the touch screen panel is properly connected to the Y drivers. This bit is the
connection test result.
Y SHR— This bit is '1' if there is no short-circuit tested at the Y axis of the touch screen panel. This bit is the
short-circuit test result.
38 Submit Documentation Feedback Copyright © 2007 – 2008, Texas Instruments Incorporated
Product Folder Link(s): TSC2004