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...
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.
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.
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.
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...”.
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.
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.
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...
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]...
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...
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.
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.
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. ■...
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.
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.
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.
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.
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.
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.
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.
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) ■...
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 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.
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.
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/...