<?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>Throughput of Nrf52832 with MTU 247</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58387/throughput-of-nrf52832-with-mtu-247</link><description>I am going to find out an ideal throughput of NRF52832. And my environment is NRF52832/S332/MTU 247/connect interval 20ms. 
 Finally, i got a maximum value about 23Kb/s. I receive data and record timestamp from PC tools(programmed by C# to receive Nordic</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Feb 2020 08:37:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58387/throughput-of-nrf52832-with-mtu-247" /><item><title>RE: Throughput of Nrf52832 with MTU 247</title><link>https://devzone.nordicsemi.com/thread/237053?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2020 08:37:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c1d7595-fb4a-4c79-ba4e-9f0195453ea7</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Yangbo"]280 kbps mean 280 * 1000 / 8 / 1.024 = 34.18 KB/s?[/quote]
&lt;p&gt;&amp;nbsp;Yes, correct. Result of the same example with another nRF device on the other side of the link:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-56c00f47b22445a88038609285f2ce3a/pastedimage1582878198283v1.png" alt=" " /&gt;&lt;/p&gt;
[quote user="Yangbo"]MTU 247,valid user data 244, I expect 4~6 packets per connection interval, means speed can be more than 47KB/s. Is anything wrong with my understanding?[/quote]
&lt;p&gt;&amp;nbsp;No, your understanding is correct. The only problem is that the iPhone may choose to receive fewer packets. Here is a thread gives an example of how iPhones may limit the bandwidth: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/40597/maximizing-nrf52-ios-ble-throughput-in-both-directions"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/40597/maximizing-nrf52-ios-ble-throughput-in-both-directions&lt;/a&gt; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Throughput of Nrf52832 with MTU 247</title><link>https://devzone.nordicsemi.com/thread/236875?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 13:33:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f70c8d9-2f21-4228-80d5-b0be99113bb6</guid><dc:creator>Linxi</dc:creator><description>&lt;p&gt;Hi, thank you very much.&lt;/p&gt;
&lt;p&gt;280 kbps mean 280 * 1000 / 8 / 1.024 = 34.18 KB/s?&lt;/p&gt;
&lt;p&gt;My experiment speed is 23KB/s. Sorry for my error writing 23kb/s.&lt;/p&gt;
&lt;p&gt;MTU 247,valid user data 244, I expect 4~6 packets per connection interval, means speed can be more than 47KB/s. Is anything wrong with my understanding?&lt;/p&gt;
&lt;p&gt;My connection interval is 20ms and throughput is 23KB/s. It seems like only 2 packets sent per connection interval. 1000/20 * 2 * 244bytes / 1024 = 23.8KB/s. Do you have any ideas to improve the bandwidth to let me send more packets per connection interval ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Throughput of Nrf52832 with MTU 247</title><link>https://devzone.nordicsemi.com/thread/236841?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 12:48:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:505e6f3b-886b-4825-95b6-d1e2ec9edd7a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Attached below is a modified version of the ble_app_uart example found in SDK 13.1.0. It&amp;#39;s very simple. It sends data as fast as it can to the client when notifications get enabled&amp;nbsp;and use a timer to determine the transfer rate while doing so. Please try and test it on your side and see if it gives you any better results.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;UART log when I tested it with an iPhone 8:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-56c00f47b22445a88038609285f2ce3a/uart_5F00_log.PNG" alt=" " /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Modified ble_app_uart example. It still uses s132, but that shouldn&amp;#39;t make a difference.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-56c00f47b22445a88038609285f2ce3a/ble_5F00_app_5F00_uart_5F00_throughput.zip"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_uart_5F00_throughput.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Throughput of Nrf52832 with MTU 247</title><link>https://devzone.nordicsemi.com/thread/236718?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 08:40:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20df6497-3b9d-442d-8bad-c72b30afe6b1</guid><dc:creator>Linxi</dc:creator><description>&lt;p&gt;Hi Vidar:&lt;/p&gt;
&lt;p&gt;Thanks for your comments. My softdevice veriosn is S332 4.0.2. Perhaps the key is connection bandwidth. In SDK 13.10 document, I find no API to set this. Can you help?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Throughput of Nrf52832 with MTU 247</title><link>https://devzone.nordicsemi.com/thread/236715?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 08:31:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b45f9cb-9459-4892-a8e9-4b42663aba69</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;23 Kb/s sounds a bit low.&amp;nbsp;I can try to repeat the test here with the ble_app_uart sample. What SDK version is this based on? As you may have seen already, the Softdevice specification includes max. throughput numbers of when you have a nRF5 device on both sides of the link:&amp;nbsp;&lt;a title="Bluetooth Low Energy data throughput" href="https://infocenter.nordicsemi.com/topic/sds_s132/SDS/s1xx/ble_data_throughput/ble_data_throughput.html?cp=4_5_2_0_16"&gt;Bluetooth Low Energy data throughput&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>