Cypress PSoC 5 FIRSTTOUCH CY8CKIT-014 Manuel utilisateur

CY8CKIT-014
PSoC®5 FirstTouch™ Starter Kit Guide
Spec. # 001-57708 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

2 CY8CKIT-014 PSoC 5 FirstTouch Starter Kit Guide, Spec. # 001-57708 Rev. **
Copyrights
Copyrights
© Cypress Semiconductor Corporation, 2010. The information contained herein is subject to change without notice. Cypress
Semiconductor Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a Cypress
product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted nor
intended to be used for medical, life support, life saving, critical control or safety applications, unless pursuant to an express
written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as critical components in life-
support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The
inclusion of Cypress products in life-support systems application implies that the manufacturer assumes all risk of such use
and in doing so indemnifies Cypress against all charges.
Any Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by
and subject to worldwide patent 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 only in conjunction with a Cypress integrated circuit as speci-
fied in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this Source
Code except as specified above is prohibited without the express written permission of Cypress.
Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATE-
RIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE. Cypress reserves the right to make changes without further notice to the materials described
herein. Cypress does not assume any liability arising out of the application or use of any product or circuit described herein.
Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure
may reasonably be expected to result in significant injury to the user. The inclusion of Cypress’ product in a life-support sys-
tems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all
charges.
Use may be limited by and subject to the applicable Cypress software license agreement.
PSoC Designer™, and Programmable System-on-Chip™ are trademarks and PSoC® is a registered trademark of Cypress
Semiconductor Corp. All other trademarks or registered trademarks referenced herein are property of the respective corpora-
tions.
Flash Code Protection
Cypress products meet the specifications contained in their particular Cypress PSoC Data Sheets. Cypress believes that its
family of PSoC products is one of the most secure families of its kind on the market today, regardless of how they are used.
There may be methods, unknown to Cypress, that can breach the code protection features. Any of these methods, to our
knowledge, would be dishonest and possibly illegal. Neither Cypress nor any other semiconductor manufacturer can guaran-
tee the security of their code. Code protection does not mean that we are guaranteeing the product as "unbreakable."
Cypress is willing to work with the customer who is concerned about the integrity of their code. Code protection is constantly
evolving. We at Cypress are committed to continuously improving the code protection features of our products.

CY8CKIT-014 PSoC 5 FirstTouch Starter Kit Guide, Spec. # 001-57708 Rev. ** 3
Contents
1. Introduction 5
1.1 Welcome......................................................................................................................5
1.2 Kit Contents .................................................................................................................5
1.3 Document Revision History ........................................................................................6
1.4 Documentation Conventions .......................................................................................6
2. Getting Started 7
2.1 Hardware .....................................................................................................................7
3. Installation 9
3.1 Install Hardware...........................................................................................................9
3.1.1 Hardware Jumpers...........................................................................................9
3.2 Install Software ..........................................................................................................10
4. Example Projects 13
4.1 PSoC Rocks, PSoC Rocks SAR ADC .......................................................................13
4.1.1 Open the PSoC Rocks Project.......................................................................13
4.1.2 Modify the PSoC Rocks Project .....................................................................14
4.1.3 Build, Program, and Run the PSoC Rocks Project ........................................14
4.1.4 Open and Modify the PSoC Rocks SAR ADC Project ...................................15
4.1.5 Schematic Design PSoC Creator...................................................................15
4.1.6 How the PSoC Rocks and PSoC Rocks SAR ADC Projects Work................17
4.1.7 PCB Schematic ..............................................................................................19
4.2 Bubble Level Emulator...............................................................................................20
4.2.1 How the Bubble Level Emulator Project Works .............................................21
4.2.2 PCB Schematic ..............................................................................................22
4.3 ThermistorTemperatureSense ...................................................................................23
4.3.1 How the ThermistorTemperatureSense Project Works ..................................23
4.3.1.1 Temperature Sensing Design Principle ...........................................24
4.3.2 PCB Schematic ..............................................................................................25
4.4 CapSense Slider........................................................................................................26
4.4.1 How the CapSense Slider Project Works.......................................................26
4.4.2 PCB Schematic ..............................................................................................28
4.5 Proximity Sensor........................................................................................................29
4.5.1 How the Proximity Sensor Project Works ......................................................30
4.5.2 PCB Schematic ..............................................................................................31
5. Technical Reference 33
5.1 PSoC 5 FirstTouch Starter Kit Schematic..................................................................34
5.1.1 Hardware Jumpers.........................................................................................35
5.1.2 Board Layout..................................................................................................36
5.1.3 Bill of Material (BOM) ....................................................................................38
5.2 PSoC 5 Pin Assignment on PSoC 5 FirstTouch Starter Kit Board ............................41

4 CY8CKIT-014 PSoC 5 FirstTouch Starter Kit Guide, Spec. # 001-57708 Rev. **
Contents

CY8CKIT-014 PSoC 5 FirstTouch Starter Kit Guide, Spec. # 001-57708 Rev. ** 5
1. Introduction
1.1 Welcome
Thank you for purchasing the CY8CKIT-014 PSoC® 5 FirstTouch™ Starter Kit.
The PSoC 5 FirstTouch Starter Kit is designed to introduce you to the PSoC programmable system-
on-chip design methodology and Cypress's new PSoC 5 architecture. This full-featured starter kit
ships with an array of sensors, I/O's, projects and software to quickly get you up to speed with PSoC
Creator and our powerful design methodology so you can easily evaluate PSoC and see what
values the solution can provide you.
This kit, in addition to our new PSoC 5 architecture, features the following:
■PSoC Creator development software with an integrated, GCC compiler version 4.2.1
■USB-based Serial Wire Debugging protocol programmer and debug interface
■Accelerometer analog sensor
■Thermistor analog sensor
■Proximity analog sensor
■CapSense®analog touch-sensing interface
■28-pin general purpose I/O pins
■12-pin wireless module header
In this guide you will find instructions on how to easily evaluate the PSoC 5 architecture and PSoC
Creator design methodology through five included example projects. Experience the development
software for yourself and discover how we truly have changed the way you change the world!
If you have questions about or need help with this kit, visit our online technical support center at
http://www.cypress.com/go/support for support options, or contact your local Cypress sales
representative or authorized distributor.
1.2 Kit Contents
PSoC 5 FirstTouch Starter Kit contains:
■Evaluation Board
■Quick Start Guide
■Kit CD
■USB A to Mini B cable
■Proximity wire (for use as proximity detection antenna)
■9V battery

6 CY8CKIT-014 PSoC 5 FirstTouch Starter Kit Guide, Spec. # 001-57708 Rev. **
Introduction
1.3 Document Revision History
1.4 Documentation Conventions
Table 1-1. Revision History
Revision PDF
Creation Date
Origin of
Change Description of Change
** 05/17/10 SSUT New kit guide.
Table 1-2. Document Conventions for Guides
Convention Usage
Courier New Displays file locations, user entered text, and source code:
C:\ ...cd\icc\
Italics Displays file names and reference documentation:
Read about the sourcefile.hex file in the PSoC Designer User Guide.
[Bracketed, Bold]Displays keyboard commands in procedures:
[Enter] or [Ctrl] [C]
File > Open Represents menu paths:
File > Open > New Project
Bold Displays commands, menu paths, and icon names in procedures:
Click the File icon and then click Open.
Times New Roman Displays an equation:
2 + 2 = 4
Text in gray boxes Describes Cautions or unique functionality of the product.

CY8CKIT-014 PSoC 5 FirstTouch Starter Kit Guide, Spec. # 001-57708 Rev. ** 7
2. Getting Started
2.1 Hardware
The PSoC 5 FirstTouch Starter Kit contains these components and sensors.
Figure 2-1. PSoC 5 FirstTouch Starter Kit
The components indicated in Figure 2-1 are:
1. PSoC 5 100-pin TQFP(Cypress CY8C5588AXI-060 TQFP100)
2. Proximity Sensor Connector (Samtec Inc, BCS-101-L-S-HE)
3. Three Axis Accelerometer (Kionix, KXSC7-2050)
4. Five Segment CapSense Slider
5. Bank of Eight LEDs (Also referred to as LED Display in this user guide)
6. Thermistor (Murata, NCP21XV103J03RA)
7. Wireless Expansion Connector
8. General Purpose Expansion Connector (22 GPIO, 2 VDD, 2 GND, 2 SIO)
9. USB Programming and Debugging Interface (Cypress CY7C68013A-56LFXC)
10. USB Connector
11. 9V DC Battery Holder
12. Jumper J1 Vddio Power Source Select
13. Jumper J4 Voltage Regulator Source Select
14. Voltage Regulator (Zetex Inc, ZLDO330)
15. General Purpose Push Button Switch
15. General Purpose
2. Proximity Sensor Connector
3. Accelerometer
4. CapSense Slider
14. Voltage
11. 9V Battery
10. USB Mini B 9. CY7C68013A
8. 28-Pin External
7. 12-Pin Wireless
6. Thermistor
5. Eight Red LED Outputs
Header
FX2LP High Speed USB
Port I/O (on reverse)
Header
Regulator
Switch
13. Jumper J4
12. Jumper J1
1. CY8C5588AXI
PSoC 5 Device

8 CY8CKIT-014 PSoC 5 FirstTouch Starter Kit Guide, Spec. # 001-57708 Rev. **
Getting Started

CY8CKIT-014 PSoC 5 FirstTouch Starter Kit Guide, Spec. # 001-57708 Rev. ** 9
3. Installation
3.1 Install Hardware
This section shows you how to use the PSoC 5 FirstTouch Starter Kit.
Note: This kit comes with a factory programmed demonstration to display "PSoC Rocks!" message
on the LED display when the board is waved.
1. Unpack the PSoC 5 FirstTouch Starter Kit.
2. Connect a 9V DC battery to the battery connector on the kit board.
3. Hold the board and battery exposing the LEDs. Then continuously wave the board from side to
side in the plane of the PCB (shown in Figure 3-1).
4. As you wave the board, the rasterized image of the message "PSoC Rocks!" appears as shown
in the following figure.
5. Keep waving. The message changes every few seconds.
Figure 3-1. Rasterized Image of "PSoC Rocks!"
3.1.1 Hardware Jumpers
There are two jumpers for power configuration. All examples are run with the default setup of 3.3V
operation. This requires J1-2 to connect to J1-3 and J4-2 to connect to J4-3. For all other configura-
tions see section 5.1.1 Hardware Jumpers on page 35.

10 CY8CKIT-014 PSoC 5 FirstTouch Starter Kit Guide, Spec. # 001-57708 Rev. **
Installation
3.2 Install Software
When installing the PSoC 5 FirstTouch Starter Kit, the installer checks if the prerequisites, PSoC
Creator, PSoC Programmer, Windows Installer, Windows.NET, Acrobat Reader, and GCC compiler
version 4.2.1, are installed in your PC. If these applications are not installed, then the installer
prompts you to install them.
1. Insert the Kit CD into the your PC. The CD is designed to automatically open an installation
dialog (see Figure 3-3). If this does not automatically open, do manually open this by running the
cyautorun.exe utility on the kit cd.
Figure 3-2. Auto Run File View
2. The kit cd's installation dialog prompts you to open this file or begin installing the development
environment software. Click the Install PSoC 5 FirstTouch Starter Kit menu item to begin this
installation.
Figure 3-3. Installation Dialog.
Autres manuels pour PSoC 5 FIRSTTOUCH CY8CKIT-014
1
Table des matières
Autres manuels Cypress Matériel réseau
Manuels Matériel réseau populaires d'autres marques

Matrix Switch Corporation
Matrix Switch Corporation MSC-HD161DEL Manuel utilisateur

B&B Electronics
B&B Electronics ZXT9-IO-222R2 Manuel utilisateur

Yudor
Yudor YDS-16 Manuel utilisateur

D-Link
D-Link ShareCenter DNS-320L Manuel utilisateur

Samsung
Samsung ES1642dc Instructions d'utilisation

Honeywell Home
Honeywell Home LTEM-PV Instructions de montage
















