Datasheet

TSC2101
SLAS392D JUNE 2003 REVISED MAY 2005
www.ti.com
48
X, Y, Z1, Z2, BAT, AUX1, AUX2, TEMP1 and TEMP2 Registers
The results of all ADC conversions are placed in the appropriate data register. The data format of the result
word, R, of these registers is right-justified, as follows:
Bit 15
MSB
Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
LSB
0 0 0 0 R11
MSB
R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
LSB
PAGE 1 CONTROL REGISTER MAP
REGISTER 00H: Touch-Screen ADC Control
BIT NAME
RESET
VALUE
READ/
WRITE
FUNCTION
D15 PSTCM 0 R/W Pen Status/Control Mode.
READ
0 => There is no screen touch (default).
1 => The pen is down
WRITE
0 => Host controlled touch screen conversions (default).
1 => The TSC2101 controlled touch screen conversions.
D14 ADST 1(for read)
0 (for write)
R/W ADC STATUS.
READ
0 =>ADC is busy
1 => ADC is not busy (default).
WRITE
0 => Normal mode (default).
1 => Stop conversion and power down.
D13D10 ADCSM 0000 R/W ADC Scan Mode.
0000 => No scan
0001 => Touch screen scan function: X and Y coordinates are converted and the results returned
to X and Y data registers. Scan continues until either the pen is lifted or a stop bit is
sent.
0010 => Touch screen scan function: X, Y, Z1 and Z2 coordinates are converted and the results
returned to X, Y, Z1 and Z2 data registers. Scan continues until either the pen is lifted
or a stop bit is sent.
0011 => Touch screen scan function: X coordinate is converted and the results returned to X data
register.
0100 => Touch screen scan function: Y coordinate is converted and the results returned to Y data
register.
0101 => Touch screen scan function: Z1 and Z2 coordinates are converted and the results
returned to Z1 and Z2 data registers
0110 => BAT input is converted and the results returned to the BAT data register.
0111 => AUX2 input is converted and the results returned to the AUX2 data register
1000 => AUX1 input is converted and the results returned to the AUX1 data register.
1001 => Auto Scan function: For AUX1, AUX2, TEMP1 or TEMP2 as chosen using control
register 0CH/page 1. Scan continues until stop bit is sent or D13D10 are changed.
1010 => TEMP1 input is converted and the results returned to the TEMP1 data register.
1011 => Port scan function: BAT, AUX1, AUX2 inputs are measured and the results returned to
the appropriate data registers.
1100 => TEMP2 input is converted and the results returned to the TEMP2 data register.
1101 => Turn on X+, X drivers
1110 => Turn on Y+, Y drivers
1111 => Turn on Y+, X drivers
D9D8 RESOL 00 R/W Resolution Control. The ADC resolution is specified with these bits.
00 => 12-bit resolution
01 => 8-bit resolution
10 => 10-bit resolution
11 => 12-bit resolution