Texas Instruments TSC2017 Performance Demonstration Kit TSC2017EVM-PDK TSC2017EVM-PDK 데이터 시트

제품 코드
TSC2017EVM-PDK
다운로드
페이지 20
www.ti.com
EVM-PDK Operation
6.3.2
Data Acquisition Functions
The TSC2017 has provision for measuring one auxiliary input voltages (AUX) and temperature. This
section displays the measured values for these parameters. Measurements are updated only when the
touch screen is not being pressed and auto-reading mode is enabled (the AutoRead LED button is on).
Temperature is displayed using both methods described in the TSC2017 data sheet. Using the TEMP0
and TEMP1 measurements, a temperature reading with 2°C resolution and accuracy is achieved. Using
only the TEMP0 measurement, a reading with 0.3°C resolution is possible, but this option requires
knowing the TEMP0 value at 25°C; this normally is a calibration that the user performs. This program
assumes that TEMP0 = 580 mV at 25°C.
By default, AutoRead LED is on. That is, the software continuously reads nontouch data, AUX, TEMP1
and TEMP2, and automatically updates them in the Non-Touch Data Acquisition section. To stop the data
acquisition, click on the green LED AutoRead to turn it off.
Both AUX and temperature measurements require a reference voltage, which is provided to the TSC2017
VREF pin. The V
REF
(volts) controller box can be written with the corresponding V
REF
voltage. The factory
default V
REF
is 3.3 VDC.
6.3.3
TSC2017 Command
The TSC2017 can be configured to operate in 8-bit or 12-bit resolution modes. Control over the mode
used is selected in this section, which is sent to TSC2017 in the command byte.
The two power-down bits, PD1 and PD0, of the TSC2017 can be set from this panel as well. A brief
description of the mode selected is shown on the screen when setting these bits; see
(Command
Byte Definitions) of the TSC2017 data sheet (
) for details on what these bits do.
6.3.4
TSC2017 Setup Command
TSC2017 has several software programmable features that can be set up by TSC2017 in the setup mode,
a specific command called Setup.
Software reset can bring TSC2017 to its power-up default condition. When clicking on the LED and it
becomes green, the TSC2017 is software reset.
TSC2017 has a built-in MAV filter, which is enabled by default. The MAV filter can be disabled/enabled by
clicking on the MAV Filter button.
The PENIRQ signal from the TSC2017 can be used as an interrupt to the host, and it requires being
pulled up by a resistor. The TSC2017 has an internal pullup R
IRQ
, and thus no external pullup is needed.
The internal pullup R
IRQ
can be selected and programmed to be 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 and Setup mode of the TSC2017, see the product data
sheet (
6.3.5
TSC2017 Hardware Reset
Clicking on the Hardware Reset LED in the lower right corner of the GUI turns the LED switch on or off.
When the LED is turned on or lit (in green), the hardware reset pin RESET is pulled low by a digital control
signal from the USB-MODEVM board, and the TSC2017 enters the hardware reset process. To bring
TSC2017 back to normal operational state, the LED must be turned off.
6.4
Datalogging
The software can record the data it takes from the TSC2017 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.
11
SLAU305A – January 2010 – Revised June 2010
TSC2017EVM and TSC2017EVM-PDK
Copyright © 2010, Texas Instruments Incorporated