<?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>Multi-link for real-time apps - can it be done?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35423/multi-link-for-real-time-apps---can-it-be-done</link><description>I need to understand how a multi-link configuration can achieve real-time transmission - its all about latency. 
 The Application 
 In my nRF52840 application I have several body-worn Inertial Measurement Units (IMU&amp;#39;s) - the Peripherals, each taking turn</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Jun 2018 23:09:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35423/multi-link-for-real-time-apps---can-it-be-done" /><item><title>RE: Multi-link for real-time apps - can it be done?</title><link>https://devzone.nordicsemi.com/thread/138351?ContentTypeID=1</link><pubDate>Fri, 29 Jun 2018 23:09:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebc837c5-6374-4062-9a68-abcfafd93020</guid><dc:creator>neonotion</dc:creator><description>&lt;p&gt;Yes that is right, already using it as the range was still pretty good for this app :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi-link for real-time apps - can it be done?</title><link>https://devzone.nordicsemi.com/thread/138295?ContentTypeID=1</link><pubDate>Fri, 29 Jun 2018 13:33:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64f18824-5548-4eb4-a4d1-c5cf5336270e</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;I see that you already use 2 Mbps mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi-link for real-time apps - can it be done?</title><link>https://devzone.nordicsemi.com/thread/138292?ContentTypeID=1</link><pubDate>Fri, 29 Jun 2018 13:30:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43bc468a-b4dd-4610-886e-3394e45daf22</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;If the peripherals support BLE 2Mbps mode, you can set up your device to run in that mode instead. That should double the throughput, I assume. To test it, you can use the&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fble_sdk_app_att_mtu.html&amp;amp;cp=4_0_0_4_1_1_0"&gt; throughput example in the SDK&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi-link for real-time apps - can it be done?</title><link>https://devzone.nordicsemi.com/thread/138212?ContentTypeID=1</link><pubDate>Thu, 28 Jun 2018 23:18:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcc5aee6-c4b6-494a-a4b0-b9b20b878800</guid><dc:creator>neonotion</dc:creator><description>&lt;p&gt;Thanks Kristin,&lt;/p&gt;
&lt;p&gt;Yes indeed&amp;nbsp;multiple Centrals would help, unfortunately the idea is that the Central is a USB dongle with a single nRF52840 module :-)&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi-link for real-time apps - can it be done?</title><link>https://devzone.nordicsemi.com/thread/138211?ContentTypeID=1</link><pubDate>Thu, 28 Jun 2018 23:12:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84d14524-1625-4fdd-b327-701f2973b681</guid><dc:creator>neonotion</dc:creator><description>&lt;p&gt;Hi kont40, yes buffering is already used.&amp;nbsp; Because the transmitted samples get fused with real-time video frames at the receiver side the buffer cannot be too long (the frames can&amp;#39;t wait too long for samples and must be fused ASAP), its the real time aspect of this project that means sample latency can only be tolerated up to a small number of sample intervals - 4 sample intervals as a guideline, so that is the maximum allowed buffer size.&amp;nbsp; This is the reason for the dependency - its not the sample rate, its the latency issue.&lt;/p&gt;
&lt;p&gt;cheers&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi-link for real-time apps - can it be done?</title><link>https://devzone.nordicsemi.com/thread/138152?ContentTypeID=1</link><pubDate>Thu, 28 Jun 2018 13:45:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9996f68e-05cb-412e-970c-85d849c88716</guid><dc:creator>kont40</dc:creator><description>&lt;p&gt;Hi @neonotion , Do you consider using buffering for the sensor data? This will simplify the data transmission a lot and decrease the requirements towards real-time transmission. Finally, the sensor sampling rate and the communication protocol timing should not directly depend on each other. The only question in this case is whether the final consumer of the data can tolerate some ms delay in receiving the data - but for a wireless application this is often the case. As I am solving a similar matter as yours, although with only two peripheral devices, you may want to check the topic on my current problem here &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/35689/multilink-central---data-always-received-from-the-last-device"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/35689/multilink-central---data-always-received-from-the-last-device&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi-link for real-time apps - can it be done?</title><link>https://devzone.nordicsemi.com/thread/138141?ContentTypeID=1</link><pubDate>Thu, 28 Jun 2018 13:20:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52233d36-a56c-4d01-b393-cf26be90c001</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Hi Jeff,&lt;/p&gt;
&lt;p&gt;Yes, your understanding is correct: to allow more devices connect to your central, you will either need to increase the latency or decrease the amount of data.&lt;/p&gt;
&lt;p&gt;An option could be to use multiple centrals,multiple chips. Those centrals could then communicate with eachother using a serial interface.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Kristin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi-link for real-time apps - can it be done?</title><link>https://devzone.nordicsemi.com/thread/137907?ContentTypeID=1</link><pubDate>Wed, 27 Jun 2018 13:00:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea5b5f48-5737-4b2f-a25c-a0335de8d51c</guid><dc:creator>neonotion</dc:creator><description>&lt;p&gt;Thanks Kristin,&lt;/p&gt;
&lt;p&gt;I read that section and it clarifies a lot, yes the event length is the key concept.&amp;nbsp; But I still think that based upon what I read that the maximum number of connected Peripherals is very small.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To take a simple example.&amp;nbsp; Imagine that my streaming sample interval was 5ms and my maximum sample latency tolerance was 4 intervals (20ms), then considering the minimum event length of 2.5ms I can only fit 8 peripheral devices into my multilink scenario.&amp;nbsp; #1 transmits a 4 sample packet at time 0, then #2 does at 2.5ms, then #3 at 5.0ms, then...#8&amp;nbsp;at 17.5ms, then at 20ms #1 send its next 4-sample packet - the average sample rate is still one per 5ms and the maximum sample latency is 20ms (4 sample intervals).&amp;nbsp; So if I cannot tolerate more latency then I can&amp;#39;t fit more than 8 devices into the system - certainly nowhere near the 20 devices limit of the SoftDevice S140.&amp;nbsp; Have I missed something???&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Jeff.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi-link for real-time apps - can it be done?</title><link>https://devzone.nordicsemi.com/thread/136386?ContentTypeID=1</link><pubDate>Fri, 15 Jun 2018 13:32:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e5c71f7-f1c6-4dbe-b6ff-fe79eb8b813f</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;From my understanding, there are two consepts that needs to be distinguised: connection interval and &amp;quot;connection event length&amp;quot;&lt;/p&gt;
&lt;p&gt;Connection interval: how often one device can transmit data&lt;/p&gt;
&lt;p&gt;&amp;quot;Connection event length&amp;quot;: the time it takes for each device to transmit data (I&amp;#39;m not sure if &amp;quot;connection event length&amp;quot; is the correct name)&lt;/p&gt;
&lt;p&gt;Depending on the connection interval used, there can be multiple &amp;quot;connection events&amp;quot;&amp;nbsp; (for different device) within on connection interval.&lt;/p&gt;
&lt;p&gt;To get a better understanding, I would recommend you to read the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s140.sds%2Fdita%2Fsoftdevices%2Fs130%2Fmultilink_scheduling%2Fcentral_connection_timing.html&amp;amp;cp=2_3_2_0_14_2"&gt;Scheduling &lt;/a&gt;chapter in the softdevice specification.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>