<?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 BLE Radio Disable</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80849/nrf52840-ble-radio-disable</link><description>I would like to disable completely the 2.4Ghz radio after the 52840 has full soft device enabled and ble stack has been run. 
 This is after the full sequence of bluetooth communication has been started and is ongoing. 
 I have attempted to use both </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Oct 2021 12:43:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80849/nrf52840-ble-radio-disable" /><item><title>RE: nrf52840 BLE Radio Disable</title><link>https://devzone.nordicsemi.com/thread/335491?ContentTypeID=1</link><pubDate>Fri, 22 Oct 2021 12:43:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57f7d56a-bae2-4b24-abff-1b304d9e3b5b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Chris&lt;/p&gt;
&lt;p&gt;Good to hear you figured it out &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;The radio will be disabled after you have disabled the SoftDevice, that is correct.&amp;nbsp;&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: nrf52840 BLE Radio Disable</title><link>https://devzone.nordicsemi.com/thread/335156?ContentTypeID=1</link><pubDate>Wed, 20 Oct 2021 20:22:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6acf037e-5831-43b5-994c-3ee4ab621412</guid><dc:creator>ccasebeer</dc:creator><description>&lt;p&gt;Dang Torbjorn!&lt;/p&gt;
&lt;p&gt;I think you nailed it. I was calling from a NUS response handler.&lt;/p&gt;
&lt;p&gt;Setup to call from main instead, seems good to go!&lt;/p&gt;
&lt;p&gt;I used nrf_sdh_disable_request() from main (not a handler/callback)&lt;/p&gt;
&lt;p&gt;I also had to dodge&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;```buttonless_dfu_sdh_state_observer()```&lt;/div&gt;
&lt;div&gt;servicing the
&lt;div&gt;
&lt;div&gt;```NRF_SDH_EVT_STATE_DISABLED```&lt;/div&gt;
&lt;div&gt;event and shutting down the system by setting my own flag. &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Appreciate the help.I assume the soft device releasing the radio peripheral would put the radio peripheral into &amp;quot;Disabled&amp;quot; state.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Chris.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 BLE Radio Disable</title><link>https://devzone.nordicsemi.com/thread/335045?ContentTypeID=1</link><pubDate>Wed, 20 Oct 2021 10:24:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b656481e-6136-488d-9c1d-e24c122414d0</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there any chance you are trying to call nrf_sdh_disable_request() from interrupt context?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If so, do you know which level?&lt;/p&gt;
&lt;p&gt;If you are calling this function from main context I don&amp;#39;t understand why it would fail.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is your code based on one of the standard SDK examples, or is it mostly custom?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>