<?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>softdevice+freertos+radio</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127902/softdevice-freertos-radio</link><description>I am developing and testing in nrf5_sdk_17.1.0_ddde560examplesble_peripheralble_app_hrs_freertos. My project requires both BLE and a proprietary radio protocol, but BLE and the radio are mutually exclusive. Only one of them runs at a given time. I discovered</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Apr 2026 13:32:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127902/softdevice-freertos-radio" /><item><title>RE: softdevice+freertos+radio</title><link>https://devzone.nordicsemi.com/thread/565549?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2026 13:32:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52a1559b-314c-49a3-9eec-3918764bf9a9</guid><dc:creator>Trump</dc:creator><description>&lt;p&gt;&lt;span&gt;&amp;quot;Also, I want to know if my approach is correct. I want my program, based on FreeRTOS, to have two functions: one is BLE scanning and advertising, and the other is Radio transmission and reception. These two functions are mutually exclusive. Is this feasible? How should I modify the code based on&amp;nbsp;&lt;/span&gt;&lt;code&gt;nrf5_sdk_17.1.0_ddde560\examples\ble_peripheral\ble_app_hrs_freertos&lt;/code&gt;&lt;span&gt;? And what issues should I be aware of?&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: softdevice+freertos+radio</title><link>https://devzone.nordicsemi.com/thread/565546?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2026 13:20:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8bd320b-5cb9-4800-9881-7dd6d34ca413</guid><dc:creator>Trump</dc:creator><description>&lt;p&gt;&lt;span&gt;In other words, I originally did not clear HFCLKSTARTED, which caused continuous interrupts and affected the Radio&amp;#39;s reception and transmission.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: softdevice+freertos+radio</title><link>https://devzone.nordicsemi.com/thread/565545?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2026 12:55:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0be240ba-1302-4b44-9b3e-0d97a5a77a3d</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;I could be that the clock driver clears the&amp;nbsp;&lt;span&gt;HFCLKSTARTED event in a interrupt handler, and that your original radio_init() code never sees the&amp;nbsp;HFCLKSTARTED event.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: softdevice+freertos+radio</title><link>https://devzone.nordicsemi.com/thread/565533?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2026 10:17:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f61dd41-557e-4612-b94d-8464cba61f70</guid><dc:creator>Trump</dc:creator><description>&lt;p&gt;NVIC_DisableIRQ(POWER_CLOCK_IRQn);&lt;br /&gt; NRF_CLOCK-&amp;gt;INTENCLR = 0xFFFFFFFF;&lt;br /&gt; NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED = 0;&lt;br /&gt;NRF_CLOCK-&amp;gt;EVENTS_LFCLKSTARTED = 0;&lt;br /&gt;nrf_drv_clock_hfclk_request(NULL);&lt;br /&gt;while (!nrf_drv_clock_hfclk_is_running()) {&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It seems that I can only do it this way. Can you tell me the specific reason?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: softdevice+freertos+radio</title><link>https://devzone.nordicsemi.com/thread/565532?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2026 10:13:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60802c55-04f8-4fb5-ba5e-760e7c0f6359</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;When you use nrf_drv_clock_init&lt;/p&gt;
&lt;p&gt;Then in&amp;nbsp;radio_init(), try to request the HFXO like this instead:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrf_drv_clock_hfclk_request(NULL);
while(!nrf_drv_clock_hfclk_is_running());&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>