background image

CY8CPROTO-063-BLE

PSoC

®

 6 BLE Prototyping Board Guide

Doc. # 002-24993 Rev. **

Cypress Semiconductor

198 Champion Court

San Jose, CA 95134-1709

www.cypress.com

Содержание PSoC CY8CPROTO-063-BLE

Страница 1: ...CY8CPROTO 063 BLE PSoC 6 BLE Prototyping Board Guide Doc 002 24993 Rev Cypress Semiconductor 198 Champion Court San Jose CA 95134 1709 www cypress com ...

Страница 2: ...ss 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 from published specifications 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 produ...

Страница 3: ...t 13 1 6 Documentation Conventions 13 1 7 Acronyms 13 2 Software Installation 15 2 1 Before You Begin 15 2 2 Install Software 15 2 3 Uninstall Software 16 3 Kit Operation 17 3 1 Theory of Operation 17 3 2 Programming and Debugging the Target PSoC 6 MCU 19 3 2 1 Programming using PSoC Creator 19 3 2 2 Debugging using PSoC Creator 20 3 2 3 Programming using PSoC Programmer 20 3 3 USB UART Bridge 21 ...

Страница 4: ...A 2 Hardware Details 28 A 2 1 Target Board 28 A 2 2 KitProg2 Board 29 A 2 3 Power Supply System 30 A 2 4 Board Separation Snapping 31 A 2 5 Header Connections 32 A 2 6 PSoC 6 BLE Prototyping Board features 36 A 3 Programming PSoC 6 BLE Prototyping Board using MiniProg3 KitProg2 40 Revision History 41 ...

Страница 5: ...operation from the factory default settings may affect its performance and cause interference with other apparatus in the immediate vicinity If such interference is detected suitable mitigating measures should be taken The CY8CPROTO 063 BLE PSoC 6 BLE Prototyping Board contains electrostatic discharge ESD sensitive devices Electrostatic charges readily accumulate on the human body and any equipmen...

Страница 6: ...t 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 Boards The CY8CPROTO 063 BLE PSoC 6 BLE Prototyping Board is sensitive to ESD Hold the board only by its edges After removing the board from its box place it on a grounded static free surface Use a conductive foam pad...

Страница 7: ...timing peripherals and a capacitive touch sensing system with best in class performance The CY8CPROTO 063 BLE PSoC BLE Prototyping Board offers an open footprint breakout board to maximize the end utility of the PSoC 6 MCU with Bluetooth Low Energy Connectivity PSoC 63 Line device This kit provides a low cost alternative to device samples while providing a platform to easily develop and integrate ...

Страница 8: ...BLE PSoC 6 BLE Prototyping Kit contains PSoC 6 BLE Prototyping Board which contains CYBLE 416045 02 EZ BLE Creator Module USB 2 0 Type A to Micro B Cable and Quick Start Guide Figure 1 1 CY8CPROTO 063 BLE PSoC 6 Prototyping Board Top View Figure 1 2 CY8CPROTO 063 BLE PSoC 6 Prototyping Board Bottom View ...

Страница 9: ...uild 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 library of 100 Components 5 Review Component datasheets Figure 1 3 PSoC Creator Features PSoC Creator also enables you to tap into an entire tool ecosystem with integrated compiler chains and programmers for PSoC d...

Страница 10: ...ations From the Find Code Example dialog shown in Figure 1 5 you can Filter for examples based on architecture or device family that is PSoC 3 PSoC 4 PSoC 5LP PSoC 63 or keyword Select from the list of examples offered based on the Filter Options Review the code example s description on the Documentation tab Review the code from the Sample Code tab You can copy the code from this window and paste ...

Страница 11: ...xample These examples demon strate how to configure and use PSoC Creator Components To access examples related to a specific Component right click the Component in the schematic or in the Component Catalog Select Find Code Example 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 ...

Страница 12: ...r PSoC 6 MCU Overview PSoC Portfolio and PSoC Roadmap Product Selectors PSoC 6 MCU Product Selector In addition PSoC Creator includes a device selection tool Datasheets Describe and provide electrical specifications for the PSoC 61 PSoC 62 PSoC 63 devices and CYBLE 416045 02 EZ BLE Creator Module CapSense Design Guide Learn how to design capacitive touch sensing applications with the PSoC 6 MCU an...

Страница 13: ... Table 1 1 Document Conventions for Guides Convention Usage Courier New Displays source code C cd icc Italics Displays file names and reference documentation Read about the sourcefile hex file in the PSoC Creator User Guide File 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 Dis...

Страница 14: ...sed Article LED Light Emitting Diode PLL Phase Locked Loop PSoC Programmable System on Chip SAR Successive Approximation Register SCB Serial Communication Block SRAM Serial Random Access Memory SWD Serial Wire Debug TCPWM Timer Counter Pulse Width Modulator UART Universal Asynchronous Receiver Transmitter USB Universal Serial Bus WCO Watch Crystal Oscillator Table 1 2 Acronyms Used in this Documen...

Страница 15: ...eral Driver Library is available for download at www cypress com pdl c PSoC Programmer 3 27 3 or later This software is available for download at www cypress com programmer d CySmart 1 3 or later This software is available for download at www cypress com cysmart 2 Choose the Typical Custom or Complete installation type in the Product Installation Overview window Click Next after selecting the inst...

Страница 16: ...tall 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 Programs and Features for Windows 7 or Add Remove Programs for Windows XP and select Uninstall Change ...

Страница 17: ...nsion headers except the pins used for the WCO crystal Although this is a subset of the actual PSoC 6 MCU it is sufficient to evaluate most of the features User LEDs The onboard LEDs LED3 and LED4 can be used to display outputs from the PSoC 6 BLE device This includes modulating the brightness of the LED to notify different states of the device You may interface other LEDs as well by connecting to...

Страница 18: ... programming and debugging PSoC 5LP I O Headers Using these headers you can evaluate the PSoC 5LP CY8C5868LTI LP039 device The PSoC 5LP device is used to implement the KitProg2 functionality by default Current Measurement Jumper Using this jumper you can measure the current consumed by the EZ BLE Creator Module This jumper is not populated by default To use this jumper you must remove the zero ohm...

Страница 19: ...Board to your PC for the first time the kit drivers will get installed automatically The amber status LED LED2 will turn ON to indicate successful enumeration If the amber status LED LED2 is OFF see the KitProg2 User Guide for details on the KitProg2 status and troubleshooting instructions Figure 3 2 Connecting the CY8CPROTO 063 BLE PSoC 6 BLE Prototyping Board to a PC 2 Open the desired project i...

Страница 20: ...PSoC Creator on page 19 followed by 1 Click the Debug icon or press F5 Alternatively you can use the option Debug Debug 2 Once PSoC Creator opens in Debug mode use the buttons on the toolbar to debug your application For more details on using the debug features see the Debugging using PSoC Programmer section of the KitProg2 User Guide 3 2 3 Programming using PSoC Programmer PSoC Programmer 3 27 3 ...

Страница 21: ...utility Bridge Control Panel BCP The I2C lines on target EZ BLE Creator Module are P6 5 SDA and P6 4 SCL which are hardwired on the board to the I2C lines of KitProg2 The USB I2C bridge supports I2C speeds of 50 kHz 100 kHz 400 kHz and 1 MHz For more details on the KitProg2 USB I2C func tionality see the USB I2C Bridge section in the KitProg2 User Guide Figure 3 6 I2C Connection between KitProg2 a...

Страница 22: ...tor please make sure that you install the EZ BLE module device support by following the instructions provided in EZ BLE Creator Module Support page 4 1 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 F...

Страница 23: ... 2 Figure 4 2 Selecting PSoC 63 Device in Find Code Example Window 4 You can select the CE217637_BLE_Find_Me project and see how to use it with the CY8CPROTO 063 BLE Prototyping Board 5 Select the CE217637_BLE_Find_Me project and click Create Project as shown in Figure 4 3 Save the workspace to a desired location Figure 4 3 CE217637_BLE_Find_Me Code Example ...

Страница 24: ...e Examples 6 Open CE217637 pdf from the Workspace Explorer to learn more about the code example and its configuration See Figure 4 4 Figure 4 4 Project Datasheet CE217637 7 Right click the project name and select Device Selector Figure 4 5 Project Configuration ...

Страница 25: ...own see Figure 4 7 Because this code example was originally created for a different board you will need to reassign the LED pins to be compatible with the CY8CPROTO 063 BLE Prototyping Board Make the following assign ments a Advertising_LED P7 1 b Alert_LED P6 3 c Disconnect_LED P9 4 This one is not used for this kit since there are only 2 LEDs It can be assigned to any unused pin Figure 4 7 Pin S...

Страница 26: ... CY8C5868LTI LP039 KitProg2 I O headers J6 and J7 SWD connection headers J4 and J5 USB 2 0 Micro B connector J8 Power LED LED1 amber KitProg2 Status LED LED2 amber User LED LED3 red User LED LED4 green ECO Crystal footprint WCO Crystal 32 768 kHz One Push Button SW2 User One Push Button SW1 Reset One Push Button SW3 KitProg2 Mode Current Measurement Jumper J3 foot print only shorted by the zero oh...

Страница 27: ...PSoC 6 BLE Prototyping Board Guide Doc 002 24993 Rev 27 Appendix Figure A 1 PSoC 6 BLE Prototyping Board Pin Details ...

Страница 28: ... B 9 97 5 97 5 9 83 9 83 9 1 9 B 9 97 5 9 83 3 B9 9 1 97 5 3 B9 97 5 9 83 8 57B5 8 57B7 B6 B6 6 2 6 5 6 7 6 2 6 5 6 7 6 7LWOH 6L H RFXPHQW 1XPEHU 5HY DWH 6KHHW RI 35 66 6 0 21 8 725 3DJH 7LWOH UDZQ 35 66 6 0 21 8 725 03 21 2857 6 1 26 SSURYHG 67 03 36R 6WDPS RDUG ULGD XJXVW 36R 0RGXOH 7 5 5 6 7LWOH 6L H RFXPHQW 1XPEHU 5HY DWH 6KHHW RI 35 66 6 0 21 8 725 3DJH 7LWOH UDZQ 35 66 6 0 21 8 725 03 21 285...

Страница 29: ...QW 1XPEHU 5HY W 6K W I 35 66 6 0 21 8 725 3DJH 7LWOH UDZQ 35 66 6 0 21 8 725 03 21 2857 6 1 26 SSURYHG 67 03 36R 6WDPS RDUG LG W LW3URJ 7 5 5 6 7LWOH 6L H RFXPHQW 1XPEHU 5HY W 6K W I 35 66 6 0 21 8 725 3DJH 7LWOH UDZQ 35 66 6 0 21 8 725 03 21 2857 6 1 26 SSURYHG 67 03 36R 6WDPS RDUG LG W LW3URJ 7 5 5 6 7LWOH 6L H RFXPHQW 1XPEHU 5HY W 6K W I 35 66 6 0 21 8 725 3DJH 7LWOH UDZQ 35 66 6 0 21 8 725 03 ...

Страница 30: ... at the target voltage P6 VDD on connector J1 pin 20 The other alternative is to load the optional components for the PSoC 6 MCU regulator and apply a voltage at the VIN connector J2 pin 20 See schematic below for the PSoC 6 MCU regulator Figure A 5 Optional PSoC 6 MCU Regulator C22 4 7uF 10V C24 4 7uF 10V Note If R9 is loaded output will be 2 5V If R41 is loaded output will be 1 8V R8 383K 1 VBUS...

Страница 31: ...he two boards apart at the built in perforated edge between J4 and J5 The easiest method of separating the two boards is to place the kit on the edge of a table where the edge of the table is directly below the perforated edge and the smaller KitProg2 board is off the table edge Press gently on the KitProg2 board and snap the two boards apart If any material is removed from the edge of the boards ...

Страница 32: ...arget PSoC 6 MCU section contains two single inline headers J1 and J2 These 1 21 pin headers have 0 1 inch spacing and include all of the GPIOs available on the EZ BLE Creator Module Power pins reference input and reset signal are also available on these connectors See Figure A 7 for details The target headers J1 and J2 are partially compatible with mikroBUS It supports only 3 3 V oper ation with ...

Страница 33: ...06 P0 5 GPIO J2_07 P10 3 GPIO J1_07 P0 4 GPIO User SW2 J2_08 P10 2 GPIO J1_08 P7 7 GPIO CMOD J2_09 P10 1 GPIO J1_09 P7 2 GPIO J2_10 P10 0 GPIO J1_10 P7 1 GPIO LED4 J2_11 P5 6 GPIO J1_11 P6 3 GPIO LED3 J2_12 P5 5 GPIO J1_12 P6 2 GPIO J2_13 P5 4 GPIO J1_13 P9 6 GPIO J2_14 P5 3 GPIO J1_14 P9 5 GPIO J2_15 P5 2 GPIO J1_15 P9 4 GPIO J2_16 P5 0 GPIO UART_RX J1_16 P9 3 GPIO SPI CS J2_17 P5 1 GPIO UART_TX ...

Страница 34: ...the target PSoC 6 MCU in the EZ BLE Creator Module power ground and reset Figure A 8 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 and PSoC 6 family of devices via J4 Table A 2 Pin Details of J4 and J5 Headers KitProg2 Header J4 PSoC 6 MCU Header J5 Pin Signal Description Pin Signal Description J4_1 VTARG Power J5_1 VTARG...

Страница 35: ...t can be used when the two boards are separated The J6 and J7 headers support 100 mil spacing so you can solder connectors to connect the Kit Prog2 board to a development breadboard Figure A 9 J6 and J7 Headers Table A 3 Pin Details of J6 and J7 Headers PSoC 5LP KitProg2 Header J6 PSoC 5LP KitProg2 Header J7 Pin Signal Description Pin Signal Description J6_01 P5LP_VDD Power J7_01 GND Ground J6_02 ...

Страница 36: ...right out of the box Two user LEDs connected to GPIO pins for feedback User switch for user input Jumper for current measurement when R28 is removed Onboard BLE Antenna Onboard reset switch Figure A 10 PSoC 6 BLE Prototyping Board Features SW2 User Switch P0 4 SW1 Reset Switch Red User LED P6 3 Green User LED P7 1 J3 Current Measurement R28 Zero Ohm Resistor PSoC 6 EZ BLE Module BLE Antenna ...

Страница 37: ...ser Button on the Board A 2 6 2 User LEDs There are two user LEDs on the board connected to pins P6 3 red and P7 1 green to allow the user to indicate an event or mode The drive is active LOW so the LED will be ON when the GPIO is driven to a 0 and OFF when driven to a 1 Figure A 12 User LEDs A 2 6 3 Reset Button When the Reset button SW1 is pressed the XRES line of the PSoC 6 MCU is pulled to gro...

Страница 38: ...2 6 5 System Crystals Two different crystal oscillators inputs are available on the board The WCO kHz crystal 32 768 kHz is populated and is used for BLE timing Pads for the ECO MHz crystal and load crystals are on the board so that you can easily select the crystal of your choice The ECO is optional and only required when the internal clock must be more accurate than the IMO Internal Main Oscilla...

Страница 39: ... performance BLE wireless solution See the CYBLE 416045 02 EZ BLE Creator Module web page The module is based on CY8C6347BZI BLD53 but gives access only to a sub set of the I O pins and functionality Most PSoC 63 code examples can be adapted to run on this module A 2 6 7 KitProg2 Switch and LEDs The KitProg2 board contains a push button connected to P1 2 of PSoC 5LP When this button is pressed it ...

Страница 40: ...o J5 The PSoC 6 BLE Prototyping Board supports both power cycle and reset programming modes Figure A 15 Connecting the CY8CPROTO 063 BLE to a MiniProg3 Note CY8CKIT 002 MiniProg3 is not part of the PSoC 6 BLE Prototyping Board contents and can be purchased from the Cypress Online Store Caution MiniProg3 can provide up to 5 V at VTARG which will result in permanent damage of the device Please make ...

Страница 41: ...Rev 41 Revision History Document Revision History Document Title CY8CPROTO 063 BLE PSoC 6 BLE Prototyping Board Guide Document Number 002 24993 Revision ECN Number Issue Date Origin of Change Description of Change 6372164 11 02 2018 TARE New kit guide ...

Отзывы: