<?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>nRF52840 throghput question</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66220/nrf52840-throghput-question</link><description>Hi! I&amp;#39;m currently using 
 - board: nRF52840 DK 
 - SoftDevice v15 
 - ble_app_template example + midi (adding custom service and characteristic) ---------------------------------------------------------------------------------------------------------</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Sep 2020 09:43:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66220/nrf52840-throghput-question" /><item><title>RE: nRF52840 throghput question</title><link>https://devzone.nordicsemi.com/thread/271276?ContentTypeID=1</link><pubDate>Thu, 24 Sep 2020 09:43:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59170680-81ee-4f75-ae31-bd7d66a128dc</guid><dc:creator>Soojin</dc:creator><description>&lt;p&gt;Thanks Kenneth! Loads of help.&amp;nbsp;&lt;br /&gt;Have a great day.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 throghput question</title><link>https://devzone.nordicsemi.com/thread/271007?ContentTypeID=1</link><pubDate>Wed, 23 Sep 2020 08:34:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:318bdf98-8b28-4581-80e2-feb014207348</guid><dc:creator>Kenneth</dc:creator><description>[quote user="Soojin"]So according to this data,&amp;nbsp; if I Set ATT MTU size to 247, LL payload size to 251, Connection interval to 50ms and use LE 2M PHY, will I be able to get the maximum throughput??[/quote]
&lt;p&gt;That will be the peak throughput yes with no packet loss. You may also check out this slightly old thread, but should still be valid:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/throughput-and-long-range-demo"&gt;https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/throughput-and-long-range-demo&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 throghput question</title><link>https://devzone.nordicsemi.com/thread/270911?ContentTypeID=1</link><pubDate>Tue, 22 Sep 2020 15:25:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:402efe87-821e-445f-ae4e-d4ebd4946482</guid><dc:creator>Soojin</dc:creator><description>&lt;p&gt;Thanks! Now I got&amp;nbsp; PHY LE 2M working:)&lt;br /&gt;&lt;br /&gt;So, now I think I changed every component.&lt;/p&gt;
&lt;p&gt;According to one of Nordic&amp;#39;s site, I found this chart&lt;br /&gt;(&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsds_s140%2FSDS%2Fs1xx%2Fble_data_throughput%2Fble_data_throughput.html"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsds_s140%2FSDS%2Fs1xx%2Fble_data_throughput%2Fble_data_throughput.html&lt;/a&gt;&amp;nbsp;)&lt;/p&gt;
&lt;p&gt;From here, the maximum data throughput I can get is 1327.5 Mbps.&lt;/p&gt;
&lt;p&gt;So according to this data,&amp;nbsp; if I Set ATT MTU size to 247, LL payload size to 251, Connection interval to 50ms and use LE 2M PHY, will I be able to get the maximum throughput??&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/KakaoTalk_5F00_20200920_5F00_234718887.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 throghput question</title><link>https://devzone.nordicsemi.com/thread/270861?ContentTypeID=1</link><pubDate>Tue, 22 Sep 2020 13:09:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec34e976-1af0-4a5d-a416-60f64024f85f</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You may want to check out this example in general:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_att_mtu.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_att_mtu.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To answer your questions:&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;&lt;span&gt;#define MIN_CONN_INTERVAL MSEC_TO_UNITS(5, UNIT_0_625_MS) is not a valid value, so not sure what may be happening here (maybe it defaults to a higher value). In any case having larger intervals than 7.5ms may actually give higher throughput numbers, however you are trading interference performance vs. stable throughput. Because if you have larger intervals you may pack the packets closer together, however if you have packet loss it will need to wait until next interval before it can re-try. So even though using&amp;nbsp;longer intervals can give higher throughput in ideal conditions with no packet loss, it&amp;nbsp;will be lower throughput in a realistic scenario with other 2.4GHz devices in the proximity.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;2. It may seem as you are mixing advertisement and connection parameters here. In this specific case you are interested in the throughput during a connection, so you should check the BLE_GAP_EVT_PHY_UPDATE event for the active data-rate. Check our message sequence chart:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s140.api.v7.2.0%2Fgroup___b_l_e___g_a_p___p_e_r_i_p_h_e_r_a_l___p_h_y___u_p_d_a_t_e.html"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s140.api.v7.2.0%2Fgroup___b_l_e___g_a_p___p_e_r_i_p_h_e_r_a_l___p_h_y___u_p_d_a_t_e.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Kenneth&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>