background image

CY8CKIT-019 PSoC Shield Adapter Kit Guide, Doc. #: 001-90332 Rev. **

10

Software Installation

Figure 2-5.  Project Files in Workspace Explorer

 

Содержание CY8CKIT-019

Страница 1: ...CY8CKIT 019 PSoC Shield Adapter Kit Guide Doc 001 90332 Rev Cypress Semiconductor 198 Champion Court San Jose CA 95134 1709 Phone USA 1 800 858 1810 Phone Intnl 1 408 943 2600 http www cypress com ...

Страница 2: ... 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 applic...

Страница 3: ...ng the Shield Adapter Kit to the PSoC 4 Pioneer Kit 12 3 2 Loading the First PSoC Shield Adapter Project 12 4 Hardware 15 4 1 Board Details 15 4 2 Theory of Operation 15 4 3 Functional Description 16 4 3 1 PSoC 4 16 4 3 2 Power Supply System 16 4 3 3 Arduino Compatible Headers J1 J2 J3 J4 and J12 17 4 3 4 PSoC 5LP Header J8 18 4 3 5 Expansion Board Kit Adapter Header J10 18 4 3 6 Prototyping Conne...

Страница 4: ...s and it incorporates onboard functionality to evaluate and develop using the PSoC 4 Pioneer Kit The onboard functionality includes breakout headers LEDs a potentiometer push buttons and a thermistor The PSoC Shield Adapter is Arduino compatible and supports a stackable shield design 1 1 Kit Contents The PSoC Shield Adapter Kit contains the following PSoC Shield Adapter board Figure 1 1 Quick Star...

Страница 5: ...CKIT 042 www cypress com go CY8CKIT 025 www cypress com go CY8CKIT 031 www cypress com go CY8CKIT 036 1 4 Technical Support For assistance go to our support web page http www cypress com go support or contact our cus tomer support at 1 800 541 4736 Ext 8 in the U S or 1 408 943 2600 Ext 8 International 1 5 Document Conventions Table 1 1 Document Conventions for Guides Convention Usage Courier New ...

Страница 6: ...or software and all of the kit related con tent Navigate to the PSoC 4 Pioneer Kit web page and download the installer You can then run the downloaded installer To install the PSoC 4 Pioneer Kit follow these steps 1 Run the installer and select the folder to install the CY8CKIT 042 PSoC 4 Pioneer Kit related files Choose the directory and click Next as shown in Figure 2 1 Figure 2 1 Initiating Pio...

Страница 7: ...y is C Program Files Cypress You can download the code examples for this kit from www cypress com go CY8CKIT 019 The PSoC Shield Adapter also supports Expansion Board Kits EBK The following is a list of the kits that the PSoC Shield Adapter supports Navigate to the kit pages for additional installers infor mation and content Each kit page provides links to download the installers application notes...

Страница 8: ... 2 2 Install Hardware There is no additional hardware installation required for this kit 2 3 Uninstall Software The software and kit installers can be uninstalled using one of the following methods Go to Start All Programs Cypress Cypress Update Manager Cypress Update Man ager click the Uninstall button Go to Start Control Panel Programs and Features click the Uninstall Change button ...

Страница 9: ... x is the PSoC Creator version Figure 2 3 PSoC Creator 2 Open the example projects by selecting File Open Project Workspace and then navigating to the example project that was downloaded from the kit web page Figure 2 4 Opening Example Projects The example project opens and displays the project files in the Workspace Explorer as shown in Figure 2 5 Subsequent sections of this user guide show how t...

Страница 10: ...CY8CKIT 019 PSoC Shield Adapter Kit Guide Doc 001 90332 Rev 10 Software Installation Figure 2 5 Project Files in Workspace Explorer ...

Страница 11: ...Rev 11 3 Kit Operation The PSoC Shield Adapter Kit enables you to develop applications using the PSoC 4 Pioneer Kit and Cypress EBKs Figure 3 1 shows an image of the kit with references to the onboard components Figure 3 1 PSoC Shield Adapter Kit Components ...

Страница 12: ...w Arduino shields or connect one of the Cypress EBKs to the shield s EBK adapter 3 2 Loading the First PSoC Shield Adapter Project Available on the PSoC Shield Adapter Kit web page is an example project for the PSoC 4 Pioneer Kit This example project can be programmed onto the PSoC 4 device to blink an LED on the PSoC Shield Adapter board To verify this project do the following 1 Download and inst...

Страница 13: ... x x x where x x x is the version Using the File Load but ton on PSoC Programmer navigate to the example project you have unzipped and select the Blinking LED hex file This file is located under the Hex File sub directory 7 If the Status bar on the lower right corner of the PSoC Programmer window does not say Con nected click on the KitProg programmer in the Port Selection window to connect Figure...

Страница 14: ...n PSoC Programmer After programming you will see that LED1 blinks as shown in Figure 3 5 Figure 3 5 LED1 Blinking For more examples and solutions refer to the EBK web pages and their associated solution docu ments www cypress com go CY8CKIT 025 www cypress com go CY8CKIT 031 www cypress com go CY8CKIT 036 ...

Страница 15: ...ing sections Power supply system Arduino headers PSoC 5LP header Expansion board kit adapter headers Expansion board kit selector jumpers LEDs Thermistor Push buttons Potentiometer 4 2 Theory of Operation This section provides a block level description of the PSoC Shield Adapter Kit as illustrated in Figure 4 1 Figure 4 1 PSoC Shield Adapter Kit Block Level Diagram ...

Страница 16: ...header to various headers to expand functionality and to communi cate to the PSoC 5LP 4 3 Functional Description 4 3 1 PSoC 4 The PSoC Shield Adapter Kit is used with the PSoC 4 Pioneer Kit which supports the PSoC 4200 family of devices These devices combine a microcontroller with programmable logic high perfor mance analog to digital conversion two opamps with Comparator mode and commonly used fi...

Страница 17: ...our Arduino compatible headers that mirror the header pinouts and header names on the PSoC 4 Pioneer Kit The headers are J1 J2 J3 J4 and J12 You can develop applications to interface with the PSoC 4 Pioneer Kit Figure 4 4 Arduino Headers for CY8CKIT 019 J1 J2 J3 J4 and J12 The pinout selections of the J1 to J4 and J12 Arduino headers Figure 4 5 mirror the pinout descrip tions on the PSoC 4 Pioneer...

Страница 18: ...n interfacing the EBK to the PSoC 4 Pioneer Kit The PSoC Shield Adapter board supports the CY8CKIT 025 CY8CKIT 031 and CY8CKIT 036 EBKs Figure 4 7 details the pinout selections of the 40 pin header P4_0 V3 3 V5 0 X RES J1 J4 Arduino Stackable Headers P2_2 P2_1 P2_0 IOREF P0_1 P0_0 P2_5 P2_4 P2_3 P1_2 P1_3 P1_4 P1_5 P0_3 P0_2 P0_0 P3_7 P0_7 P0_4 P0_5 P2_7 P1_0 P3_5 P1_0 P1_1 J1 8x1 RECP 1 2 3 4 5 6...

Страница 19: ...d to ensure the proper jumper selections The PSoC Shield Adapter board contains three jumpers that when arranged in a specified configuration enables support for the respective EBK Figure 4 8 pro vides details on the possible configurations You can refer to the onboard silkscreen for the correct jumper configuration By default the PSoC Shield Adapter enables the CY8CKIT 036 EBK selection Figure 4 ...

Страница 20: ...er to enable any of the onboard functionality such as the LEDs switches potentiometer and thermistor Figure 4 9 J9 Prototyping Connector 4 3 7 Push Buttons The kit has three push buttons two user buttons and one reset button The two user push buttons Figure 4 10 are available via the J9 prototyping connector They are active pull down buttons To use these two buttons you need to make a connection b...

Страница 21: ... a 10K ohm rotary potentiometer Figure 4 13 to provide manual variable voltage values This potentiometer is labeled R1 The potentiometer connection is available on the J9 prototyping connector so you need to wire your design to that connector to read the voltage that is output from the potentiometer The potentiometer receives its power via J11 and will not draw any current if J11 is not connected ...

Страница 22: ...lerance 10K 1 percent at 25 C The resistance of the thermistor changes with temperature in a nonlinear fashion Its output is connected to the prototyping connector and can be used as an onboard temperature sensor The thermistor receives its power via J11 and will not draw any current if J11 is not connected This is important if current measurement is needed on the PSoC 4 Figure 4 14 Thermistor SH_...

Страница 23: ... 7 8 P2_6 J3 10X1 RECP 1 2 3 4 5 6 7 8 9 10 P3_0 P3_4 P3_6 P4_1 P1_7 P0_6 P3_1 J2 9x2 RECP 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 P4_VDD P4_VDD VIN J12 Arduino ICSP compatible header for SPI Interface XRES P0_6 P3_1 P3_0 J12 3x2 RECPT 1 2 3 4 5 6 P5LP12_6 P5LP12_7 PSoC 5LP GPIO Extension Header P5LP0_0 P5LP3_7 P5LP3_6 J8 6x2 RECPT 1 2 3 4 5 6 7 8 10 9 12 11 P5LP3_0 P5LP3_4 P5LP3_5 P5LP1_2 P5...

Страница 24: ...POT GND_REF VDD_REF J9 6x2 RECPT 1 2 3 4 5 6 7 8 10 9 12 11 LED 1 VTHERM P4_VDD SW1 LED 4 LED 3 LED 2 SW2 12 Pin Prototyping Header SH_VDD R1 POT 10K Potentiometer POT C1 10uF SW1 SW2 SW2 EVQ PE105K 1 2 SW1 EVQ PE105K 1 2 Push Buttons XRES SW3 EVQ PE105K RESET 1 2 ...

Страница 25: ...DR3 3 2 1 2 J6 3 1 2 J5 J7 3 1 3 1 2 Don t Care CY8CKIT 036 Jumper Settings CY8CKIT 031 Jumper Settings CY8CKIT 025 Jumper Settings Jumper Settings for different EBKs J6 3 1 2 2 J5 J7 3 1 3 1 2 2 J6 J5 3 1 J7 3 1 2 3 1 2 V3 3 V5 0 TP2 RED TP1 RED TP4 BLACK TP5 BLACK GND TP3 RED P4_VDD Test Points NO LOAD NO LOAD NO LOAD NO LOAD GND 3 Pin Jumpers ...

Страница 26: ...R2 1 2 No Load R8 ZERO P4_VDD SH_VDD Power Jumper LED LED5 SH_VDD R2 560 ohm R5 560 ohm LED LED3 LED LED4 LED 2 LED 1 LED LED1 LED 4 LED 3 LED LED2 R6 560 ohm R4 560 ohm R3 560 ohm LEDs R7 10K ohm GND_REF t RT1 Thermistor NCP18XH103F03RB Thermistor SH_VDD VDD_REF VTHERM ...

Страница 27: ...L 12PS 1 DL GOLD Sullins Connec tor Solutions PPPC062LFBN RC 9 1 J10 40X1 RECP 40 POS Dual Row R A Connector Samtec ASP 178736 01 Customized 10 1 J11 2 Pin Jumper CONN HEADER VERT SGL 2POS GOLD 3M 961102 6404 AR 11 1 J12 3X2 RECP CONN HEADER 100 DUAL STR 6POS Sullins Connec tor Solutions PBC03DFAN 12 3 SW1 SW2 SW3 Push Button SWITCH TACTILE SPST NO 0 05A 12V Panasonic EVQ PE105K 13 1 RT1 Thermisto...

Страница 28: ... TEST POINT PC MINI 040 D Black Keystone Elec tronics 5001 Special Jumper Installation Instructions 22 1 J5 Install jumper across pins 1 and 2 MINI JUMPER GF 6 0MM CLOSE TYPE BLACK Kobiconn 151 8010 E 23 1 J6 Install jumper across pins 2 and 3 MINI JUMPER GF 6 0MM CLOSE TYPE BLACK Kobiconn 151 8010 E 24 1 J7 Install jumper across pins 2 and 3 MINI JUMPER GF 6 0MM CLOSE TYPE BLACK Kobiconn 151 8010...

Страница 29: ...2 Rev 29 Revision History CY8CKIT 019 PSoC Shield Adapter Kit Guide Revision History Document Title CY8CKIT 019 PSoC Shield Adapter Kit Guide Document Number 001 90332 Revision Issue Date Origin of Change Description of Change 12 11 2013 VRNK New kit guide ...

Отзывы: