TSC2101EVM Touch Screen Controller Evaluation Module User’s Guide February 2004 Data Acquisition − Industrial Audio SLAU112A
IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete.
EVM IMPORTANT NOTICE Texas Instruments (TI) provides the enclosed product(s) under the following conditions: This evaluation kit being sold by TI is intended for use for ENGINEERING DEVELOPMENT OR EVALUATION PURPOSES ONLY and is not considered by TI to be fit for commercial use.
EVM WARNINGS AND RESTRICTIONS It is important to operate this EVM within the input voltage range of 0 VDC to 10 VDC and the output voltage range of 3 VDC as described in the EVM User’s Guide. Exceeding the specified input range may cause unexpected operation and/or irreversible damage to the EVM. If there are questions concerning the input range, please contact a TI field representative prior to connecting the input power.
Preface Read This First About This Manual This user’s guide describes the function and operation of the TSC2101 touch screen controller evaluation module. This manual helps the user quickly set up the evaluation board and its accompanying software, to rapidly test and evaluate the TSC2101. A complete circuit description, schematic diagram, and bill of materials are included. How to Use This Manual This manual begins with an introductory chapter that describes the EVM and what it can do.
The information in a caution or a warning is provided for your protection. Please read each caution and warning carefully. Related Documentation From Texas Instruments To obtain a copy of any of the following TI documents, call the Texas Instruments literature response center at (800) 477−8924 or the product information center (PIC) at (972) 644−5580. When ordering, please identify this booklet by its title and literature number. Updated documents can also be obtained through the TI Web Site at www.ti.com.
Contents 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1 Device Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2 EVM Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3 Analog Inputs/Outputs . . . . . . . . . . . . . . . . . . . . . . . . . .
3.5 4 3.4.2 Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9 3.4.3 Touch Screen and Analog Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10 3.4.4 Audio Interface Circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10 Program Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Tables 2−1 3−1 3−2 3−3 3−4 3−5 3−6 3−7 3−8 3−9 3−10 3−10 Default Configuration Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Switch Function Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Jumper Function Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . JUMP4 Settings Reference . . . . . . . . . . . . . . . . . .
-8
Chapter 1 Introduction The TSC2101 is an advanced touch screen controller, which communicates to a host processor through an SPI serial interface. In addition, a mono-input/stereo-output audio codec is included in the TSC2101, and audio data is communicated to the device over an I2S bus. The TSC2101EVM accesses both of these buses through the use of a USB microcontroller, which provides a way to generate data for both buses from a PC running Windows 98SE, 2000, or XP. Topic Page 1.
Device Characteristics 1.1 Device Characteristics The TSC2101 is a complete PDA analog interface circuit. It contains a complete 12-bit A/D resistive touch screen converter, including the drivers and the control to measure touch pressure. The TSC2101 interfaces to the host controller through a standard SPI serial interface. The TSC2101 offers two auxiliary analog inputs and one battery voltage measurements.
Analog Inputs/Outputs Power supplies are derived from the USB bus, or may be provided to the kit through external connectors from an external user-supplied laboratory power supply. 1.3 Analog Inputs/Outputs Touch screen inputs are provided to the controller through J3. This connector is standard on 3M Touch Systems (formerly MicroTouch) TouchTek 4 touch screens. Alternate touch screen input connections are provided on the J1 terminal block.
1-4
Chapter 2 Getting Started This chapter guides you through unpacking your EVM and setting it up so you can begin working with it immediately. Topic Page 2.1 Unpacking the EVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 2.2 Default Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 2.3 Quick Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Unpacking the EVM 2.1 Unpacking the EVM When unpacking the TSC2101EVM, check the material in the box. The EVM kit includes the following: - TSC2101EVM board, PWB 6444330 - CD−ROM, 6444333 If any of these components is missing, contact Texas Instruments for a replacement. 2.2 Default Configuration The TSC2101EVM features a few simple means of configuring its operation. The default settings are shown in Table 2−1.
Quick Start 2.3 Quick Start Once the TSC2101EVM has been unpacked and you have verified that the board is configured as shown in Table 2−1, install the software. Place the CD-ROM into the CD-ROM drive of the PC. Locate and run the Setup program on the disk. The Setup program installs the TSC2101EVM software on your PC. Note that if you are running Windows 2000 or XP, you need administrator privileges to install the software. Follow the instructions provided by the installer.
Quick Start In order to use the touch screen features, a 4-wire resistive touch screen must be connected to J3 or J1 of the TSC2101EVM. If a speaker is connected to J9 (the loud speaker connection terminal), a ding sound is heard when the USB cable from the PC is plugged into J10 of the EVM. Additional dings are heard when launching the software. The EVM is set to default with the side-tone function enabled.
− Chapter 3 Operation This chapter describes each function of the TSC2101 evaluation kit and how to use the accompanying software to control and use the TSC2101. Topic Page 3.1 Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 3.2 Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3 3.3 I/O Connector and Signals . . . . . . . . . . . . . . . . . . . . . . . . . . .
Switches 3.1 Switches Table 3−1 shows the function of each switch on the EVM. Table 3−1. Switch Function Reference Reference Designator SW1−1 SW1 SW1−2 SW1−3 SW2−1 SW2−2 SW2 SW2−3 SW2−4 SW3 3.1.1 Setting Function ON 1.8-V power supply enabled OFF 1.8-V power supply disabled ON 3.9-V power supply enabled OFF 3.9-V power supply disabled ON 3.3-V power supply enabled OFF 3.
Jumpers 3.1.3 I2S Selection The I2S bus on the TSC2101 can interface with the onboard host processor, the TAS1020B USB controller, or with other offboard external I2S processor or devices. When the SW2−1 is set to ON, the manufacture default, the TSC2101 I2S is connected to the TAS1020B’s I2S. Otherwise, if the SW2−1 is shifted to OFF, the buffer between the onboard I2S ports is disabled so that an external I2S can communicate with the TSC2101 I2S port. 3.1.
Jumpers 3.2.1 Power Supply Current Measurement Six jumpers are on the front of the six power supply pins of the TSC2101. The jumpers can be replaced by current meters that measure and monitor the currents to the corresponding power supply pins. Refer to Table 2−1, Note 2. 3.2.2 MIC BIAS Selection JMP3 selects the handset microphone bias to come from the TSC2101 (MICBIAS_HND pin) or from an external resistor, R14, which is not installed on the TSC2101EVM board.
I/O Connector and Signals 3.2.6 IOVDD Voltage Selection One of the features of the TSC2101 device is that the digital IO power supply for the TSC2101 device is flexible, ranging from 1.1 V to 3.6 V. To evaluate the feature, the EVM has the JMP7 for the selection of the IOVDD, either 3.3 V (JMP7 to 1 and 2 position), or 1.8 V (JMP7 to 2 and 3 position). 3.2.
I/O Connector and Signals Additionally, the cell-phone input and output signals can be brought to the EVM board through the terminal block J2. The buzz input is also routed to J2. Table 3−5. Other Audio Inputs Reference Designator J2 3.3.
I/O Connector and Signals 3.3.4 Audio Data (I2S) Connector The I2S bus, which carries audio data to and from the TSC2101, is connected to header J13. The I2S signals from the on-board host processor (TAS1020B) can be disabled by turning off the SW2−1. Also refer to the previous section on switch settings. Table 3−8. Audio Data Connector Reference Designator Audio data (I2S) connector J13 3.3.
Circuit Description 3.3.6 Touch Screen Connectors A 4-wire touch screen connects to the EVM board through connector J3. This connector is standard on 3M Touch Systems (formerly MicroTouch) TouchTek 4 touch screens. A standard terminal block connection is available on J1 for those users who have touch screen connectors that do not match the J3 configuration. Table 3−10.Touch Screen Input Reference Designator J3, J1 3.3.
Circuit Description When the firmware is loaded and active, D2 (a yellow LED) is lit. If no firmware is loaded, the U10 output should be in 3-state. In order to ensure that the onboard host processor does NOT effect the interface between the external SPI bus to drive the TSC2101, turn OFF the SW2−3. When the SW2−3 is ON and the firmware is loaded, the PC software enables the onboard microprocessor to control the SPI bus.
Program Description 3.4.3 Touch Screen and Analog Inputs Terminal block J4 provides input connection points for the battery and auxiliary inputs. Battery input can range from 0 V to 6 V, and the auxiliary inputs can range from 0 V to VREF. The touch screen can be connected to J3 or to the J1 terminal block. Each of these seven inputs has a provision for an RC filter to be placed in line with the signal. As shipped, all resistors are 0 V, and the capacitors are not installed.
Program Description Figure 3−1. Human Interface Screen (Solid Mode) This screen reflects the touch screen from the TSC2101EVM. The status bar at the bottom of the screen is divided into four sections and shows the status of communication between the PC and the EVM. Starting from the left, the first section shows the status of the connection. If an error in communication occurs, an error message appears here; otherwise, it looks as shown in Figure 3−1.
Program Description The display can be cleared by pressing the Enter or Backspace key on the PC keyboard. Figure 3−2. Human Interface Screen (Dot Mode) By the right side of the screen, another window is used to show the touch screen data when the TSC2101 is under the buffer mode, which is explained in the next section: Data Acquisition Screen. 3.5.2 Data Acquisition Screen The data acquisition functions of the TSC2101 can be accessed on this screen as shown on the left side of the Figure 3−3.
Program Description Figure 3−3. Data Acquisition Screen 3.5.2.1 Nontouch Data Acquisition At this screen with the buffer mode NOT enabled, the TSC2101 is commanded to perform the battery and auxiliary input voltage readings, and then a TEMP1 and TEMP2 measurement. These measurements are all repeated twice every second, and the results are displayed on the three boxes at the left side of this screen. 3.5.2.2 Buffer Function In the middle of the screen, the buffer mode settings can be accessed.
Program Description Figure 3−4. Data Acquisition Screen With Enabled Buffer Function When the buffer function is enabled, the two data-reading buttons place the TSC2101 into either self-controlled mode, by clicking on the button Read Buffer for Touch Screen Data, or host-controlled mode, by clicking on the button Read Buffer for Non Touch Screen Data. When clicking on Read Buffer for Touch Screen Data, the SW shifts from this screen to the Human Interface screen.
Program Description Figure 3−5. Human Interface Screen WIth Enabled Buffer Function When clicking on Read Buffer for Non Touch Screen Data, the TSC2101 enters auto-scan mode to perform the auto scan on AUX1, AUX2, and TEMP1. These nontouch screen raw data are moved into the Reading Content List on the right side of the Data Acquistion tab, as shown in Figure 3−6. The data in Figure 3−6 is listed in this order: AUX1, AUX2, TEMP1, AUX1, AUX2, etc.
Program Description Figure 3−6. Reading Content List Screen With this EVM, the buffer trigger level is either 8 or 16, selected by the Buffer Trigger Level selection slide. Even though the TSC2101 can be set to a higher trigger level up to 64, this EVM allows only 8 or 16. The buffer function can be controlled in either Continuous or Single Shot mode, which is selected on the mode control option box. Refer to the data sheet for more on TSC2101 buffer function.
Program Description Figure 3−7. Configuration Screen 3.5.3.1 ADC Control Section This section controls all of the parameters of the A/D converter. Each slider controls one parameter, whose value is shown next to the slider. Each slider is described as follows. - Resolution—Selects between 8−, 10−, and 12−bit resolution. - Conversion Clock—The internal clock which runs the A/D converter can run at 8, 4, 2, or 1 MHz.
Program Description - Average/Median—There are two ways to reduce noise effect to the ADC result. One is averaging, where 4, 8, or 16 readings are averaged; another option is to find the median value among 5, 9, or 15 readings. The default is the average mode, as shown in Figure 3−7. When Median mode is selected, you see the configuration tab as shown in Figure 3−8. Figure 3−8.
Program Description If an external reference is to be used, it can be selected as shown in Figure 3−9. The value of the external reference should be entered in the text box shown. Figure 3−9. Configuration Screen With External Reference Selection 3.5.3.3 Measurement Section The TSC2101 supports programmable auto-temperature and auto-auxiliary measurement mode. In the auto measurement mode, the TSC2101 can auto start the TEMP1, TEMP2, AUX1, and/or AUX2 measurement after a programmable interval.
Program Description In this section, if the threshold function has not been enabled, that is the Enable checkbox has not been checked, the corresponding MAX/MIN slider does not move. Also note that the MAX value must be larger or equal to the MIN value. 3.5.3.5 Continuous Conversion Delay Section In the auto measurement mode, the delays between the conversions are programmable. This section can be used to program to delays between the continuous conversions.
Program Description Figure 3−10. Audio 1 Screen at Default Figure 3−11 shows the default condition of the Audio 2 tab. The functions and setting on Audio 2 mainly control the audio analog inputs with the following sections: HeadSet: set up the headset input power and gain control (PGA or AGC) function and other headset specified functions. HandSet: set up the handset input power and gain control (PGA or AGC) function and other handset specified functions.
Program Description Figure 3−11. Audio 2 Screen at Default Figure 3−12 shows the default condition of the AudioEffects Filters tab. This tab displays the boost filters, the de-emphasis filter, and the DAC and output driver pop noise reduction functions.
Program Description Figure 3−12. Base Boost Filter Screen at Default 3.5.4.1 Interface Section This section (refer to Figure 3−10) controls the behavior of the I2S port (BCLK, LRCLK, DIN, and DOUT pins). In this EVM, the audio port transfers the 16 bit data in I2S format, and the codec reference sample rate is at 44.1 kHz. The TSC2101 is programmed as a slave by default. The onboard processor TAS1020B is the master, which generates the BCLK and LRCLK signal.
Program Description On the bottom of the section, the corresponding FSref frequency is shown based on the selection of: 1) the Q-value if the PLL has not been enabled, or 2) the P, J, D values if the PLL has been enabled. 3.5.4.3 ADC Section This section (Audio 1 Tab, Figure 3−10) sets up the audio ADC power and the analog input source. By default, the audio ADC has been powered up so that the audio recording function can start to run with any SW settings.
Program Description and SP2 pins), select from the DAC Output to lists. By default, the left channel DAC output is routed to SP1 and the right channel to SP2. The signal routed to SP1 can also be output to the loud speaker (OUT8P/OUT8N), if the SP1 to Loud SP checkbox is checked. The SP1 can be used in single-ended or differential mode.
Program Description By default, the AGC is OFF and the programmable gain amplifier (PGA) on the headset circuit is selected for the gain control, allowing analog input gain control from 0 dB to 59.5 dB. When the AGC is OFF, moving the volume slide on the AGC OFF subsection adjusts the PGA on the MICIN_HED path and checking the Mute box mutes the headset input signal.
Program Description 3.5.4.7 Handset Section Similar to the headset section, the handset section is used mainly to set up the handset input gain through the handset PGA or the AGC, selectable by the Handset Input AGC ON checkbox. By default, when the handset AGC is OFF, and the programmable gain amplifier (PGA) is selected for the input gain control, allowing analog input gain control from 0 dB to 59.5 dB.
Program Description 3.5.4.8 Cell-Phone Section The cell-phone section is used to set up the cell-phone input gain, by using the CP_IN PGA or AGC. When the checkbox by Cell Phone Input AGC ON, is not checked, the PGA controls the gain, from −34.5 dB to 12 dB, and in 0.5 dB steps if the soft-stepping option was selected. The cell-phone input is muted when the Mute box under the slider is checked. When the box by AGC ON is checked, the cell-phone input AGC is enabled, as shown in Figure 3−15.
Program Description 3.5.4.9 Sidetone Section The TSC2101 has an analog sidetone circuit. The audio outputs of the TSC2101 includes a mix so that the sidetone can be mixed with the audio output signals, in proportion to their respective volume settings. The sidetone is enabled when the PowerUp box is checked. Its volume can be adjusted by the analog volume control slider, ranging from −34.5 dB to12 dB, and in 0.5-dB steps if the soft-stepping option is used.
Program Description Figure 3−16. Bass Boost Filter Screen With Different Left/Right Channels If changes are made to coefficient values directly, the response can be viewed on the graph by pressing the View Response button. It is recommended that the user view the response before downloading values to the TSC2101, as some values can cause clipping or oscillation of the filter. The filter equation is described in the TSC2101 data sheet.
Program Description Figure 3−17. Bass Boost Filter Screen With Bad Data In addition to the direct coefficient settings previously described, there are six preconfigured filters designed with the EVM software, selectable using the drop-down list of this screen, refer to Figure 3−18. On selection, the coefficients are updated along with the graph of the filter response to the selection. However, nothing is loaded into the TSC2101 until the Download button is pressed.
Program Description Figure 3−18.
Chapter 4 Physical Description This chapter contains the bill of materials, the EVM board silk screen/top layer, and the schematics. Topic Page 4.1 Bill of Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2 4.2 EVM Silk Screen/Top Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5 4.3 Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Bill of Materials 4.1 Bill of Materials Item No. Qty Value Ref Des Description Vendor Part Number 1 6 0 R1−R4, R6, R7 1/8W 5% Chip resistor Panasonic ERJ−6GEY0R00V 2 1 0 R20 1/4W 5% Chip resisto Panasonic ERJ−8GEY0R00V 3 1 10 R37 1/16W 1% Chip resistor Panasonic ERJ−3EKF10R0V 4 2 27.
Bill of Materials Item No. Qty Value Ref Des Description Vendor Part Number Not Installed 3 C52, C53, C54 29 1 D1 50-V, 1-A diode SMD Micro Commercial Corp.
Bill of Materials Item No.
EVM Board Silk Screen/Top Layer 4.2 EVM Board Silk Screen/Top Layer Table 4−1.
Schematics 4.3 Schematics Schematic diagrams of the TSC2101EVM showing the TSC2101 connections and the USB and connectors are shown on the following pages.
1 2 3 4 6 5 Revision History REV D7 through D10 are not installed, but can be added for extra ESD protection, or for reducing touch panel noise. JMP11 1 2 TP9 SDOUT I2SDOUT +3.3VA TP10 SDIN C19 10uF I2SDIN DRVDD C16 TP14 C18 10uF DVDD 0 J3 TP2 R2 XY+ X+ Y- 0 TP3 R3 0 103634-3 15 17 16 Y+ 14 X+ TP4 R4 TOUCH SCREEN 0 20 YC2 0.1uF C1 through C7 are not installed, but can be added for noise filtering. C3 0.1uF C4 0.1uF C8 0.1uF C26 10uF C5 0.
1 2 3 4 6 5 REVISION HISTORY REV ENGINEERING CHANGE NUMBER APPROVED IOVDD C48 +3.3V TP43 1uF U5 TP44 R30 3.09K SCL C44 1.5K 46 47 48 1 3 5 6 7 4 16 28 45 R33 .001uF 3.09K R35 27.4 R36 C38 47pF 1IN 1IN 1EN 3 9 1OUT 1OUT 1GND 2GND 10 11 12 B 1RESET 2RESET 2EN 2IN 2IN 2OUT 2OUT TPS767D318PWP J11 28 24 23 22 18 17 R23 100K XTALO XTALI PLLFILI PLLFILO MCLKI PUR DP DM DVSS DVSS DVSS AVSS TP46 MRESET P1.7 P1.6 P1.5 P1.4 P1.3 P1.2 P1.1 P1.0 DVDD DVDD DVDD AVDD C50 5 R19 2.