<?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>getting max S132 connectivity fw throughput</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34473/getting-max-s132-connectivity-fw-throughput</link><description>Hi, 
 I&amp;#39;m trying to transmit data at about 500kbps from custom nRF52 board (peripheral, s132 v5, SDK14.0) to a PCA10040 board with a connectivity FW (based on v3.0.1) connected to a PC and pc-ble-driver (central). 
 Currently, with the max throughput</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 May 2018 07:07:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34473/getting-max-s132-connectivity-fw-throughput" /><item><title>RE: getting max S132 connectivity fw throughput</title><link>https://devzone.nordicsemi.com/thread/133568?ContentTypeID=1</link><pubDate>Mon, 28 May 2018 07:07:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cab19b6c-0d94-431f-8cf1-335cd4ea0b84</guid><dc:creator>gkovelman_tap</dc:creator><description>&lt;p&gt;Maybe there&amp;#39;s just a quick fix to buffer multiple notifications on the nordic and then TXing them over UART as one large packet, reducing the handshake overhead.&lt;/p&gt;
&lt;p&gt;If the changes are more than that, it&amp;#39;d probably be smarter to use an android/iphone 7 device as the central since they support DLE.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: getting max S132 connectivity fw throughput</title><link>https://devzone.nordicsemi.com/thread/133551?ContentTypeID=1</link><pubDate>Mon, 28 May 2018 00:53:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd9966a4-7b6e-4234-b875-7b9fada3e6c4</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Queue the messages? I would suggest that you start by just chucking them away! Work out the available throughput by just ignoring all the received data and only then start looking at how that data can be shifted off the PCA10040 board. The uart is very inefficient and the hardware handshake is upside down as I mention elsewhere so not useful without hardware mods. To really shift data off the board you need one or more 8MHz SPI channels or something similar; if you are using something like this start by commenting out the call and see how much throughput increases.&lt;/p&gt;
&lt;p&gt;I have a similar issue and just want to get the data to Wi-Fi; a Pi can give you an SPI connection, and it could even give you BLE direct if we could get it to work ..&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void ble_nus_chars_received_uart_print(uint8_t * p_data, uint16_t data_len)
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: getting max S132 connectivity fw throughput</title><link>https://devzone.nordicsemi.com/thread/133539?ContentTypeID=1</link><pubDate>Sun, 27 May 2018 07:33:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c067e5c-a61a-466a-a141-b53753ed6e48</guid><dc:creator>gkovelman_tap</dc:creator><description>&lt;p&gt;Thanks for the answer.&lt;/p&gt;
&lt;p&gt;Any suggestions on how to queue the message on the FW side?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: getting max S132 connectivity fw throughput</title><link>https://devzone.nordicsemi.com/thread/133131?ContentTypeID=1</link><pubDate>Thu, 24 May 2018 07:00:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2989b1e7-c6bd-4eef-a9ba-63ce5abf792e</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Like I mentioned, we have done tests regarding this &amp;amp; it all points to the fact that the relaying of the UART via the JLink OB is the bottleneck. I would say you want to keep the connection interval as low as possible to increase throughput. Unfortunately, I am not sure it is practically possible to increase the throughput using the pc-ble-driver. It might work better if you are somehow able to have a buffer in your nrf device that is connected to the pc-ble-driver, which can store some of the data to allow a higher throughput. I am not sure this will work, but it might be worth a shot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: getting max S132 connectivity fw throughput</title><link>https://devzone.nordicsemi.com/thread/132957?ContentTypeID=1</link><pubDate>Wed, 23 May 2018 10:57:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1cc5778-5f07-4014-953a-a532d5b59f92</guid><dc:creator>gkovelman_tap</dc:creator><description>&lt;p&gt;I tried routing the nRF52 to PC via an UART-to-USB adapter instead of the JLink OB, but throughput was the same, so it&amp;#39;s not the JLink itself.&lt;/p&gt;
&lt;p&gt;Increasing the connection interval and&amp;nbsp;receiving multiple packets per connection interval should make it work. But it doesn&amp;#39;t seem to&amp;nbsp;do so with conn interval is higher.&lt;/p&gt;
&lt;p&gt;Then, any idea on how to achieve high throughput? Could controlling the burstiness of the data on the peripheral side help with the pc-ble-driver design?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: getting max S132 connectivity fw throughput</title><link>https://devzone.nordicsemi.com/thread/132793?ContentTypeID=1</link><pubDate>Tue, 22 May 2018 13:58:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce87d08f-660f-4cf7-9394-866014b72c8e</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;I have asked the developers of the pc_ble_driver to take a look at this case. Before I start asking you to start trying different things, I think it would be easier if they gave you some tips, as they are more experienced in regards to this firmware.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&amp;nbsp;As stated in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/33597/pc_ble_driver-send-multiple-packets-per-connection-interval/129396#129396"&gt;this devzone case&lt;/a&gt;, the bottleneck in this case is the relaying of the UART via the JLink OB. The throughput via the pc_ble_driver will be quite low because of this. If you have a logic analyzer, you will be able to see the traffic over the UART lines &amp;amp; see more of the data flow between the pc &amp;amp; the connectivity FW.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: getting max S132 connectivity fw throughput</title><link>https://devzone.nordicsemi.com/thread/132774?ContentTypeID=1</link><pubDate>Tue, 22 May 2018 12:57:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3423ca6b-e566-4a91-a1b2-f102b1a076f7</guid><dc:creator>gkovelman_tap</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;max event length is indeed at 320, like in that case.&lt;br /&gt;High throughput is my guide for this activity. What I also tried, as high throughput demo suggested, was to change PHY to 2Mbps, but the actual throughput did not increase.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Connection interval of 7.5 didn&amp;#39;t increase throughput; it&amp;#39;s a little bit lower now, at ~38Kbps.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Connectivity&amp;nbsp;FW is&amp;nbsp;connectivity_2.0.1_1m_with_s132_5.0.hex. I&amp;#39;m not aware of other version that would with pc-ble-driver v3.0.1. Any other FW to try? Should I downgrade pc-ble-driver to 2.2.1? Let me know If I should put effort into it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: getting max S132 connectivity fw throughput</title><link>https://devzone.nordicsemi.com/thread/132747?ContentTypeID=1</link><pubDate>Tue, 22 May 2018 12:09:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53d6ec22-b33e-4c2f-a520-d4d5428751cc</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Regarding the NRF_ERROR_RESOURCES, &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/22117/sd_ble_gap_data_length_update-returns-nrf_error_resources"&gt;this devzone case&lt;/a&gt; could be helpful. Have you taken a look at the &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/throughput-and-long-range-demo"&gt;high throughput demo&lt;/a&gt;? You should be able to get a lot more than 320 kbps. Might be useful to try a connection interval of 7.5 ms. What is the throughput then?&lt;/p&gt;
&lt;p&gt;There might be an issue with the connectivity FW, but I am not sure about this. Have you tested with a different connectivity FW (for example the nrf connect connectivity FW when you open nrf connect)? Does that work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>