You are here

项目编号 024:Bluetooth Low Energy Throughput - Pushing the Limits | 赛普拉斯半导体

项目编号 024:Bluetooth Low Energy Throughput - Pushing the Limits

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

Bluetooth Low Energy was designed from the ground-up as a lowpower, low data-rate radio to primarily carry sensor and status information. Bluetooth Low Energy 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 Bluetooth Low Energy 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 Bluetooth Low Energy 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 Bluetooth Low Energy 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 Bluetooth Low Energy 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

   BLE GATT Screen Code Image

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?

 

angelina_3306851's picture

I discovered your this post while hunting down data about site related examination ... It's a decent post .. continue posting and upgrading data. tivoli

本网站上的所有内容和材料均“按原样”提供。赛普拉斯半导体公司及其各个供应商对这些材料用于任何用途的适用性不作陈述,并且对关于这些材料的所有担保和条件概不负责,包括但不限于有关适销性、针对特定用途之适用性、权利和不侵犯任何第三方知识产权的所有暗示担保和条件。赛普拉斯半导体公司不授予任何明示或暗示的许可(无论是以默许方式或是任何其他方式)。使用本网站上的信息可能需要第三方的许可,或赛普拉斯半导体公司的许可。

本网站上的内容可能包含或必须遵守关于使用的特定准则或限制。所有帖子和使用本网站上的内容都必须遵守本网站的条款与条件;使用这些内容的第三方必须同意遵守任何限制或准则,并遵守本网站的条款与条件。赛普拉斯半导体公司及其供应商保留随时对内容和材料、产品、计划和服务进行纠正、删除、修改、增强、改进或其他变更,或者移动或终止任何内容、产品、计划或服务的权利,恕不另行通知。