<?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>Bluetooth and ESB switch</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113441/bluetooth-and-esb-switch</link><description>Hi Q&amp;amp;A 
 Recently, the Bluetooth communication protocol (nrf52833) was added to the ESB, both can communicate normally, but there is a problem when switching between the two, the procedure is as follows: 
 static void ble_stack_init(void) { ret_code_t</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 27 Jul 2024 17:57:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113441/bluetooth-and-esb-switch" /><item><title>RE: Bluetooth and ESB switch</title><link>https://devzone.nordicsemi.com/thread/495883?ContentTypeID=1</link><pubDate>Sat, 27 Jul 2024 17:57:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74568b57-f402-4211-ac80-3a8bd83de3b2</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;The reason might be that your application is not waiting enough or giving enough time for the softdevice to cleanup and disable properly. Disabling radio and stopping the relevant clocks and other things can be time consuming sometimes and if you try to close the BLE (softdevice) and try to switch to ESB without checking if the softdevice is enabled (&lt;span&gt;sd_softdevice_is_enabled)&amp;nbsp;&lt;/span&gt;or not can be risky.&lt;/p&gt;
&lt;p&gt;The workaround you used seems to work as might be that the radio registers happened to be the once that were not still cleaned up by the softdevice when you were trying to switch to ESB.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth and ESB switch</title><link>https://devzone.nordicsemi.com/thread/495779?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2024 09:09:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b104f87c-5090-4926-a18e-e8ea9e5a7385</guid><dc:creator>zbxiong</dc:creator><description>&lt;p&gt;After continuous tracking and debugging, the final findings are as follows:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1721984332603v1.png" alt=" " /&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Both of these interrupts must close one of the programs for it to run properly, I don&amp;#39;t know if this is a minor BUG.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>