Datasheet
www.ti.com
Kit Operation
6.4.4 Setup Panel
TSC2008 has several software programmable features that can be set up by TSC2008 in the setup mode,
when A[2:0] = 2h.
Software reset can bring TSC2008 to its power-up default condition. When clicking on the LED and it
becomes green, the TSVC2008 is software reset.
TSC2008 can be totally compatible to TSC2046 on their data protocols, that is: the MSB of MISO signal
from the TSC starts at the falling edge of the ninth SCLK, that is: the SDO data is readable from the rising
edge of the tenth SCLK. Besides, TSC2008 can have its SDO output readable from the rising edge of the
ninth SCLK. This option can be selected by clicking on the TSC2046 Timing button. TSC2008 output
starting from the tenth SCLK when the TSC2046 Timing is enabled; and TSC2008 outputs starting from
the ninth SLK when the TSC2046 Timing is disabled. TSC2008 is defaulted with the TSC2046 Timing
being enabled.
TSC2008 has a built-in MVA filter, which is enabled by default. The MV filter can be disabled/enabled by
clicking on the MVA Filter button.
The PENIRQ can be used as an interrupt to the host and is pulled up by R
IRQ
internally. The R
IRQ
is with a
programmable value of either 50 kΩ (default) or 90 kΩ. The Internal PENIRQ Pullup button is used to
select the R
IRQ
.
For more details on the programmable features, see the data sheet.
6.4.5 Datalogging
The software can record the data it takes from the TSC2008 to a tab-delimited file, suitable for importing
into spreadsheets. To do this, first go into the File menu, and select Log Data to File..., which opens a
file-select window and allows you to specify a file to which to write the data. At the same time, this enables
the Datalogging menu.
When ready to begin recording data to a file, select Datalogging → Start Logging. Data is written to the file
until Datalogging → Stop Logging is selected. When the screen is not touched, the AUX and TEMP values
are written to the file, and the X, Y, Z1, and Z2 parameters are written to the file with values of 9999, to
indicate that they are not updated. When the screen is touched, the X, Y, Z1, and Z2 parameters are
written while the AUX and TEMP values are written to the file as 9999. Because the program constantly
updates at a rate of about 400 readings per second, datalog files can quickly grow large; therefore, log
only that data which is necessary.
The format of the data file has the first column as the time in milliseconds (which is just a timer in the
program; it can arbitrarily start at any number), then X, Y, Z1, Z2, AUX, TEMP0, and TEMP1 columns.
Every new reading is a new row in the file.
9
SLAU248–May 2008 TSC2008EVM and TSC2008EVM-PDK User's Guide
Submit Documentation Feedback
Copyright © 2008, Texas Instruments Incorporated