CY8CKIT-042-BLE-A Bluetooth® Low Energy (BLE) Pioneer Kit Guide Doc. # 002-11468 Rev. *A Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): +1.408.943.2600 www.cypress.
Copyrights Copyrights © Cypress Semiconductor Corporation, 2016. 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.
Contents Safety Information 1. Introduction 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 3.6 3.7 3.8 3.9 25 Theory of Operation ...................................................................................................25 KitProg ..................................................................................................................... ..27 BLE Pioneer Kit USB Connection ..............................................................................27 Placing Modules on Baseboard .................
Contents 4.3 4.4 4.5 4.6 4.7 4.2.3 Flow Chart......................................................................................................45 4.2.4 Verify Output ..................................................................................................46 CapSense Proximity ..................................................................................................54 4.3.1 Project Description .........................................................................................
Contents 6. Advanced Topics 6.1 Using FM24V10 F-RAM...........................................................................................116 6.1.1 Address Selection ........................................................................................116 6.1.2 Write/Read Operation ..................................................................................117 A. Appendix A.1 A.2 A.3 A.4 A.5 A.6 116 118 Bill of Materials (BOM) ...............................................................
Safety Information The CY8CKIT-042-BLE-A Bluetooth® Low Energy (BLE) Pioneer Kit is intended for development purposes only. Users are advised to test and evaluate this kit in an RF development environment. This kit is not a finished product and when assembled may not be resold or otherwise marketed unless all required authorizations are first obtained. Contact support@cypress.com for details. CY8CKIT-042-BLE-A boards contain ESD-sensitive devices.
Battery Care and Use Use the correct size and type of battery specified in this guide. Keep battery contact surfaces and battery compartment contacts clean by rubbing them with a clean pencil eraser or a rough cloth each time you replace batteries. Remove the battery from a device when it is not expected to be in use for several months. Make sure that you insert the battery into your device properly, with the + (plus) and – (minus) terminals aligned correctly.
Uncontrolled environment.
1. Introduction Thank you for your interest in the CY8CKIT-042-BLE-A Bluetooth® Low Energy (BLE) Pioneer Kit. The BLE Pioneer Kit enables customers to evaluate and develop BLE projects using the PSoC® 4 BLE and PRoC™ BLE (Programmable Radio-on-Chip) devices. Bluetooth SMART™ or Bluetooth Low Energy (BLE) is a full-featured, layered, communication protocol that includes a 2.4-GHz radio, a link layer, and an application layer.
Introduction 1.1 Kit Contents The BLE Pioneer Kit contains the following items (see Figure 1-1): BLE Pioneer Baseboard preloaded with the CY8CKIT-143A PSoC 4 BLE 256KB Module CY5676A PRoC BLE 256KB Module CY5677 CySmart BLE 4.2 USB Dongle (BLE Dongle) Quick start guide USB Standard-A to Mini-B cable Four jumper wires (4 inch) and two proximity sensor wires (5 inch) Coin cell (3-V CR2032) Figure 1-1.
Introduction 1.2 BLE Pioneer Baseboard Details The BLE Pioneer Baseboard consists of the blocks shown in Figure 1-2. 1. RGB LED 2. BLE device reset button 3. CapSense proximity header 4. User button 5. CapSense slider 6. Arduino-compatible I/O headers (J2/J3/J4) 7. Arduino-compatible power header (J1) 8. Digilent Pmod-compatible I/O header (J5) 9. Cypress F-RAM 1 Mb (FM24V10-G) 10.PSoC 5LP I/O header (J8) 11. PSoC 5LP programmer and debugger (CY8C5868LTI-LP039) 12.Coin cell holder (bottom side) 13.
Introduction Figure 1-3 shows a markup of the onboard components of the PSoC 4 BLE module (in red) and the PRoC BLE module (in black). See BLE Modules and BLE Dongles Compatible with the BLE Pioneer Kit on page 130 for more details. Figure 1-4 shows the BLE Dongle board blocks. Figure 1-3. BLE Module Markup 32.768-kHz crystal 32.768-kHz crystal Figure 1-4. BLE Dongle Markup CY8CKIT-042-BLE-A Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 002-11468 Rev.
Introduction 1.3 PSoC Creator PSoC Creator™ is a state-of-the-art, easy-to-use integrated design environment (IDE). It introduces revolutionary hardware and software co-design, powered by a library of pre-verified and precharacterized PSoC Components. With PSoC Creator, you can: 1. Drag and drop Components to build your hardware system design in the main design workspace 2. Codesign your application firmware with the PSoC hardware 3. Configure Components using configuration tools 4.
Introduction 1.3.1 PSoC Creator Code Examples PSoC Creator includes a large number of code examples. These examples are available from the PSoC Creator Start Page, as Figure 1-6 shows. Code examples can speed up your design process by starting you off with a complete design, instead of a blank page. The code examples also show how PSoC Creator Components can be used for various applications. Code examples and documentation are included, as shown in Figure 1-7 on page 17.
Introduction Figure 1-7. Code Example Projects with Sample Code 1.3.2 Kit Code Examples This kit includes a number of code examples, which can be used to quickly evaluate the functionality of this kit. These examples are described in the Example Projects chapter on page 37. If you are a beginner in BLE, refer to the PSoC Creator code examples such as BLE_FindMe and BLE_Device_Information_Service as described in 1.3.1 PSoC Creator Code Examples.
Introduction Component datasheets: Right-click a Component and select Open Datasheet, as shown in Figure 1-8 on page 18. Visit the PSoC 4 Component Datasheets page for a list of all PSoC 4 Component datasheets. Document Manager: PSoC Creator provides a document manager to help you to easily find and review document resources. To open the document manager, choose the menu item Help > Document Manager. 1.3.4 Component Datasheets Right-click a Component and select Open Datasheet (see Figure 1-8 on page 18).
Introduction Datasheets: Describe and provide electrical specifications for the PSoC 4 device family CapSense Design Guide: Learn how to design capacitive touch-sensing applications with the PSoC 4 family of devices. Application Notes and Code Examples: Cover a broad range of topics, from basic to advanced level. Many of the application notes include code examples. Visit the PSoC 3/4/5 Code Examples webpage for a list of all available PSoC Creator code examples.
Introduction 1.6 Technical Support If you have any questions, our technical support team is happy to assist you. You can create a support request on the Cypress Technical Support page. If you are in the United States, you can talk to our technical support team by calling our toll-free number: +1-800-541-4736. Select option 2 at the prompt. You can also use the following support resources if you need quick assistance. Self-help. Local Sales Office Locations. 1.7 Documentation Conventions Table 1-2.
Introduction Table 1-3.
Introduction CY8CKIT-042-BLE-A Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 002-11468 Rev.
2. Software Installation This chapter describes the steps to install the software tools and packages on a computer for using the BLE Pioneer Kit. This includes the IDE in which the projects will be built and used for programming. 2.1 Before You Begin All Cypress software installations require administrator privileges. Ensure you have the required privileges on the system for successful installation. Before you install the kit software, close any other Cypress software that is currently running. 2.
Software Installation 3. Click Install CY8CKIT-042-BLE-A Kit to start the installation, as shown in Figure 2-1. Figure 2-1. Installer Screen 4. Select the folder in which you want to install the CY8CKIT-042-BLE-A kit-related files. Choose the directory and click Next. 5. When you click Next, the CY8CKIT-042-BLE-A Kit installer automatically installs the required software, if it is not present on your computer.
Software Installation 6. Choose the Typical/Custom/Complete installation type in the Product Installation Overview window, as shown in Figure 2-2. Click Next after you select the installation type. Figure 2-2. Product Installation Overview 7. Read the license agreement and select I accept the terms in the license agreement to continue with installation. Click Next. 8. When the installation begins, a list of packages appears on the installation page.
Software Installation 2.3 Windows 8.1 and Windows 10 USB Selective Suspend Setting The Windows 8.1 and Windows 10 operating sy stems issue a suspend command to a connected USB device if there is no activity on its USB bus. This may happen to the BLE Pioneer Kit/BLE Dongle if the driver installation is not complete or the driver is not found.