<?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 DK - real TIFS inaccurate with Long Range</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62758/nrf52840-dk---real-tifs-inaccurate-with-long-range</link><description>Hi, I am using the TIFS register of the NRF RADIO to define the interframe spacing timing. (Done with the following line) 
 During a 1Mbit or 2Mbit connection, the real TIFS observed on the sniffer is quite accurate (~ 150.25us observed). However, in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Oct 2020 12:22:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62758/nrf52840-dk---real-tifs-inaccurate-with-long-range" /><item><title>RE: nRF52840 DK - real TIFS inaccurate with Long Range</title><link>https://devzone.nordicsemi.com/thread/276853?ContentTypeID=1</link><pubDate>Mon, 26 Oct 2020 12:22:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:723182f8-9004-48a5-a0e5-4f96796a6b8d</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;&lt;span&gt;You should be able to tell what TX mode the peer is using by monitoring the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/radio.html#register.PDUSTAT"&gt;PDUSTAT CISTAT field&lt;/a&gt; for incoming packets. (Note: peer is allowed to dynamically switch between S8/S2 without notification, so T_IFS calculation would have to be checked upon every received packet. You&amp;nbsp;set the TIFS register to a specific value when preparing the Tx packet.)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Another option is to enable an interrupt on EVENTS_RATEBOOST.&amp;nbsp;&lt;/span&gt;Write a TIFS value for S=2 to the TIFS register when starting the radio for BLE LR. If EVENTS_RATEBOOST (this happens during the reception of a frame in S=8!) is generated the software should update the TIFS register to the value for S=8.&lt;/p&gt;
&lt;p&gt;Update of the TIFS register takes immediate effect. It is recommended to update as early as possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK - real TIFS inaccurate with Long Range</title><link>https://devzone.nordicsemi.com/thread/265575?ContentTypeID=1</link><pubDate>Thu, 20 Aug 2020 13:41:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7e8caef-e9ae-40b0-9413-d956a5c34063</guid><dc:creator>JGounon</dc:creator><description>&lt;p&gt;Thanks a lot for the update.&lt;br /&gt;Indeed that&amp;#39;s&amp;nbsp;the work-around we are using for now, but it doesn&amp;#39;t work when we don&amp;#39;t know the remote device coding sheme (RX with S=2 or S=8 impacts the TIFS value).&amp;nbsp;&lt;br /&gt;Please let me know,&amp;nbsp;once&amp;nbsp;you have more information&amp;nbsp;about it, thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK - real TIFS inaccurate with Long Range</title><link>https://devzone.nordicsemi.com/thread/264074?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2020 13:11:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:817891c3-a8c2-4c73-89e9-e9e208968b1c</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;We have seen similar behavior for asymmetric links previously. It&amp;rsquo;s still under investigation. For the asymmetric use-case, I suggest trying to update/modify the TIFS register with a different value, so that you observe 150 us.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK - real TIFS inaccurate with Long Range</title><link>https://devzone.nordicsemi.com/thread/260617?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2020 14:25:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc853ad5-a271-42dd-854d-dd74f6e8063a</guid><dc:creator>Sigurd</dc:creator><description>[quote user="JGounon"]In my case,&amp;nbsp;the timing are always good, except with different LE Coded Coding Sheme.[/quote]
&lt;p&gt;&amp;nbsp;Ok. I have asked the team internally if they have seen this issue before. I will get back to you with a reply when I know more.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK - real TIFS inaccurate with Long Range</title><link>https://devzone.nordicsemi.com/thread/257396?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2020 13:07:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e615a63-51c3-4e53-937d-540260e86db6</guid><dc:creator>JGounon</dc:creator><description>&lt;p&gt;Good point, I didn&amp;#39;t write this part in the code snippet but the shortcuts configuration is done before the TIFS configuration :&lt;pre class="ui-code" data-mode="text"&gt;    NRF_RADIO-&amp;gt;SHORTS           = RADIO_SHORTS_READY_START_Msk |
                                  RADIO_SHORTS_END_DISABLE_Msk;
    ... 
    
    NRF_RADIO-&amp;gt;SHORTS |= RADIO_SHORTS_DISABLED_TXEN_Msk; 
    //or NRF_RADIO-&amp;gt;SHORTS |= RADIO_SHORTS_DISABLED_RXEN_Msk; depending on the next operation chosen
    NRF_RADIO-&amp;gt;TIFS     = 150;&lt;/pre&gt;Without those shortcuts the TIFS doesn&amp;#39;t work with the 1Mbps or 2Mbps neither.&amp;nbsp;&lt;br /&gt;In my case,&amp;nbsp;the timing are always good, except with different LE Coded Coding Sheme.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK - real TIFS inaccurate with Long Range</title><link>https://devzone.nordicsemi.com/thread/257168?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2020 13:54:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05c3bfd1-9816-4c92-b4d1-6cbef28dc81b</guid><dc:creator>Sigurd</dc:creator><description>[quote user="JGounon"]Is there something more that I should check ?&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;From the PS we have that &lt;em&gt;&amp;quot;&lt;/em&gt;&lt;span&gt;&lt;em&gt;TIFS is only enforced if END_DISABLE and DISABLED_TXEN or END_DISABLE and DISABLED_RXEN shortcuts are enabled.&amp;nbsp;&amp;quot;&lt;/em&gt;. From your code snippet, DISABLED_TXEN&amp;nbsp; is enabled, but did you enable the END_DISABLE shortcut as well?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK - real TIFS inaccurate with Long Range</title><link>https://devzone.nordicsemi.com/thread/256523?ContentTypeID=1</link><pubDate>Tue, 23 Jun 2020 15:33:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:015c6d14-9705-48fc-b2d5-1cc08ed915e0</guid><dc:creator>JGounon</dc:creator><description>&lt;p&gt;Thank you for your answer !&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I used the following lines to start the HFXO.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;    NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED = 0;
    NRF_CLOCK-&amp;gt;TASKS_HFCLKSTART = 1;
    while (NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED == 0);&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Then when the connection is established with LE Coded PHY, I checked the NRF_CLOCK-&amp;gt;HFCLKRUN (=0x00000001) and NRF_CLOCK-&amp;gt;HFCLKSTAT&amp;nbsp;&lt;span&gt;(=0x00010001)&amp;nbsp;&lt;/span&gt; registers and they indicates that the HFCLK is running with the HFXO 64 MHz crystal oscillator.&lt;br /&gt;&lt;br /&gt;Is there something more that I should check ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK - real TIFS inaccurate with Long Range</title><link>https://devzone.nordicsemi.com/thread/256157?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2020 11:19:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d99d5ab-9777-4dbf-b95d-ee2b607913f9</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you check&amp;nbsp;that the HFCLK with&amp;nbsp;&lt;span&gt;crystal oscillator&lt;/span&gt;(HFXO) is running ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>