CY8CKIT-019 Kit Guide
CY8CKIT-019 Kit Guide
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
Copyrights
Copyrights
© Cypress Semiconductor Corporation, 2013. 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 and CapSense are registered trademarks and PSoC Creator is a 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 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.
1. Introduction 4
1.1 Kit Contents .................................................................................................................4
1.2 Getting Started.............................................................................................................5
1.3 Additional Learning Resources....................................................................................5
1.4 Technical Support........................................................................................................5
1.5 Document Conventions ...............................................................................................5
2. Software Installation 6
2.1 Kit Software .................................................................................................................6
2.2 Install Hardware...........................................................................................................8
2.3 Uninstall Software........................................................................................................8
2.4 Open a Code Example Project in PSoC Creator .........................................................9
3. Kit Operation 11
3.1 Connecting 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 Connector (J9) ............................................................................20
4.3.7 Push Buttons..................................................................................................20
4.3.8 User LEDs......................................................................................................21
4.3.9 10K-Ohm Rotary Potentiometer.....................................................................21
4.3.10 Thermistor ......................................................................................................22
A. Appendix 23
A.1 PSoC Shield Adapter Kit Schematics ........................................................................23
A.2 Bill of Materials ..........................................................................................................27
Thank you for your interest in the CY8CKIT-019 PSoC® Shield Adapter Kit. This kit is designed to be
used with the Cypress CY8CKIT-042 PSoC 4 Pioneer Kit. The kit supports the pin layout and header
profile of the PSoC 4 Pioneer Kit.
This kit is designed to provide simple user interfaces and integration with the Cypress expansion
board kits (EBKs), 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.
2. Select the Installation type and click Next, as shown in Figure 2-2.
3. After the installation is complete, the kit contents are available at the following locations:
<Install_Directory>\CY8CKIT-042 PSoC 4 Pioneer Kit\<version>
<Install_Directory>\PSoC Creator\<version>
The default install directory 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, and
example projects that use the CY8CKIT-019 PSoC Shield Adapter Kit.
CY8CKIT-025 - PSoC Precision Analog Temperature Sensor Expansion Board Kit
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 to program and verify the output of the
example project supported by this kit.
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
3.1 Connecting the Shield Adapter Kit to the PSoC 4 Pioneer Kit
To use the PSoC Shield Adapter Kit, you need to connect the shield to the PSoC 4 Pioneer Kit. The
PSoC Shield Adapter Kit is designed to be connected to the entire header network on the PSoC 4
Pioneer Kit. You can key the headers and insert the shield into the PSoC 4 Pioneer Kit.
Figure 3-2. CY8CKIT-019 Shield Adapter Kit Connected to CY8CKIT-042 PSoC 4 Pioneer Kit
After the PSoC Shield Adapter is connected to the PSoC 4 Pioneer Kit, you can develop custom
applications, plug in new Arduino shields, or connect one of the Cypress EBKs to the shield's EBK
adapter.
6. Launch PSoC Programmer (Figure 3-4) from Start > All Programs > Cypress > PSoC Pro-
grammer x.x.x > PSoC Programmer 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 3-4. PSoC Programmer
8. Click the Program button on 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
The PSoC Shield Adapter board primarily provides header support for the PSoC 4 Pioneer Kits and
their connection to Cypress Expansion Board Kits (EBKs). The PSoC Shield Adapter Kit supports
connecting Arduino compatible shields and Cypress EBK development kits.
The kit supports onboard functionality for development and evaluation of PSoC 4-based designs.
The PSoC Shield Adapter board incorporates LEDs, push buttons, a potentiometer, and a thermis-
tor. These features can be connected to the prototyping connector on the Shield Adapter Kit.
The PSoC Shield Adapter Kit supports four user LEDs and a power LED. The user LEDs can be
connected to the prototyping connector. It also supports a reset push button for resetting the PSoC 4
device on the PSoC 4 Pioneer Kit.
The PSoC 5LP header is not connected to any header or component on the Shield Adapter Kit - it
only connects to the PSoC 5LP, which is included on the PSoC 4 Pioneer Kit. You can connect
jumper wires from the PSoC 5LP header to various headers to expand functionality and to communi-
cate to the PSoC 5LP.
I/O Header
5V Vin 3.3 V
MOSFET‐based
Protection Ckt
PSoC 4
LDO
USB
J9
5V
USB
PTC
PSoC 5LP
On the CY8CKIT-019 PSoC Shield Adapter Kit, a power jumper J11 is included to control the power
from the PSoC 4 Pioneer Kit to the CY8CKIT-019 Shield.
Figure 4-3. Power Supply Jumper
J11
2
1
H DR2
P4_V DD SH_ VDD
R8 ZE RO
No Load
Power Jumper
4.3.3 Arduino Compatible Headers (J1, J2, J3, J4, and J12)
The kit includes four 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 Kit, allowing easy reference for existing PSoC 4 Pioneer Kit users.
IOREF 6 P3_6 3
7 2 P3_1
P2_6 P0_6 1 2 P3_0
8 1
/XRES 3 4
8x1 RECP 10X1 RECP 5 6
J2 3x2 RECPT
P2_0 P0_2 P4_VDD J4
P2_1 1 2 P0_3 P0_4
3 4 1
J12 Arduino ICSP compatible
P2_2 P0_5
P2_3 5 6 P1_5 P0_7 2 header for SPI Interface
P2_4 7 8 P1_4 P3_7 3
P2_5 9 10 P1_3 P0_0 4
P0_0 11 12 P3_5 5
P0_1 13 14 P1_2 P1_0 6
P1_0 15 16 P1_1 P2_7 7
17 18 8
9x2 RECP 8x1 RECP
P5LP_VDD J8
P5LP1_2
P5LP0_0 1 2 P5LP0_1
P5LP3_4 3 4 P5LP3_5
P5LP3_6 5 6 P5LP3_7
P5LP12_6 7 8 P5LP12_7
9 10 P5LP3_0
11 12
6x2 RECPT
NOTE: The PSoC 5LP Pins on J8
only bring out the Pins from
the Pioneer Kit and they are
not connected anywhere else in
this board.
PSoC 5LP GPIO Extension Header
4.3.5.1 PSoC Expansion Board Kit Selection Jumpers (J5, J6, J7)
The PSoC Shield Adapter Kit enables you to connect the CY8CKIT-025, CY8CKIT-031, and
CY8CKIT-036 EBKs. When connecting the EBK boards to the PSoC Shield Adapter, you need 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-8. Expansion Board Header Jumpers and Configurations
P4_1
Pin 25
P2_4
P4_0
Pin 26
P2_5
P1_7
Pin 22
P2_1
3
2
1
3
2
1
J7 J6 J5
SW1
SW1 1 2
EVQ-PE105K
SW2
SW2 1 2
EVQ-PE105K
The reset push button (Figure 4-11) is connected to the XRES pin of the PSoC 4 device through the
shield header and is used to reset the PSoC 4 device on the PSoC 4 Pioneer Kit.
/XRES 1 2
EVQ-PE105K
Push Buttons
560 ohm
LED
LED2
LED 2 R4
560 ohm
LED
LED3
LED 3 R5
560 ohm
LED
LED4
R6
LED 4
560 ohm
LED
POT
SH_VDD + C1
10uF
R1 POT 10K
Potentiometer
4.3.10 Thermistor
The PSoC Shield Adapter Kit supports an onboard thermistor (Figure 4-14) for measuring ambient
board temperature. The thermistor used on this kit is the NCP18XH103F03RB (NTC) device, which
has a 1 percent tolerance (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_VDD
VDD_REF
R7
10K ohm
VTHERM
RT1
Thermistor
NCP18XH103F03RB
t
GND_REF
Thermistor
IOREF 6 P3_6 3
7 P2_6 2
8 1
8x1 RECP 10X1 RECP
J2
P2_0 P0_2 P4_VDD J4
P2_1 1 2 P0_3 P0_4
P2_2 3 4 P0_5 1
P2_3 5 6 P1_5 P0_7 2
P2_4 7 8 P1_4 P3_7 3
P2_5 9 10 P1_3 P0_0 4
P0_0 11 12 P3_5 5
P0_1 13 14 P1_2 P1_0 6
P1_0 15 16 P1_1 P2_7 7
17 18 8
9x2 RECP 8x1 RECP
J12
P3_1
P0_6 1 2 P3_0
/XRES 3 4
5 6
3x2 RECPT
P5LP_VDD J8
P5LP1_2
P5LP0_0 1 2 P5LP0_1
P5LP3_4 3 4 P5LP3_5
P5LP3_6 5 6 P5LP3_7
P5LP12_6 7 8 P5LP12_7
9 10 P5LP3_0
11 12
6x2 RECPT
POT
SH_VDD + C1
10uF
R1 POT 10K
Potentiometer
SW1
SW1 1 2
EVQ-PE105K
SW2
SW2 1 2
EVQ-PE105K
SW3 RESET
/XRES 1 2
EVQ-PE105K
Push Buttons
1
2
3
1
2
3
1
2
3
HDR3 HDR3 HDR3
Pin 22
Pin 26
Pin 25
P2_1
P1_7
P2_5
P4_0
P2_4
P4_1
3 Pin Jumpers
J5 J6 J7
1 2 3 1 2 3 1 2 3
Don't Care
J5 J6 J7
1 2 3 1 2 3 1 2 3
CY8CKIT-031 Jumper Settings
J5 J6 J7
1 2 3 1 2 3 1 2 3
CY8CKIT-036 Jumper Settings
V5.0 V3.3
TP1 TP2
RED RED
NO LOAD NO LOAD
P4_VDD
TP3
RED
NO LOAD
NO LOAD
TP4 TP5
BLACK BLACK
GND GND
Test Points
2
1
HDR2
P4_VDD SH_VDD
R8 ZERO
No Load
Power Jumper
SH_VDD LED5
R2
560 ohm
LED
LED1
LED 1 R3
560 ohm
LED
LED2
LED 2 R4
560 ohm
LED
LED3
LED 3 R5
560 ohm
LED
LED4
LED 4 R6
560 ohm
LED
LEDs
SH_VDD
VDD_REF
R7
10K ohm
VTHERM
RT1
Thermistor
NCP18XH103F03RB
t
GND_REF
Thermistor
TAJP106M010RN
2 1 C1 10uF, 10V CAP TANT 10UF 10V 20% 0805 AVX Corporation
J
3 2 J1,J4 8X1 RECP (Stackable) 8 POS Arduino Stackable Header Samtec SSQ-108-03-T-S
4 1 J2 9X2 RECP (Stackable) 18 POS Dual Row Stackable Header Samtec SSQ-109-03-T-D
5 1 J3 10X1 RECP (Stackable) 10 POS Arduino Stackable Header Samtec SSQ-110-03-T-S
CONN HEADER VERT SGL 3POS
6 3 J5,J6,J7 3 Pin Jumper 3M 961103-6404-AR
GOLD
7 1 J8 6X2 RECP (Stackable) 12 POS Dual Row Stackable Header Samtec SSQ-106-03-T-D
CONN HEADER FMAL 12PS.1" DL Sullins Connec- PPPC062LFBN-
8 1 J9 6x2 RECP
GOLD tor Solutions RC
ASP?178736?01
9 1 J10 40X1 RECP 40 POS Dual Row R/A Connector Samtec
(Customized)
Label
LBL, PCA Label, Vendor Code, Date-
Cypress Semi-
26 1 N/A N/A code, Serial Number 121-60144-01 -
conductor
REV 01 (YYWWVVXXXXX)
LBL, PCBA Anti-Static Warning, Cypress Semi-
27 1 N/A N/A -
10mm X 10mm conductor