element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs Nordic's ATT_MTU Throughput Example on the PAN1780 eval kit
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: parasquid
  • Date Created: 2 Oct 2020 10:34 AM Date Created
  • Views 859 views
  • Likes 1 like
  • Comments 0 comments
  • pan1780
  • nrf52840
Related
Recommended

Nordic's ATT_MTU Throughput Example on the PAN1780 eval kit

parasquid
parasquid
2 Oct 2020

One of the topics I wanted to investigate while roadtesting the PAN1780 eval kit was how it can differentiate itself from other, similar modules that also contain Nordic's nRF52840 mcu. I noticed that the PAN1780 had better signal strength compared to my other dev board while scanning via Web Bluetooth, so I thought maybe I can do some sort of testing around this?

 

Looking around the Nordic InfoCenter got me this interesting section: https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_att_mtu.html?cp=7_1_4_2_1_0

The ATT_MTU Throughput Example shows how different connection parameters influence the throughput performance of BLE connections.

This was quite close to what I wanted, so I tried it out. I'm posting this so anyone who might want to try out some throughput tests would know what to expect and how to get things setup.

 

First, we need to get the boards programmed. You'll need to get nRF connect for desktop from Nordic: https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Connect-for-desktop  and install the Programmer tool.

image

 

 

You'll also need to download the nRF52 sdk https://www.nordicsemi.com/Software-and-tools/Software/nRF5-SDK  and extract the contents.

 

Open the programmer and click on Add Hex and choose the \examples\ble_central_and_peripheral\experimental\ble_app_att_mtu_throughput\hex\ble_app_att_mtu_throughput_pca10056_s140.hex file and Erase and Write

image

 

 

I did this on both of the PAN1780 eval kits.

 

One of the kits would be the responder, and the other would be the tester.

 

When you press Button 4 on the board, it turns that board into a responder. There is no need to interact with the board after the button press, so I just plug it into a power bank.

image

 

 

When you press Button 3 on the board, that board becomes the tester. You'll need serial to configure the test parameters, so this board needs to be connected to the computer.

image

 

 

You'll then need a serial terminal to communicate with the board firmware. Nordic recommends PuTTY or TeraTerm; I prefer TeraTerm and you can get it from https://ttssh2.osdn.jp/index.html.en

 

You'll then need to setup the connection parameters. I connect to COM10 which is the USB Serial Port (not the JLink CDC UART Port) after configuring the jumpers JP7 to connect to the FTDI adapter.

image

 

 

There will now be some instructions (we've already done this, but it's a good reminder). If you don't see the info messages, you can try resetting the board.

image

 

 

In this case, pressing Button 3 while connected to serial will confirm the action.

image

 

 

You can check the current configuration by typing config print into the terminal.

image

 

Typing run will start the test. In this case, the tester and the responder are just a few centimeters apart.

image

 

Wait about half a minute for the whole test to finish (it will send 1024KBytes of data) and then it will print a summary of the results.

image


The Nordic Info Center recommends repeating the test after having changed parameters and then observing how the throughput changes for different sets of parameters.

 

Novelbits has a really in-depth investigation on the how to theoretically get the best throughput here: https://www.novelbits.io/bluetooth-5-speed-maximum-throughput/  so I tried it out.

image

 

I set the data length to 251 and the connection interval to 400 and then ran the test with the boards close to each other.

image

 

Here are the results:

image

 

Quite close to the theoretical calculated 1400Kbps max! image

 

I have an nRF52840DK arriving soon (whoever said you get free stuff when roadtesting wasn't telling all the truth; you spend not on the product but on supporting materials because you become too curious about the product you're roadtesting image) and I'll be doing some throughput benchmarks with that as well for my road test blog.

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube