SX8652 Evaluation Kit User Guide

SX8652EVK
USER GUIDE
ADVANCED COMMUNICATIONS & SENSING
SX8652 Evaluation Kit
User’s Guide
VDD
SX8652
VDD
Control
NIRQ
AUX/WIPER
NRST (DFN only)
POR
To the
touch
screen
SPI
X+/BR
Y+/TR
Touch
Screen
Interface
X-/TL
Y-/BL
Vref
NCS
OSC
SCLK
ref+
in
ADC out
ref-
Digital
Filter
To the
Host
DOUT
DIN
GND
Revision V2.3/June 2010
©2010 Semtech Corp.
Page 1
www.semtech.com
SX8652EVK
ADVANCED COMMUNICATIONS & SENSING
USER GUIDE
Table of contents
Section
Page
1.
General Description ................................................................................................................................................. 3
2.
3.
Evaluation Board ..................................................................................................................................................... 3
2.1.
Setting Up the Evaluation Board...................................................................................................................... 3
2.2.
Overview .......................................................................................................................................................... 3
2.3.
Content ............................................................................................................................................................ 3
2.4.
Board .............................................................................................................................................................. 3
2.4.1.
Connectors ................................................................................................................................................ 3
2.4.2.
Indicators and switch................................................................................................................................. 4
Software Description................................................................................................................................................ 4
3.1.
Overview .......................................................................................................................................................... 4
3.2.
Installation........................................................................................................................................................ 4
3.3.
Running the software ....................................................................................................................................... 5
3.4.
View Graph / View Touch Screen .................................................................................................................... 6
3.5.
Clear Data........................................................................................................................................................ 6
3.6.
Change Operation Mode.................................................................................................................................. 6
3.7.
Connected/Disconnected................................................................................................................................. 6
3.8.
Quit .................................................................................................................................................................. 6
3.9.
Measurements ................................................................................................................................................. 7
3.9.1.
Auxiliary Channel ...................................................................................................................................... 7
3.10. Throughput....................................................................................................................................................... 8
3.11. Touch Screen Setup ........................................................................................................................................ 9
3.12. SPI Setup....................................................................................................................................................... 10
3.13. Display Registers ........................................................................................................................................... 10
3.14. Convert .......................................................................................................................................................... 11
4.
Schematics ............................................................................................................................................................ 12
5.
Board Outline......................................................................................................................................................... 13
Revision V2.3/June 2010
©2010 Semtech Corp.
Page 2
www.semtech.com
SX8652EVK
ADVANCED COMMUNICATIONS & SENSING
USER GUIDE
1. General Description
The SX8652 is a 4/5-wire touch screen controller. The SX8652EVK allows you to evaluate most of the features of the
SX8652. The Graphic User Interface (GUI) is used to change the settings on the SX8652.
2. Evaluation Board
2.1. Setting Up the Evaluation Board
Follow theses steps to set up the SX8652EVK:
i) Install the evaluation software CD before connecting the board. The name of the setup file is :
SX8652EvaluationKitOfflineSetup.exe
ii) Ensure that all jumpers are set correctly (check Table 1)
iii) Plug the USB connector from the USB port on your PC into the mini-USB socket on the evaluation board. The power
indicator LED D1 on the board should turn on.
iv) Start the SX8652Evaluation software
2.2. Overview
The SX8652EVK is the board for evaluation of the 4/5 wire resistive touch screen controller SX8652. It is provided with a 4wire touch screen to ease the evaluation.
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.3. Content
The evaluation kit is composed of the following parts:
i) The board with the SX8652 and the touch screen on the top
ii) A USB cable to connect the board to the PC
iii) A CDROM with the installation files and the user guide
iv) A stylus to write on the touch screen
2.4. Board
This evaluation board contains the following main components that can be identified from the schematics in section .
SX8652 in DFN package
FT2232D with the quartz : USB to SPI controller
M93C46 EEPROM : USB initialization information
SN74LVC8T245 : Level shifter
SC1563 : Regulator for 3.3V and 1.85V
4-wire touchscreen connected in J5
2.4.1. Connectors
Revision V2.3/June 2010
©2010 Semtech Corp.
Page 3
www.semtech.com
SX8652EVK
ADVANCED COMMUNICATIONS & SENSING
Number
J1
J2
J3
J4
J5
J6
P6
USER GUIDE
Description
The USB cable should be plugged directly from the PC into this connector. It is a type
USB mini-B socket.
This connector makes the connection between the host and the SX8652. Make sure
that all the jumpers are set before running the software.
The jumpers make the link between the SX8652 X+,X-,Y+,Y- ports and the 4-wire
touchscreen connector (J5-J6) or the 5-wire touchscreen connector (J4)
·
Link to the 4-wire touchscreen configuration (default):
Jumpers on (1-3), (5-7), (9-11), (13-15)
·
Link to the 5-wire touchscreen configuration :
Jumpers on (1-2), (5-6), (9-10), (13-14),(17-18)
5-wire touchscreen connector ref. FCI SFW5R-1STE1LF
Can be connected to Bergquist touchscreen P/N : 400333
4-wire touchscreen connector
ref. Omron XF2U-0415-3A
4-wire touchscreen connector
ref. Tyco 84952-4
This connector can be used to measure SX8652 current consumption.
The jumper must be set for the EVK to work
Table 1 : Connector descriptions
2.4.2. Indicators and switch
Number
D1
S1
Description
When illuminated, this red LED indicates that the evaluation board is powered
This switch set the SX8652 supply voltage to 3.3V or 1.85V
Table 2: Indicator and switch descriptions
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.
3.2. Installation
This software requires a Windows 2000/XP/Vista operating system. If an internet connection is available, the installation
program “SX8652EvaluationKitOnlineSetup_vX.X.exe” will download the latest package .NET Framework.
The software can also be installed via the executable installation program called
“SX8652EvaluationKitOfflineSetup_vX.X.exe”.
After the software is installed, FTDI drivers will automatically be (re)installed. By default, the setup program will install a
shortcut to the software in your start menu.
Plug the USB connection from the EVK to the PC to complete the installation. The PC should recognize the SX8652EVK.
Revision V2.3/June 2010
©2010 Semtech Corp.
Page 4
www.semtech.com
SX8652EVK
USER GUIDE
ADVANCED COMMUNICATIONS & SENSING
3.3. Running the software
Before running the software, ensure that the evaluation board is plugged into the USB port of the host computer.
If the software is launched without an EVK connected and switched on, the program will show in the status that it is not
connected.
After starting the GUI, the device is in Pen Trigger Mode waiting for the user to touch the touchscreen.
Please do not disconnect the device while running the GUI. If it is desired to disconnect the EVK, close the GUI first.
Figure 1 shows a described view of the GUI while running.
Select the
channels
Read/
Write the
SX8652
registers
Set the rate , the
filter and the
settling time
Set the
touchscreen
type
Touchscreen
Display Area
Set the SPI
frequency
Allows the user to
Turns green
trig the conversion when the screen
in Manual
is touched in Pen
Conversion Mode Detection Mode
Toggle
the view
Clear the
display
area
Connected/
Disconnected
Exit
Select the
mode
Figure 1. : First launch of the SX8652 GUI
The following sections describe the GUI menu.
Revision V2.3/June 2010
©2010 Semtech Corp.
Page 5
www.semtech.com
SX8652EVK
ADVANCED COMMUNICATIONS & SENSING
USER GUIDE
3.4. View Graph / View Touch Screen
The user may view a graph display of the data. To go back to a touch screen view, just click View Touch Screen.
Figure 2. : After user clicks View Graph and has touched the screen
3.5. Clear Data
This button is only available when viewing the touch screen. The only function of it is to clear the screen.
3.6. Change Operation Mode
Clicking Change Operation Mode will allow the user to change the operation mode. The GUI will start up with this same
page.
3.7. Connected/Disconnected
When the EVK is connected to the USB port of a computer, the GUI displays the connected status on the top right area of
the GUI.
Clicking the Connected button will disconnect the EVK.
When the EVK is not connected, the GUI displays the disconnected status. Clicking the Disconnected button will enable
the connection with the EVK.
3.8. Quit
Clicking the Quit button will close out the GUI.
Revision V2.3/June 2010
©2010 Semtech Corp.
Page 6
www.semtech.com
SX8652EVK
ADVANCED COMMUNICATIONS & SENSING
USER GUIDE
3.9. Measurements
The measurements menu let the user select the channel to be read.
With a 4-wire touchscreen, the SX8652 can provide the coordinates, the pressure and also the result of the conversion of
an auxiliary channel.
The SX8652 can be used as a 12-bit ADC to convert the analog voltage from the auxiliary channel. This channel can also
be set as a trigger to synchronize the measurements in manual mode.
With a 5-wire touchscreen, the measurements are limited to the X and Y coordinates.
Figure 3. : Measurements, channel selection
3.9.1. Auxiliary Channel
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.
Revision V2.3/June 2010
©2010 Semtech Corp.
Page 7
www.semtech.com
SX8652EVK
ADVANCED COMMUNICATIONS & SENSING
USER GUIDE
Figure 4. : Auxiliary Channel
3.10. Throughput
The programmable rate, the filter and the settling times are set in the throughput menu.
The programmable rate can be selected from 10 cps to 500 cps when the SX8652 is in programmable rate conversion
mode.
The SX8652 offers 4 types of data processing which allows the user to make trade-offs between data throughput, power
consumption and noise rejection.
The power delay and set delay set the biasing time needed by the touchscreen to reach the 12 bit accuracy.
Revision V2.3/June 2010
©2010 Semtech Corp.
Page 8
www.semtech.com
SX8652EVK
ADVANCED COMMUNICATIONS & SENSING
USER GUIDE
Figure 5. : Throughput
3.11. Touch Screen Setup
This menu allows the user to select the resistive screen type and fill in the panel resistances.
The X and Y plane resistance determines the correct aspect ratio for the screen size.
When using a 4-wire panel, the Rt resistance between the two layers of the touchscreen can be calculated using the
datasheet formula. Its value depends of the pressure exercised on the touchscreen and the X and Y total sheet resistance.
The pressure sensitivity selects the width of the trace. Increasing the pressure sensitivity will make the pen size larger.
Figure 6. : Touch Screen Setup
Revision V2.3/June 2010
©2010 Semtech Corp.
Page 9
www.semtech.com
SX8652EVK
ADVANCED COMMUNICATIONS & SENSING
USER GUIDE
3.12. SPI Setup
This page is normally not needed but is available in case the user wants to try different SPI frequency settings.
Figure 7. : SPI Setup
3.13. Display Registers
The user can view or modify the registers on the Display Registers page.
Figure 8. : Display Registers
Revision V2.3/June 2010
©2010 Semtech Corp.
Page 10
www.semtech.com
SX8652EVK
ADVANCED COMMUNICATIONS & SENSING
USER GUIDE
3.14. Convert
Figure 9. 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.
Revision V2.3/June 2010
©2010 Semtech Corp.
Page 11
www.semtech.com
www.semtech.com
3
4
C9
C6
C7
1
SHDN
SC1563
27k
GND_r
GND_usb
1V85
R2
47k
R6
GND_r
R3
15k
C10 C11
1uF 100nF
1
2
3V3_FT
C26
GND_r
P3
GND_r
1
2
1
2
P6
Header 2
EXT_1V65_3V7
Header 2
EXT_1V65_3V7
24
23
22
21
20
19
18
17
16
15
14
13
VCCB
VCCB
OE#
B1
B2
B3
B4
B5
B6
B7
B8
GND
100nF
C27
GND_r
JL_AUX
SN74LVC8T245
3V3_1V85
VCCA
DIR
A1
A2
A3
A4
A5
A6
A7
A8
GND
GND
VCCB
VCCB
OE#
B1
B2
B3
B4
B5
B6
B7
B8
GND
PWREN
GND_r
GND_r
C20
33nF
GND_usb
27R
27R
C23
33pF
GND_usb
5
ORG
DU
D
GND
Q
1
2
3
4
EECS
EESK
EEDATA
R12
2.2k
8
R10 1.5k 5
4
VUSB
2
43
44
EECS 48
1
EESK
EEDATA 2
47
GND_usb 30
29
28
3V3_FT 27
26
PWREN 41
R14
46
3
42
14
31
3V3OUT
USBDM
USBDP
RSTOUT#
RESET#
XTIN
DOUT
Y-/BL
DIN
GND
SCL
SX8652
SX_1V65_3V7
11 JR_NIRQ
10 JR_MISO
9 JR_MOSI
8 JR_SCLK
B
SX_1V65_3V7
GND_SX
GND_r
3V3_FT
R15
10k
JR_NIRQ
JR_NRST
C28
100nF
GND_usb
XTOUT
EECS
EESK
EEDATA
TEST
BCBUS0
BCBUS1
BCBUS2
BCBUS3
SI/WUB
PWREN#
FT2232D
J2
HEADER 10X2
ADBUS0
ADBUS1
ADBUS2
ADBUS3
ADBUS4
ADBUS5
ADBUS6
ADBUS7
ACBUS0
ACBUS1
ACBUS2
ACBUS3
SI/WUA
10k
BDBUS0
BDBUS1
BDBUS2
BDBUS3
BDBUS4
BDBUS5
BDBUS6
BDBUS7
24
23
22
21
20
19
17
16
15
13
12
11
10
F_SCLK
F_MOSI
F_MISO
F_CS
GND_r
3V3_FT
2
1
3
5
7
9
11
13
15
17
19
JL_SCLK
JL_MOSI
JL_MISO
JL_NIRQ
JL_CS
JL_NRST
JL_AUX
3V3_FT
EXT_1V65_3V7
2
4
6
8
10
12
14
16
18
20
SX_1V65_3V7
J3
Y-/BL
YX-/TL
XY+/TR
Y+
X+/BR
X+
AUX/WIPER
JR_AUX
J5
Ferrite
40 F_NRST
39 F_NIRQ
38 F_AUX
37
APP0
36
APP1
35
APP2
33
APP3
32
APP4
GND_SX
JR_SCLK
JR_MOSI
JR_MISO
JR_NIRQ
JR_CS
JR_NRST
JR_AUX
F7
EXT_1V65_3V7
F8
GND_usb
GND1
GND2
GND_r
D1
LED
YXY+
X+
J6
YXY+
X+
1
2
3
4
GND_SX
Omron XF2U-0415-3A
1
2
3
4
1
3
5
7
9
11
13
15
17
19
BL
2
4
6
8
10
12
14
16
18
20
TL
TR
BR
R13
470R
HEADER 10X2
J4
TR
1
TL
2
WIPER
3
BL
4
BR
5
Tyco 84952-4
FCI SFW5R-1STE1LF
SX8652 EVK V2a - 4/5 wire Resistive Touch Screen Controller EVK
Size
A4
GND_r
Date:
File:
3
Number
Revision
PCB_E153V02a
12/14/2009
X:\users\..\SX8652EVKV2a.SCHDOC
V2a
Sheet of
Drawn By:
4
C
WIPER
Title
GND_usb
1
NIRQ
X-/TL
GND_SX
M93C46WMN6
GND_usb
13 JR_NRST
12 JR_CS
NCS
Y+/TR
A
GND_SX
GND_usb
45
18
25
34
9
4. Schematics
D
CS
SCL
6
7
Q1
xtal
U8
6
7
GND_usb
1
USB_DM R8
USB_DP
R9
47pF
C22
C24
GND_usb 33pF
C25
100nF
6
C15
100nF
AVCC
VCC
VCC
VCCIOA
VCCIOB
U7
GND_usb
VCC
VUSB 3V3_FT
GND_usb
47pF
C21
8
Y-/BL
470R
10nF
C18
C19
100nF
Mini USB Type-B
J1
1
VBUS
2 USB_DM
SHLD
D3 USB_DP
SHLD D+
4
SHLD
x
SHLD
5
GND
VUSB
5
7
Ferrite
F3
33nF
C17
AGND
GND
GND
GND
GND
Ferrite
100nF
C16
VUSB
R7
GND_usb
C
X-/TL
GND_SX
NC
NRST
X+/BR
Y+/TR 4
R11
10k
VUSB
VDD
X+/BR 3
24
100nF
23
C13
22
21 JL_MISO
20 JL_NIRQ
GND_r
19
18
17
16
15
14
13
14
AUX/WIPER
SN74LVC8T245
GND_r
9
8
7
6
U4
AUX/WIPER1
SX_1V65_3V7
2
VUSB
C14
10uF
Header 2
GND_SX
U6
1
2
F_MISO 3
F_NIRQ 4
5
6
7
8
9
10
11
12
100nF
C12
JL_SCLK
JL_MOSI
JL_CS GND_r
JL_NRST
C2
R4
1k
GND_r
3V3_FT
VCCA
DIR
A1
A2
A3
A4
A5
A6
A7
A8
GND
GND
C1
C3
100nF
EXT_1V65_3V7
U5
1
2
F_SCLK 3
F_MOSI 4
F_CS 5
F_NRST 6
7
F_AUX 8
9
10
11
12
100nF
100nF
27k
EXT_1V65_3V7
P2
1uF
Page 12
GND_r
S1
3V3
1
100nF
ADJ
47k
1uF
4
1
2
OUT
GND
ADJ
GND
100nF
P4 Header 2
B
IN
R1
C8
R5
GND_usb
5
1/1
ONi
D
Revision V2.3/June 2010
©2010 Semtech Corp.
SC1563
4
1uF
MOSFET-P 3V3_1V85
2 U3 3
U2
15
C5
SHDN
2
C4
OUT
3
1
100nF
1uF
A
IN
VUSB
2
5
3V3_FT
3
U1
To 5-wire connector J4
USER GUIDE
2
SX_1V65_3V7
ADVANCED COMMUNICATIONS & SENSING
SX8652EVK
1
VUSB
SX8652EVK
ADVANCED COMMUNICATIONS & SENSING
USER GUIDE
5. Board Outline
Revision V2.3/June 2010
©2010 Semtech Corp.
Page 13
www.semtech.com
SX8652
ADVANCED COMMUNICATIONS & SENSING
USER GUIDE
6 References
[1] SX8652 Datasheet
© 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 V2.3/June 2010
©2010 Semtech Corp.
Page 14
www.semtech.com