background image

Copyrights

CY8CKIT-149 PSoC® 4100S Plus Prototyping Kit Guide, Doc. #: 002-20729 Rev. *E

2

Copyrights

© Cypress Semiconductor Corporation, 2017. 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.  Cypress  reserves  all  rights  under  such  laws  and  treaties  and  does  not,  except  as  specifically
stated in this paragraph, grant any license under its patents, copyrights, trademarks, or other intellectual property rights. If the
Software  is  not  accompanied  by  a  license  agreement  and  you  do  not  otherwise  have  a  written  agreement  with  Cypress
governing  the  use  of  the  Software,  then  Cypress  hereby  grants  you  a  personal,  non-exclusive,  nontransferable  license
(without the right to sublicense) (1) under its copyright rights in the Software (a) for Software provided in source code form, to
modify and reproduce the Software solely for use with Cypress hardware products, only internally within your organization,
and (b) to distribute the Software in binary code form externally to end users (either directly or indirectly through resellers and
distributors),  solely  for  use  on  Cypress  hardware  product  units,  and  (2)  under  those  claims  of  Cypress’s  patents  that  are
infringed by the Software (as provided by Cypress, unmodified) to make, use, distribute, and import the Software solely for
use with Cypress hardware products. Any other use, reproduction, modification, translation, or compilation of the Software is
prohibited.
TO THE EXTENT PERMITTED BY APPLICABLE LAW, CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, WITH REGARD TO THIS DOCUMENT OR ANY SOFTWARE OR ACCOMPANYING HARDWARE, INCLUDING,
BUT  NOT  LIMITED  TO,  THE  IMPLIED  WARRANTIES  OF  MERCHANTABILITY  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 liability arising out of the application or use of any product or circuit described in
this document.  Any information provided in this document, including any sample design information or programming code, is
provided only for reference purposes.  It is the responsibility of the user of this document to properly design, program, and test
the functionality and safety of any application made of this information and any resulting product. Cypress products are not
designed,  intended,  or  authorized  for  use  as  critical  components  in  systems  designed  or  intended  for  the  operation  of
weapons,  weapons  systems,  nuclear  installations,  life-support  devices  or  systems,  other  medical  devices  or  systems
(including resuscitation equipment and surgical implants), pollution control or hazardous substances management, or other
uses where the failure of the device or system could cause personal injury, death, or property damage (“Unintended Uses”).
A critical component is any component of a device or system whose failure to perform can be reasonably expected to cause
the failure of the device or system, or to affect its safety or effectiveness.  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.  You shall indemnify and hold Cypress harmless from and against all claims, costs, damages, and other
liabilities, including claims for personal injury or death, arising from or related to any Unintended Uses of Cypress products.
Cypress, the Cypress logo, Spansion, the Spansion logo, and combinations thereof, WICED, PSoC, CapSense, EZ-USB, 
F-RAM, and Traveo are trademarks or registered trademarks of Cypress in the United States and other countries. For a more
complete list of Cypress trademarks, visit cypress.com. Other names and brands may be claimed as property of their respec-
tive owners. 

Содержание PSoC 4100S Plus

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: