background image

CY3270 PSoC® FirstTouch Guide, Document # 001-15945 Rev. **

17

3.

Technical Reference

3.1

FTPC Bridge Details

The FTPC Bridge is the interface bridge between the expansion cards, your PC, and the various
applications such as PSoC Express™, PSoC Designer™, and the PSoC Programmer utility.

Since the FTPC Bridge enumerates as a special type of ‘combo device’ that contains a PSoC Mini-
Prog interface, the standard PSoC Programmer utility can identify and communicate with the FTPC
bridge. This ensures that your FirstTouch Kit is automatically compatible with both PSoC Express
and PSoC Designer. 

The schematic for the FTPC Bridge shown in 

Figure 3-1

 is found on the CD included in the kit.

Figure 3-1.  FTPC Bridge Schematic

5

5

4

4

3

3

2

2

1

1

D

D

C

C

B

B

A

A

8x2 0.100" FEMALE Expansion Receptacle

ISSP-RADON

ISSP-RADON

ISSP-RADON

Resettable Fuse

PCB: PDCR-9403

NO LOAD

REF-14210

**

FIRST TOUCH PC BRIDGE

B

1

1

Thursday, June 21, 2007

Title

Size

Document Number

Rev

Date:

Sheet

of

CYPRESS SEMICONDUCTOR  © 2007

XRES894

ISSP_DAT

SPI_nSS

P02

P04

P03

P05
ISSP_XRES
ISSP_CLK

GPIO5
GPIO4
GPIO3
GPIO2

SCL_SCLK

SDA_MOSI

DETECT

ISSP_XRES
ISSP_CLK
ISSP_DAT

SPI_MISO
SPI_nSS

TYPE

XRES894
CLK894
DAT894

CLK894

DP

DM

DAT894

SPI_MISO

SDA_MOSI

SCL_SCLK

DETECT

TYPE

LED_ALIVE

LED_ALIVE

GPIO4

GPIO3

GPIO2

GPIO5

P03

P04

P05

P02

V50

V50

V50

V50

V50

V50

0805

R4

27

0805

R1

Zero

0805

R8

100

0805

R13

1K

0805

R12

NO LOAD

0805

C2

0.1 uFd

J1

ISSP894

1
2
3
4
5

TP4

0805

R3

100K

0805

R5

27

1206L

F1

350mA

0805

C6

0.01 uFd

0805

R14

Zero

TP0

RADIAL

D1

LED Blue

1

2

J3

8X2 PIN RECPT RA

1
3
5
7
9

11

4

13
15

6
8

2

16

14

12

10

VEXP_IN
GND
ISSP_XRES
ISSP_CLK
ISSP_DAT
EXP_TYPE

VEXP_OUT

MISO
SPI_nss

SDA-MOSI
SCL-SCLK

VLOCAL

GPIO2

GPIO3

GPIO4

GPIO5

0805

C4

0.1 uFd

0805

R15

Zero

TP6

0805

R10

NO LOAD

0805

R2

100K

U1

CY8C24894 QFN56

18

17

16

15

41

2

42

1

43
56
44
55

36

45
54
46
53
47

50

19

33
10
34
9
35
8

7

37
6
38
5
39
4
40
3

29
14
30
13

52
48
51

20

22

25

26

27

28

21

49

31
12
32
11

24
23

57

P1_1

P1_3

P1_5

P1_7

P2_0
P2_1
P2_2
P2_3
P2_4
P2_5
P2_6
P2_7

XRES

P0_0
P0_1
P0_2
P0_3
P0_4

G

ND2

G

ND1

P3_0
P3_1
P3_2
P3_3
P3_4
P3_5

P3_7

P4_0
P4_1
P4_2
P4_3
P4_4
P4_5
P4_6
P4_7

P5_0
P5_1
P5_2
P5_3

P0_5
P0_6
P0_7

DP

VDD1

P1_0

P1_2

P1_4

P1_6

DM

VDD2

P5_4
P5_5
P5_6
P5_7

P7_0
P7_7

EPAD

0805

R7

100

J2

USB A RA PLUG SMD

1
2
3
4
5
6

VBUS

DM

DP

GND

S1
S2

0805

R9

NO LOAD

+

A

C1
22 uFd 10v

TP2

0805

R16

Zero

0805

C3

0.1 uFd

0805

R11

NO LOAD

+

A

C5
10 uFd 10v

0805

R6

100K

Summary of Contents for PSoC FirstTouch CY3270

Page 1: ...CY3270 PSoC FirstTouch Guide Document 001 15945 Rev Cypress Semiconductor 198 Champion Court San Jose CA 95134 1709 Phone USA 800 858 1810 Phone Intnl 408 943 2600 http www cypress com ...

Page 2: ...ent protection United States and foreign United States copyright laws and international treaty provisions Cypress hereby grants to licensee a personal non exclusive non transferable license to copy use modify create derivative works of and compile the Cypress Source Code and derivative works for the sole purpose of creating custom soft ware and or firmware in support of licensee product to be used...

Page 3: ...ng Demonstration 11 2 4 4 CapSense Proximity Sensing Demonstration 12 2 5 Exploring the FTMF Expansion Card Demonstration Projects 13 2 5 1 Opening a Demonstration Project 13 2 5 2 Modifying the New Project 13 2 5 3 Simulating the Project 14 2 5 4 Building the New Project 14 2 5 4 1 Selecting the Target Device 14 2 5 4 2 Specifying the Target Device Pinout 14 2 5 5 Programming the Project 14 2 5 6...

Page 4: ...4 CY3270 PSoC FirstTouch Guide Document 001 15945 Rev Contents ...

Page 5: ...cations Performs expansion card I2C communications Performs expansion card SPI communications There are no other active components inside of the FTPC bridge All of these interfaces run on a sin gle PSoC device Future projects for the FirstTouch Kit allow you to modify the FTPC firmware and try some USB Interface designs of your own The FirstTouch expansion card connects to the FTPC bridge through ...

Page 6: ...his guide uses the Courier New font to distinguish file location and source code examples from regular text File names are presented in italics text Keyboard commands are bolded CY3270 PSoC FirstTouch Guide History Release Date Firmware Revision Guide Version Originator Description of Change 08 15 07 See Note a ARI This guide is a new document a PSoC Express 3 0 generates the firmware ...

Page 7: ...lect Install PSoC Programmer When that is complete select Install PSoC Express When that is complete select Install NET Framework and then select Express Pack 1 for PSoC Express in that order You can also find the latest software ver sions at www cypress com FirstTouch For each installation follow the instructions issued by the installation wizard To copy the kit documents to your computer select ...

Page 8: ...n your hand s proximity to the board 2 4 FTMF Expansion Card Demonstrations The FTMF Expansion Card provided in your kit is capable of supporting a variety of demonstrations Each demonstration has an associated PSoC Express project and data sheet that describes the operation and usage of each of the demonstrations in detail Since the FTMF expansion card has its own PSoC you can remove it from the ...

Page 9: ...to use the CapSense Touch Sensing slider to control LED color Run your finger across the CapSense Touch Sensing slider see Figure 2 1 and notice how the color of the LED color changes The CY8C21434 PSoC that resides on the FTMF Expansion Card detects your finger s position on the CapSense Touch Sensing slider and controls the LEDs output Figure 2 2 CapSense Touch Sensing Demo Schematic ...

Page 10: ...ploring the FTMF Expansion Card Demonstration Projects to simulate build and program the FTMF Expansion Board with the temperature sensing demonstration Touch the temperature sensor see Figure 2 1 and notice how the LED color changes Removing your finger leads to the LED color slowly reverting back to its initial state The CY8C21434 PSoC that resides on the FTMF Expansion Card detects the temperat...

Page 11: ...ansion Card Demonstration Projects to simulate build and program the FTMF Expansion Board with the ambient light sensing demonstration Cover the light sensor see Figure 2 1 on page 8 with the palm of your hand and notice how the intensity of the LED changes Removing your palm leads to the LED intensity reverting back to its initial state The CY8C21434 PSoC that resides on the FTMF Expansion Card d...

Page 12: ...t The project is setup to recalculate this baseline approximately every 30 seconds Also notice how the shape and position of the wire affects the demonstration operation and the proximity sensing dis tance Figure 2 5 CapSense Proximity Sensing Demo Schematic Follow the CapSense Touch Sensing based guidelines in section 2 5 Exploring the FTMF Expansion Card Demonstration Projects to simulate build ...

Page 13: ... to change 4 Double click the MultiFunction Board CapSense Slider entry A dialog box appears prompting you for a project name and location Browse to the location where you want to save this project give it a name and click OK PSoC Express clones the contents of the MultiFunction Board CapSense Slider demonstration project and the Project Design window appears Note Other documentation included with...

Page 14: ...s displays a Device Selection window that allows you to select a target device for your project All FTMF Expansion Card projects must use the 32 pin CY8C21434 as the device target Select this device from the list and click Next Express then continues to compile your project 2 5 4 2 Specifying the Target Device Pinout The Express Pin Editor window appears This window allows you to drag and drop the...

Page 15: ...cts on page 13 demonstrate the entire flow of PSoC Express PSoC Programmer and the First Touch Kit You now know the process and PSoC Express Design Flow to make your own projects or to load another FTMF Expansion Card demonstration project from the Express Design Catalog 2 5 8 Important Things to Remember There are a few important points to remember when working with the FirstTouch kit and project...

Page 16: ...16 CY3270 PSoC FirstTouch Guide Document 001 15945 Rev Getting Started ...

Page 17: ...RES ISSP_CLK ISSP_DAT SPI_MISO SPI_nSS TYPE XRES894 CLK894 DAT894 CLK894 DP DM DAT894 SPI_MISO SDA_MOSI SCL_SCLK DETECT TYPE LED_ALIVE LED_ALIVE GPIO4 GPIO3 GPIO2 GPIO5 P03 P04 P05 P02 V50 V50 V50 V50 V50 V50 0805 R4 27 0805 R1 Zero 0805 R8 100 0805 R13 1K 0805 R12 NO LOAD 0805 C2 0 1 uFd J1 ISSP894 1 2 3 4 5 TP4 0805 R3 100K 0805 R5 27 1206L F1 350mA 0805 C6 0 01 uFd 0805 R14 Zero TP0 RADIAL D1 L...

Page 18: ...ttaching an expansion card all of the necessary connections are made Figure 3 2 is the pinout diagram for the FTPC Expansion Port Refer to this figure as you create projects As you get more accustomed to the FirstTouch Kit and design flow you may find yourself wanting to make your own expansion cards At that time you may want to review the interface sig nals Figure 3 2 FTPC Expansion Port Pinout D...

Page 19: ...cular expansion card to determine the proper power and ground connections and voltage levels The expansion card contain a variety of peripheral components that allow you to experiment with many different sensors and signal types Each of the sensors use dedicated host PSoC IO pins Therefore it is important to note which pins connect the various sensors to the host PSoC These details are provided in...

Page 20: ... that the 8x2 pin expansion header also includes four General Purpose IO connections labeled P02 P05 These are hard wired to four unused Port 0 IO pins on the CY8C21434 host and allow you to easily connect the FTMF Expansion Card to your specific hardware or sensors These IO pins were specifically chosen because they have the ability to operate as analog outputs analog inputs digital inputs digita...

Page 21: ...3 Cap Sense FTMF 1 2 CS GND TV2 0603 R14 560 0603 R17 560 0603 R4 1K PRX1 RECEPTACLE 1x1 1 1 0603 R8 100 PR1 LX1972A 1 2 CSB5 Cap Sense FTMF 1 2 CS GND TV1 0603 R2 560 CSB2 Cap Sense FTMF 1 2 CS GND 0603 R11 10K 1 J1 8X2 PIN HDR RA 1 3 5 7 9 11 4 13 15 6 8 2 16 14 12 10 VEXP_IN GND ISSP_XRES ISSP_CLK ISSP_DAT EXP_TYPE VEXP_OUT MISO SPI_nss SDA MOSI SCL SCLK NC GPIO2 GPIO3 GPIO4 GPIO5 0603 R15 560 ...

Page 22: ...er element 1 6 P3 3 Unused no connect 7 P3 1 CapSense feedback resistor 8 P1 7 I2C clock line SCL 9 P1 5 I2C data line SDA 10 P1 3 Red LED drive 11 P1 1 In system programming clock ISSP_SCLK 12 GND 13 P1 0 In system programming data ISSP_DAT 14 P1 2 Blue LED drive 15 P1 4 Green LED drive 16 P1 6 Alarm buzzer FET drive 17 XRES In system programming reset pin ISSP_XRES 18 P3 0 Unused no connect 19 P...

Page 23: ... pins within your project Failure to do so may cause unpre dictable or unplanned project results Referring to Figure 3 4 on page 21 for instance notice that a capacitor and a resistor connect to Port P0 1 and P3 1 These two components form the feedback network required for all CapSense When you assign the pinout in your PSoC Express CapSense projects make certain to assign these pins to the correc...

Page 24: ...24 CY3270 PSoC FirstTouch Guide Document 001 15945 Rev Technical Reference ...

Reviews: