<?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>BLE 20ms Advertisement Interval Softdevice conflict?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81935/ble-20ms-advertisement-interval-softdevice-conflict</link><description>Hey everyone, I got a question regarding the BLE Advertisement with the nRF52840 (Softdevice s140). I am using the nRF Connect SDK with Zephyr and currently working on a BLE Mesh project. I am a bit confused regarding the documentation of the Softdevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Nov 2021 14:08:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81935/ble-20ms-advertisement-interval-softdevice-conflict" /><item><title>RE: BLE 20ms Advertisement Interval Softdevice conflict?</title><link>https://devzone.nordicsemi.com/thread/340115?ContentTypeID=1</link><pubDate>Mon, 22 Nov 2021 14:08:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a00b714-a655-4dc3-bb8e-e48d96ad9d84</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Bjoern,&lt;/p&gt;
&lt;p&gt;The SoftDevice specification states 0-10 ms random delay, as you write. Bu the 3-13 ms described under &lt;a href="https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/multilink_scheduling/advertiser_timing.html"&gt;Advertiser timing&lt;/a&gt;&amp;nbsp;includes 3 ms preprocessing when starting advertising. For any subsequent advertising event, the random delay is 0-10 ms.&lt;/p&gt;
&lt;p&gt;As the additional 3 ms is just for the fist advertising packet that can be ignored when calculating power consumption, so in that case, you should add 5 ms, as is done by the online power profiler.&lt;/p&gt;
&lt;p&gt;Regarding additional delays, there is pre and post processing that take time for all types of packets (including re-configuring the radio, starting HFXO if not running, etc.), and the SoftDevice accounts for it so that it is started before the event itself. The advertisement packet is transmitted when it should or not at all. You can see this in the &lt;a href="https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/multilink_scheduling/advertiser_timing.html"&gt;Advertiser timing&lt;/a&gt; in&amp;nbsp;Figure 2. Advertiser collision, where one of the packets are not sent. Which type of packet is prioritized depends on several factors and is decided based on the &lt;a href="https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/multilink_scheduling/priorities_and_events_intro.html"&gt;Scheduling priorities&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE 20ms Advertisement Interval Softdevice conflict?</title><link>https://devzone.nordicsemi.com/thread/339919?ContentTypeID=1</link><pubDate>Sat, 20 Nov 2021 16:29:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e318085-abf3-4b26-b90f-5c0b77a6723f</guid><dc:creator>Bjoern S</dc:creator><description>&lt;p&gt;Small addendum to specify the second question a bit more.&lt;br /&gt;So I would actually like to know from when the Advertisement Interval applies. Does it start directly after the random delay or is there some kind of processing delay / radio switch delay of significant size before the radio transmits the packet on the first channel.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>