<?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>NRF5340 Max throughput</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86786/nrf5340-max-throughput</link><description>Hello, I have a nrf5340dk communicating with nrf52840 dongle connected to a pc with UART baud rate of 2M. Connection parameters are: 
 
 7.5ms Conn interval 
 1ms Slave latency 
 247 MTU 
 251 DLE 
 2M PHY 
 
 nrf5340dk is configured as nus peripheral</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Apr 2022 11:58:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86786/nrf5340-max-throughput" /><item><title>RE: NRF5340 Max throughput</title><link>https://devzone.nordicsemi.com/thread/362839?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 11:58:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91d4b8f3-f9e3-44dd-8a85-492b26a03ba1</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Glad to hear that it worked.&lt;/p&gt;
&lt;p&gt;I have not been able to reach 1.3 Mb/s with the pc-ble-driver, and I think it&amp;#39;s a combination of overhead of having the serialized softdevice communication and latency introduced by the USB transport. Scheduling of USB events on the PC may be delayed by other OS tasks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 Max throughput</title><link>https://devzone.nordicsemi.com/thread/362835?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 11:51:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:452fbed6-4e3e-4fb5-a376-ae7c8e55e342</guid><dc:creator>Branislav</dc:creator><description>&lt;p&gt;Thank you, that was the reason why the throughput was so slow with 400ms connection interval, this is the result I get after changing the event length:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://i.imgur.com/tohOY5Y.png" /&gt;&lt;br /&gt;There are some weird packet issues for the first 20 seconds of the stream tho.&lt;br /&gt;&lt;br /&gt;I only want to circle back to my previous question, would it be possible to achieve 1.3 Mb/s throughput with the nrf52840 dongle or is this the limit of the hardware/default firmware?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 Max throughput</title><link>https://devzone.nordicsemi.com/thread/362820?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 11:22:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eba67291-880c-44b7-b67a-2f22ffaf3b4e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Sorry, I did not notice the other screenshot. I only saw the one where you got the low throughput @ 400 ms. A likely explanation for this is that the connection event length is too short. The connection event length can be configured when you enable the BLE stack on the dongle.&lt;/p&gt;
&lt;p&gt;I increased the event length to 400 ms at line 141 in this pc-ble-driver-py script:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4010.nus_5F00_central.py"&gt;devzone.nordicsemi.com/.../4010.nus_5F00_central.py&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 Max throughput</title><link>https://devzone.nordicsemi.com/thread/362808?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 10:24:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb08338b-c7fe-458d-85c3-d6412a659e9d</guid><dc:creator>Branislav</dc:creator><description>&lt;p&gt;The results I get from your app are in the same range as the screenshot I have posted, the troughput is 1110 - 1133 kbps.&lt;br /&gt;&lt;br /&gt;And no, blatann doesn&amp;#39;t support long mtu packets, my question is is there something that can be done on the side of the dongle to get the rest of the throughput that has been measured when using two dev boards.&lt;br /&gt;&lt;br /&gt;And do you maybe know why do those meausrements work well with 400 ms connection interval while in this scenario only 7.5 ms inteval gives the best throughput?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 Max throughput</title><link>https://devzone.nordicsemi.com/thread/362806?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 10:19:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4c2a220-b995-4cc7-a5e2-b35829fa8cca</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You mean you get the same result if you use my FW or if you use the nRF connect app? I am not sure if the blatann script is configured to support long MTU and radio packets which will have a significant impact on the throughput.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 Max throughput</title><link>https://devzone.nordicsemi.com/thread/362802?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 10:12:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bda13fb-6971-448c-a910-4e530382e965</guid><dc:creator>Branislav</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, those are the same results I&amp;#39;m getting on my end.&lt;br /&gt;Is there a way to get a better throughput with central, without making a custom firmware for the dongle, or is this that can be done with the current official firwmare?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 Max throughput</title><link>https://devzone.nordicsemi.com/thread/362784?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 09:28:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c5fffd0-1793-4c50-b3f5-78a38b75e798</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The throughput may also be limited by the Central (PC in this case). I made a test based on the peripheral_uart sample to test the same here and I was able to get around 1000 kbps (also limited by central). This test app starts sending notifications with dummy data as soon as soon as the client enables the notifications. It then it prints the measured throughput out on UART.&lt;/p&gt;
&lt;p&gt;Could you try it and see if you get a comparable results? Here is the project I used:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/peripheral_5F00_uart_5F00_throughput_5F00_test.zip"&gt;devzone.nordicsemi.com/.../peripheral_5F00_uart_5F00_throughput_5F00_test.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;My setup:&lt;/p&gt;
&lt;p&gt;- Bluetooth low enegery app v3.0.1 in nRF connect for desktop&lt;/p&gt;
&lt;p&gt;- nRF52840 Dongle&lt;/p&gt;
&lt;p&gt;- nRF5340DK&lt;/p&gt;
&lt;p&gt;Result:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot-from-2022_2D00_04_2D00_11-11_2D00_17_2D00_51.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>