Infineon Cypress PSoC CY8CKIT-147 Manual

Infineon Cypress PSoC CY8CKIT-147 Manual

4100ps prototyping kit guide

Advertisement

Quick Links

Please note that Cypress is an Infineon Technologies Company.
The document following this cover page is marked as "Cypress" document as this is the
company that originally developed the product. Please note that Infineon will continue
to offer the product to new and existing customers as part of the Infineon product
portfolio.
Continuity of document content
The fact that Infineon offers the following product as part of the Infineon product
portfolio does not lead to any changes to this document. Future revisions will occur
when appropriate, and any changes will be set out on the document history page.
Continuity of ordering part numbers
Infineon continues to support existing part numbers. Please continue to use the
ordering part numbers listed in the datasheet for ordering.
www.infineon.com
Arrow.com.
Downloaded from

Advertisement

Table of Contents
loading

Summary of Contents for Infineon Cypress PSoC CY8CKIT-147

  • Page 1 The document following this cover page is marked as “Cypress” document as this is the company that originally developed the product. Please note that Infineon will continue to offer the product to new and existing customers as part of the Infineon product portfolio.
  • Page 2 CY8CKIT-147 ® PSoC 4100PS Prototyping Kit Guide Doc. #: 002-18734 Rev. *D Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 www.cypress.com Arrow.com. Arrow.com. Downloaded from Downloaded from...
  • Page 3 Copyrights Copyrights © Cypress Semiconductor Corporation, 2017-2018. This document is the property of Cypress Semiconductor Corporation and its subsidiaries, including Spansion LLC ("Cypress"). This document, including any software or firmware included or referenced in this document ("Software"), is owned by Cypress under the intellectual property laws and treaties of the United States and other countries worldwide.
  • Page 4: Table Of Contents

    Contents Safety Information 1. Introduction Kit Contents .........................7 PSoC Creator ......................8 1.2.1 PSoC Creator Code Examples ................9 1.2.2 Kit Code Examples..................10 1.2.3 PSoC Creator Help ..................10 1.2.4 Component Datasheets .................11 Getting Started......................11 Additional Learning Resources..................12 Technical Support......................12 Document Conventions .....................13 Acronyms........................14 2.
  • Page 5 Contents Appendix Board Details ........................30 Hardware Details .........................32 Target Board ......................32 KitProg2 Board ......................33 Power Supply System ....................34 Board Separation (Snapping) ...................34 Header Connections ....................35 User and Passive Inputs ...................39 PSoC 4100PS Prototyping kit Schematics ................42 Bill of Materials ........................42 Programming PSoC 4100PS Prototyping kit Using MiniProg3/KitProg2 ......42 Revision History CY8CKIT-147 PSoC®...
  • Page 6: Safety Information

    Safety Information Regulatory Compliance The CY8CKIT-147 PSoC 4100PS Prototyping Kit is intended for use as a development platform for hardware or software in a laboratory environment. The board is an open system design, which does not include a shielded enclosure. This may cause interference to other electrical or electronic devices in close proximity.
  • Page 7 Safety Information General Safety Instructions ESD Protection ESD can damage boards and associated components. Cypress recommends that you perform procedures only at an ESD workstation. If such a workstation is not available, use appropriate ESD protection by wearing an antistatic wrist strap attached to the chassis ground (any unpainted metal surface) on your board when handling parts.
  • Page 8: Introduction

    Introduction Thank you for your interest in the CY8CKIT-147 PSoC 4100PS Prototyping Kit. The PSoC 4100PS prototyping kit is designed as an easy-to-use and inexpensive prototyping platform. The PSoC 4100PS Prototyping Kit supports the PSoC 4100PS device family, delivering a complete system solution for a wide range of embedded applications at a very low cost.
  • Page 9: Psoc Creator

    Introduction PSoC Creator PSoC Creator™ is a state-of-the-art, easy-to-use integrated design environment (IDE). It introduces revolutionary hardware and software co-design, powered by a library of pre-verified and pre- characterized PSoC Components. With PSoC Creator, you can: 1. Drag and drop Components to build your hardware system design in the main design workspace 2.
  • Page 10: Psoc Creator Code Examples

    Introduction 1.2.1 PSoC Creator Code Examples PSoC Creator includes a large number of code examples. These examples are available from the PSoC Creator Start Page, as Figure 1-3 on page 9 shows or from the menu under “File > Code Example...”.
  • Page 11: Kit Code Examples

    Introduction Figure 1-4. Code Example Projects with Sample Code 1.2.2 Kit Code Examples You can access the installed kit code examples from the PSoC Creator Start Page. To access these examples, expand the Kits under the section Start; then, expand the specific kit to see the code examples.
  • Page 12: Component Datasheets

    Introduction 1.2.4 Component Datasheets Right-click a Component and select Open Datasheet (see Figure 1-5 on page 11). Figure 1-5. Opening Component Datasheet Getting Started This guide will help you get acquainted with the PSoC 4100PS Prototyping Kit: Software Installation chapter on page 15 describes the installation of the kit software.
  • Page 13: Additional Learning Resources

    Introduction Additional Learning Resources Cypress provides a wealth of data at www.cypress.com to help you to select the right PSoC device for your design, and to help you to quickly and effectively integrate the device into your design. For a comprehensive list of resources, see KBA86521, How to Design with PSoC 3, PSoC 4, and PSoC...
  • Page 14: Document Conventions

    Introduction Document Conventions Table 1-1. Document Conventions for Guides Convention Usage Courier New Displays file locations, user entered text, and source code: C:\...cd\icc\ Displays file names and reference documentation: Italics Read about the sourcefile.hex file in the PSoC Creator User Guide. [Bracketed, Bold] Displays keyboard commands in procedures: [Enter] or [Ctrl] [C]...
  • Page 15: Acronyms

    Introduction Acronyms Table 1-2. Acronyms Used in this Document Acronym Description Analog-to-Digital Converter Bridge Control Panel Bluetooth Low Energy Bill of Materials Code Example CMOD Modulator Capacitor Comparator CTANK Shield tank capacitor Digital to Analog Convertor DPDT Double-Pole, Double-Throw Electrostatic Discharge GPIO General Purpose Input/Output Inter-Integrated Circuit...
  • Page 16: Software Installation

    Software Installation This chapter describes the steps to install the software tools and packages on a PC for using the PSoC 4100PS Prototyping Kit. This includes the IDE on which the projects will be built and used for programming. Before You Begin All Cypress software installations require administrator privileges, but these are not required to run the software after it is installed.
  • Page 17 Software Installation 3. Click Install CY8CKIT-147 Kit to start the kit installation, as shown in Figure 2-1. Figure 2-1. Kit Installer Screen 4. Select the directory in which you want to install the PSoC 4100PS Prototyping kit-related files. Choose the directory and click Next. 5.
  • Page 18 Software Installation 6. Choose the Typical/Custom/Complete installation type in the Product Installation Overview window, as shown in Figure 2-2. Click Next after you select the installation type. Note: We recommend to do typical installation, however user can choose according to their requirement.
  • Page 19: Installing Psoc 4100Ps Device In Psoc Creator

    Software Installation Installing PSoC 4100PS Device in PSoC Creator Below steps need to be followed in order to install 4100PS device into PSoC Creator 1. Run PSoC Creator 4.2. 2. Go to Tools > Find new devices in PSoC Creator. The Device Update Installer window will pop-up.
  • Page 20: Kit Operation

    Kit Operation This chapter introduces you to the different features of the PSoC 4100PS Prototyping kit. This pri- marily includes the programming/debugging functionality, KitProg2 USB-UART and USB-I2C bridges, and the method to update the KitProg2 firmware. Theory of Operation Figure 3-1 shows the block diagram for the PSoC 4100PS Prototyping kit.
  • Page 21 Kit Operation Reset Button: This button is used to reset the PSoC 4100PS device when pressed. ■ Power LED: This LED indicates power is being applied to the board. ■ PSoC 4100PS Device: This is the target device (CY8C4145LQI-PS433) on the board. ■...
  • Page 22: Programming And Debugging The Psoc 4100Ps Target Device

    Kit Operation Programming and Debugging the PSoC 4100PS Target Device The target PSoC 4100PS device can be programmed and debugged using the KitProg2. Before programming the device, ensure that PSoC Creator and PSoC Programmer software are installed on the PC. See Install Software on page 15 for more information.
  • Page 23 Kit Operation 3. Select the option Build > Build <Project_Name> or press [Shift] [F6] to build the project as shown in Figure 3-3. Figure 3-3. Build an Code Example 4. If there are no errors during build, program the firmware into the kit by choosing Debug > Program or press [Ctrl] [F5], as shown in Figure 3-4.
  • Page 24: Debugging Using Psoc Creator

    Kit Operation 3.2.2 Debugging Using PSoC Creator For debugging the project using PSoC Creator, follow steps 1–3 from Programming Using PSoC Creator on page 21 followed by: 1. Click on the Debug icon or press [F5]. Alternatively, you can use the option Debug > Debug. 2.
  • Page 25: Usb-I2C Bridge

    Kit Operation USB-I2C Bridge The KitProg2 can function as a USB-I2C bridge and communicate with the software utility, Bridge Control Panel (BCP). The I2C lines on PSoC 4100PS (target) device are P3[7] (SDA) and P3[6] (SCL), which are hardwired on the board to the I2C lines of the KitProg2. The USB-I2C supports I2C speeds of 50 kHz, 100 kHz, 400 kHz, and 1 MHz.
  • Page 26: Code Examples

    Code Examples This chapter explains the code examples provided along with the PSoC 4100PS Prototyping kit. To access these code examples, download and install the CY8CKIT-147 PSoC 4100PS Prototyping kit setup file from the kit web page: www.cypress.com/CY8CKIT-147. After installation, the code example can be accessed from the PSoC Creator Start Page as shown in Figure 4-1.
  • Page 27 Code Examples 5. Connect the PSoC 4100PS Prototyping kit to the PC using the KitProg2 PCB finger connector, J8 as described in Programming Using PSoC Creator chapter on page 21 to program the kit with this code example. If this is the first time the kit is connected to the PC, you should wait for driver installation to complete before proceeding with the next step.
  • Page 28 Code Examples 8. After the device is acquired, it is shown in a tree structure below the KitProg2/<serial number>. Click the OK / Connect button to exit the window and start programming, as shown in Figure 4-5. Figure 4-5. Connect Device From PSoC Creator and Program 9.
  • Page 29: Using Built-In Psoc Creator Code Examples With The Kit

    Code Examples Using Built-in PSoC Creator Code Examples with the Kit Follow these steps to open and use the built-in PSoC Creator examples. 1. Launch PSoC Creator from Start > All Programs > Cypress > PSoC Creator<version> > PSoC Creator <version>. 2.
  • Page 30 Code Examples 5. Select the CE218651_Breathing_LED_SmartIO project and click the Create Project button as shown in Figure 4-9 button. Save the workspace to a desired location. Figure 4-9. CE218651_Breathing_LED_SmartIO Code Example 6. Open CE218651_Breathing_LED_SmartIO.pdf from the Workspace Explorer to learn more about the code example and its configuration.See Figure 4-10.
  • Page 31: Appendix

    Appendix Board Details The PSoC 4100PS Prototyping kit consists of the following blocks: PSoC 4100PS device (CY8C4145LQI-PS433) ■ PSoC 4100PS I/O headers J1 and J2 ■ 10-pin PSoC 4100PS Program/Debug header, J9 (foot-print only) ■ KitProg2 (PSoC 5LP) device (CY8C5868LTI-LP039) ■...
  • Page 32 Figure A-1. PSoC 4100PS Prototyping kit Pin Details CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
  • Page 33: Hardware Details

    Hardware Details A.2.1 Target Board The target board uses the PSoC 4100PS device. PSoC 4100PS is a scalable and reconfigurable platform architecture for a family of programmable embedded system controllers with an ARM Cortex-M0+ CPU. It combines programmable and reconfigurable digital blocks with flexible automatic routing.
  • Page 34: Kitprog2 Board

    A.2.2 KitProg2 Board A PSoC 5LP on the KitProg2 board is used to program and debug the target PSoC 4100PS device. The KitProg2 PSoC 5LP connects to the USB port of the PC through the USB finger connector and to the SWD interface of the target PSoC 4100PS device. Figure A-3.
  • Page 35: Power Supply System

    A.2.3 Power Supply System The power supply system on this board is dependent on the source of the power. For most applications, you can use the 5 V supply from the USB connection to power the system. You can also connect an external power supply to the board for low-voltage applications. The kit supports the following connections: 5 V from the KitProg2 USB (J8) ■...
  • Page 36: Header Connections

    A.2.5 Header Connections The PSoC 4100PS Prototyping kit supports a number of unpopulated headers on both the KitProg2 and the target PSoC 4100PS boards. A.2.5.1 Functionality of the J1 and J2 Headers (Target Board) The target PSoC 4100PS board contains two single-inline headers (J1 and J2). These headers are both 1×23-pin headers and include all of the I/Os available on the PSoC 4100PS device.
  • Page 37 Table A-1. J1 Header Pin Details Table A-2. J2 Header Pin Details PSoC 4100PS Prototyping kit GPIO Header J1 PSoC 4100PS Prototyping kit GPIO Header J2 Signal Description Signal Description J1_01 VDDD Power J2_01 VDDA Power J1_02 Ground J2_02 Ground J1_03 Reset J2_03...
  • Page 38 A.2.5.2 Functionality of J4 and J5 Headers (PSoC 4100PS to KitProg2) The KitProg2 and target boards each contain a 1x5-pin header. These headers provide a physical connection between the two devices. Specifically, the connection includes the SWD interface, required to program/debug the target PSoC 4100PS device, power, ground, and reset. Figure A-6.
  • Page 39 A.2.5.3 Functionality of J6 and J7 Headers (KitProg2) The KitProg2 board contains two single-inline headers (J6 and J7). Both are 1x7-pin-headers, used to pull out several pins of the PSoC 5LP to support advanced features like a low-speed oscilloscope and a low-speed digital logic analyzer. This header also contains the KitProg2 bridge pins that can be used when the two boards are separated.
  • Page 40: User And Passive Inputs

    A.2.5.4 Functionality of Connector J8 (USB Finger Connector) This connector footprint on the kit enables the user to connect the kit directly to a PC using a USB port. Figure A-8. USB Type-A connector J8 A.2.6 User and Passive Inputs A.2.6.1 User Switch The target PSoC 4100PS board contains a switch connected to the P0[3] pin on the PSoC 4100PS...
  • Page 41 A.2.6.2 Reset Switch Reset the PSoC target device: When this button is pressed, the XRES line of the PSoC 4100PS is pulled to ground, which, in turn, resets the target device. Figure A-10. Reset (RST) Switch A.2.6.3 Mode Switch The KitProg2 board contains a push button connected to P1.2 of the PSoC 5LP. When this button is pressed, it toggles between KitProg2 mode and CMSIS-DAP / Mass Storage Mode.
  • Page 42 Figure A-12. Power LED Figure A-13. Status LED Figure A-14. User LED A.2.6.5 10-pin Programming Header PSoC 4100PS can be programmed alternatively through the 10-pin programming header using a MiniProg3 programmer. This can be done by connecting the 10-pin programming header from a MiniProg3 to the 10-pin programming header J9 on the CY8CKIT-147.
  • Page 43: Psoc 4100Ps Prototyping Kit Schematics

    PSoC 4100PS Prototyping kit Schematics Refer to the schematic file in the following path in the installed kit software: <Install_Directory>\CY8CKIT-147 PSoC 4100PS Prototyping Kit\ <version>\Hardware\CY8CKIT-147 Schematic.pdf Bill of Materials Refer to the BOM file in the following path in the kit software installed: <Install_Directory>\CY8CKIT-147 PSoC 4100PS Prototyping Kit\ <version>\Hardware\CY8CKIT-147 PCBA_BOM.xlsm Programming PSoC 4100PS Prototyping kit Using MiniProg3/...
  • Page 44: Revision History

    Revision History Document Revision History Document Title: CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide Document Number: 002-18734 Origin of Revision ECN# Issue Date Description of Change Change 5630967 03/21/2017 NMIT New kit guide. 5980583 12/05/2017 NMIT Updated Introduction chapter on page Updated “Technical Support”...
  • Page 45 Revision History Document Revision History (continued) Document Title: CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide Document Number: 002-18734 Origin of Revision ECN# Issue Date Description of Change Change *B (cont.) 6018614 01/08/2018 NMIT Updated Code Examples chapter on page Updated “Using the Kit Code Examples” on page Updated Figure 4-1.
  • Page 46 Revision History Document Revision History (continued) Document Title: CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide Document Number: 002-18734 Origin of Revision ECN# Issue Date Description of Change Change *C (cont.) 6088053 03/08/2018 NMIT Updated Kit Operation chapter on page Updated “Theory of Operation” on page Updated Figure 3-1.

Table of Contents