<?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>2.4G And BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124054/2-4g-and-ble</link><description>This is also my Bluetooth Prj.conf 
 
 
 When I turn on 2.4G, there will be an error message. How can I solve it? BLE and 2.4G cannot coexist at the same time. Can I switch by restarting? Where is the Nordic restart routine 
 
 
 error tips 
 
 Version</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Sep 2025 09:25:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124054/2-4g-and-ble" /><item><title>RE: 2.4G And BLE</title><link>https://devzone.nordicsemi.com/thread/548036?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2025 09:25:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00db163b-f8ec-4edd-b223-dd40b6aa9c50</guid><dc:creator>LinJunXuan</dc:creator><description>&lt;p&gt;&lt;span&gt;&lt;br /&gt;I see, I understand now. Thank you&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 2.4G And BLE</title><link>https://devzone.nordicsemi.com/thread/548032?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2025 09:05:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b5c7267-1033-4efb-9ef1-6ae014d360c4</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The problem here is related to logging only.&amp;nbsp; You have deferred logging enabled with&amp;nbsp;CONFIG_LOG_MODE_DEFERRED=y, which means that logs are processed with low priority. But at the same time you are logging from the main loop without any sleep, so there is no CPU time available for processing the logs.&lt;/p&gt;
&lt;p&gt;To&amp;nbsp; get the logs you can either disable deferred logging, or add a sleep in your main loop by for instance making it look like this instead:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    while(1)
    {
        printk(&amp;quot;dasdsadsa&amp;quot;);
	    k_sleep(K_MSEC(100));
    }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;PS: Note that ESB and BLE cannot run concurrently (though in principle you can use ESB within &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/mpsl/timeslot/README.html"&gt;MPSL timeslots&lt;/a&gt;, but the ESB protocol itself was not designed to be used in this manner so it will not be optimal).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 2.4G And BLE</title><link>https://devzone.nordicsemi.com/thread/548015?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2025 06:46:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c611374-78d2-48b2-b7f9-a94b862d47d9</guid><dc:creator>LinJunXuan</dc:creator><description>&lt;p&gt;/*&amp;nbsp; Code1&amp;nbsp; */&lt;/p&gt;
&lt;p&gt;Firstly, I did not add Bluetooth Prj.conf&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;# log
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_LOG_PRINTK=y
CONFIG_USE_SEGGER_RTT=y

# bluetooth

CONFIG_DK_LIBRARY=y

CONFIG_BT=y
CONFIG_BT_MAX_CONN=1
CONFIG_BT_MAX_PAIRED=2
CONFIG_BT_ATT_TX_COUNT=5
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_DEVICE_NAME=&amp;quot;Nordic_HIDS_mouse&amp;quot;
CONFIG_BT_DEVICE_APPEARANCE=962

CONFIG_BT_BAS=y
CONFIG_BT_HIDS=y
CONFIG_BT_HIDS_MAX_CLIENT_COUNT=1
CONFIG_BT_HIDS_DEFAULT_PERM_RW_ENCRYPT=y

CONFIG_BT_GATT_UUID16_POOL_SIZE=40
CONFIG_BT_GATT_CHRC_POOL_SIZE=20

CONFIG_BT_CONN_CTX=y

CONFIG_BT_SMP=y

CONFIG_BT_DIS=y
CONFIG_BT_DIS_MANUF_NAME=y
CONFIG_BT_DIS_MANUF_NAME_STR=&amp;quot;NordicSemiconductor&amp;quot;

CONFIG_BT_DIS_PNP=y
CONFIG_BT_DIS_PNP_VID_SRC=2
CONFIG_BT_DIS_PNP_VID=0x1915
CONFIG_BT_DIS_PNP_PID=0xEEEE
CONFIG_BT_DIS_PNP_VER=0x0100

CONFIG_MAIN_STACK_SIZE=2048
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;my main code&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#include &amp;lt;zephyr/kernel.h&amp;gt;
#include &amp;lt;zephyr/sys/printk.h&amp;gt;




int main()
{
  
    while(1)
    {
        printk(&amp;quot;dasdsadsa&amp;quot;);
    }
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;/*&amp;nbsp; Code2 */&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This is my Prj.conf with 2.4G and BLE added&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;# log
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_LOG_PRINTK=y
CONFIG_USE_SEGGER_RTT=y

# bluetooth

CONFIG_DK_LIBRARY=y

CONFIG_BT=y
CONFIG_BT_MAX_CONN=1
CONFIG_BT_MAX_PAIRED=2
CONFIG_BT_ATT_TX_COUNT=5
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_DEVICE_NAME=&amp;quot;Nordic_HIDS_mouse&amp;quot;
CONFIG_BT_DEVICE_APPEARANCE=962

CONFIG_BT_BAS=y
CONFIG_BT_HIDS=y
CONFIG_BT_HIDS_MAX_CLIENT_COUNT=1
CONFIG_BT_HIDS_DEFAULT_PERM_RW_ENCRYPT=y

CONFIG_BT_GATT_UUID16_POOL_SIZE=40
CONFIG_BT_GATT_CHRC_POOL_SIZE=20

CONFIG_BT_CONN_CTX=y

CONFIG_BT_SMP=y

CONFIG_BT_DIS=y
CONFIG_BT_DIS_MANUF_NAME=y
CONFIG_BT_DIS_MANUF_NAME_STR=&amp;quot;NordicSemiconductor&amp;quot;

CONFIG_BT_DIS_PNP=y
CONFIG_BT_DIS_PNP_VID_SRC=2
CONFIG_BT_DIS_PNP_VID=0x1915
CONFIG_BT_DIS_PNP_PID=0xEEEE
CONFIG_BT_DIS_PNP_VER=0x0100

CONFIG_MAIN_STACK_SIZE=2048
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048

# 2.4G 
CONFIG_NCS_SAMPLES_DEFAULTS=y
CONFIG_DK_LIBRARY=y
CONFIG_LOG=y
CONFIG_LOG_DEFAULT_LEVEL=3
CONFIG_LOG_MODE_DEFERRED=y

CONFIG_ESB=y

CONFIG_PPI_TRACE=y

CONFIG_MPSL=y
CONFIG_BT_UNINIT_MPSL_ON_DISABLE=y

CONFIG_DYNAMIC_INTERRUPTS=y
CONFIG_DYNAMIC_DIRECT_INTERRUPTS=y

CONFIG_ESB_DYNAMIC_INTERRUPTS=y
CONFIG_MPSL_DYNAMIC_INTERRUPTS=y&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;my main code&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;
#include &amp;lt;zephyr/kernel.h&amp;gt;
#include &amp;lt;zephyr/sys/printk.h&amp;gt;




int main()
{
 
    while(1)
    {
        printk(&amp;quot;dasdsadsa&amp;quot;);
    }
}
&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In summary, I don&amp;#39;t understand why adding 2.4G Prj.conf doesn&amp;#39;t run my entire system and Printk doesn&amp;#39;t output or print, but it works when I don&amp;#39;t add 2.4G. I don&amp;#39;t understand what this is.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 2.4G And BLE</title><link>https://devzone.nordicsemi.com/thread/547792?ContentTypeID=1</link><pubDate>Thu, 04 Sep 2025 15:39:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22b55110-ebc0-4bde-9e76-47c9a370fed1</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am not able to get the full understanding here. Can you please elaborate more on what you are doing, how you are testing and in what way it is not working?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 2.4G And BLE</title><link>https://devzone.nordicsemi.com/thread/547699?ContentTypeID=1</link><pubDate>Thu, 04 Sep 2025 03:13:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2891e6a3-897c-4a88-9615-c2bfc14b8c64</guid><dc:creator>LinJunXuan</dc:creator><description>&lt;p&gt;Thank you for your answer, but based on Prj.conf&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;# CONFIG_NCS_SAMPLES_DEFAULTS=y
# CONFIG_DK_LIBRARY=y

# CONFIG_LOG=y
# CONFIG_LOG_DEFAULT_LEVEL=3
# CONFIG_LOG_MODE_DEFERRED=y

# # ESB
# CONFIG_ESB=y

# # RADIO DEBUGGING/PERF MEASUREMENT
# CONFIG_PPI_TRACE=y

# # MULTI-ROLE
# CONFIG_MPSL=y
# CONFIG_BT_UNINIT_MPSL_ON_DISABLE=y

# # CONFIG_MPSL_TIMESLOT_SESSION_COUNT=2

# # CONFIG_SHARED_INTERRUPTS=y # this one seems no good
# CONFIG_DYNAMIC_INTERRUPTS=y
# CONFIG_DYNAMIC_DIRECT_INTERRUPTS=y

# CONFIG_ESB_DYNAMIC_INTERRUPTS=y
# CONFIG_MPSL_DYNAMIC_INTERRUPTS=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Assuming I am not compatible with 2.4G initialization,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;my 2.4G code&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;char bsp_24g_init(void)
{
	int err;

	err = clocks_start();
	if (err) {
        BSP_DEBUG_LOG(&amp;quot;clocks_start error \n&amp;quot;);
		return BSP_ERROR_CODE;
	}

	err = esb_initialize();
	if (err) {
		BSP_DEBUG_LOG(&amp;quot;esb_initialize error \n&amp;quot;);
		return BSP_ERROR_CODE;
	}

	BSP_DEBUG_LOG(&amp;quot;Initialization complete\n&amp;quot;);
	BSP_DEBUG_LOG(&amp;quot;Sending test packet\n&amp;quot;);

	tx_payload.noack = false;

    esb_flush_tx();

    return BSP_OK_CODE;
}&lt;/pre&gt;&lt;br /&gt;It will cause my entire Nordic to not run until I annotated prj.conf. I spent a day searching for this issue and recreated Borad, but I want to know why this is happening&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 2.4G And BLE</title><link>https://devzone.nordicsemi.com/thread/547481?ContentTypeID=1</link><pubDate>Tue, 02 Sep 2025 12:47:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5286af8-880a-421d-bf48-86f0992181af</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Using BLE and ESB concurrently on the nRF54L15 is not straightforward, please see &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/123777/esb-and-ble-concurrent-issues-on-nrf54l-series"&gt;this thread&lt;/a&gt; for information about that. However, if you only need one at a time you can switch between them. You can see an example of that &lt;a href="https://github.com/droidecahedron/esb_multi"&gt;here&lt;/a&gt; (speicfically the&amp;nbsp;esb_prx_blefallback project). This project does not support nRF54L15, but the fundamental principle works the same.&lt;/p&gt;
&lt;p&gt;I advice you refer to the &lt;a href="https://github.com/droidecahedron/esb_multi/tree/main/esb_prx_blefallback"&gt;esb_prx_blefallback&lt;/a&gt;&amp;nbsp;(both the source code and prj.conf) for details, but the key is to configure both BLE and ESB to use dynamic interrupts, and make it so that the MPSL is also disabled upton disabling Bluetooth.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>