SX8650EVK USER GUIDE ADVANCED COMMUNICATIONS & SENSING SX8650 Evaluation Kit User’s Guide SX8650 VDD AUX Control A0 X+ NRST POR OSC I2C Y+ XYGND Revision V2.1/June 2010 ©2010 Semtech Corp. SCL Touch Screen Interface HOST ref+ Vref in ADC out ref- Page 1 SDA Digital Filter NIRQ www.semtech.com SX8650EVK ADVANCED COMMUNICATIONS & SENSING USER GUIDE Table of contents Section Page 1. General Description ................................................................................................................................................. 3 2. Hardware Description .............................................................................................................................................. 3 2.1. Overview .......................................................................................................................................................... 3 2.2. Content ............................................................................................................................................................ 3 2.3. Board .............................................................................................................................................................. 3 2.3.1. 3. Connection to the SX8650 ........................................................................................................................ 3 2.4. Power and analog Interface ............................................................................................................................. 4 2.5. Digital Interface ................................................................................................................................................ 5 Software Description................................................................................................................................................ 5 3.1. Overview .......................................................................................................................................................... 5 3.2. Installation........................................................................................................................................................ 5 3.3. Connecting the EVK......................................................................................................................................... 5 3.4. Starting the GUI ............................................................................................................................................... 6 3.5. Measurements ................................................................................................................................................. 6 3.5.1. Overview ................................................................................................................................................... 6 3.5.2. Auxiliary Channel ...................................................................................................................................... 6 3.6. Throughput....................................................................................................................................................... 7 3.6.1. 3.7. Touch Screen Setup ........................................................................................................................................ 8 3.7.1. 3.8. Overview ................................................................................................................................................... 8 I2C Setup ......................................................................................................................................................... 8 3.8.1. 3.9. Overview ................................................................................................................................................... 7 Overview ................................................................................................................................................... 8 Extras............................................................................................................................................................... 9 3.9.1. Overview ................................................................................................................................................... 9 3.10. Display Registers ........................................................................................................................................... 10 3.10.1. Overview ................................................................................................................................................. 10 3.11. Convert .......................................................................................................................................................... 11 3.11.1. Overview ................................................................................................................................................. 11 3.12. View Graph / View Touch Screen .................................................................................................................. 11 3.12.1. Overview ................................................................................................................................................. 11 3.13. Clear Data...................................................................................................................................................... 12 3.13.1. Overview ................................................................................................................................................. 12 3.14. Change Operation Mode................................................................................................................................ 12 3.14.1. Overview ................................................................................................................................................. 12 3.15. Connected/Disconnected............................................................................................................................... 12 3.15.1. Overview ................................................................................................................................................. 12 3.16. Quit ................................................................................................................................................................ 12 3.16.1. Overview ................................................................................................................................................. 12 3.17. Schematics .................................................................................................................................................... 13 3.18. Board outline.................................................................................................................................................. 14 4. References ............................................................................................................................................................ 14 Revision V2.1/June 2010 ©2010 Semtech Corp. Page 2 www.semtech.com SX8650EVK ADVANCED COMMUNICATIONS & SENSING USER GUIDE 1. General Description This user’s guide describes the characteristics, operation, and use of the SX8650EVK. This evaluation module is a 4-wire touch screen controller which also has auxiliary input. The hardware and software description and the schematic diagram are included. 2. Hardware Description 2.1. Overview The SX8650EVK is the board for evaluation of the 4-wire resistive touch screen controller SX8650. Since SX8650EVK is provided with a touch-panel, it is easy to check the functionality of the chip. The EVK and its supporting documentation allows for customers to develop software that can be used in eventual implementations. No external supply is needed to power the board. A USB cable is provided to connect the EVK to a Windows based PC for operation of the software. 2.2. Content The evaluation kit is composed of the following parts: The board with the SX8650 and the touch screen on the top A USB cable to connect the board to the PC A CDROM with the installation files and the user guide A stylus to write on the touch screen 2.3. Board The board is split in 2 areas. From the bottom view (component side), the left area is the interface between the USB of the PC and the SX8650. The right area is dedicated to the SX8650 and the touch screen connectors. The S_ON switch is the SX8650 power supply switch. A red led is lighted in the ON position. When it is switch off the SX8650 is not supplied but the interface circuitry is still powered on. 2.3.1. Connection to the SX8650 The left side of JP1 (odd number) is connected to the SX8650 host and the power pins. The right side of JP1 (even number) is connected to the interface pins of the SX8650. The jumpers allow the connection between the host and the SX8650. If an external host, power supply, or auxiliary input should be used, the jumper would be removed. Pin Number JP1(1-3) JP1(3-4) JP1(5-6) JP1(7-8) JP1(9-10) JP1(11-12) JP1(13-14) JP1(15-16) JP1(17-18) JP1(19-20) Table 1 Signal GND_0 V3V3 V3V3PU SCL SDA NRST NIRQ A0 AUX V3V3reg Description Ground 1.85V, 3.3V or external supply voltage Unused I2C bus serial clock I2C bus data line SX8650 Reset pin SX8650 interrupt pin SX8650 I2C address selection SX8650 Auxiliary input Unused JP1 Pinout Revision V2.1/June 2010 ©2010 Semtech Corp. Page 3 www.semtech.com SX8650EVK USER GUIDE ADVANCED COMMUNICATIONS & SENSING J3 header gives access to the J1 or J4 touch screen connectors. The jumpers set in the left vertical row of J3 enable the connection to J1 connector. The jumpers set in the horizontal way of J3 enable the connection to J4 connector. A direct connection via J3 can also be made to adapt other panel connections. Pin Number J3(3) J3(7) J3(11) J3(15) J3(17-19) Signal YXY+ X+ GND_0 Description 4-wire touch screen Y- plate voltage supply 4-wire touch screen X- plate voltage supply 4-wire touch screen Y+ plate voltage supply 4-wire touch screen X+ plate voltage supply Ground Table 2: J3 pinout Y- Y- X- X- Y+ Y+ X+ X+ GND GND Connection through J1 Connection through J4 Figure 1. Connection for J1 or J4 connectors 2.4. Power and analog Interface For maximum flexibility, the SX8650EVK is designed for easy interfacing to multiple analog-sources. The board is powered from the USB. The S_V switch allows the user to test the SX8650 to 3.3V (switch to the left) or 1.85V (switch to the right). If the user want to test the chip with a different supply voltage then the jumper JP1 (3-4) should be removed and an external voltage connected to JP1 (4). The SX8650 supply voltage range goes from 1.65V to 3.7V. JP1 (18) gives access to the AUX input. If the AUX input of the SX8650 is configured as an analog input, an arbitrary signal generator or any analog signal can be connected on JP1(18). If the AUX input of the SX8650 is configured to be used as a trigger for conversion, then a square wave generator or any digital signal can be connected to JP1(18). Revision V2.1/June 2010 ©2010 Semtech Corp. Page 4 www.semtech.com SX8650EVK ADVANCED COMMUNICATIONS & SENSING USER GUIDE 2.5. Digital Interface JP1 header also gives access to the digital control and serial data pins of the SX8650. If an external host is used to test the part, the jumpers JP1 (7-8), JP1 (9-10), JP1 (11-12), JP1 (13-14) should be removed and the SCL, SDA, NRST and NIRQ signals respectively connected to JP1 (8), JP1 (10), JP1 (12), JP1 (14). 3. Software Description 3.1. Overview The software is constructed with graphical aids such as radio buttons and check boxes so each setting on the device can easily be seen in a human readable display along with what the particular setting means. No experience in software programming is needed to operate the EVK or the SX8650 basic functions. 3.2. Installation This software requires a Windows 2000/XP/Vista operating system. The software is installed via an installation program. This is called “SX8650EvaluationKitSetup.exe”. The software will check to see if .NET 3.5 (which is required for the software) is installed. If it is not, the program will download it from Microsoft and install .NET (NOTE: A reboot may be required). After the software is installed, FTDI drivers will automatically be (re)installed. After the software is installed, you should plug the USB connection from the EVK to the PC to complete the installation. Figure 2. First launch of the SX8650 GUI Before starting the installation, the EVK must be connected through the USB to the PC and recognized by Windows. By default, the setup program will install a shortcut to the software in your start menu. 3.3. Connecting the EVK The USB cable that is provided will connect the EVK to the PC. The S_ON switch should be on the ON position. If the GUI is launched without an EVK connected and switched on, the program will show in the status that it is not connected. The Revision V2.1/June 2010 ©2010 Semtech Corp. Page 5 www.semtech.com SX8650EVK ADVANCED COMMUNICATIONS & SENSING USER GUIDE GUI will still show all features available and can be used as a quick demonstration or for specific debug operations. In order to connect the device once the GUI has been launched, the user must first connect the EVK to the PC via the USB cable. 3.4. Starting the GUI After starting the GUI, a script will set the device to go into Pen Trigger Mode, enable X-Y to be measured, and then set up a small power delay. NOTE: Pen Trigger Mode is not selected on startup because this is a command and not a register. Commands cannot be read, whereas registers can be read. Please do not disconnect the device while running the GUI. If it is desired to disconnect the EVK, close the GUI first. 3.5. Measurements 3.5.1. Overview Figure 3. : Measurements By clicking Measurements, the GUI will allow the user to select what channels to read. If the user is in Manual Conversion Mode and select Auxiliary Channel, a popup will appear to allow determining how to use the Auxiliary Channel. 3.5.2. Auxiliary Channel 3.5.2.1. Overview Revision V2.1/June 2010 ©2010 Semtech Corp. Page 6 www.semtech.com SX8650EVK ADVANCED COMMUNICATIONS & SENSING USER GUIDE Figure 4. Auxiliary Channel When in Manual Conversion Mode, the user may use the AUX pin as a trigger to perform conversions or as a standard analog input. 3.6. Throughput 3.6.1. Overview Figure 5. Throughput Revision V2.1/June 2010 ©2010 Semtech Corp. Page 7 www.semtech.com SX8650EVK ADVANCED COMMUNICATIONS & SENSING USER GUIDE The throughput page allows the user to change items that would affect the throughput of the device. Items such as Power Delay and Set Delay may need to be changed from the default value depending on the touch screen used. NOTE: Set Delay is similar to Power Delay but only used when a filter is selected. 3.7. Touch Screen Setup 3.7.1. Overview Figure 6. Touch Screen Setup When using different touch screens, the Touch Screen Setup page may need to be used. Currently, it will setup Resistances on the X/Y planes which are used in calculating the pressure and also for determining the correct aspect ratio for the screen size. Pressure Sensitivity is the number to multiply the final pressure calculation. This creates a larger pen size for smaller pressure measurements. The default settings correspond to the touch screen used on the EVK. 3.8. I2C Setup 3.8.1. Overview Revision V2.1/June 2010 ©2010 Semtech Corp. Page 8 www.semtech.com SX8650EVK ADVANCED COMMUNICATIONS & SENSING USER GUIDE Figure 7. I2C Setup This page is normally not needed but is available in case the user wants to try different I2C frequency settings. However, since the GUI is using Windows and a USB connection, there is a delay in between I2C commands because of the Operating System. 3.9. Extras 3.9.1. Overview Figure 8. Extras This area allows different demonstration modes to try out the touch screen with. Currently there is only one other mode, Touchpad Mode. Revision V2.1/June 2010 ©2010 Semtech Corp. Page 9 www.semtech.com SX8650EVK ADVANCED COMMUNICATIONS & SENSING USER GUIDE 3.9.1.1. Touchpad Mode This mode allows the touch screen to act similar to a standard touchpad. There are: Left and Right Buttons Edge moving (this is when the user moves the finger to an edge and the mouse still moves in that direction. Left Clicking when just touching the touchpad area really fast. Dragging (when the user double clicks fast and on the second click moves around on the touchpad). All settings such as speed and button configuration (swapping of left and right buttons) are done through the control panel in the standard mouse section. 3.10. Display Registers 3.10.1. Overview Figure 9. Display Registers If the user desires to view or modify the registers manually, he/she may do so on the Display Registers page. Revision V2.1/June 2010 ©2010 Semtech Corp. Page 10 www.semtech.com SX8650EVK ADVANCED COMMUNICATIONS & SENSING USER GUIDE 3.11. Convert 3.11.1. Overview Figure 10. Pen Detection Mode with the Pen Down The Select/Convert button is only available when in Manual Conversion Mod. This will perform a conversion with the channels selected on the Measurements page. 3.12. View Graph / View Touch Screen 3.12.1. Overview Figure 11. After user clicks View Graph and has touched the screen The user may view a graph display of the data. To go back to a touch screen view, just click View Touch Screen Revision V2.1/June 2010 ©2010 Semtech Corp. Page 11 www.semtech.com SX8650EVK ADVANCED COMMUNICATIONS & SENSING USER GUIDE 3.13. Clear Data 3.13.1. Overview This button is only available when viewing the touch screen. The only function of it is to clear the screen. 3.14. Change Operation Mode 3.14.1. Overview Clicking Change Operation Mode will allow the user to change the operation mode. The GUI will start up with this same page. 3.15. Connected/Disconnected 3.15.1. Overview Clicking Connected will disconnect the EVK. When it says Disconnected, clicking the button causes a connect to occur. 3.16. Quit 3.16.1. Overview Clicking the Quit button will close out the GUI. Revision V2.1/June 2010 ©2010 Semtech Corp. Page 12 www.semtech.com SHDN SC1563 A 100nF C15 F8 Ferrite 43k GND_USBa F7 R14 27k GND_USBa GND_r A GND_r C4 SC1563 RP1 RPot NC R31_1 GND_USBa R9 1.5k 5 4 1 F3 C21 33pF 43 Q1 44 48 1 2 47 GND_USBa GND_USBa VUSB xtal C22 33pF U3 8 6 7 5 VCC CS SCL ORG DU D GND Q GND_USBa 30 29 28 V3V1reg 27 26 1 2 3 4 R12 2.2k PWREN# 41 USBDM 46 3 42 14 31 AVCC VCC VCC VCCIOA VCCIOB 3V3OUT USBDP RSTOUT# RESET# XTIN BCBUS0 BCBUS1 BCBUS2 BCBUS3 SI/WUB FT2232D 10k C23 100nF GND3 GND_USBa GND_USBa V3V1PU R21 NC GND_0 V3V1PU R19 NC V3V1reg R16 NC AUX NIRQ A0 Y-_J1 YX-_J1 XY+_J1 Y+ X+_J1 X+ R20 10k R17 10k GND_0 GND_0 R8 2.2k 2 BDBUS0 BDBUS1 BDBUS2 BDBUS3 BDBUS4 BDBUS5 BDBUS6 BDBUS7 F_SCL F_SDA 24 23 22 21 20 19 17 16 15 13 12 11 10 40 39 38 37 36 35 33 32 GND_0 1 3 5 7 9 11 13 15 17 19 GND_r R10 10k NIRQ 7 SDA 8 V3V1reg R23 R24 R25 10k 10k 10k V3V1reg V3V1reg R11 10k SCL 9 NRST 10 A0 11 AUX 12 F_NRST S_NRES F_NIRQ F_A0 F_AUX NIRQ GND SDA Y- SCL X- NRST Y+ A0 X+ AUX VDD 2 4 6 8 10 12 14 16 18 20 X+_J4 X- 3 Y+ 2 X+ C27 1 J1 Tyco 84952-4 Y- 4 SX8650 Y-_J1 X-_J1 Y+_J1 X+_J1 1 2 3 4 Y-_J4 X-_J4 Y+_J4 X+_J4 C46 V3V1 APP_TRIG(0) APP_TRIG(1) APP_TRIG(2) X-_J4 Y+_J4 6 5 1uF C47 100nF Y-_J4 MALE HEADER 10X2 U9 C26 220pF B J3 C 1 2 3 4 J4 Omron XF2U-0415-3A 1.0nF GND_0 TOUT U4 F_SDA F_SCL TOUT 1 2 3 4 GND_USBa SDA VDD SCL A0 TOUT A1 GND A2 DS1631 GND_r V3V1reg 8 7 6 5 100nF C24 Title Size A4 GND_USBa 3 D SX8650 EVK V1a - I2C Application Date: File: Number Revision PCB-E134V02a 4/8/2009 U:\users\..\sx8650.SCH V2a Sheet of Drawn By: 4 1/1 ONi USER GUIDE www.semtech.com 1 ADBUS0 ADBUS1 ADBUS2 ADBUS3 ADBUS4 ADBUS5 ADBUS6 ADBUS7 ACBUS0 ACBUS1 ACBUS2 ACBUS3 SI/WUA XTOUT EECS EESK EEDATA TEST PWREN# C25 100nF SX8650EVK M93C46WMN6 R13 D 8 7 27R 47pF C20 VUSB 6 NRST V3V1PU V3V1reg R5 2.2k R22 10k GND_0 AGND GND GND GND GND R7 47pF C19 2 Ferrite F1 GND_USBa GND_USBa R6 27R 100nF V3V1PU R18 NC SCL SDA GND_r GND_USBa GND_USBa V3V1PU R4 NC GND_0 V3V1reg 100nF C14 R3 470R C16 U2 2 4 6 8 10 12 14 16 18 20 R73 470R 45 18 25 34 9 2 F2 10uF D_APP LED PWREN# 15k 10nF C13 C17 33nF C18 Ferrite C Mini USB Type-B J2 1 VBUS 2 SHLD D3 SHLD D+ 4 SHLDx SHLD 5 GND Ferrite 9 8 7 6 Ferrite 1 Page 13 GND_USBa F4 NC R31_2 GND_r W_USB Jumper R1 1k S_V B 33nF C12 R40 GND_r 1 3 5 7 9 11 13 15 17 19 F_SCL F_SDA F_NRST F_NIRQ F_A0 F_AUX C5 100nF V3V1PU JP1 MALE HEADER 10X2 GND_r S_ON 100nF C2 47k R2 27k 100nF C11 1uF C1 1 SHDN 4 ADJ 1 OUT GND 100nF C3 IN 3 1uF 5 2 F5 Ferrite MOSFET-P 2 U11 3 U1 100nF C8 GND_0 GND1 GND_r VUSB 1uF C9 GND_0 GND2 Ferrite 1 V3V1 1uF C10 R15 ADJ C7 4 4 OUT GND 100nF C6 IN 3 1uF 5 2 F6 Ferrite 3 V3V1reg ADVANCED COMMUNICATIONS & SENSING 2 U5 3.17. Schematics Revision V2.1/June 2010 ©2010 Semtech Corp. 1 SX8650EVK ADVANCED COMMUNICATIONS & SENSING USER GUIDE 3.18. Board outline 4. References [1] SX8650 Datasheet Revision V2.1/June 2010 ©2010 Semtech Corp. Page 14 www.semtech.com SX8652 ADVANCED COMMUNICATIONS & SENSING USER GUIDE © S e m te c h 2 0 1 0 A ll rig h ts re s e rv e d . R e p ro d u c tio n in w h o le o r in p a rt is p ro h ib ite d w ith o u t th e p rio r w ritte n c o n s e n t o f th e c o p y rig h t o w n e r. T h e in fo rm a tio n p re s e n te d in th is d o c u m e n t d o e s n o t fo rm p a rt o f a n y q u o ta tio n o r c o n tra c t, is b e lie v e d to b e a c c u ra te a n d re lia b le a n d m a y b e c h a n g e d w ith o u t n o tic e . N o lia b ility w ill b e a c c e p te d b y th e p u b lis h e r fo r a n y c o n s e q u e n c e o f its u s e . P u b lic a tio n th e re o f d o e s n o t c o n v e y n o r im p ly a n y lic e n s e u n d e r p a te n t o r o th e r in d u s tria l o r in te lle c tu a l p ro p e rty rig h ts . S e m te c h a s s u m e s n o re s p o n s ib ility o r lia b ility w h a ts o e v e r fo r a n y fa ilu re o r u n e x p e c te d o p e ra tio n re s u ltin g fro m m is u s e , n e g le c t im p ro p e r in s ta lla tio n , re p a ir o r im p ro p e r h a n d lin g o r u n u s u a l p h y s ic a l o r e le c tric a l s tre s s in c lu d in g , b u t n o t lim ite d to , e x p o s u re to p a ra m e te rs b e y o n d th e s p e c ifie d m a x im u m ra tin g s o r o p e ra tio n o u ts id e th e s p e c ifie d ra n g e . S E M T E C H P R O D U C T S A R E N O T D E S IG N E D , IN T E N D E D , A U T H O R IZ E D O R W A R R A N T E D T O B E S U IT A B L E F O R U S E IN L IF E -S U P P O R T A P P L IC A T IO N S , D E V IC E S O R S Y S T E M S O R O T H E R C R IT IC A L A P P L IC A T IO N S . IN C L U S IO N O F S E M T E C H P R O D U C T S IN S U C H A P P L IC A T IO N S IS U N D E R S T O O D T O B E U N D E R T A K E N S O L E L Y A T T H E C U S T O M E R ’S O W N R IS K . S h o u ld a c u s to m e r p u rc h a s e o r u s e S e m te c h p ro d u c ts fo r a n y s u c h u n a u th o riz e d a p p lic a tio n , th e c u s to m e r s h a ll in d e m n ify a n d h o ld S e m te c h a n d its o ffic e rs , e m p lo y e e s , s u b s id ia rie s , a ffilia te s , a n d d is trib u to rs h a rm le s s a g a in s t a ll c la im s , c o s ts d a m a g e s a n d a tto rn e y fe e s w h ic h c o u ld a ris e . A ll re fe re n c e d b ra n d s , p ro d u c t n a m e s , s e rv ic e n a m e s a n d tra d e m a rk s a re th e p ro p e rty o f th e ir re s p e c tiv e o w n e rs . Contact information Semtech Corporation Advanced Communications & Sensing Products E-mail: [email protected]@semtech.comInternet: http://www.semtech.com USA 200 Flynn Road, Camarillo, CA 93012-8790. Tel: +1 805 498 2111 Fax: +1 805 498 3804 FAR EAST 12F, No. 89 Sec. 5, Nanking E. Road, Taipei, 105, TWN, R.O.C. Tel: +886 2 2748 3380 Fax: +886 2 2748 3390 EUROPE Semtech Ltd., Units 2 & 3, Park Court, Premier Way, Abbey Park Industrial Estate, Romsey, Hampshire, SO51 9DN. Tel: +44 (0)1794 527 600 Fax: +44 (0)1794 527 601 ISO9001 CERTIFIED Revision 1.0 / June 2010 ©2010 Semtech Corp. Page 15 www.semtech.com