<?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>MPSL error although I am not using MPSL</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104648/mpsl-error-although-i-am-not-using-mpsl</link><description>Some Context: I am developing a code to send an advertisement using NRF_RADIO registers. Although I could get the READY, ADDRESS, PAYLOAD, and END events and all the radio state sequence ramping up, idle, transmission, stop, my code did not seem to work</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Oct 2023 06:35:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104648/mpsl-error-although-i-am-not-using-mpsl" /><item><title>RE: MPSL error although I am not using MPSL</title><link>https://devzone.nordicsemi.com/thread/450731?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2023 06:35:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d132920d-2260-4553-a715-9228f4398459</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry about the link, that was my bad. The content I wanted to link to was these configs that are needed for&amp;nbsp;multiprotocol applications:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_MPSL_DYNAMIC_INTERRUPTS=y
CONFIG_ESB_DYNAMIC_INTERRUPTS=y
CONFIG_DYNAMIC_INTERRUPTS=y
CONFIG_DYNAMIC_DIRECT_INTERRUPTS=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And you likely want this&lt;/p&gt;
&lt;p&gt;&lt;code&gt;CONFIG_BT_UNINIT_MPSL_ON_DISABLE=y&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;as well. When enabled, it uninitializes MPSL when bt_disable() is used. This releases all peripherals used by the MPSL.&lt;/p&gt;
&lt;p&gt;With these configs you can change protocol at run-time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MPSL error although I am not using MPSL</title><link>https://devzone.nordicsemi.com/thread/450657?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2023 16:11:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51347472-be02-48a2-a8ed-67620421a691</guid><dc:creator>Omid</dc:creator><description>&lt;p&gt;Thanks, the link to the configuration explanation does not work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MPSL error although I am not using MPSL</title><link>https://devzone.nordicsemi.com/thread/450308?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 13:03:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a23a4a2e-df79-4ae2-81a7-9783580d64ac</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The MPSL is always used if you are using the SoftDevice Controller, which you are using. In this case, the MPSL &amp;quot;owns&amp;quot; the radio, and you will get asserts if you access the radio and some other peripherals directly. If you want to both use the radio directly and use Bluetooth, you need to use &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/mpsl/timeslot/README.html"&gt;MPSL timeslots&lt;/a&gt; so that the MPSL grants you time slots where you are allowed to use the radio in between Bluetooth events. You also need some other configurations as explained in the next post (edited).&lt;/p&gt;
&lt;p&gt;Alternatively, if you don&amp;#39;t need Bluetooth, don&amp;#39;t set &amp;quot; CONFIG_BT=y&amp;quot;, and then you are free to use the radio as you like.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>