Texas Instruments TSC2004EVM Evaluation Module TSC2004EVM TSC2004EVM Datenbogen

Produktcode
TSC2004EVM
Seite von 24
www.ti.com
6.4.1.3
Direct Configuration
6.4.2
Configuration Tab
Kit Operation
Temperature is displayed using both measurement modes described in the TSC2004 data sheet. Using
the TEMP1 and TEMP2 measurements, a temperature reading with 2
°
C resolution and accuracy is
achieved. Using only the TEMP1 measurement, a reading with 0.3
°
C resolution is possible, but requires
knowing the TEMP1 value at 25
°
C. This normally requests a calibration that the user performs. This
program assumes that TEMP1 = 600 mV at 25
°
C.
By default, the software continuously reads nontouch data, AUX, TEMP1, and TEMP2 and automatically
updates them in the Non-Touch Data Acquisition section of this tab. To stop the data acquisition, click on
the green LED Auto Reading in the top-right corner.
Both AUX and temperature measurements need reference voltage, which is provided to the TSC2004
V
REF
pin. The V
ref
(volts) controller box can be written with the corresponding V
ref
voltage.
In the TSC2004, the parameters or modes of the device can be set up or configured in two ways. One is
to set up the control registers; the other is to write directly to TSC2004 through control bytes. The majority
setups and status of the TSC2004 can be accessed through write/read TSC2004 control registers; also a
couple of parameters/modes can be accessed through the direct configuration, which include Resolution,
ADC Power-Down, ADC Stop, and SW Reset. See the data sheet for more details.
In the Human Interface tab, two direct configuration modes can be accessed: one is resolution; and
another is ADC Power-Down mode.
The TSC2004 ADC can be configured to operate in 10-bit or 12-bit resolution modes, which can be
directly configured using Control Byte Mode #1 or CB1 or by writing to the bit #13 of control register
CFR0. Clicking on the resolution option in this tab changes the resolution setting in CB1. Note that the
CB1 box on the top of the tabs is updated correspondingly while any of its control bits changes. You may
also need to change the resolution setting in CFR0 (which is discussed in the next section on the
Configuration tab) to make them consistent.
A Power-Down bit in TSC2004 Control Byte Mode#0 or CB0 can be set from this tab to power up the ADC
biasing circuitry always, or to power down the power between conversions. The box under the control
button PND0 shows the brief description.
On the Configuration tab, shown in
all of the TSC2004 control registers can be accessed and
written to.
The tab has four sections, corresponding to the configuration registers CRF0, CFR1, CFR2, and the four
thresholds registers, respectively. Also, two boxes, one under the CFR1 section and the other under the
Threshold Selection section, display the current values writing to these TSC2004 control/configuration
registers.
Note that a digital box is next to each of these multiple selectors; clicking on this box sends the data to the
corresponding control registers.
10
TSC2004EVM and TSC2004EVM-PDK
SLAU215 – May 2007