<?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>UARTE21 and SMP Bluetooth conflict on nRF54L15 – works only with debugger attached</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120603/uarte21-and-smp-bluetooth-conflict-on-nrf54l15-works-only-with-debugger-attached</link><description>Hi, 
 I&amp;#39;m working with the nRF54L15 SoC and running into an issue when using UARTE21 together with SMP over Bluetooth . Here&amp;#39;s what I’ve observed: 
 
 
 UARTE21 works perfectly when Bluetooth is disabled. 
 
 
 After starting BLE advertising using start_smp_bluetooth_adverts</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Apr 2025 12:50:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120603/uarte21-and-smp-bluetooth-conflict-on-nrf54l15-works-only-with-debugger-attached" /><item><title>RE: UARTE21 and SMP Bluetooth conflict on nRF54L15 – works only with debugger attached</title><link>https://devzone.nordicsemi.com/thread/531699?ContentTypeID=1</link><pubDate>Mon, 14 Apr 2025 12:50:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc0c94b7-726d-49a3-b404-a3b4625c6b9e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;On the nRF54L15, the Bluetooth stack (specifically MPSL) will disable constant latency mode unless it is enabled in a way it knows about. Therefor,&amp;nbsp;&lt;code&gt;CONFIG_SOC_NRF_FORCE_CONSTLAT=y&lt;/code&gt;&amp;nbsp; will not work in this case.&lt;/p&gt;
&lt;p&gt;To use constant latency with Bluetooth, you&amp;nbsp;can add&amp;nbsp;&lt;code&gt;CONFIG_NRFX_POWER=y&lt;/code&gt; to prj.conf and enable constant latency using&amp;nbsp;&lt;code&gt;nrfx_power_constlat_mode_request()&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE21 and SMP Bluetooth conflict on nRF54L15 – works only with debugger attached</title><link>https://devzone.nordicsemi.com/thread/531546?ContentTypeID=1</link><pubDate>Fri, 11 Apr 2025 13:50:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:111e2c6a-b4d7-4706-8b60-5148532772fd</guid><dc:creator>Agustin Perez</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Thank you for your prompt follow-up and for reproducing the issue on your end.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p class="" data-start="165" data-end="385"&gt;As we are approaching production soon, I would greatly appreciate it if you could keep me informed of any updates or findings related to this issue. If a workaround becomes available, please do let me know.&lt;/p&gt;
&lt;p class="" data-start="387" data-end="420"&gt;Thank you again for your support.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE21 and SMP Bluetooth conflict on nRF54L15 – works only with debugger attached</title><link>https://devzone.nordicsemi.com/thread/531543?ContentTypeID=1</link><pubDate>Fri, 11 Apr 2025 13:38:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:410ebc9c-662b-4eef-bc41-12b3762befc5</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for your patience in this matter and confirming that CONSTLAT is indeed set. I have been able to reproduce this with the smp_svr sample, by enabling UARTE21, and see that the uart output is corrupted just as you mention.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have reported this internally and alerted the team(s) in question.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE21 and SMP Bluetooth conflict on nRF54L15 – works only with debugger attached</title><link>https://devzone.nordicsemi.com/thread/531382?ContentTypeID=1</link><pubDate>Thu, 10 Apr 2025 13:50:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73fb4db8-1397-4aee-b45f-7b91f24da61c</guid><dc:creator>Agustin Perez</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p class="" data-start="89" data-end="119"&gt;I&amp;rsquo;ve added the following line:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
// Set register&lt;br /&gt;NRF_POWER-&amp;gt;TASKS_CONSTLAT = 1;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;div class="sticky top-9"&gt;
&lt;div class="absolute end-0 bottom-0 flex h-9 items-center pe-2"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="overflow-y-auto p-4" dir="ltr"&gt;
&lt;p class="" data-start="178" data-end="328"&gt;However, the issue still persists. The UART works correctly when BLE is not enabled, but once advertising starts, the UART stops working or freezes.&lt;/p&gt;
&lt;p class="" data-start="330" data-end="387"&gt;Do you have any idea what might be causing this behavior?&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE21 and SMP Bluetooth conflict on nRF54L15 – works only with debugger attached</title><link>https://devzone.nordicsemi.com/thread/531294?ContentTypeID=1</link><pubDate>Thu, 10 Apr 2025 09:06:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c512b6aa-0124-4d04-bdfb-d73c534a4f56</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you so much for providing a detailed and proper overview of the issue that you are seeing.&lt;/p&gt;
[quote user="Agustin Perez"]I&amp;#39;m using P2.07 and P2.08 for UARTE21 [/quote]
&lt;p&gt;When crossing domains, ie. using P2 pins on UARTE2x (and TWIM2x/SPIM2x), there is a requirement to enable constant latency mode:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/120526/nrf54l15-uart-pinout-not-working-unless-connecting-the-rtt-viewer/531225"&gt;RE: nRF54L15: UART pinout not working unless connecting the RTT viewer&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is unfortunately not documented yet from our side, but will be in the future. My deepest apologies for the inconvenience this is causing you. I will also convey internally that this will need&amp;nbsp;driver transport logic added.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE21 and SMP Bluetooth conflict on nRF54L15 – works only with debugger attached</title><link>https://devzone.nordicsemi.com/thread/531241?ContentTypeID=1</link><pubDate>Wed, 09 Apr 2025 18:20:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e93d2ce5-5dea-42c9-9a68-b0eb19baa0d3</guid><dc:creator>Agustin Perez</dc:creator><description>&lt;p&gt;I&amp;#39;m not using the DK, I have a custom board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE21 and SMP Bluetooth conflict on nRF54L15 – works only with debugger attached</title><link>https://devzone.nordicsemi.com/thread/531240?ContentTypeID=1</link><pubDate>Wed, 09 Apr 2025 18:18:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98fc4c89-2b34-4db6-af6c-b04d6af9e718</guid><dc:creator>khelmutlord</dc:creator><description>&lt;p&gt;If you are using the nRF54L15-DK, please use the board configurator to disable the debugger once your application is running. P2.07 is connected to the onboard debugger as it also serves as SWO. This may be the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE21 and SMP Bluetooth conflict on nRF54L15 – works only with debugger attached</title><link>https://devzone.nordicsemi.com/thread/531214?ContentTypeID=1</link><pubDate>Wed, 09 Apr 2025 14:38:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7875858b-7906-4898-96e5-887a95a5bc52</guid><dc:creator>Agustin Perez</dc:creator><description>&lt;p&gt;I&amp;#39;m using P2.07 and P2.08 for UARTE21 and P2.02, P2.04, P2.05 and P2.06 for SPI00.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE21 and SMP Bluetooth conflict on nRF54L15 – works only with debugger attached</title><link>https://devzone.nordicsemi.com/thread/531213?ContentTypeID=1</link><pubDate>Wed, 09 Apr 2025 14:37:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:191f0dad-a8a9-4aff-ae61-8730212007bf</guid><dc:creator>Agustin Perez</dc:creator><description>[deleted]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE21 and SMP Bluetooth conflict on nRF54L15 – works only with debugger attached</title><link>https://devzone.nordicsemi.com/thread/531208?ContentTypeID=1</link><pubDate>Wed, 09 Apr 2025 14:32:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:748ab3bd-e0d0-46ca-ba27-1ae6bb63efa1</guid><dc:creator>khelmutlord</dc:creator><description>&lt;p&gt;Could you share the pins you are using for SPI00 and UARTE21?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>