<?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>Radio (BLE 1MBit mode) not receiving frames right after HFXO startup and stabilization</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93051/radio-ble-1mbit-mode-not-receiving-frames-right-after-hfxo-startup-and-stabilization</link><description>I am implementing a port for nRF52832 for our custom communication stack. Devices are time-synchronized, radio operates in destined time slots. During the radio inactivity period MCU should drain the lowest amount of energy possible. Configuration overview</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Oct 2022 08:04:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93051/radio-ble-1mbit-mode-not-receiving-frames-right-after-hfxo-startup-and-stabilization" /><item><title>RE: Radio (BLE 1MBit mode) not receiving frames right after HFXO startup and stabilization</title><link>https://devzone.nordicsemi.com/thread/392041?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2022 08:04:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2929ad0-39b0-4974-82f8-a28ad8755e05</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Mateusz&lt;/p&gt;
&lt;p&gt;Good to hear you found a solution to your problem. I will consider the case closed then &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio (BLE 1MBit mode) not receiving frames right after HFXO startup and stabilization</title><link>https://devzone.nordicsemi.com/thread/391599?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2022 09:43:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b35c4e33-7cbe-4a27-b41f-73a00359349b</guid><dc:creator>matkub</dc:creator><description>&lt;p&gt;OK, I came up with an indea. Only in one case reference manual explicitly says that the clock is ready and stable - when EVENT_HFCLKSTARTED is set. There is no such thing for &lt;span class="fontstyle0"&gt;HFCLKSTAT.STATE which is checked by nrf_clock_hf_is_running().&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The solution:&lt;br /&gt;&lt;/span&gt;// somewhere in the code the clock is stopped&lt;br /&gt;nrf_clock_task_trigger(NRF_CLOCK_TASK_HFCLKSTOP);&lt;br /&gt;// MCU is working with sth&lt;br /&gt;// ..... IDLE state, HF domain inactive&lt;br /&gt;// MCU wakes up clocked by HFINT (internal RC)&lt;br /&gt;// MCU is working with sth&lt;br /&gt;// HFXO clock is enabled&lt;br /&gt;nrf_clock_event_clear(NRF_CLOCK_EVENT_HFCLKSTARTED);&lt;br /&gt;nrf_clock_task_trigger(NRF_CLOCK_TASK_HFCLKSTART);&lt;br /&gt;// MCU is working with sth&lt;br /&gt;// .....&lt;br /&gt;// wait for clock to be stable&lt;br /&gt;while (!nrf_clock_event_check(NRF_CLOCK_EVENT_HFCLKSTARTED))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;br /&gt;// turn on radio immediately&lt;br /&gt;nrf_radio_task_trigger(NRF_RADIO_TASK_RXEN);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Problems are often solved when they are reconsidered with the goal of passing them on to someone else &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>