<?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>bt_enable() failed after bt_disable() in nrf5340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114847/bt_enable-failed-after-bt_disable-in-nrf5340</link><description>We want the system to be in low power mode in idle state. Therefore after advertisement is sent the BLE is switched off using bt_disable. The return for this function is fine. But after sleep 
 when we try to enable ble using bt_enable, this function</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Aug 2025 21:43:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114847/bt_enable-failed-after-bt_disable-in-nrf5340" /><item><title>RE: bt_enable() failed after bt_disable() in nrf5340</title><link>https://devzone.nordicsemi.com/thread/544528?ContentTypeID=1</link><pubDate>Mon, 04 Aug 2025 21:43:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdf9116f-06f8-4228-ab58-4a8a4082db6e</guid><dc:creator>Chao W</dc:creator><description>&lt;p&gt;I removed the &amp;quot;CONFIG_SOC_NRF53_CPUNET_ENABLE=y&amp;quot; entry from my prj.conf file which let me turn the network core on and off using shell commands and bt_enable() and bt_disable().&lt;/p&gt;
&lt;p&gt;This might not be a viable workaround if you need to use network core resources before calling bt_enable() though.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve attached the modified extended advertising sample that I used for testing this. The sample fails to turn the network core back on after issuing the &amp;quot;ble disable&amp;quot; then &amp;quot;ble enable&amp;quot; commands. Comment out the&amp;nbsp;&amp;quot;CONFIG_SOC_NRF53_CPUNET_ENABLE=y&amp;quot; entry in the prj.conf file and the &amp;quot;ble disable&amp;quot; &amp;quot;ble enable&amp;quot; commands should work as intended.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/advertiser.zip"&gt;devzone.nordicsemi.com/.../advertiser.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bt_enable() failed after bt_disable() in nrf5340</title><link>https://devzone.nordicsemi.com/thread/544506?ContentTypeID=1</link><pubDate>Mon, 04 Aug 2025 16:16:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e032f27b-b1d1-4e76-b618-ac7d5450e910</guid><dc:creator>Rick T</dc:creator><description>&lt;p&gt;And what was the solution?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bt_enable() failed after bt_disable() in nrf5340</title><link>https://devzone.nordicsemi.com/thread/543642?ContentTypeID=1</link><pubDate>Fri, 25 Jul 2025 17:30:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ad01c18-9839-447e-97aa-1fb5ad412d43</guid><dc:creator>Chao W</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I ran into this issue on ncs3.1.0preview4 as well and found&amp;nbsp;CONFIG_SOC_NRF53_CPUNET_ENABLE=y to be the cause of the endpoint binding failure for my project.&lt;/p&gt;
&lt;p&gt;I was able to confirm using a modified extended advertising scanner sample with a slightly stripped down set of conf files from my project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bt_enable() failed after bt_disable() in nrf5340</title><link>https://devzone.nordicsemi.com/thread/542261?ContentTypeID=1</link><pubDate>Fri, 11 Jul 2025 13:37:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c833341-f2c4-4bcd-a64f-c32ac54ff160</guid><dc:creator>Ben_Squar3d</dc:creator><description>&lt;p&gt;Hi, sorry to hijack the post, with ncs3.0.2, it does not solve the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bt_enable() failed after bt_disable() in nrf5340</title><link>https://devzone.nordicsemi.com/thread/503121?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2024 12:17:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb6b214c-58c4-436b-afc6-8acf6136613c</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I suspect that MPSL is still enabled. Does adding &lt;code&gt;CONFIG_BT_UNINIT_MPSL_ON_DISABLE=y&lt;/code&gt; resolve it? See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/104648/mpsl-error-although-i-am-not-using-mpsl/450731"&gt;this post&lt;/a&gt; for more.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>