<?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>hci uart sample asserts</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/128632/hci-uart-sample-asserts</link><description>Hi, I use the hci-uart sample (4.3.99) on an nRF54L15 board. The host is an esp. The setup seems to work fine, but every now and then the Nordic board gives an assert: 
 ASSERTION FAIL [next] @ WEST_TOPDIR/zephyr/subsys/bluetooth/controller/ll_sw/nordic</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Jul 2026 12:48:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/128632/hci-uart-sample-asserts" /><item><title>RE: hci uart sample asserts</title><link>https://devzone.nordicsemi.com/thread/569515?ContentTypeID=1</link><pubDate>Mon, 27 Jul 2026 12:48:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72c1366c-5336-42cb-a8c5-86cbb8561d8d</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;What SDK version are you using when you see this issue?&lt;/p&gt;
&lt;p&gt;I think the&amp;nbsp;&lt;strong&gt;next&lt;/strong&gt; assertion in the prepare path when the LLL tries to insert the next radio event into its prepare pipeline and finds the state inconsistent, so the controller isn&amp;#39;t able to keep up with radio event scheduling.&lt;/p&gt;
&lt;p&gt;This could be a number of things, listed from most to least likely:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Interrupt/CPU latency starving the LLL due to a critical section blocking it (long flash writes, drivers with incorrect priority holding IRQs disabled, heavy logging in interrupt context).&lt;/li&gt;
&lt;li&gt;Scheduling overload. There are too many concurrent roles for the timing. Nordic&amp;#39;s scheduling documentation explains that radio timing events are time-multiplexed and collisions get rescheduled. This could be it if you have many simultaneous connections or adv/scan/connection events packed tightly collide and the pipeline can&amp;#39;t be maintained.&lt;/li&gt;
&lt;li&gt;Clock/HFXO problems. If you have a custom board with an incorrectly loaded HFXO clock this could assert.&lt;/li&gt;
&lt;li&gt;Insufficient stack for the LLL/controller thread or memory pressure, corrupting the prepare state.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can narrow it down by decoding the fault with the &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-2-debugging/topic/exercise-2-11/?version=v3.3.0"&gt;addr2line&lt;/a&gt;&amp;nbsp;against your .elf output file, or look at what runs just before the application asserts.&lt;/p&gt;
&lt;p&gt;Can you also share what NCS version you&amp;#39;re using and what Bluetooth controller you&amp;#39;re using (Zephyr or the Nordic SoftDevice controller).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hci uart sample asserts</title><link>https://devzone.nordicsemi.com/thread/569333?ContentTypeID=1</link><pubDate>Wed, 22 Jul 2026 10:21:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8397ace4-8406-420e-8e23-1f430b683274</guid><dc:creator>Ypenburg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What do you mean? I use both extra.conf and prj.conf to configure the hci uart sample. The extra configs are required for the ble features we use.&lt;/p&gt;
&lt;p&gt;Br,&lt;/p&gt;
&lt;p&gt;Renger&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hci uart sample asserts</title><link>https://devzone.nordicsemi.com/thread/569250?ContentTypeID=1</link><pubDate>Mon, 20 Jul 2026 14:49:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7877983-73cf-4695-81d9-861a2899d8de</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello Renger,&lt;/p&gt;
&lt;p&gt;Can you please tell how have you used the configuration from extra.conf file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hci uart sample asserts</title><link>https://devzone.nordicsemi.com/thread/569155?ContentTypeID=1</link><pubDate>Thu, 16 Jul 2026 13:41:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:422f94ea-e2cb-4fe9-b5a7-3cf9639a51f6</guid><dc:creator>Ypenburg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You don&amp;#39;t get an error while compiling.&lt;/p&gt;
&lt;p&gt;When you run the build and let the host scan for advertising devices and connect to these devices, the error will occur randomly after reading data (from whatever characteristic). I have to wait for about 6m on average when the host continuously connects, reads, disconnects.&lt;/p&gt;
&lt;p&gt;You have to use the long range phy for scanning, advertising and connecting.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Renger&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hci uart sample asserts</title><link>https://devzone.nordicsemi.com/thread/569144?ContentTypeID=1</link><pubDate>Thu, 16 Jul 2026 10:12:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74eb79cb-d11c-4542-bd68-82f2cc3ed858</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have added the configurations from the prj.conf file from your 3808.prj.con in the hci_uart application. NCS version 3.1.1. There was no errror in the build.&lt;/p&gt;
&lt;p&gt;How have you used this ectra.conf file? Which NCS version you are using?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;BR&lt;br /&gt;Kazi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hci uart sample asserts</title><link>https://devzone.nordicsemi.com/thread/568981?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2026 20:44:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbe07d1d-b324-4c5a-a2bb-affd24289856</guid><dc:creator>Ypenburg</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3808.prj.conf"&gt;devzone.nordicsemi.com/.../3808.prj.conf&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/extra.conf"&gt;devzone.nordicsemi.com/.../extra.conf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know what part of the code leads to the assert.&lt;/p&gt;
&lt;p&gt;I just use the hci uart sample with some specific settings (long range phy) set as we use that in our products.&lt;/p&gt;
&lt;p&gt;Except for the config files and the overlay, the project is identical to the hci uart sample&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What I do is connect to target boards via the long range phy. Reading data from characteristics leads to the error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hci uart sample asserts</title><link>https://devzone.nordicsemi.com/thread/568803?ContentTypeID=1</link><pubDate>Mon, 06 Jul 2026 09:21:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75b01f99-f6e9-4eb1-a036-30e9411fb461</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is this nordic board or your custom board?&lt;/p&gt;
&lt;p&gt;Could you please share the prj.conf file and some part of the code which leads to the assert?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Kazi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>