
TSC2117
Low-Power Audio Codec With Embedded miniDSP, Stereo Class-D
Speaker Amplifier, and Smart Four-Wire Touch-Screen Controller
SLAS550A – APRIL 2009 – REVISED JUNE 2009
www.ti.com
Page 3/Register 17: SAR ADC Clock
READ/
RESET
BIT
DESCRIPTION
WRITE
VALUE
D7
R/W
1
0: Internal oscillator clock is used for SAR ADC and TSC FSM.
1: External MCLK is used for SAR ADC and TSC FSM.(1)
D6–D0
R/W
000 0001
MCLK Divider to Generate Clock With Minimum Pulse Duration Greater Than 40 ns for the SAR
000 0000: MCLK divider = 128
000 0001: MCLK divider = 1
000 0010: MCLK divider = 2
...
111 1110: MCLK divider = 126
111 1111: MCLK divider = 127
(1)
This enables the external clock for SAR ADC conversions and TSC FSM related timers like precharge, sense,
…, but not for
programmable delay. For programmmable delay, use the preceding register settings.
Page 3/Register 18: Debounce Time for Pen-Up Detection
READ/
RESET
BIT
DESCRIPTION
WRITE
VALUE
D7
R/W
0
0: SPI Interface is used for the buffer data reading.
1: I2C Interface is used for the buffer data reading.
D6
R/W
0
0: SAR/buffer data update is held automatically (to avoid simultaneous buffer read and write operations)
based on internal detection logic.
1: SAR/buffer data update is held using software control and register 18, bit D5.
D5
R/W
0
0: SAR/buffer data update is enabled all the time. (This is valid only if register 18, bit D6 = 1.)
1: SAR/buffer data update is stopped so that user can read the last updated data without any data
corruption. (This is valid only if above D6 = 1.)
D4–D3
R/W
00
Reserved. Write only zeros to these bits.
D2–D0
R/W
000
Pen-touch removal detection with debounce
MCLK/DIV (Page
(1)
3/Register 16) =
Internal Oscillator Source
1-MHz Source
000: Debounce time =
0
s
0
s
001: Debounce time =
8
s
7.8
s
010: Debounce time =
16
s
15.6
s
011: Debounce time =
32
s
31.2
s
100: Debounce time =
64
s
62.4
s
101: Debounce time =
128
s
124.9
s
110: Debounce time =
256
s
250
s
111: Debounce time =
512
s
500
s
Note: These values are based on a nominal oscillator
frequency of 8.2 MHz. Values will scale to the actual
oscillator frequency.
(1)
The clock used for the debounce has a clock period = debounce duration/8.
Page 3/Register 19: Auto AUX Measurement Selection
READ/
RESET
BIT
DESCRIPTION
WRITE
VALUE
D7
R/W
0
0: Auto AUX1 measurement is disabled during auto non-touch screen scan.
1: Auto AUX1 measurement is enabled during auto non-touch screen scan.
D6
R/W
0
0: Auto AUX2 measurement is disabled during auto non-touch screen scan.
1: Auto AUX2 measurement is enabled during auto non-touch screen scan.
D5
R/W
0
0: Auto VBAT measurement is disabled during auto non-touch screen scan.
1: Auto VBAT measurement is enabled during auto non-touch screen scan.
D4
R/W
0
0: Auto TEMP measurement is disabled during auto non-touch screen scan.
1: Auto TEMP measurement is enabled during auto non-touch screen scan.
D3
R/W
0
0: TEMP1 is used for auto TEMP measurement.
1: TEMP2 is used for auto TEMP measurement.
D2
R/W
0
0: AUX1 is used for voltage measurement.
1: AUX1 is used for resistance measurement.
D1
R/W
0
0: AUX2 is used for voltage measurement.
1: AUX2 is used for resistance measurement.
D0
R/W
0
0: Internal bias resistance measurement mode is used during resistance measurement.
1: External bias resistance measurement mode is used during resistance measurement.
142
REGISTER MAP