background image

CY8CKIT-149

PSoC

®

 4100S Plus Prototyping Kit Guide

Doc. #: 002-20729 Rev. *E

Cypress Semiconductor

198 Champion Court

San Jose, CA 95134-1709

Phone (USA): +1.800.858.1810

Phone (Intnl): +1.408.943.2600

www.cypress.com

Summary of Contents for PSoC 4100S Plus

Page 1: ...Y8CKIT 149 PSoC 4100S Plus Prototyping Kit Guide Doc 002 20729 Rev E Cypress Semiconductor 198 Champion Court San Jose CA 95134 1709 Phone USA 1 800 858 1810 Phone Intnl 1 408 943 2600 www cypress com...

Page 2: ...ANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE To the extent permitted by applicable law Cypress reserves the right to make changes to this document without further notice Cypress does not assume any...

Page 3: ...14 1 7 Acronyms 15 2 Software Installation 16 2 1 Before You Begin 16 2 2 Install Software 16 2 3 Uninstall Software 19 3 Kit Operation 20 3 1 Theory of Operation 20 3 2 Programming and Debugging the...

Page 4: ...rdware Details 34 Target Board 34 KitProg2 Board 35 Power Supply System 36 Board Separation Snapping 37 Header Connections 38 User and Passive Inputs 42 PSoC 4100S Plus Prototyping Kit Schematics 50 B...

Page 5: ...ct its performance and cause interference with other apparatus in the immediate vicinity If such interference is detected suitable mitigating measures should be taken The PSoC 4100S Plus Prototyping K...

Page 6: ...rkstation is not available use appropriate ESD protection by wearing an anti static wrist strap attached to the chassis ground any unpainted metal surface on your board when handling parts Handling Bo...

Page 7: ...n class performance The PSoC 4100S Plus Prototyping Kit offers an open footprint breakout board to maximize the end utility of the PSoC 4100S Plus device This kit provides a low cost alternative to de...

Page 8: ...ototyping Kit Guide Doc 002 20729 Rev E 8 Introduction 1 1 Kit Contents The PSoC 4100S Plus Prototyping Kit contains a PSoC 4100S Plus Prototyping board and Quick Start Guide Figure 1 1 CY8CKIT 149 PS...

Page 9: ...nts to build your hardware system design in the main design workspace 2 Co design your application firmware with the PSoC hardware 3 Configure Components using configuration tools 4 Explore the librar...

Page 10: ...own in Figure 1 4 on page 11 From the Find Code Example dialog shown in Figure 1 4 on page 11 you can Filter for examples based on architecture or device family that is PSoC 3 PSoC 4 or PSoC 5LP proje...

Page 11: ...C Creator Help Launch PSoC Creator and navigate to the following items Quick Start Guide Choose Help Documentation Quick Start Guide This guide gives you the basics for developing PSoC Creator project...

Page 12: ...SoC Creator IDE for development and debugging the applications and PSoC Programmer for programming hex files The Kit Operation chapter on page 20 describes the major features of the PSoC 4100S Plus Pr...

Page 13: ...r see PSoC Creator Code Examples on page 10 Technical Reference Manuals TRM Provide detailed descriptions of the architecture and registers in each PSoC 4 device family Development Kits CY8CKIT 041 CY...

Page 14: ...plays file names and reference documentation Read about the sourcefile hex file in the PSoC Creator User Guide Bracketed Bold Displays keyboard commands in procedures Enter or Ctrl C File Open Represe...

Page 15: ...Converter DPDT Double Pole Double Throw ECO External Crystal Oscillator ESD Electrostatic Discharge GPIO General Purpose Input Output I2C Inter Integrated Circuit IDAC Current DAC IDE Integrated Desig...

Page 16: ...rerequisites listed in step 5 are installed on your PC b CY8CKIT 149 Kit Setup This installation package contains the files related to the kit including PSoC Creator and PSoC Programmer However it doe...

Page 17: ...S Plus Prototyping Kit related files Choose the directory and click Next 5 When you click Next the PSoC 4100S Plus Prototyping kit installer automatically installs the required software if it is not p...

Page 18: ...stallation page A green check mark appears next to each package after successful installation 8 Enter your contact information or select the check box Continue Without Contact Information Click Finish...

Page 19: ...3 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 Uninstall 2 Go to Start Control Panel Progr...

Page 20: ...Os of the target PSoC 4100S Plus device to the two expansion headers This provides maximum access to the capabilities of the PSoC 4100S Plus device User LEDs The onboard LEDs LED1 and LED4 can be used...

Page 21: ...5LP CY8C5868LTI LP039 device The PSoC 5LP is used to implement the KitProg2 functionality by default Current Measurement Jumper Using this jumper you can measure the current consumed by the PSoC 4100S...

Page 22: ...hown in Figure 3 2 The kit enumerates as a composite device If you are plugging in the PSoC 4100S Plus Prototyping Kit to your PC for the first time the kit drivers will get installed automatically Th...

Page 23: ...he project as shown in Figure 3 3 Figure 3 3 Build a Code Example 4 If there are no errors during build program the firmware onto the kit by choosing Debug Program or press Ctrl F5 as shown in Figure...

Page 24: ...KitProg2 User Guide 3 2 4 Mass Storage Programming The KitProg2 in the CY8CKIT 149 PSoC 4100S Plus Prototyping Kit supports programming through a USB Mass Storage interface This interface allows you t...

Page 25: ...I2C supports I2C speeds of 50 kHz 100 kHz 400 kHz and 1 MHz For more details on the KitProg2 USB I2C functionality see the USB I2C Bridge section in the KitProg2 User Guide Figure 3 6 I2C Connection...

Page 26: ...the Kit Code Examples Follow these steps to open and use the code examples 1 Launch PSoC Creator from the Windows Start menu Start All Programs Cypress PSoC Creator version PSoC Creator version 2 On t...

Page 27: ...the kit to the PC for the first time wait for driver installation to complete before proceeding to the next step 7 Choose Debug Program in PSoC Creator as shown in Figure 4 3 Figure 4 3 Program Device...

Page 28: ...d three CapSense buttons Data from the CapSense linear slider and buttons is sent to the CapSense Tuner using I2C communication The CapSense button status is used to turn ON OFF the corresponding LEDs...

Page 29: ...th 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 cli...

Page 30: ...can select the CE220891 CapSense with Breathing LED project and see how to use it with the CY8CKIT 149 kit 5 Select the CE220891 CapSense with Breathing LED project and click Create Project as shown i...

Page 31: ...ng Kit Guide Doc 002 20729 Rev E 31 Code Examples 6 Open CE220891 CapSense with Breathing LED pdf from the Workspace Explorer to learn more about the code example and its configuration See Figure 4 10...

Page 32: ...headers J4 and J5 USB 2 0 Micro B connector J8 One amber LED LED2 Power One amber LED LED3 KitProg2 Status One blue LED LED1 User One blue LED LED4 EZ BLE User Six Green LEDs LED5 LED6 LED7 LED8 LED9...

Page 33: ...CY8CKIT 149 PSoC 4100S Plus Prototyping Kit Guide Doc 002 20729 Rev E 33 Figure A 1 PSoC 4100S Plus Prototyping Kit Pin Details...

Page 34: ...locks with flexible automatic routing The PSoC 4100S Plus device based on this platform architecture is a combination of a MCU with digital programmable logic programmable interconnect and standard co...

Page 35: ...A PSoC 5LP on the KitProg2 board is used to program and debug the target PSoC 4100S Plus device The KitProg2 PSoC 5LP connects to the USB port of the PC through the USB 2 0 Micro B connector and to th...

Page 36: ...sistor R53 and install a 2 pin jumper in the supplied holes of J3 2 Connect an ammeter across the 2 pin jumper to measure the current to the PSoC 4100S Plus device This method can be used either with...

Page 37: ...ntly on the KitProg2 board and snap the two boards apart If any material is removed from the edge of the boards use sheers to clean up the edge of the kit The CapSense Slider and buttons can also be s...

Page 38: ...Target Board The target PSoC 4100S Plus board contains two single inline headers J1 and J2 These headers are both 1 30 pin headers and include all of the I Os available on the PSoC 4100S Plus device...

Page 39: ..._6 GPIO LED_8 J1_23 P1_5 GPIO J1_24 P1_4 GPIO LED_7 J1_25 P1_3 GPIO J1_26 P1_2 GPIO LED_6 J1_27 P1_1 GPIO SLD_TX J1_28 P1_0 GPIO LED_5 J1_29 RESET RESET J1_30 VDDD POWER PSoC 4100S Plus Prototyping ki...

Page 40: ...0S Plus device and EZ BLE Module power ground and reset Figure A 6 J4 and J5 Headers When the boards are separated the KitProg2 board can be used to program any other PSoC 3 PSoC 4 PSoC 5LP family of...

Page 41: ...sed when the two boards are separated The J6 and J7 headers support 100 mil spacing so you can solder connectors to connect the KitProg2 board to a development breadboard Figure A 7 J6 and J7 Headers...

Page 42: ...o PC using USB 2 0 Type A to Micro B Cable on J8 USB Micro B connector Figure A 8 USB 2 0 Micro B connector J8 A 2 6 User and Passive Inputs A 2 6 1 User Switch The target PSoC 4100S Plus board contai...

Page 43: ...Plus device is pulled to ground which resets the target device Figure A 10 Reset RST Switch A 2 6 3 Mode Switch KitProg2 The KitProg2 board contains a push button connected to P1 2 of the PSoC 5LP Whe...

Page 44: ...sed through the headers J2 and J9 Shield for button is connected to ground by default If you want to connect it to port P0 1 remove R57 and load R58 Note CapSense Buttons and Slider are covered with A...

Page 45: ...er are exposed through the headers J1 and J10 Shield for slider is connected to ground by default If you want to connect it to port P2 5 remove R26 and load R25 Note CapSense Buttons and Slider are co...

Page 46: ...s is the user LED connected to P3 4 of the target PSoC 4100S Plus device One blue LED LED4 EZ BLE User This is the user LED connected to GPIO of EZ BLE Mod ule Six Green LEDs LED5 LED6 LED7 LED8 LED9...

Page 47: ...CY8CKIT 149 PSoC 4100S Plus Prototyping Kit Guide Doc 002 20729 Rev E 47 Figure A 16 User LED Figure A 17 Feedback LEDs for CapSense Button Figure A 18 Feedback LEDs for CapSense Slider...

Page 48: ...CSH CintA CintB Required for CapSense functionality of PSoC 4100S Plus device SAR bypass capacitor for PSoC 4100S Plus device C1 Loaded by default To use port P1 7 as GPIO desolder C1 Two biasing cap...

Page 49: ...odule is a fully integrated 10 10 1 8 mm fully certified programmable module designed for ease of use and reduced time to market It contains Cypress BLE chip two crystals chip antenna shield and pas s...

Page 50: ...switch the SWD connections between PSoC 4100S Plus or EZ BLE Module as shown in Figure A 21 Figure A 21 DPDT Switch SW4 to Select between PSoC 4100S Plus and EZ BLE A 3 PSoC 4100S Plus Prototyping Ki...

Page 51: ...Kit Using MiniProg3 KitProg2 The target board provides a provision to program the PSoC 4100S Plus device using MiniProg3 or an external KitProg2 via the 5 pin SWD header To do this connect wires or a...

Page 52: ...7 Updated Kit Contents on page 8 Updated Figure 1 1 Updated PSoC Creator on page 9 Updated PSoC Creator Code Examples on page 10 Updated Figure 1 4 Updated Software Installation chapter on page 16 Upd...

Page 53: ...ure 4 9 D 5980437 12 05 2017 NMIT Updated Introduction chapter on page 7 Updated Technical Support on page 13 Replaced Ext 2 with Ext 3 Updated Kit Operation chapter on page 20 Updated Theory of Opera...

Reviews: