<?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>The reasons for BLE_HCI_INSTANT_PASSED occurring on a peripheral and the corresponding countermeasures.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114405/the-reasons-for-ble_hci_instant_passed-occurring-on-a-peripheral-and-the-corresponding-countermeasures</link><description>I using XIAO nrf52840. https://wiki.seeedstudio.com/XIAO_BLE/ 
 I am developing a BLE peripheral device using the nRF52840. This device is designed to connect with a specific central device. The peripheral detects disconnect events, which can be attributed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Sep 2024 08:00:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114405/the-reasons-for-ble_hci_instant_passed-occurring-on-a-peripheral-and-the-corresponding-countermeasures" /><item><title>RE: The reasons for BLE_HCI_INSTANT_PASSED occurring on a peripheral and the corresponding countermeasures.</title><link>https://devzone.nordicsemi.com/thread/501294?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2024 08:00:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6f1502a-eaa1-4c9c-a545-4322ed895260</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;BLE_HCI_INSTANT_PASSED&lt;/span&gt;&lt;/strong&gt; means that an instant was passed, and could be due to the LF crystal clock not being tuned correctly so that the device misses the HCI instant due to the clock being off by too much to catch it. I&amp;#39;m not 100% sure this is the error, but it&amp;#39;s a good first step at least, as this has been seen as the cause of this error message for this.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The reasons for BLE_HCI_INSTANT_PASSED occurring on a peripheral and the corresponding countermeasures.</title><link>https://devzone.nordicsemi.com/thread/500927?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2024 10:16:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2e859a1-f153-4eb2-9e69-8bb5ad497dfc</guid><dc:creator>keigo.imaizumi</dc:creator><description>&lt;div class="flex max-w-full flex-col flex-grow"&gt;
&lt;div dir="auto" data-message-author-role="assistant" data-message-id="76dba17f-f60e-42df-acba-47070fe6e95a"&gt;
&lt;div&gt;
&lt;div class="markdown prose w-full break-words dark:prose-invert dark"&gt;
&lt;p&gt;Hello &lt;a href="https://devzone.nordicsemi.com/members/simonr"&gt;Simonr&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;First of all, thank you for your reply.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m planning to adjust the SoftDevice clock settings and observe how it goes.&lt;/p&gt;
&lt;p&gt;Regarding the BLE_HCI_INSTANT_PASSED error, do you think it&amp;rsquo;s related to the clock settings?&lt;br /&gt;I&amp;rsquo;d like to understand this better, so if possible, could you explain the nature of this error?&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="mt-1 flex gap-3 empty:hidden -ml-2"&gt;
&lt;div class="items-center justify-start rounded-xl p-1 flex"&gt;
&lt;div class="flex items-center"&gt;&lt;span class="" data-state="closed"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="" data-state="closed"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="" data-state="closed"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;div class="flex"&gt;&lt;span class="" data-state="closed"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="" data-state="closed"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="flex items-center pb-0"&gt;
&lt;div&gt;&lt;/div&gt;
&lt;span class="overflow-hidden text-clip whitespace-nowrap text-sm"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The reasons for BLE_HCI_INSTANT_PASSED occurring on a peripheral and the corresponding countermeasures.</title><link>https://devzone.nordicsemi.com/thread/500906?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2024 09:12:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3725ab56-3a1a-41e1-83f1-27e1aabef85a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Try setting the oscillator settings to the following since I think the XIAO you&amp;#39;re using doesn&amp;#39;t have an external 32.768 kHz crystal oscillator, so you&amp;#39;ll have to use the internal RC oscillator.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_SRC  - SoftDevice clock source.
 
// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_SRC_RC 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_SRC_XTAL 
// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_SRC_SYNTH 

#ifndef NRF_SDH_CLOCK_LF_SRC
#define NRF_SDH_CLOCK_LF_SRC 0
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_CTIV - SoftDevice calibration timer interval. 
#ifndef NRF_SDH_CLOCK_LF_RC_CTIV
#define NRF_SDH_CLOCK_LF_RC_CTIV 16
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_TEMP_CTIV - SoftDevice calibration timer interval under constant temperature. 
// &amp;lt;i&amp;gt; How often (in number of calibration intervals) the RC oscillator shall be calibrated
// &amp;lt;i&amp;gt;  if the temperature has not changed.

#ifndef NRF_SDH_CLOCK_LF_RC_TEMP_CTIV
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_ACCURACY  - External clock accuracy used in the LL to compute timing.
 
// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_ACCURACY_250_PPM 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_ACCURACY_500_PPM 
// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_ACCURACY_150_PPM 
// &amp;lt;3=&amp;gt; NRF_CLOCK_LF_ACCURACY_100_PPM 
// &amp;lt;4=&amp;gt; NRF_CLOCK_LF_ACCURACY_75_PPM 
// &amp;lt;5=&amp;gt; NRF_CLOCK_LF_ACCURACY_50_PPM 
// &amp;lt;6=&amp;gt; NRF_CLOCK_LF_ACCURACY_30_PPM 
// &amp;lt;7=&amp;gt; NRF_CLOCK_LF_ACCURACY_20_PPM 
// &amp;lt;8=&amp;gt; NRF_CLOCK_LF_ACCURACY_10_PPM 
// &amp;lt;9=&amp;gt; NRF_CLOCK_LF_ACCURACY_5_PPM 
// &amp;lt;10=&amp;gt; NRF_CLOCK_LF_ACCURACY_2_PPM 
// &amp;lt;11=&amp;gt; NRF_CLOCK_LF_ACCURACY_1_PPM 

#ifndef NRF_SDH_CLOCK_LF_ACCURACY
#define NRF_SDH_CLOCK_LF_ACCURACY 1
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>