<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Expected throughput on nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21150/expected-throughput-on-nrf52840</link><description>Hi, 
 I have two nrf52840 boards and I am using the ble_app_att_mtu_throughput test app. The tests seem to be working OK, but I am not getting the throughput I was expecting. The boards are next to each other. 
 With BLE_GAP_PHY_2MBPS I get 1046.48</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Aug 2017 13:49:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21150/expected-throughput-on-nrf52840" /><item><title>RE: Expected throughput on nrf52840</title><link>https://devzone.nordicsemi.com/thread/82758?ContentTypeID=1</link><pubDate>Thu, 03 Aug 2017 13:49:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60a8b133-1902-44d6-90a9-0d8385c4fcde</guid><dc:creator>Nivetha</dc:creator><description>&lt;p&gt;Thanks Bjorn! I will:)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Expected throughput on nrf52840</title><link>https://devzone.nordicsemi.com/thread/82762?ContentTypeID=1</link><pubDate>Thu, 03 Aug 2017 13:43:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:070ef9f5-ff82-4c68-9aa1-49e38c5d1b98</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;@nivetha: I suggest that you read &lt;a href="https://devzone.nordicsemi.com/blogs/1078/throughput-and-long-range-demo/"&gt;this&lt;/a&gt; blog post, it goes through the various link settings.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Expected throughput on nrf52840</title><link>https://devzone.nordicsemi.com/thread/82757?ContentTypeID=1</link><pubDate>Thu, 03 Aug 2017 13:34:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be94538d-3f1a-427c-a343-bc5a8c05a8e1</guid><dc:creator>Nivetha</dc:creator><description>&lt;p&gt;I am using nrf52840 and set the connection interval as 10ms. I sending 10 samples/10ms. I see there are a lot of delays in the reception of samples. Do I have to set the connection interval to 7.5 ms?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Expected throughput on nrf52840</title><link>https://devzone.nordicsemi.com/thread/82761?ContentTypeID=1</link><pubDate>Fri, 07 Apr 2017 14:27:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce75602a-973c-454e-8c06-cd156e79e249</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Yes, but that was with 7.5ms connection interval, 23 ATT MTU with Data Length Extension and Connection Event Extension disabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Expected throughput on nrf52840</title><link>https://devzone.nordicsemi.com/thread/82760?ContentTypeID=1</link><pubDate>Fri, 07 Apr 2017 14:20:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20a842e8-0bc3-4581-8c7b-b935d2d4c7ab</guid><dc:creator>Gary</dc:creator><description>&lt;p&gt;According to this blog post &lt;a href="https://devzone.nordicsemi.com/blogs/1078/throughput-and-long-range-demo/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt; it seems that Ole Bauck was getting 21.3 Kbps for BLE 5 Long Range.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Expected throughput on nrf52840</title><link>https://devzone.nordicsemi.com/thread/82759?ContentTypeID=1</link><pubDate>Fri, 07 Apr 2017 14:05:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72880a53-c733-4917-b8a1-cc1def8aa585</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Using the same method that the Bluetooth SIG to calculate the theoretical throughput, see &lt;a href="https://blog.bluetooth.com/exploring-bluetooth-5-how-fast-can-it-be"&gt;this&lt;/a&gt; blog, I arrive the following calculations.&lt;/p&gt;
&lt;p&gt;Time to send 265byte PDU @ 125kbps: 265*8bits/125kbps = &lt;strong&gt;16.96ms&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Time to receive 10byte PDU @ 125kbps: 10*8bits/125kbps = &lt;strong&gt;640us&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The Inter frame space, T_IFS ,the time interval between two consecutive packets = 150us&lt;/p&gt;
&lt;p&gt;The usable payload that of a single ATT packet that fits inside the max PDU size is 247bytes, thus the theoretical throughput should be&lt;/p&gt;
&lt;p&gt;247*8bits/(640us + 150us + 16960us + 150us) =~ &lt;strong&gt;109kbps&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If you have set the connection interval to 400ms and have Connection Event Extension enabled then you should be able to fit 400ms/16.96ms =~23 packets in one connection event, but it sounds like you&amp;#39;re getting around half of that. I will look into this and update my answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Expected throughput on nrf52840</title><link>https://devzone.nordicsemi.com/thread/82756?ContentTypeID=1</link><pubDate>Fri, 07 Apr 2017 08:14:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5609a2eb-4b07-4c33-afb1-a8c8957a0e52</guid><dc:creator>Gary</dc:creator><description>&lt;p&gt;Hi Bjorn, yes I have both Data Length Extensions or Connection Event extension enabled. What throughput should I be expecting? 125Kbps?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Expected throughput on nrf52840</title><link>https://devzone.nordicsemi.com/thread/82755?ContentTypeID=1</link><pubDate>Thu, 06 Apr 2017 14:37:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c90f5b1-8262-469b-b098-390d97560470</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;I am not able to reproduce the 56.98 Kbps with a 400ms interval and a MTU of 247. Do you have Data Length Extensions or Connection Event extension enabled?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Expected throughput on nrf52840</title><link>https://devzone.nordicsemi.com/thread/82754?ContentTypeID=1</link><pubDate>Thu, 06 Apr 2017 07:51:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1efe813-ccb2-4945-ab12-19700cb8d3c0</guid><dc:creator>Gary</dc:creator><description>&lt;p&gt;Daniel, thanks for your comment. I was using a MTU size of 247 and a conn interval of 7.5ms. I wrongly assumed that 7.5ms was the best. However I tried 50ms and I am getting better throughout now. I see from the blog post that this is because of the &amp;quot;connection event length extension&amp;quot;. Duly noted!&lt;/p&gt;
&lt;p&gt;So now the 2MBPS and 1MBPS links are performing as I would expect: 1336.79 Kbps and 746.94 Kbps respectively. However the best I can get out of the CODED is 56.98 Kbps with a 400ms interval and a MTU of 247.&lt;/p&gt;
&lt;p&gt;Any thoughts on how I could improve the CODED throughput?&lt;/p&gt;
&lt;p&gt;Thanks, Gary.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Expected throughput on nrf52840</title><link>https://devzone.nordicsemi.com/thread/82753?ContentTypeID=1</link><pubDate>Wed, 05 Apr 2017 19:46:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cde7b4bb-6ce3-4131-8090-e22d8d7ffc6f</guid><dc:creator>Daniel Wang</dc:creator><description>&lt;p&gt;What Connection interval and ATT MTU size are you using? Have you read the blog-post &lt;a href="https://devzone.nordicsemi.com/blogs/1078/throughput-and-long-range-demo/"&gt;here&lt;/a&gt; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>