Datasheet
www.ti.com
TSC2004
SBAS408E – JUNE 2007 – REVISED MARCH 2008
Table 6. Control Byte 1 Bit Register Description (D7 = 1)
BIT NAME DESCRIPTION
D7 Control Byte ID 1
D6-D3 C3:C0 Converter Function Select as detailed in Table 7
0: 10 Bit
D2 RM
1: 12 Bit
Software Reset. This bit is self-clearing.
D1 SWRST
1: Reset all register values to default
D0 STS Stop bit for all converter functions. This bit is self-clearing.
Bit D7: Control Byte ID
1: Control Byte 1 (start conversion and channel select and conversion-related configuration).
0: Control Byte 0 (read/write data registers and non-conversion-related controls).
Bits D6-D3: C3-C0
Converter function select bits. These bits select the input to be converted, and the converter function to be
executed. Table 7 lists the possible converter functions.
Table 7. Converter Function Select
C3 C2 C1 C0 FUNCTION
Touch screen scan function: X, Y, Z
1
, and Z
2
coordinates converted and the results returned
0 0 0 0 to X, Y, Z
1
, and Z
2
data registers. Scan continues until either the pen is lifted or a stop bit is
sent.
Touch screen scan function: X and Y coordinates converted and the results returned to X and
0 0 0 1
Y data registers. Scan continues until either the pen is lifted or a stop bit is sent.
Touch screen scan function: X coordinate converted and the results returned to X data
0 0 1 0
register.
Touch screen scan function: Y coordinate converted and the results returned to Y data
0 0 1 1
register.
Touch screen scan function: Z
1
and Z
2
coordinates converted and the results returned to Z
1
0 1 0 0
and Z
2
data registers.
0 1 0 1 Auxiliary input converted and the results returned to the AUX data register.
A temperature measurement is made and the results returned to the Temperature
0 1 1 0
Measurement 1 data register.
A differential temperature measurement is made and the results returned to the Temperature
0 1 1 1
Measurement 2 data register.
1 0 0 0 Auxiliary input is converted continuously and the results returned to the AUX data register.
Touch screen panel connection to X-axis drivers is tested. The test result is output to
1 0 0 1
PINTDAV and shown in STATUS register.
Touch screen panel connection to Y-axis drivers is tested. The test result is output to
1 0 1 0
PINTDAV and shown in STATUS register.
RESERVED (Note: any condition caused by this command can be cleared by setting the STS
1 0 1 1
bit to 1).
Touch screen panel short-circuit (between X and Y plates) is tested through Y-axis. The test
1 1 0 0
result is output to PINTDAV and shown in the STATUS register.
1 1 0 1 X+, X – drivers status
1 1 1 0 Y+, Y – drivers status
1 1 1 1 Y+, X – drivers status
Copyright © 2007 – 2008, Texas Instruments Incorporated Submit Documentation Feedback 27
Product Folder Link(s): TSC2004