Cypress CY8CKIT-147 Kit Manual

Cypress CY8CKIT-147 Kit Manual

Psoc 4100ps prototyping kit guide

Advertisement

Quick Links

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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CY8CKIT-147 and is the answer not in the manual?

Questions and answers

Summary of Contents for Cypress CY8CKIT-147

  • Page 1 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...
  • Page 2 Cypress is not liable, in whole or in part, and you shall and hereby do release Cypress from any claim, damage, or other liability arising from or related to all Unintended Uses of Cypress products.
  • Page 3: Table Of Contents

    USB-UART Bridge .....................23 USB-I2C Bridge ......................24 Updating the KitProg2 Firmware................24 4. Code Examples Using the Kit Code Examples ..................25 Using Built-in PSoC Creator Code Examples with the Kit .........28 CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 4 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® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 5: 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 6 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 7: 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 8: Psoc Creator

    PSoC Creator also enables you to tap into an entire tool ecosystem with integrated compiler chains and production programming programmers for PSoC devices. For more information, visit www.cypress.com/psoccreator. Visit the PSoC Creator Video Training Page for video tutorials on learning and using PSoC Creator. CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 9: Psoc Creator Code Examples

    You can then adapt that design to your application. Figure 1-3. Code Examples in PSoC Creator CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 10: Kit Code Examples

    Select the Find Code Example option in the context menu that appears. System Reference Guide: Choose Help > System Reference Guides. This guide lists and ■ describes the system functions provided by PSoC Creator. CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 11: Component Datasheets

    ■ operation and also provides schematics, details about programming the kit using MiniProg3, Kit Schematics, and the bill of materials (BOM). CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 12: Additional Learning Resources

    USA) or +1 (408) 943-2600 Ext. 3 (International). You can also use the following support resources if you need quick assistance: Self-help (Technical Documents). ■ Local Sales Office Locations. ■ CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 13: Document Conventions

    Click the File icon and then click Open. Times New Roman Displays an equation: 2 + 2 = 4 Text in gray boxes Describes Cautions or unique functionality of the product. CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 14: Acronyms

    Successive Approximation Register Serial Communication Block SRAM Static Random Access Memory Serial Wire Debug TCPWM Timer, Counter, Pulse Width Modulator UART Universal Asynchronous Receiver Transmitter Universal Serial Bus Watch Crystal Oscillator CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 15: Software Installation

    Internet. c. CY8CKIT-147 DVD ISO: This file is a complete package, stored in a DVD-ROM image format, that you can use to create a DVD or extract using an ISO extraction program such as WinZip or WinRAR.
  • Page 16 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.
  • Page 17 Note: For Windows 7/8/8.1 and later users, the installed files and the folder are read-only. To use the installer code examples, follow the steps outlined in the Code Examples chapter on page CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 18: Installing Psoc 4100Ps Device In Psoc Creator

    Uninstall Software The software can be uninstalled using one of the following methods: 1. Go to Start > All Programs > Cypress > Cypress Update Manager and select the Uninstall button. 2. Go to Start > Control Panel > Programs and Features for Windows 7 or Add/Remove Programs for Windows XP;...
  • Page 19: Kit Operation

    PSoC 4100PS pin as ‘resistive pull-up’ for detecting the switch press. Also note when configuring the pin as ‘resistive pull-up’, the pin cannot be connected to any other internal peripheral through hardware connection. CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 20 Status LED (LED3) KitProg2 Program/Debug Mode (PPCOM mode) (default) CMSIS-DAP & Mass Storage Programming Mode *Note: Toggling between the Programming modes can be done by pressing SW3 Mode switch. CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 21: Programming And Debugging The Psoc 4100Ps Target Device

    Project/Workspace. This provides the option to browse and open a previously saved project. If you want to open one of the code examples provided with the kit, follow the instructions in the Code Examples chapter on page CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 22 Figure 3-4. This programs the target PSoC 4100PS device on the PSoC 4100PS Prototyping kit, and the kit is ready to use. Figure 3-4. Programming Device From PSoC Creator CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 23: Debugging Using Psoc Creator

    UART_RX assigned to P0[4] and UART_TX assigned to P0[5] on PSoC 4100PS (target). For more details on the KitProg2 USB-UART functionality, refer to USB-UART Bridge section in KitProg2 User Guide. Figure 3-5. UART Connection between KitProg2 and PSoC 4100PS CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 24: Usb-I2C Bridge

    KitProg2 firmware if necessary. Refer to Updating the KitProg2 Firmware in for a detailed explanation on how to update the KitProg2 firmware. KitProg2 User Guide CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 25: Code Examples

    1. Launch PSoC Creator from the Windows Start menu (Start > All Programs > Cypress > PSoC Creator <version> > PSoC Creator <version>). 2. On the Start page, click on CY8CKIT-147 under Start > Kits. A list of code examples appears, as shown in Figure 4-1.
  • Page 26 PSoC Creator status bar at the bottom left side of the screen. If the device is yet to be acquired, the Select Debug Target window will appear. Select KitProg2/<serial number> and click the Port Acquire button, as shown in Figure 4-4. Figure 4-4. Port Acquire CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 27 Figure 4-5. Connect Device From PSoC Creator and Program 9. From the workspace explorer in PSoC Creator, open the CE218651_Breathing_LED_SmartIO.pdf as shown in Figure 4-6. Figure 4-6. Project Datasheet - CE218651_Breathing_LED_SmartIO.pdf CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 28: Using Built-In Psoc Creator Code Examples With The Kit

    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. On the Start Page, click Find Code Example... under Start, or use the menu item “File > Code Example...”...
  • Page 29 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. Figure 4-10. Project Datasheet: CE218651_Breathing_LED_SmartIO CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 30: Appendix

    One Push Button SW2 (Reset) ■ One Push Button SW3 (KitProg2 Mode) ■ Current Measurement Jumper J3 (foot-print only) (shorted by zero ohm resistor R31) ■ Perforated ‘snappable’ board design ■ CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 31 Figure A-1. PSoC 4100PS Prototyping kit Pin Details CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 32: Hardware Details

    For more information, refer to the PSoC 4100PS kit web page and the PSoC 4100PS Family Datasheet. Figure A-2. Schematic of PSoC 4 (Target) CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 33: Kitprog2 Board

    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. Schematic of PSoC 5LP (KitProg2) CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 34: Power Supply System

    I2C lines are cut off during the separation. However, you can access KitProg2’s UART and I2C lines through header J6. Figure A-4. PSoC 4100PS Prototyping kit Broken into Two Parts CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 35: Header Connections

    The J1 and J2 headers support 100-mil spacing, so you can solder connectors to connect the target board to a development breadboard. Figure A-5. J1 and J2 Headers CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 36 GPIO J1_20 P5[0] GPIO / CMOD J2_20 P4[1] GPIO J1_21 P5[1] J2_21 P5[3] GPIO / CINTB GPIO J2_22 Ground J1_22 P5[2] GPIO / CINTA J2_23 VDDD Power J1_23 Ground CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 37 J4_05 P12.2 SWD_IO When the boards are separated, the KitProg2 board can be used to program any other PSoC 3, PSoC 4, PSoC 5LP family of devices via J4. CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 38 P12.5 GPIO J7_03 P3.4 GPIO J6_04 P12.0 GPIO/I2C_SCL J7_04 P3.5 GPIO J7_05 P3.6 GPIO J6_05 P12.1 GPIO/I2C_SDA J7_06 P0.2 GPIO J6_06 P12.7 GPIO/UART_RX J7_07 P0.1 GPIO J6_07 P12.6 GPIO/UART_TX CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 39: User And Passive Inputs

    The target PSoC 4100PS board contains a switch connected to the P0[3] pin on the PSoC 4100PS device. This button can be used for general user inputs or to control different states in an application. Figure A-9. User Switch on the Board CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 40 Status LED (LED3) KitProg2 Program / Debug Mode (PPCOM mode) (default) CMSIS-DAP & Mass Storage Programming Mode *Note: Toggling between the Programming modes can be done by pressing SW3 Mode switch. CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 41 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. Figure A-15. 10-pin Programming Header CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 42: Psoc 4100Ps Prototyping Kit Schematics

    Figure A-16. Connecting the CY8CKIT-147 to a MiniProg3 Note: CY8CKIT-002 MiniProg3 is not part of the PSoC 4100PS Prototyping Kit contents and can be purchased from the Cypress Online Store. CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 43: Revision History

    Updated Table A-7. 6018614 01/08/2018 NMIT Updated Introduction chapter on page Updated “PSoC Creator” on page Updated “PSoC Creator Code Examples” on page Updated Figure 1-3. Updated Figure 1-4. CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 44 “Additional Learning Resources” on page Updated description. Updated Software Installation chapter on page Updated “Install Software” on page Updated description. Updated Figure 2-1. Added “Installing PSoC 4100PS Device in PSoC Creator” on page CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...
  • Page 45 “User and Passive Inputs” on page Updated “LEDs” on page Updated description. Updated to new template. 6281376 08/14/2018 DIMA Updated Kit Operation chapter on page Updated “Theory of Operation” on page Updated description. CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D...

Table of Contents