Cypress Semiconductor CY3655-EXT User Manual

CY3655-EXT
enCoRe™ II Development Kit Guide
Doc. # 001-70268 Rev.*A
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone (USA): 800.858.1810
Phone (Intnl): 408.943.2600
Copyrights
Copyrights
© Cypress Semiconductor Corporation, 2011-2012. The information contained herein is subject to change without notice. Cypress Semiconductor Corporation assumes no responsib ility for the use of any circu itry 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 o r 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 Cypr ess 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 software and/or firmware in support of licensee product to be used only in conjunctio n with a Cypress integrated circuit as specified in the applicable agreement. Any reproduction, mod ification, transl ation, compilation, or re presentation 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 MATERIAL, 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 systems 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.
®
enCoRe™, 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 corporations.
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 protecti on features. Any of these methods, to our knowledge, would be dishonest and possibly illegal. Neither Cypress nor any other semiconductor manufacturer can guarantee 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 inte grity of their co de. Code prot ection i s constantly evolving. We at Cypress are committed to continuously improving the code protection features of our products.
2 CY3655-EXT enCoRe II Development Kit Guide, Doc. # 001-70268 Rev.*A
Contents
1. Introduction 5
1.1 Kit Contents..................................... ... ... ....................................... ... ... ... .... ..................5
1.2 Additional Learning Resources..................... ... ... ... ... .... ... ... ... .... ... ...............................6
1.3 Document History ........................................................................................................6
1.4 Documentation Conventions .......................................................................................6
2. Getting Started 7
2.1 Kit Installation . .... ...................................... .... ... ... ... ....................................... ... ... .... .....7
2.2 PSoC Designer..........................................................................................................10
2.3 PSoC Programmer ....................................................................................................11
2.4 Install Hardware.........................................................................................................12
3. Kit Operation 13
3.1 Connect enCoRe II Pod to Application Board............................................................13
3.2 enCoRe II...................................................................................................................13
3.3 5-Pin to USB Adapter ................................................................................................15
3.4 Pin DIP Foot ..............................................................................................................15
3.5 Program enCoRe II and Wireless enCoRe II on Applications Board.........................15
3.6 Debug enCoRe II and Wireless enCoRe II devices...................................................16
1.2.1 Reference Documents ......... ... ... ... .... ... ... ....................................... ... ... ... .... ... ..6
3.5.1 Program Using ICE-Cube ..............................................................................15
3.5.2 Program Using MiniProg................................................................................15
4. Hardware 17
4.1 System Block Diagram ....................................... ... ....................................... ... ... .... ...17
4.2 Power Supply System................................................................................................17
4.3 Functional Description .................................. ......................................... ....................19
4.3.1 DIP Sockets ...................................................................................................19
4.3.2 USB B Connector................................. ... ... ... .... ... ... ... .... ... ... ... ... ....................20
4.3.3 PS/2 Port........................................................................................................21
4.3.4 ISSP Header..................................................................................................21
4.3.5 Prototyping Area ........... ... .... ... ... ... .... ... ... ....................................... ... ... ... .... ...21
4.3.6 Analyzer Headers...........................................................................................22
4.3.7 Pushbuttons and LEDs ..................................................................................23
5. Code Examples 25
5.1 Project1- DrawUSB Example........... ... ... ... .... ... ... ... ... .......................................... .... ...25
5.1.1 Project Description........................................ .... ... ... ... ....................................25
5.1.2 Device Configuration......................................................................................26
5.1.3 Flow Chart......................................................................................................27
5.1.4 Verify Output..................................................................................................28
CY3655-EXT enCoRe II Development Kit Guide, Doc. # 001-70268 Rev.*A 3
Contents
A. Appendix 29
A.1 Schematic..................................................................................................................29
A.2 Board Layout............ ....................................... ... .... ... ... ....................................... ... ...31
A.2.1 PDC-9180 Top............................................ ... ... ... ....................................... ...31
A.2.2 PDC-9180 Bottom ... ... ... .... ... ... ... ....................................... ... .... ... ... ... ... .... ......32
A.3 Bill of Materials..........................................................................................................33
4 CY3655-EXT enCoRe II Development Kit Guide, Doc. # 001-70268 Rev.*A
1. Introduction
Thank you for your interest in the CY3655-EXT enCoRe™ II Development Kit (DVK). The enhanced Component Reduction (enCoRe) II development system is based on Cypress’s PSoC
ging encore II and encore II LV, customers are requested to purchase CY3215-DK.CY3215-DK has an in-circuit emulator (ICE) that works in conjunction with the actual silicon to provide an accurate and efficient development system. The PSoC Designer™ software consists of a graphical user inter­face, assembler, C compiler, linker, and debugger for a highly integrated code development environ­ment. A compliant USB User Module along with PS/2 and other peripheral user modules simplifies the learning curve and speeds development time.
Getting Started on page 7 of this document describes the installation and configuration of the
CY3655-EXT enCoRe™ II DVK. Kit Operation on page 13 describes the kit operation. Hardware on
page 17 describes the hardware operation. Code Examples on page 25 describes the code example
provided along with the kit. The DrawUSB project is programmed on the enCoRe II device as default project for demonstration purpose. The Appendix on page 29 section provides the sc hematics and bill of materials (BOM) for the kit.
®
.For debug-
1.1 Kit Contents
The "CY3655-EXT enCoRe II Development Kit" or "CY3655-EXT enCoRe II DVK" provides the enCoRe II specific items for customers who already have the base in-circuit emulator in the CY3215­DK.
The CY3655-EXT contains:
Application board
One enCoRe II pod
One Wireless enCoRe II pod
40, 18, and 16-pin PDIP feet
5-pin ISSP header to USB receptacle programming adapter plug (CY3655-PLG)
"USB A to mini B" or "USB A to B"
PS/2 male-to-male cable
Kit CD/DVD with documentation and Firmware sources
Visit http://www.cypress.com/shop for more information. Inspect the contents of the kit. If any parts are missing, contact your nearest Cypress sales office for further assistance.
CY3655-EXT enCoRe II Development Kit Guide, Doc. # 001-70268 Rev.*A 5
Introduction
1.2 Additional Learning Resources
Visit http://www.cypress.com for additional learning resources in the form of data sheets, technical reference manual, and application notes.
1.2.1 Reference Documents
MiniProg Users Guide and Code Example - http://www.cypress.com/?rID=3412
PSoC Designer Training - http://www.cypress.com/?rID=40543
enCoRe II Overview - http://www.cypress.com/?id=182
CY3655_DVK_Kit Schematic.pdf - http://www.cypress.com/?docID=23090
enCoRe II Low-Speed USB Solutions - http://www.cypress.com/?docID=8789
MiniProg - http://www.cypress.com/?rID=37459
1.3 Document History
Revision
** 07/14/2011 CSAI Initial version of kit guide
*A 03/28/2012 ELIN Kit guide updated with OOB review comments.
PDF Creation
Date
Origin of
Change
1.4 Documentation Conventions
Table 1-1. Document Conventions for Guides
Convention Usage
Courier New
Italics
[Bracketed, Bold]
File > Open
Bold
Times New Roman
Text in gray boxes Describes cautions or unique functionality of the product.
Displays file locations, user entered text, and source code:
C:\ ...cd\icc\
Displays file names and reference documentation: Read about the sourcefile.hex file in the PSoC Designer User Guide.
Displays keyboard commands in procedures: [Enter] or [Ctrl] [C]
Represents menu paths: File > Open > New Project
Displays commands, menu paths, and icon names in procedures: Click the File icon and then click Open.
Displays an equation:
2 + 2 = 4
Description of Change
6 CY3655-EXT enCoRe II Development Kit Guide, Doc. # 001-70268 Rev.*A
2. Getting S tarted
This chapter describes the installation and configuration of the CY3655-EXT enCoRe™ II Develop­ment Kit.
2.1 Kit Installation
To install the kit software, follow these steps:
1. Insert the kit CD/DVD into the CD/DVD drive of your PC. The CD/DVD is designed to auto-run and the kit installer startup screen appears.
You can also download the latest installer from http://www.cypress.com/go/CY3655-EXT. Down- load the ISO file and create an installer CD/DVD or extract the ISO using WinRar and install the executables.
2. Click Install CY3655-EXT enCoRe II DVK to start the installation, as shown in Figure 2-1. Figure 2-1. Kit Installer Startup Screen
Note: If auto-run does not execute, double-click cyautorun.exe in the root directory of the CD, as shown in Figure 2-2.
CY3655-EXT enCoRe II Development Kit Guide, Doc. # 001-70268 Rev.*A 7
Getting Started
Figure 2-2. Root Directory of the CD/DVD
3. The InstallShield Wizard screen appears. The default location for setup is shown on the InstallShield Wizard screen. You can change the location for setup using Change, as shown in
Figure 2-3.
4. Click Next to launch the kit installer. Figure 2-3. InstallShield Wizard
5. On the Product Installation Overview screen, select the installation type that best suits your requirement. The drop-down menu has three options - Typical, Complete, and Custom, as shown in Figure 2-4.
6. Click Next to start the installation.
8 CY3655-EXT enCoRe II Development Kit Guide, Doc. # 001-70268 Rev.*A
Figure 2-4. Installation Type Options
Getting Started
7. When the installation begins, a list of all packages appears on the Installation Page. A green check mark appears adjacent to every package that is downloaded and installed, as shown in
Figure 2-5.
8. Wait until all the packages are downloaded and installed successfully. Figure 2-5. Installation Page
9. Click Finish to complete the installation.
CY3655-EXT enCoRe II Development Kit Guide, Doc. # 001-70268 Rev.*A 9
Getting Started
Figure 2-6. Installation Completion Page
After software installation, verify your installation and setup.
2.2 PSoC Designer
PSoC Designer is the Integrated Design Environment (IDE) that you can use to customize your PSoC application.
1. Click Start > All Programs > Cypress > PSoC Designer <version> > PSoC Designer <ver- sion>.
2. Click File > New Project, to create new project; click File > Open Project/Workspace to work with the existing project.
10 CY3655-EXT enCoRe II Development Kit Guide, Doc. # 001-70268 Rev.*A
Figure 2-7. PSoC Designer Interconnect View
Getting Started
3. To experiment with the code examples, go to Code Examples on page 25. Note For more details on PSoC Designer, see PSoC Designer IDE Guide at the following location:
<Install_Directory>\Cypress\PSoC Designer\<version>\Documentation.
2.3 PSoC Programmer
PSoC Programmer offers a simple GUI that connec ts to pro gramming hardwar e to program and con­figure PSoC devices.
1. Click Start > All Programs > Cypress > PSoC Programmer <version> > PSoC Programmer <version>.
2. Select the MiniProg from Port Selection, as shown in Figure 2-8.
CY3655-EXT enCoRe II Development Kit Guide, Doc. # 001-70268 Rev.*A 11
Loading...
+ 23 hidden pages