You are here

Project #024: BLE Throughput - Pushing the Limits | Cypress Semiconductor

Project #024: BLE Throughput - Pushing the Limits

In today's project, we will examine the real (measured) throughput of a BLE connection using PSoC 4 BLE.

BLE was designed from the ground-up as a lowpower, low data-rate radio to primarily carry sensor and status information. BLE v4.1 has a specified data rate of 1-Mbps. This doesn't account for any of the overhead from the various layers of the protocol, the controller design, the connection parameters and several other factors that cause the actual throughput to be much lesser. While the RF modulation data rate is 1-Mbps, the protocol theoritical maximum is ~270-kbps. Very few BLE devices manage to reach even half those data rates, due to unoptimized Stacks and poor radio and/or controller design. 

This project demonstrates a few techniques you can use to maximize BLE throughput with PSoC 4 BLE. There are four (4) parts to this project - one each for Incoming and Outgoing data transfers on the GATT layer (using Notifications) and on the L2CAP layer. With PSoC 4 BLE, the Maximum Transmission Unit (MTU) buffer size is easily configurable in the BLE Component, and can be set between 23 - 512 Bytes to maximize tranmission efficiency. The example project also measures the throughput of incoming data and displays it on a Terminal window using a UART Component. The measured throughput of a PSoC 4 BLE device on the BLE Pioneer Kit is an impressive 261-kbps,

You can download this PSoC Creator project along with a detailed PDF of instructions, here on GitHub: https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day024_Throughput

   

Comments

CodeCowboy_'s picture

Has anyone made the L2CAP throughput project work using PSoC Creator 4.0 update 1 and the CY8CKIT-042-BLE-A Pioneer kit?  What would be different?  The Project said not to update the BLE component, but that version of the component is not available in Creator 4.0.  Is there a different L2CAP example that I should be examining?

 

sherapova_2972126's picture

This is very informatics, fresh and clear. I feel that everything has been portrayed in methodical way with the goal that peruser could get greatest data and realize numerous things. Rutabagas

zacknight_2986731's picture

Much obliged to you for such an elegantly composed article. It's brimming with canny data and captivating portrayals. Your perspective is the best among numerous. brian holm lawyer san diego

ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.