Page 1
CY8CKIT-042-BLE ® Bluetooth Low Energy (BLE) Pioneer Kit Guide Doc. # 001-93731 Rev. *C 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
Cypress Source Code and derivative works for the sole purpose of creating custom software and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit as specified in the applicable agreement.
3.5.2 Debugging using PSoC Creator..............32 3.5.3 Programming using PSoC Programmer............32 Updating BLE Dongle for CySmart Central Emulation Tool ........35 USB-UART Bridge .....................37 USB-I2C Bridge ......................38 Updating the KitProg Firmware..................39 CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 4
5.2.4 Antenna Matching Network................106 5.2.5 BLE Passives....................107 5.2.6 Test Points ....................108 BLE Dongle Board....................108 5.3.1 Power System....................109 5.3.2 USB Type-A Plug ..................109 5.3.3 User LED ..................... 110 CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 5
Bill of Materials (BOM) .....................133 KitProg Status LED States..................143 Adding BLE module compatible headers on your own baseboard ......144 Migrating projects across different Pioneer series kits ..........145 Revision History CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
If such interference is detected, suitable mitigating measures should be taken. The CY8CKIT-042-BLE as shipped from the factory has been verified to meet with requirements of CE as a Class A product.
Page 8
Handling Boards CY8CKIT-042-BLE 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.
Page 9
The kit contains devices that transmit and receive radio signals in accordance with the spectrum regulations for the 2.4-GHz unlicensed frequency range. Cypress Semiconductor Corporation has obtained regulatory approvals for this kit to be used in specific countries. These countries include United States (FCC Part 15), Canada (IC RSS210) and Japan (JRF/TELEC).
Page 10
Dans ce cas, le produit final doit être étiqueté dans un endroit visible par le texte suivant: “Contains Transmitter Module IC 7922A-CY8CKIT142 and 7922A-CY5671” “Contains IC: 7922A-CY8CKIT142 and 7922A-CY5671” CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 11
Japan (TELEC) CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
RGB LED, a push button switch, an onboard programmer/debugger and USB-UART/I2C bridge functionality block (KitProg), a coin cell battery holder and a Cypress F-RAM. The BLE Pioneer Kit supports 1.9 V, 3.3 V or 5 V as operating voltages.
Coin cell (3V 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/support. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
C bridge, F-RAM, iOS app, and the CySmart Central Emulation Tool. Appendix on page 117 provides schematics, board layouts, KitProg LED status, and the bill ■ of materials (BOM). CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
To open an example project in PSoC Creator, go to File > Example Project (see Figure 1-5) and choose the required example project. Figure 1-5. PSoC Creator Example Projects CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
For assistance, go to our support web page, www.cypress.com/support, or contact our customer support at +1 (800) 541-4736 Ext. 2 (in the USA) or +1 (408) 943-2600 Ext. 2 (International). CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Click the File icon and then click Open. Displays an equation: Times New Roman 2 + 2 = 4 Text in gray boxes Describes cautions or unique functionality of the product. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Quad Flat No-lead (package) Red Green Blue Successive Approximation Register SubMiniature version A Serial Peripheral Interface Serial Wire Debug UART Universal Asynchronous Receiver Transmitter Universal Serial Bus CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
(listed in step 5) are installed on your PC. c. CY8CKIT-042-BLE DVD ISO: This file is a complete package, stored in a DVD-ROM image format, that you can use to create a DVD or extract using an ISO extraction program such as WinZip or WinRAR.
Page 24
Figure 2-1. Figure 2-1. Installer Screen 4. Select the folder in which you want to install the CY8CKIT-042-BLE kit-related files. Choose the directory and click Next. 5. When you click Next, the CY8CKIT-042-BLE 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.
USB bus. This may happen to BLE Pioneer Kit/BLE Dongle if the driver installation is not complete or driver not found. In this situation, as a response to the suspend command from the CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 26
Under Advanced settings, expand USB settings > USB selective suspend setting. c. Select option to Disabled for Plugged in and On battery operation. d. Select OK. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
RGB LED, a five-segment CapSense slider, a proximity header, a user switch, and a reset switch for the PSoC 4 BLE and PRoC BLE devices on the module. The Pioneer board supports three voltage levels: 1.9 V, 3.3 V, and 5 V. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 28
D+ / D- Communication XRES Plug User SW (Push Button) User LED Blue Status LED Power LED Reset SW 10 pin Programming Protection Green header (Push Button) Power Signal CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Note that the two parallel headers J10 and J11 are not equal (24-pin and 20-pin, respectively) and will not allow the module to be inserted in the opposite direction. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Install Software on page 23 for more information. 3.5.1 Programming using PSoC Creator 1. Connect the BLE Pioneer Kit/BLE Dongle to the PC USB port, as shown in Figure 3-7. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 31
[Ctrl] [F5], as shown in Figure 3-9. This will program the device on the BLE Pioneer Kit/ BLE Dongle and it will be ready for use. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
1. Connect the BLE Pioneer Kit or BLE Dongle to PC and open PSoC Programmer from Start > All Programs > Cypress > PSoC Programmer <version> > PSoC Programmer <version>. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 33
3. Go to File > Program to start programing the kit with the selected file. Note: If the hex file does not match the device selected, then PSoC Programmer will throw an error of device mismatch and terminate programming. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 34
4. When the programming is finished successfully, indicated by a PASS message on the status bar, the BLE Pioneer Kit/BLE Dongle is ready for use. Close PSoC Programmer. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
KitProg. To do this, follow these steps: 1. Connect the BLE Dongle to the USB port on the PC. 2. Open PSoC Programmer by going to Start > All Programs > Cypress > PSoC Programmer <version> > PSoC Programmer <version>.
Page 36
Figure 3-15. Update BLE Dongle Firmware with Hex from Web In this scenario, choose the hex file from the respective location and update the BLE Dongle firm- ware with the following steps. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Data entered in the software will be received by PSoC 4 BLE/PRoC BLE on UART_RX ® line. Refer to Advanced section in CY8CKIT-042 PSoC 4 Pioneer Kit User Guide for more details. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
C functionality, select the KitProg\<serial number> in the BCP. On successful connection, the Connected and Powered status box turn green, as shown in Figure 3-18. Figure 3-18. KitProg USB-I C Connected in Bridge Control Panel CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
To update the KitProg, go to the Utilities tab on PSoC Programmer and click Upgrade Firmware, as shown in Figure 3-20. Figure 3-20. Update KitProg from PSoC Programmer CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
1. Launch PSoC Creator from Start > All Programs > Cypress > PSoC Creator 3.1 > PSoC Creator 3.1. 2. On the Start Page, under Examples and Kits section, choose Kits > CY8CKIT-042-BLE. A list of example projects appears, as shown in Figure 4-1.
Page 42
6. Build the example project by choosing Build > Build <Project Name>, as shown in Figure 4-3. A .hex file will be generated. Figure 4-3. Build Project from PSoC Creator CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 43
10.After the device is acquired, it is shown in a structure below the KitProg. Click the Connect but- ton and then OK to exit the window and start programming, as shown in Figure 4-6. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 44
Example Projects Figure 4-6. Connect Device From PSoC Creator and Program Note: As stated previously, the BLE Pioneer Kit supports both Cypress BLE devices: PSoC 4 BLE and PRoC BLE. The description, hardware configurations, and verification method of the Example projects explained in the following sections are valid for both PSoC 4 BLE and PRoC BLE devices.
These properties for the custom service/characteristics are configured in the BLE component under the Profiles tab, as shown in Figure 4-7. Figure 4-7. Attributes Configuration in BLE Component for custom services CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 46
The PSoC 4 BLE project implements RGB color and intensity control using the PRiSM component whereas the PRoC BLE uses the software implementation of the PRiSM mode. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 47
Example Projects Figure 4-8. TopDesign for PSoC_4_BLE_CapSense_Slider_LED Project Figure 4-9. TopDesign for PRoC_BLE_CapSense_Slider_LED Project CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
The pin assignment for this project is in PSoC_4_BLE_CapSense_Slider_LED.cydwr/ PRoC_BLE_CapSense_Slider_LED.cydwr in the Workspace Explorer, as shown in Figure 4-10. Figure 4-10. Pin Selection for CapSense Slider and LED Project CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Received RGB brightness on LED. LED Data? Keep LED ON for set time BLE Connection Still Present? System in Deep Sleep and waiting for User button press CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
1. Connect the BLE Dongle to one of the USB ports on the PC. 2. Start the CySmart Central Emulation Tool on the PC by going to Start > All Programs > Cypress > CySmart <version> > CySmart <version>. You will see a list of BLE Dongles connected to it.
Page 51
Note: If you select No, the project will still work. However, the current consumption will be higher due to faster connection interval. 10.Click Discover All Attributes to find all attributes supported. Figure 4-15. Discover All Attributes CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 52
Figure 4-16. Read CCCD for CapSense Slider Characteristic 12.Modify the Value field of CCCD to '01:00' and click Write Value. This enables the notifications on the CapSense Slider characteristic. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 53
Figure 4-18 see the notification values in the CapSense Slider value field, as shown in Figure 4-19. Figure 4-18. CapSense Slider Figure 4-19. CapSense Slider Notification Received CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 54
15.Locate the RGB LED Control characteristic (UUID 0xCBB1). Click Read Value to read the exist- ing 4-byte onboard RGB LED color information, as shown in Figure 4-21. Figure 4-21. Read RGB LED Control Characteristic Value CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 55
This is because the coin cell provides a lower driving voltage for RGB LEDs. Figure 4-22. Write RGB LED Control Characteristic Value Figure 4-23. RGB LED Control with PSoC 4 BLE Module and PRoC BLE Module CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 56
6. After Bluetooth is enabled, the CySmart mobile application will automatically search for available Peripherals and list them. Select the BLE Slider and LED Peripheral as shown in Figure 4-25. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 57
8. Swipe your finger on the CapSense slider on the BLE Pioneer Kit and see a similar response on the CapSense page in the CySmart application (Figure 4-27). CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 58
LED color. The RGB LED will be on for 3 seconds before switching off. This is done to conserve power. Figure 4-28. RGB LED Control with CySmart mobile application CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
The properties for the custom attributes are configured in the BLE component under the Profiles tab, as shown in Figure 4-29. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 60
A blinking red LED indicates advertising state. Two projects demonstrate this functionality on two different devices: PSoC_4_BLE_CapSense_Proximity works with the PSoC 4 BLE Module. ■ PRoC_BLE_CapSense_Proximity works with the PRoC BLE Module. ■ CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 61
Example Projects Figure 4-30. Top Design for PSoC_4_BLE_CapSense_Proximity Project Figure 4-31. Top Design for PRoC_BLE_CapSense_Proximity Project CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Figure 4-33. Proximity Sensor Connection on BLE Pioneer Kit with PRoC BLE Module assignment this project PSoC_4_BLE_CapSense_Proximity.cydwr/ PRoC_BLE_CapSense_Proximity.cydwr in the Workspace Explorer, as shown in Figure 4-34. Figure 4-34. Pin Selection for CapSense Proximity Project CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Proximity value Notification Changed? enabled? Send the proximity data to Central device BLE connection still exists? System is put in Sleep and waits for User Button press CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
1. Connect the BLE Dongle to one of the USB ports on the PC. 2. Start the CySmart Central Emulation Tool on the PC by going to Start > All Programs > Cypress > CySmart <version> > CySmart <version>. You will see a list of dongles connected to it. If no BLE Dongle is found, click Refresh.
Page 65
Figure 4-39. Update Connection Parameter Option Note: If you select No, the project will still work. However, the current consumption will be higher due to faster connection interval. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 66
Figure 4-41. Figure 4-41. Read CapSense Proximity CCCD 12.Modify the Value field to '01:00' and click Write Value. This enables the notifications on the CapSense Proximity characteristic. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 67
Figure 4-44. Figure 4-43. CapSense Proximity Sensing with PSoC 4 BLE Module Figure 4-44. CapSense Proximity Notification Received CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 68
7. The app will automatically search for available Peripherals and list them. Select the CapSense Proximity Peripheral, as shown in Figure 4-46. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 69
11. To reconnect to the Peripheral, press the user button (SW2) on the BLE Pioneer Kit to restart the advertisement and scan for the device in the CySmart mobile application. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
CySmart PC utility. Reprogram the BLE Dongle with the CySmart firmware according Updating BLE Dongle for CySmart Central Emulation Tool on page 35 to use the CySmart Central Emulation Tool. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Figure 4-51. Pin Selection for BLE IAS Central Example Project Similarly, assignment Dongle Peripheral project BLE_Dongle_Peripheral_IAS.cydwr in the Workspace Explorer as shown in Figure 4-52. Figure 4-52. Pin Selection for BLE IAS Peripheral Example Project CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
4.4.4 Verify Output 1. Connect the BLE Dongle to one of the USB ports on the PC. Figure 4-55. Connect BLE Dongle to USB Port CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 75
4. Power the BLE Pioneer Kit through USB connector J13. 5. In the Workspace Explorer, right-click on the PSoC_4_BLE_Central_IAS project and select Set As Active Project, as shown in Figure 4-57. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 76
9. Press button SW2 on the BLE Pioneer Kit to send the next alert level to the BLE Dongle. The alert level will rotate from No Alert to Mid Alert to High Alert. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
The project uses custom command/event protocol to exchange data between the CySmart Central Emulation Tool and the BLE device via a USB-CDC CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
BLE Dongle. The pin assignment for this project is in BLE_Dongle_CySmart.cydwr in the Workspace Explorer, as shown in Figure 4-60. Figure 4-60. Pin Selection for BLE Dongle Project CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Enable notifications for Capsense slider Update LED USB suspend brightness as per triggered ? slider position Notification occurs with valid position value ? Wait for slider position change notifications CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
BLE protocol stack and does not involve separate application handling. The only task is to start the BLE Component and call the API to process the events. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 81
RS232 port on the tester. The UART pins of the BLE device can be assigned to P0_0 and P0_1 and the header J5 can be used to connect to the RS232 translator. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
If the tester is an external hardware tester (CBT), then connect any of the RS232 voltage translators to header J5 on the BLE Pioneer Kit. The UART pins should be assigned as follows. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
BLE Component. 5. Start the test. The tool will generate the report after the end of the test. This depends on the tes- ter/tool being used. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 84
Example Projects CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
5-V power from onboard USB connector ■ 5-V to 12-V VIN power from Arduino power header (J1) ■ 3-V from CR2032 coin cell ■ CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 86
Schottky diode connected at the output of the LDO to protect against voltage applied at the output terminal of the regulator. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 87
ORing diodes prevent damage to components when the BLE Pioneer Baseboard is powered ■ from different voltage sources at the same time. ESD protection is provided for the USB Mini-B connector. ■ CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 88
3.3-V rail from J1.5, as shown in Figure 5-4. Figure 5-4. Schematics and Board Highlight of MOSFET Protection Circuit for 3.3-V rail from J1.5 R7 ZERO NO LOAD V3.3 PMOS( NTR4171PT1G) PMOS(PMV48XP,215) CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
BLE Pioneer Base- board, as shown in Figure 5-5. Figure 5-5. Schematics and Board Highlight of Current Measurement Jumper HDR2 BLE_VDD ZERO NO LOAD VTARG 0603 ZERO CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 90
When the BLE Pioneer Baseboard is powered through the USB port (J13), remove jumper J15 ■ and connect an ammeter, as shown in Figure 5-6. Figure 5-6. Current Measurement when Powered from USB Port CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 91
BLE Pioneer Baseboard will also include the power consumed by these additional circuits. Connect the positive terminal of the coin cell to pin J2.2 and negative terminal to pin J2.4 using wires. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Note: Take care when powering the Arduino shields via Arduino-compatible power header (J1). The V3.3 pin will output 5 V when the board is powered from USB/VIN and the system power supply jumper (J16) is set to 5 V operation. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 93
Bill of Materials (BOM) on page 133 for the header part number. Figure 5-10. Schematics and Board Highlight of PMod Connector ® Digilent Pmod compatible I/O header (J5) CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Figure 5-12. Schematics and Board Highlight of USB Mini-B Connector NO LOAD TP2 RED VBUS PTC Resettable Fuse VBUS P5LP_DM P5LP_DP USB MINI B 100K 0.01 uF CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Figure 5-13. Schematics and Board Highlight of CapSense Slider and Shield Setting 5.1.6.2 Proximity Header The BLE Pioneer Baseboard contains a header (J14) for CapSense proximity wire connection (see Figure 5-14). CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Figure 5-15. Schematics of Status and Power LED LED2 P5LP3_1 0805 820 ohm Status LED Green Status LED TP1 RED NO LOAD VADJ LED1 0805 560 ohm Power LED CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 98
Hardware Figure 5-16. Schematics and Board Highlight of RGB LED LED3 2.2K 1.5K P2_6 P3_6 BLE_VDD 1.5K P3_7 RGB LED CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
RAM. The protection circuit cuts off the power to the F-RAM when the output of the regulator is greater than 3.6 V. Figure 5-18. Schematics and Board Highlight of F-RAM CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
NO LOAD P0_7 ZERO SWDCLK P0_0 ZERO SPI_MOSI NO LOAD P0_6 ZERO SWDIO ZERO P0_2 SPI_SSEL NO LOAD USB-SPI USB-SWD PSoC 5LP and PSoC 4 BLE/PRoC BLE Connections CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Analog Pins For information on how to add these on your own board refer to Adding BLE module compatible headers on your own baseboard on page 144. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Hardware 5.2.3 Wiggle Antenna Both the modules use the wiggle antenna. Refer to the Antenna Design Guide (AN91445) for details. Figure 5-23. Board Highlight of Wiggle Antenna CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Suppress harmonics to a level below the regulations level in TX mode. ■ Suppress the local oscillator (LO) leakage in RX mode. ■ Figure 5-24. Schematics and Board Highlight of Antenna Matching Network and Antenna CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
BLE Pioneer Baseboard LEDs on page 97 for Schematics of Power and Status LED. Push Buttons on page 99 for Schematics of Push Buttons. Figure 5-26. Board Highlight CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
VBUS, D+, and D– lines from the USB connector are also protected against ESD events using TVS diodes. Figure 5-28. Schematics and Board Highlight of USB Type-A Plug CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
5-29). It is also used to show the bind status. Figure 5-29. Schematics and Board Highlight of User LED LED1 BLE_STATUS 0805 820 ohm Status LED Blue CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
The device's datasheet includes details on how to perform a write/read operation with the F-RAM. Figure 6-2 Figure 6-3 provide a snapshot of the write/read packet structure as a quick reference. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
BLE capability to connect to a Peripheral device and communicate with it. It supports various standard BLE services along with two custom services for CapSense and LED control. It also provides a common support for all profiles, standard or custom. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 113
Figure 6-5. Select the BLE Pioneer Kit in the list. The name displayed in the list will be the same as that set in the BLE Component. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 114
CapSense slider custom profile, where swiping a finger on the CapSense slider of the BLE Pioneer Kit is reflected in the CySmart mobile applica- tion. See BLE Pioneer Baseboard on page CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 115
Figure 6-8, and to modify or receive values through BLE. Figure 6-8. GATT DB GUI for Characteristics CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 116
The Data Logger option provides a textual form of all the events that has happened with a particular Peripheral device, including scanning and connection. Figure 6-9. Data Logger CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 118
VBUS CR2032 Coin Cell Battery Holder SOD123 PTC Resettable Fuse 100uF VBUS P5LP_DM P5LP_DP USB MINI B 100K 2 PIN HDR NO LOAD 0.01 uF USB MiniB CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 119
SHORT 1 & 2 3.3V N.C. Unconnected terminal REMOVE JUMPER 1.9V Voltage output Output voltage regulation terminal BLACK BLACK BLACK NO LOAD NO LOAD Ground GND Test Points CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 120
Analog Pins (J1- J4) Arduino Connectors PSoC 4 BLE/PRoC BLE I/O Headers P0_1 P0_3 P0_0 /XRES 3x2 RECPT NO LOAD J12 Arduino ICSP compatible header for SPI Interface CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 121
NO LOAD P0_7 ZERO SWDCLK P0_0 ZERO SPI_MOSI NO LOAD P0_6 ZERO SWDIO P0_2 ZERO SPI_SSEL NO LOAD USB-SPI USB-SWD PSoC 5LP and PSoC 4 BLE/PRoC BLE Connections CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 122
CY8CKIT-142 PSoC 4 BLE Module CY8CKIT-142 PSoC 4 BLE Module ASSY DRW: 620-60195-01 Size Size Size Document Number Document Number Document Number R e v R e v R e v CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 123
BLE Dongle BLE Dongle ASSY DRW: 620-60197-01 Size Size Size Document Number Document Number Document Number R e v R e v R e v 630-60193-01 630-60193-01 630-60193-01 CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 124
User Button Switch and User LED 630-60193-01 630-60193-01 630-60193-01 Custom Custom Custom Date: Date: Date: Tuesday September 30 2014 Tuesday September 30 2014 Tuesday September 30 2014 Sheet Sheet Sheet CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
BLE Pioneer Baseboard Figure A-1. Primary Side of BLE Pioneer Baseboard Figure A-2. Ground Layer of BLE Pioneer Baseboard Figure A-3. Power Layer of BLE Pioneer Baseboard CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 126
Figure A-4. Secondary Side of BLE Pioneer Baseboard Figure A-5. Primary Silkscreen of BLE Pioneer Baseboard Figure A-6. Secondary Silkscreen of BLE Pioneer Baseboard CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 127
PRoC BLE Module Figure A-7. Primary Side of PRoC BLE Module Figure A-8. Ground Layer of PRoC BLE Module Figure A-9. VCC Layer of PRoC BLE Module CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 128
Figure A-10. Secondary Side of PRoC BLE Module Figure A-11. Primary Silkscreen of PRoC BLE Module Figure A-12. Secondary Silkscreen of PRoC BLE Module CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 129
Figure A-13. Primary Side of PSoC 4 BLE Module Figure A-14. Ground Layer of PSoC 4 BLE Module Figure A-15. VCC Layer of PSoC 4 BLE Module CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 130
Figure A-16. Secondary Side of PSoC 4 BLE Module Figure A-17. Primary Silkscreen of PSoC 4 BLE Module Figure A-18. Secondary Silkscreen of PSoC 4 BLE Module CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
A.2.4 BLE Dongle Figure A-19. Primary Side of BLE Dongle Figure A-20. Ground Layer of BLE Dongle Figure A-21. Power Layer of BLE Dongle CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 132
Figure A-22. Secondary Side of BLE Dongle Figure A-23. Primary Silkscreen of BLE Dongle Figure A-24. Secondary Silkscreen of BLE Dongle CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
HEADE 68016-204HLF .100 R/A 15AU TEST POINT 43 HOLE 65 TP1,TP2,TP3,TP4 Keystone Electronics 5000 PLATED RED TEST POINT 43 HOLE 65 BLACK Keystone Electronics 5001 PLATED BLACK CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
500R07S1R2BV4T 0402 ogy Inc CAP CER 100PF 50V 10% 100pF Kemet C0603C101K5RACTU X7R 0603 Zero RES 0.0 OHM 1/10W TE Connectivity 1623094-1 JUMP 0603 Rbleed No Load CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 140
HEADER .100 R/A 15AU TEST POINT 43 HOLE 65 Keystone Electron- TP1,TP2,TP3,TP4 RED 5000 PLATED RED TEST POINT 43 HOLE 65 Keystone Electron- BLACK 5001 PLATED BLACK CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
USB host through the USB cable. Verify the USB cable and check if PSoC Programmer is installed on the PC. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Migrating projects across different Pioneer series kits All Cypress Pioneer series kits are Arduino Uno compatible and have some common on-board peripherals such as RGB LED, CapSense and User Switch. However, the pin mapping in each of the boards is different due to differences in pin functions of the PSoC device used. This guide lists the pin maps of the Pioneer series kits to allow for easy migration of projects across different kits.
Page 146
– P0[7] – – – P1[1] P3[5] * These pins are also used for on-board peripherals. See the tables in the On-Board Peripherals section below for details. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 147
P1[1] P5[3] P2[7] P1[0] P5[5] P2[0] * These pins are also used for on-board peripherals. See the tables in the On-Board Peripherals section below for connection details. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Replaced “iOS” with “iOS/Android” in all instances in the section. Updated “Direct Test Mode (DTM)” on page Updated “Hardware Connection” on page Updated description. Updated “Verify Output” on page Updated description. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Page 151
“Cypress Ferroelectric RAM (F-RAM)” on page 100: Updated description. Updated “Serial Interconnection between KitProg and Module” on page 101: Updated description. Updated “Module Headers” on page 102: Updated description. CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *C...
Need help?
Do you have a question about the CY8CKIT-042-BLE and is the answer not in the manual?
Questions and answers