Page 1
CY8CKIT-050 ® PSoC 5LP Development Kit Guide Doc. # 001-65816 Rev. *E Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): 408.943.2600 http://www.cypress.com Downloaded from Elcodis.com electronic components distributor...
Page 2
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.
USB A to mini B cable ■ ■ 3.3 V LCD module Inspect the contents of the kit; if you find any part missing, contact your nearest Cypress sales office for help. PSoC Creator Cypress's PSoC Creator software is a state-of-the-art, easy-to-use integrated development environment (IDE) that introduces a hardware and software design environment based on classic schematic entry and revolutionary embedded design methodology.
AN52701 - PSoC 3 - How to Enable CAN Bus Communication AN54439 - PSoC 3 and PSoC 5 External Crystal Oscillators AN52927 - PSoC 3: Segment LCD Direct Drive Cypress continually strives to provide the best support. Click here to view a growing list of application notes for PSoC 3 and PSoC 5LP.
Page 7
Introduction The Find Example project has various filters that help you locate the most relevant project you are looking for. PSoC Creator provides several Starter Designs. These designs highlight features that are unique to PSoC devices. They allow you to create a design with various components and code is also pro- vided, instead of creating a new empty design.
Page 8
CY8CKIT-050 PSoC 5 Development Kit by following the procedure in the knowledge base article Migrating project from CY8CKIT-001 to CY8CKIT-030 or CY8CKIT-050. Apart from the example projects and starter designs that are available within PSoC Creator, Cypress continuously strives to provide the best support. Click here to view a growing list of application notes for PSoC 3 and PSoC 5.
Introduction Document History PDF Creation Origin of Revision Description of Change Date Change 03/01/2011 PVKV Initial version of kit guide 04/28/2011 RKAD Updated Schematic Added sections 4.2.1.4 and 4.2.1.5. Added Pin Assignment table in 12/15/2011 RKAD the Appendix. Updated bill of materials. Content updates throughout the document 05/15/2012 SASH...
Page 10
Introduction CY8CKIT-050 PSoC® 5LP Development Kit Guide, Doc. # 001-65816 Rev. *E Downloaded from Elcodis.com electronic components distributor...
This chapter describes how to install and configure the PSoC 5LP Development Kit. Chapter 3 describes the kit operation. It explains how to program a PSoC 5LP device with PSoC Programmer and use the kit with the help of a code example. To reprogram the PSoC device with PSoC Creator, see the CD installation instructions for PSoC Creator.
No hardware installation is required for this kit. Install Software When installing the PSoC 5LP Development Kit, the installer checks if your system has the required software. These include PSoC Creator, PSoC Programmer, Windows Installer, .NET, Acrobat Reader, and KEIL Complier. If these applications are not installed, the installer prompts you to down- load and install them.
If the board is already powered from another source, plugging in the programming USB does not damage the board. The PSoC 5LP device on the board can also be programmed using a MiniProg3 (CY8CKIT-002). To use MiniProg3 for programming, use the connector J3 on the board, as shown in Figure 3-2.
Page 14
Kit Operation Figure 3-2. Connect MiniProg With the MiniProg3, programming is similar to the on-board programmer; however, the setup enumerates as a MiniProg3. Note Sometimes pop-up window will come as shown in figure below. CY8CKIT-050 PSoC® 5LP Development Kit Guide, Doc. # 001-65816 Rev. *E Downloaded from Elcodis.com electronic components distributor...
Page 15
Kit Operation Then click on Port acquire, you will get following window. Then click on connect to start programming. CY8CKIT-050 PSoC® 5LP Development Kit Guide, Doc. # 001-65816 Rev. *E Downloaded from Elcodis.com electronic components distributor...
Hardware System Block Diagram The PSoC 5LP Development Kit has the following sections: Power supply system ■ Programming interface ■ ■ USB communications Boost convertor ■ PSoC 5LP and related circuitry ■ 32-kHz crystal ■ 24-MHz crystal ■ ® Port E (analog performance port) and port D (CapSense or generic port) ■...
Hardware Figure 4-1. PSoC 5LP Development Kit Details Communication USB Boost Converter 10-Pin JTAG/SWD/SWO 9-V Battery Input Debug and Prog Header Power Adapter On-board Programming 32-kHz Crystal 10-Pin MiniTrace Connector 24-MHz Crystal Port D (CapSense/ Miscellaneous Port) Port E (Analog Port)
Hardware The board power domain has five rails: Vin rail: This is where the input of the on-board regulators are connected. This domain is ■ powered through protection diodes. 5-V rail: This is the output of the 5-V regulator U2. The rail is a fixed 5-V output regardless of ■...
Vdda = 5 V, Vddd = 3.3 V J10 in 3.3 V setting and J11 in 5 V setting. Can be achieved, but is an invalid condition because the PSoC 5LP silicon Vdda = 3.3 V, Vddd = 5 V performance cannot be guaranteed.
Hardware The board provides the ability to measure analog and digital power separately. To measure power at a single point, rather than at analog and digital separately, remove the resistor R23 to disconnect the analog regulator from powering the Vdda and short Vdda and Vddd through R30. Now, the net power can be measured at the J10 jumper similar to the digital power measurement.
Hardware Figure 4-4. On-board Programming Interface When the USB programming is plugged into the PC, it enumerates as DVKProg5 and you can use the normal programming interface from PSoC Creator to program this board through the on-board programmer. A zero-ohm resistor R9 is provided on the board to disconnect power to the on-board programmer. 4.2.2.2 JTAG/SWD Programming Apart from the on-board programming interface, the board also provides the option of using the...
4.2.4 Boost Convertor The PSoC 5LP device has the unique capability of working from a voltage supply as low as 0.5 V. This is possible using the boost convertor. The boost convertor uses an external inductor and a diode. These components are prepopulated on the board.
4.2.5 32-kHz and 24-MHz Crystal PSoC 5LP has an on-chip real time clock (RTC), which can function in sleep. This requires an external 32-kHz crystal, which is provided on the board to facilitate RTC-based designs. The PSoC 5LP also has an external MHz crystal option in applications where the IMO tolerance is not satisfactory.
Hardware Figure 4-8. Schematic for Protection Circuit on 5-V Power Line Figure 4-9. Schematic for Protection Circuit on 3.3-V Power Line 4.2.6.1 Functional Description of Circuit The protection circuit will protect from a maximum over-voltage or reverse-voltage of 12 Volts. The cut-off voltage on the 5-V line is 5.7 V and on the 3.3-V line is 3.6 V.
(Figure 4-9) is used. 4.2.7 PSoC 5LP Development Kit Expansion Ports The PSoC 5LP Development Kit has two expansion ports, port D and port E, each with their own unique features. 4.2.7.1 Port D This is the miscellaneous port designed to handle CapSense-based application boards and digital application boards.
Page 27
Hardware Figure 4-10. Port D CY8CKIT-050 PSoC® 5LP Development Kit Guide, Doc. # 001-65816 Rev. *E Downloaded from Elcodis.com electronic components distributor...
Hardware 4.2.7.2 Port E This is the analog port on this kit and has special layout considerations. It also brings out all analog resources such as dedicated opamps to a single connect. Therefore, this port is ideal for precision analog design development. This port is functionally compatible to port A of the PSoC Development Kit and it is easy to port an application developed on port A.
Hardware 4.2.8 RS-232 Interface The board has an RS-232 transceiver for designs using RS-232 (UART). The RS-232 section power can be disconnected through a single resistor R58. This is useful for low-power designs. Figure 4-12. RS-232 Interface 4.2.9 Prototyping Area The prototyping area on the board has two complete ports of the device for simple custom circuit development.
Hardware Figure 4-13. Prototyping Area This area also comprises of a potentiometer to be used for analog system development work. The potentiometer connects from Vdda, which is a noise free supply and is hence capable of being used for low noise analog applications. The potentiometer output is available on P6[5] and VR on header P6 in the prototyping area.
Hardware Figure 4-15. LCD Connected on P8 Connector 4.2.11 CapSense Sensors The board layout considers the special requirements for CapSense. It has two CapSense buttons and a 5-element CapSense slider. The CapSense buttons are connected to pins P5[6] and P5[5]. The slider elements are connected to pins P5[0:4].
Code Examples To access code examples described in this section, open the PSoC Creator Start Page. For additional code examples, visit http://www.cypress.com. Figure 5-1. PSoC Creator Start Page Follow these steps to open and program code examples: 1. Click on a code example from Examples and Kits on the PSoC Creator Start Page.
This example code measures an analog voltage controlled by the potentiometer. The code uses the internal SAR ADC configured for a 12-bit operation; the ADC range is 0 to Vdda. The results are dis- played on the character LCD. Note The PSoC 5LP Development Kit is factory-programmed with this example. 5.1.2 Hardware Connections The example requires the character LCD on P8.
Code Examples Range is set to Vssa to Vdda in single-ended mode because the potentiometer output is a single ■ ended signal that can go from 0 to Vdda. Therefore, at 12-bit resolution, the ADC will resolve in steps of Vdda/2 Voltage Reference should be set to Vdda/2 supply voltage when input range is set to ‘Vssa to ■...
Code Examples 5.2.2 Hardware Connections The example requires the character LCD on P8. Because it uses the potentiometer, the jumper POT_PWR should be in place. This connects the potentiometer to the Vdda. Move jumper J10 and J11 to position 2-3, this will set Vdda to 5 V. 5.2.3 Del-Sig ADC Configuration To view or configure the Delsig ADC component, double-click the component in the TopDe-...
Code Examples ADC. To set Vdda to 5 V, in the VoltageDisplay_DelSigADC.cydwr window of PSoC Creator, click on the System tab, go to Operating Conditions options. Set Vdda to 5 V. 5.2.4 Verify Output Build and program the code example, and reset the device. The LCD shows the voltage reading corresponding to the voltage on the potentiometer.
Code Examples Project: IntensityLED 5.3.1 Project Description This example code uses a pulse-width modulator (PWM) to illuminate an LED. When the pulse width of the PWM varies, the LED brightness changes. By continuously varying the pulse width of the PWM, the example code makes an LED go from low brightness to a high brightness and back. 5.3.2 Hardware Connections No hardware connections are required for this project, because all the connections are hard-wired to...
CapSense buttons and one 5-element slider provided on the board. Each capacitive sensor on the board is scanned using the Cypress CSD algorithm. The buttons are pre- tuned in the example code to take care of factors such as board parasitic.
Code Examples 5.5.2 Hardware Connections This project uses the LCD for display; therefore, ensure that it is plugged into the port. No specific hardware connections are required for this project because all connections are hard-wired on the board. 5.5.3 Verify Output Build and program the code example, and reset the device.
Code Examples Figure 5-10. CapSense Button Project: ADC_DAC 5.6.1 Project Description This project demonstrates sine wave generation by using an 8-bit DAC and DMA. The sine wave period is based on the current value of the ADC value of the potentiometer. The firmware reads the voltage output by the board potentiometer and displays the raw counts on the board character LCD display.
Appendix Schematic Power Supply NO LOAD TP4 RED TP4 RED V5.0 5.0V/1A LDO +9V/+12V, 1A SS12-E3/61T SS12-E3/61T AP1117D50G AP1117D50G D-64 D-64 TO-252 TO-252 0805 0805 VOUT ZERO ZERO 3216 3216 3216 3216 TP3 RED TP3 RED POWER JACK P-5 POWER JACK P-5 NO LOAD 10 uFd 16v 10 uFd 16v...
Page 44
CY8CKIT-050 PSoC® 5LP Development Kit Guide, Doc. # 001-65816 Rev. *E Downloaded from Elcodis.com electronic components distributor...
Page 45
PLACE ONE CAP PER EACH VCC ON U5. 0402 0402 0.1 uFd 0.1 uFd 0402 0402 0.1 uFd 0.1 uFd 0402 0402 0.1 uFd 0.1 uFd 0402 0402 0.1 uFd 0.1 uFd 0402 0402 0.1 uFd 0.1 uFd 0402 0402 0.1 uFd 0.1 uFd 3V3_FX12P...
Page 46
CGND1 Use Separate Track Expansion Connectors for CGND1 to GND P3[6] P3[7] P3[4] P3[5] P1[6] P1[7] P3[2] P3[3] P1[5] P3[0] P3[1] P1[2] SWDIO SWDCK P0[6] P0[7] NO LOAD P0[4] P0[5] P2[6] P2[7] P0[2] P0[3] P2[4] P2[5] NO LOAD P0[0] P0[1] P2[2] P2[3] P2[0]...
Page 47
CY8CKIT-050 PSoC® 5LP Development Kit Guide, Doc. # 001-65816 Rev. *E Downloaded from Elcodis.com electronic components distributor...
Page 48
CY8CKIT-050 PSoC® 5LP Development Kit Guide, Doc. # 001-65816 Rev. *E Downloaded from Elcodis.com electronic components distributor...
Bill of Materials (BOM) Item Qty Reference Value Description Manufacturer Manufacturer Part No. Cypress PDC-09356 BATTERY HOLDER 9V Male Keystone Elec- BAT 9V MALE PC MT tronics BATTERY HOLDER 9V Female Keystone Elec- BAT 9V FEMALE PC MT tronics C2,C4,C5,C13,C1...
Page 54
Item Qty Reference Value Description Manufacturer Manufacturer Part No. TP1, J26, J27, BLACK TEST TEST POINT PC MINI .040"D Keystone Elec- 5001 J35, J28 POINT Black tronics LED1,LED2,LED3 Rohm Semicon- LED Red LED RED CLEAR 0805 SMD SML-210LTT86 ,LED4 ductor INDUCTOR SHIELD PWR SLF7032T-220MR96- 22 uH...
Page 55
24LC00/SN 24LC00/SN 8SOIC nology IC REG 3.3V 800MA LDO SOT- National Semi- LM1117IMP-3.3/ LM1117MPX-3.3 conductor NOPB IC, FX2 HIGH-SPEED USB CY7C68013A- Cypress Semi- PERIPHERAL CONTROLLER CY7C68013A-56LTXC 56LTXC conductor QFN56 CY8C5868AXI- Cypress Semi- PSoC 5 Mixed-Signal Array CY8C5868AXI-LP035 LP035 TQFP100 conductor IC 3-5.5V LINE DRVR/RCVR...
Page 57
Item Qty Reference Value Description Manufacturer Manufacturer Part No. Install jumper Rectangular Connectors Kobiconn 151-8030-E across pins 1 MINI JUMPER GF 13.5 and 2 CLOSE TYPE BLACK J10, J11 Install jumper Rectangular Connectors Kobiconn 151-8030-E across pins 1 MINI JUMPER GF 13.5 and 2 CLOSE TYPE BLACK J43,J44...
Pin Assignment Table Port Pin Name Description P0[0] Connected to Pin 18 on Port E P0[1] Connected to Pin 17 on Port E 1. Connected to Pin 16 on Port E P0[2] 2. Connected to SAR bypass capacitor C54 that can be selected by shorting jumper J43 Connected to 2 points: P0[3] 1.
Page 59
Port Pin Name Description Connected to 2 points: P2[0] 1. Connected to LCD module 2. Connected to Pin 18 on Port D Connected to 2 points: P2[1] 1. Connected to LCD module 2. Connected to Pin 17 on Port D Connected to 2 points: P2[2] 1.
Page 60
Port Pin Name Description Connected to 2 points: P5[0] 1. Connected to CapSense slider segment 2. Connected to Pin 28 on Port D Connected to 2 points: P5[1] 1. Connected to CapSense slider segment 2. Connected to Pin 27 on Port D Connected to 2 points: P5[2] 1.
Page 61
Port Pin Name Description P15[0] Connected to 24MHz Crystal P15[1] Connected to 24MHz Crystal P15[2] Connected to 32KHz Crystal P15[3] Connected to 32KHz Crystal Port 15 P15[4] Connected to Rbleed resistor P15[5] Connected to SW3 push button P15[6] Connected to USB D+ P15[7] Connected to USB D- Vbat...
Page 62
CY8CKIT-050 PSoC® 5LP Development Kit Guide, Doc. # 001-65816 Rev. *E Downloaded from Elcodis.com electronic components distributor...
Need help?
Do you have a question about the PSoC 5LP and is the answer not in the manual?
Questions and answers