background image

CY8CKIT-042-BLE-A Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 002-11468 Rev. *A

24

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 Don-
gle if the driver installation is not complete or the driver is not found. In this situation, as a response
to the suspend command from the operating system, the KitProg will shut down the onboard LDO to
remain  within  the  USB  suspend  current  requirement.  Due  to  this,  the  BLE  Pioneer  Kit  will  not  be
powered and will not be functional.

To prevent this, do either of the following:

Install the kit software on the Windows 8.1 or Windows 10 operating system before using the BLE 
Pioneer Kit.

Disable the USB selective suspend setting for the BLE Pioneer Kit from Power Options on Win-
dows 8.1, by following these steps:

a. From 

Control Panel

, go to 

Power Options

.

b. Click 

Change Plan

 

Settings

 corresponding to your power plan.

c. Click 

Change Advanced Power Settings

.

d. Under Advanced settings, expand

 USB Settings

 > 

USB selective suspend setting

.

e. Select the 

Disabled

 option for 

Plugged in

 and

 On battery

 operation.

f. Click 

OK

.

Summary of Contents for CY8CKIT-042-BLE

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

Page 2: ...HE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 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 provi...

Page 3: ...s 1 9 2 Software Installation 21 2 1 Before You Begin 21 2 2 Install Software 21 2 3 Windows 8 1 and Windows 10 USB Selective Suspend Setting 24 3 Kit Operation 25 3 1 Theory of Operation 25 3 2 KitProg 27 3 3 BLE Pioneer Kit USB Connection 27 3 4 Placing Modules on Baseboard 28 3 5 Programming and Debugging BLE Device 29 3 5 1 Programming using PSoC Creator 29 3 5 2 Debugging using PSoC Creator 3...

Page 4: ... 4 7 Direct Test Mode DTM 85 4 7 1 Project Description 85 4 7 2 Hardware Connection 87 4 7 3 Verify Output 88 5 Hardware 89 5 1 BLE Pioneer Baseboard 89 5 1 1 PSoC 5LP 89 5 1 2 Power System 89 5 1 3 Programming Interface 96 5 1 4 Expansion Connectors 96 5 1 5 USB Mini B Connector 99 5 1 6 CapSense Circuit 100 5 1 7 BLE Pioneer Baseboard LEDs 101 5 1 8 Push Buttons 103 5 1 9 Cypress Ferroelectric R...

Page 5: ...1 2 Write Read Operation 117 A Appendix 118 A 1 Bill of Materials BOM 118 A 2 KitProg Status LED States 127 A 3 Adding BLE Module Compatible Headers on Your Baseboard 128 A 4 Programming BLE Modules via MiniProg3 129 A 5 BLE Modules and BLE Dongles Compatible with the BLE Pioneer Kit 130 A 6 Migrating Projects Across Different Pioneer Series Kits 136 Revision History 142 ...

Page 6: ... attached to the chassis ground any unpainted metal surface on the board when handling parts Handling Boards CY8CKIT 042 BLE A boards are 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 if available Do not slide the board over any surface CY8CKIT 042 BLE A boards contain ESD sensitive devic...

Page 7: ...terminals aligned correctly Do not place the battery next to metallic objects such as keys and coins Never throw the battery into fire Do not open up the battery Do not short the battery Do not subject the battery to high temperatures or high humidity Store the battery in a dry place Do not recharge a battery unless it is marked rechargeable Battery Disposal Batteries can be safely disposed with n...

Page 8: ......

Page 9: ...Uncontrolled environment ...

Page 10: ...B UART I2 C bridge functionality block KitProg a coin cell battery holder and a Cypress F RAM The BLE Pioneer Kit supports 1 9 V 3 V 3 3 V or 5 V as operating voltages The BLE Pioneer Kit supports two devices PSoC 4 BLE is a 32 bit 48 MHz ARM Cortex M0 BLE solution with CapSense 12 bit analog front end 1x SAR ADC 4x low power opamps 2x low power comparators and 2x current DACs 4x TCPWM1 2x SCBs2 4...

Page 11: ...aded 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 Kit Contents If any part of the BLE Pioneer Kit is missing contact your nearest Cypress sales office for help www cypress com go s...

Page 12: ...ense 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 USB connector J13 14 Power LED and Status LED 15 System power supply jumper J16 LDO 1 9 V 5 V 16 BLE power supply jumper c...

Page 13: ... 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 Figure 1 4 BLE Dongle Markup 32 768 kHz crystal 32 768 kHz crystal ...

Page 14: ...ents 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 Explore the library of 100 Components 5 Review Component datasheets Figure 1 5 PSoC Creator Features PSoC Creator also enables you to tap into an entire tool ecosystem with integrated compiler chains and production pro...

Page 15: ...on page 17 In the Find Example Project dialog shown in Figure 1 7 you have several options Filter for examples based on architecture or device family that is PSoC 3 PSoC 4 or PSoC 5LP project name or keyword Select from the menu of examples offered based on the Filter Options Review the example project s description on the Documentation tab Review the code from the Sample Code tab You can copy the...

Page 16: ...dystone are intermediatory level examples that will help to design a system around the kit Refer to the 4 2 CapSense Slider and LED and later for details The CySmart Dongle code example is an advanced level example that will demonstrate a complete solution around the kit Refer to 4 6 BLE Dongle and LED Control for details 1 3 3 PSoC Creator Help Visit the PSoC Creator home page to download the lat...

Page 17: ...d debugging The Example Projects chapter on page 37 describes multiple PSoC 4 BLE and PRoC BLE code examples that will help you understand how to create your own BLE application using the BLE Component and device The Hardware chapter on page 89 details the hardware content of the BLE Pioneer Kit and BLE Dongle and the hardware operation The Advanced Topics chapter on page 116 explains the function...

Page 18: ... BLE Pioneer Kit CY8CKIT 049 is a very low cost prototyping platform for PSoC 4100 4200 families The MiniProg3 kit provides an interface for flash programming and debug CY5672 PRoC BLE Remote Control Reference Design Kit provides a production ready imple mentation of a Bluetooth Low Energy remote control CY5682 PRoC BLE Touch Mouse Reference Design Kit provides a production ready imple mentation o...

Page 19: ...C cd icc Italics Displays 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 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...

Page 20: ...hysical layer PrISM Precise Illumination Signal Modulation PRoC Programmable Radio on Chip PSM protocol service multiplexer PSoC Programmable System on Chip PWM pulse width modulation QFN quad flat no lead package RDK reference design kit RGB red green blue SAR successive approximation register SIG special interest group SMA SubMiniature version A SPI serial peripheral interface SWD serial wire de...

Page 21: ...CY8CKIT 042 BLE A Bluetooth Low Energy BLE Pioneer Kit Guide Doc 002 11468 Rev A 21 Introduction ...

Page 22: ...cts you to download and install them from the Internet b CY8CKIT 042 BLE A Kit Only Package This executable file installs only the BLE Pioneer Kit contents which include code examples hardware files and user documents This package can be used if all the software prerequisites listed in step 5 are installed on your computer c CY8CKIT 042 BLE A DVD ISO This file is a complete package stored in a DVD...

Page 23: ...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 The following software packages are required Note For the Kit Only Package download and install the following prerequisites a PSoC Creator 3 3 or later Download the latest version from www cypress com psoccreator b PSoC Programmer 3 24 or later This is instal...

Page 24: ...042 BLE A kit installation 10 Enter your contact information or select the Continue Without Contact Information check box Click Finish to complete the CY8CKIT 042 BLE A kit installation 11 After the installation is complete the kit contents are available at the following location Install_Directory CY8CKIT 042 BLE A Kit Default location Windows 7 64 bit C Program Files x86 Cypress CY8CKIT 042 BLE A...

Page 25: ...t down the onboard LDO to remain within the USB suspend current requirement Due to this the BLE Pioneer Kit will not be powered and will not be functional To prevent this do either of the following Install the kit software on the Windows 8 1 or Windows 10 operating system before using the BLE Pioneer Kit Disable the USB selective suspend setting for the BLE Pioneer Kit from Power Options on Win do...

Reviews: