<?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] Early BLE radio events</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74062/nrf52840-early-ble-radio-events</link><description>Hello, 
 We&amp;#39;re using a BLE connection configured with a 15ms connection interval, and a radio event notification configured to fire 800us prior to a radio event. I&amp;#39;d like to synchronize a function with this event, so am testing the timing accuracy of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Apr 2021 06:53:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74062/nrf52840-early-ble-radio-events" /><item><title>RE: [NRF52840] Early BLE radio events</title><link>https://devzone.nordicsemi.com/thread/305409?ContentTypeID=1</link><pubDate>Mon, 19 Apr 2021 06:53:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5cb9be9-53c1-499c-8993-8dac80435ffa</guid><dc:creator>Edvin</dc:creator><description>[quote user="aram"] Is this retransmission protocol documented anywhere? I wasn&amp;#39;t able to find anything on it.&lt;br /&gt;[/quote]
&lt;p&gt;&amp;nbsp;It probably says somewhere in the &lt;a href="https://www.bluetooth.com/specifications/specs/core-specification/"&gt;specification&lt;/a&gt;, but I am not sure where.&lt;/p&gt;
&lt;p&gt;Perhaps you can tell me why you are looking at these numbers? Are you experiencing any issues?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="aram"]&lt;p&gt;Also for this case:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;[246, 246, 251, 158, 246, 246]&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Is this also an instance of retransmission? Here there is a reset in phase of the radio events which I don&amp;#39;t understand.&lt;/p&gt;[/quote]
&lt;p&gt;&amp;nbsp;If you are curious on what is happening on the air, I suggest you look into capturing a sniffer trace instead of just the timestamp of each packet. You can use the &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE"&gt;nRF Sniffer for BLE&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The timestamps only doesn&amp;#39;t really say much.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NRF52840] Early BLE radio events</title><link>https://devzone.nordicsemi.com/thread/305349?ContentTypeID=1</link><pubDate>Fri, 16 Apr 2021 19:10:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6c650f4-916f-45f2-8af3-bd7af44ae86e</guid><dc:creator>aram</dc:creator><description>&lt;p&gt;Thanks for the explanation! Is this retransmission protocol documented anywhere? I wasn&amp;#39;t able to find anything on it.&lt;br /&gt;&lt;br /&gt;Also for this case:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;[246, 246, 251, 158, 246, 246]&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Is this also an instance of retransmission? Here there is a reset in phase of the radio events which I don&amp;#39;t understand.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NRF52840] Early BLE radio events</title><link>https://devzone.nordicsemi.com/thread/305315?ContentTypeID=1</link><pubDate>Fri, 16 Apr 2021 13:55:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1fa7681-f085-4ef7-a7d3-80866b8e81d1</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The reason you are seeing these changes are because this is a wireless protocol, and in wireless transfers it is quite common with packet loss.&lt;/p&gt;
&lt;p&gt;When you see the 190 ticks, it means that the packet before that was lost, and it is a retransmission. Then you can see that this is sent successfully, and the next radio event is after a bit over 300 ticks.&lt;/p&gt;
&lt;p&gt;(190+305)/2&amp;nbsp;&lt;b&gt;≈&amp;nbsp;&lt;/b&gt;(246+246)/2&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Just to be clear, it means that the second packet is lost, the one saying 250, because this is shedulet at the normal time. The packet at 190 is the retransmission, and the 305 is another normal. But all in all, this is not really something you need to worry about. The softdevice handles it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>