<?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>Minimum connection interval</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24013/minimum-connection-interval</link><description>Hi all, 
 Does in any chip with some constellation (different SD) the device allows less than 7.5ms for the connection interval? Or is this value the absolute minimum?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Aug 2017 14:03:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24013/minimum-connection-interval" /><item><title>RE: Minimum connection interval</title><link>https://devzone.nordicsemi.com/thread/94529?ContentTypeID=1</link><pubDate>Wed, 02 Aug 2017 14:03:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a4708c4-5ffa-4547-9aed-a0108056c6da</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;For your reference you can find the relevant &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/radio.html?cp=2_1_0_22_14_7#unique_1024511272"&gt;Radio timing&lt;/a&gt; numbers in the spec, along with details of the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/radio.html?cp=2_1_0_22_7#concept_db5_cnl_4r"&gt;Transmit sequence&lt;/a&gt; and &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/radio.html?cp=2_1_0_22_8#concept_v4s_gkl_4r"&gt;Receive sequence&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In the best case the latency of sending or receiving a short package will be in the order of 50-60 us (nRF52). This is essentially the sum of TX radio ramp-up time, TX chain delay, RX chain delay and the time it takes to transmit the payload and overhead (9 bytes) at 2 Mbps.&lt;/p&gt;
&lt;p&gt;Let’s say you want a 32 byte user payload  (approx 9 bytes overhead depending on setting), and 2 MBit on-air datarate, the latency of a successful transfer is approx:&lt;/p&gt;
&lt;p&gt;Ttx = Tsettling+ (41 bytes * 8) / 2Mbit = 130 + 164 = 294 us&lt;/p&gt;
&lt;p&gt;Trx = Tsettling + 9 bytes * 8 / 2Mbit = 130 + 36 = 166 us&lt;/p&gt;
&lt;p&gt;Ttotal = Ttx + Trx = ~ 460 us for the nRF51.&lt;/p&gt;
&lt;p&gt;Note that the nRF52 radio has a &amp;quot;fast ramp-up time&amp;quot; feature. This enables the radio to go into either RX or TX in &lt;strong&gt;~40 us&lt;/strong&gt;, compared to 130 us in the nRF51.&lt;/p&gt;
&lt;p&gt;So with nRF52 in both ends on the link, you get Ttotal = 204 + 76 = ~&lt;strong&gt;280 us&lt;/strong&gt; for a 32 byte user payload.&lt;/p&gt;
&lt;p&gt;Note that this calculation relies on a perfect link, so some data will occasionally be lost on air with a real-life application. There will always be some re-transmissions. You will also see that the above number may vary depending on CPU load.&lt;/p&gt;
&lt;p&gt;In order to realize this link there are a few options:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Create your proprietary protocol from scratch. This does not have to be very complicated for a simple protocol. The &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.1.0/nrf_dev_radio_tx_example.html?cp=4_0_0_4_5_23"&gt;Radio Transmitter Example&lt;/a&gt; and &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.1.0/nrf_dev_radio_rx_example.html?cp=4_0_0_4_5_22"&gt;Radio Receiver Example&lt;/a&gt; shown how to manually configure the radio.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Use ESB, though you may not want to enable some features such as ACK/retransmission due to latency. For the low power esb, the latency should be around 2ms. For the normal ESB on nRF52832, it is only ~0.3ms&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In both cases you would have to implement frequency hopping scheme manually, if that is required. If you can tolerate 7.5 ms latency, you can always go for BLE :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Minimum connection interval</title><link>https://devzone.nordicsemi.com/thread/94528?ContentTypeID=1</link><pubDate>Wed, 02 Aug 2017 12:26:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5ca4954-e65f-4a55-8c3e-5dc36596aa2a</guid><dc:creator>Jorge</dc:creator><description>&lt;p&gt;Thank you Sigurd, Can you give my information where I can find this information (page or file)? I want to check all the possibilities for my project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Minimum connection interval</title><link>https://devzone.nordicsemi.com/thread/94527?ContentTypeID=1</link><pubDate>Wed, 02 Aug 2017 11:33:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f776cda-0119-4a7d-8ca0-122b8ab4b70a</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Yes, the nRF5 series chips can achieve much lower latency than 7.5 ms. It&amp;#39;s the BLE Specification that set&amp;#39;s this limit. If you go proprietary(e.g. use &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.1.0/esb_users_guide.html?cp=4_0_0_5_0"&gt;ESB&lt;/a&gt;) you can achieve latency down to at least 0.5 ms.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Minimum connection interval</title><link>https://devzone.nordicsemi.com/thread/94526?ContentTypeID=1</link><pubDate>Wed, 02 Aug 2017 11:06:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c704379c-4bcf-46c4-b87b-067afeff5e83</guid><dc:creator>Jorge</dc:creator><description>&lt;p&gt;I have seen some chips that can achieve less and that is why I was asking. Just please edit the answer to be page &lt;strong&gt;2638&lt;/strong&gt;, because there is where is the quote ;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Minimum connection interval</title><link>https://devzone.nordicsemi.com/thread/94525?ContentTypeID=1</link><pubDate>Wed, 02 Aug 2017 10:51:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6379bcdc-2016-4ca8-b307-831f24fc7916</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The 7.5ms limit is defined by the &lt;a href="https://www.bluetooth.com/specifications/bluetooth-core-specification"&gt;Bluetooth Specification&lt;/a&gt;.  From the &lt;em&gt;BLUETOOTH SPECIFICATION Version 5.0 | Vol 6, Part B&lt;/em&gt; (page 2683):&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The connInterval shall be a multiple
of 1.25 ms in the range of 7.5 ms to
4.0 s.&lt;/p&gt;
&lt;/blockquote&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>