background image

CY8CKIT-147 PSoC® 4100PS Prototyping Kit Guide, Doc. #: 002-18734 Rev. *D

24

Kit Operation

3.4

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.  For  more  details  on  the  KitProg2  USB-I2C
functionality, refer to 

USB-I2C Bridge 

section in 

KitProg2 User Guide

.

Figure 3-6.  I2C Connection between KitProg2 and PSoC 4100PS 

3.5

Updating the KitProg2 Firmware

The KitProg2 firmware normally does not require any update. You can use the PSoC Programmer
software to update the KitProg2 firmware if necessary. Refer to 

Updating the KitProg2 Firmware

 in

the 

KitProg2 User Guide

 for a detailed explanation on how to update the KitProg2 firmware. 

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Summary of Contents for Cypress PSoC CY8CKIT-147

Page 1: ...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 docume...

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 Downloaded from Arrow com Downloaded from Arrow com...

Page 3: ...as unauthorized access to or use of a Cypress product In addition the products described in these materials may contain design defects or errors known as errata which may cause the product to deviate...

Page 4: ...ll Software 15 2 3 Installing PSoC 4100PS Device in PSoC Creator 18 2 4 Uninstall Software 18 3 Kit Operation 19 3 1 Theory of Operation 19 3 2 Programming and Debugging the PSoC 4100PS Target Device...

Page 5: ...y 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 M...

Page 6: ...n the immediate vicinity If such interference is detected suitable mitigating measures should be taken The PSoC 4100PS Prototyping Kit as shipped from the factory has been verified to meet with requir...

Page 7: ...c wrist strap attached to the chassis ground any unpainted metal surface on your board when handling parts Handling Boards PSoC 4100PS Prototyping boards are sensitive to ESD Hold the board only by it...

Page 8: ...100PS device This kit provides a low cost alternative to device samples while providing a platform to easily develop and integrate the PSoC 4100PS device into your end system In addition the board inc...

Page 9: ...3 Configure Components using configuration tools 4 Explore the library of 100 Components 5 Review Component datasheets Figure 1 2 PSoC Creator Features PSoC Creator also enables you to tap into an ent...

Page 10: ...sed on architecture or device family that is PSoC 3 PSoC 4 or PSoC 5LP project name or keyword Select from the list of examples offered based on the Filter Options Review the code example s descriptio...

Page 11: ...e gives you the basics for developing PSoC Creator projects Simple Component Code Examples Choose File Code Example These examples demon strate how to configure and use PSoC Creator Components To acce...

Page 12: ...features of the PSoC 4100PS Proto typing Kit and functionalities such as programming debugging and the USB UART and USB I2C bridges The Code Examples chapter on page 25 describes multiple code exampl...

Page 13: ...ts CY8CKIT 041 CY8CKIT 046 CY8CKIT 044 CY8CKIT 042 and CY8CKIT 040 are easy to use and inexpensive development platforms These kits include connectors for Arduino compatible shields and Digilent Pmod...

Page 14: ...ile Open Represents menu paths File Open New Project Bold Displays commands menu paths and icon names in procedures Click the File icon and then click Open Times New Roman Displays an equation 2 2 4 T...

Page 15: ...KBA Knowledge Based Article LED Light Emitting Diode PSoC Programmable Systems on Chip SAR Successive Approximation Register SCB Serial Communication Block SRAM Static Random Access Memory SWD Serial...

Page 16: ...ndows Installer or Microsoft NET framework packages If these packages are not on your computer the installer directs you to download and install them from the Internet c CY8CKIT 147 DVD ISO This file...

Page 17: ...ing is the required software a PSoC Creator 4 2 or later This software is also available separate from the kit at www cypress com psoccreator b PSoC Programmer 3 27 1 or later This is installed as par...

Page 18: ...Prototyping kit installation 10 After the installation is complete the kit contents are available at the following location Install_Directory CY8CKIT 147 PSoC 4100PS Prototyping Kit Default location...

Page 19: ...oject 2 4 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...

Page 20: ...er LED The on board LED can be used to display outputs from the PSoC 4100PS device This includes modulating the brightness of the LED to notify different states of the device User Button This kit has...

Page 21: ...standalone module it can be used to program devices of the PSoC 3 PSoC 4 or PSoC 5LP families through the SWD interface For more details on the KitProg2 functionality refer to the KitProg2 User Guide...

Page 22: ...g2 User Guide for details on the KitProg2 status and troubleshooting instructions Figure 3 2 Connecting the PSoC 4100PS Prototyping Kit to a Computer 2 Open the desired project in PSoC Creator From in...

Page 23: ...ady to use Figure 3 4 Programming Device From PSoC Creator Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded...

Page 24: ...e by copying hex files into an emulated USB Mass Storage device For more details on using KitProg2 as a Mass Stor age Programmer refer to the KitProg2 User Guide 3 3 USB UART Bridge The KitProg2 on th...

Page 25: ...pdate You can use the PSoC Programmer software to update the KitProg2 firmware if necessary Refer to Updating the KitProg2 Firmware in the KitProg2 User Guide for a detailed explanation on how to upda...

Page 26: ...desired location For the remaining steps CE218651_Breathing_LED_SmartIO cywrk is used as a reference Figure 4 1 Open Code Example from PSoC Creator 4 Build the code example by choosing Build Build Pro...

Page 27: ...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 Do...

Page 28: ...rom Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Down...

Page 29: ...with the kit As an example we will select the CE218651_Breathing_LED_SmartIO project and see how to use it with the CY8CKIT 147 kit Downloaded from Arrow com Downloaded from Arrow com Downloaded from...

Page 30: ...rom Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Down...

Page 31: ...ohm resistor R31 Perforated snappable board design Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Ar...

Page 32: ...com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded fro...

Page 33: ...design 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 Downloaded from Arrow com Downloaded from Arrow com Downloa...

Page 34: ...Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Ar...

Page 35: ...ototyping kit consists of a PSoC 4100PS and a KitProg2 board To separate the two boards for evaluation or development break the two boards apart at the built in perforated edge between J4 and J5 The e...

Page 36: ...rs Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from...

Page 37: ...2 3 GPIO J2_15 P2 4 GPIO J2_16 P2 5 GPIO J2_17 P2 6 GPIO J2_18 P2 7 GPIO J2_19 P4 0 GPIO J2_20 P4 1 GPIO J2_21 P5 3 GPIO CINTB J2_22 GND Ground J2_23 VDDD Power Downloaded from Arrow com Downloaded fr...

Page 38: ...RES Reset J5_04 P3 3 SWD_CLK J5_05 P3 2 SWD_IO Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow c...

Page 39: ...J7_01 GND Ground J7_02 P3 0 GPIO J7_03 P3 4 GPIO J7_04 P3 5 GPIO J7_05 P3 6 GPIO J7_06 P0 2 GPIO J7_07 P0 1 GPIO Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloade...

Page 40: ...m Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downlo...

Page 41: ...between the Programming modes can be done by pressing SW3 Mode switch Table A 7 LED status for KitProg2 Modes KitProg2 Programming Modes Status LED LED3 KitProg2 Program Debug Mode PPCOM mode default...

Page 42: ...rom Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Down...

Page 43: ...e CY8CKIT 002 MiniProg3 is not part of the PSoC 4100PS Prototyping Kit contents and can be purchased from the Cypress Online Store Downloaded from Arrow com Downloaded from Arrow com Downloaded from A...

Page 44: ...Updated PSoC Creator on page 8 Updated PSoC Creator Code Examples on page 9 Updated Figure 1 3 Updated Figure 1 4 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloa...

Page 45: ...8CKIT 147 PSoC 4100PS Prototyping Kit Guide Document Number 002 18734 Revision ECN Issue Date Origin of Change Description of Change Downloaded from Arrow com Downloaded from Arrow com Downloaded from...

Page 46: ...History continued Document Title CY8CKIT 147 PSoC 4100PS Prototyping Kit Guide Document Number 002 18734 Revision ECN Issue Date Origin of Change Description of Change Downloaded from Arrow com Downlo...

Reviews: