<?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>NRF54 BLE UART PERIPHERAL works only when the debugger is connected</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120825/nrf54-ble-uart-peripheral-works-only-when-the-debugger-is-connected</link><description>Hi, We are currently working on a new product based on NRF54L15. Goal : We are trying to set up the &amp;quot;Bluetooth LE UART service&amp;quot; example in order to transmit and receive data via BLE (nrf connect for mobile) and display the data in a serial monitor. Configuration</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 May 2025 15:05:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120825/nrf54-ble-uart-peripheral-works-only-when-the-debugger-is-connected" /><item><title>RE: NRF54 BLE UART PERIPHERAL works only when the debugger is connected</title><link>https://devzone.nordicsemi.com/thread/535386?ContentTypeID=1</link><pubDate>Wed, 14 May 2025 15:05:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43443163-6718-4ac7-9d72-2673b96de2f7</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Added to my previous comment: Can you please show the current device tree overlay file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF54 BLE UART PERIPHERAL works only when the debugger is connected</title><link>https://devzone.nordicsemi.com/thread/535385?ContentTypeID=1</link><pubDate>Wed, 14 May 2025 15:04:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d98906d-7e0e-4644-af9b-17d1211cf655</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Apart from the default pin sets for UART communication on NRF54L15&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/pastedimage1747234517776v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You Can connect across power domains to dedicated pins on P2. You have to change the overlay file.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/pastedimage1747234779094v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Selected pins of P2 can be used for some serial interfaces in the peripheral domain — SPIM, SPIS, and UARTE. This is not the most power-efficient way of connecting these serial interfaces but adds flexibility when designing a circuit board. When setting up the peripheral&amp;#39;s PSEL register for cross-domain connections, it must be connected only to the corresponding function listed in the pin assignments table. For example, the peripheral&amp;#39;s PSEL.SCK register must use the P2 SCK pin from the pin assignment table. The pin assignments table shows which pins can be configured for cross power-domain connections.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You have to change the device tree accordingly, in the hardware the RX and TX pin should be powered from the default pin; as its mentioned in the previous case &amp;#39;&amp;#39;Connected wires from P1.04/05 -&amp;gt; P2.07/08 on the DK for easier access to the uart console.&amp;#39;&amp;#39;. You can also connect P2.07 or P2.08 with external UART or US converter. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You also need to add this kconfig in the prj.conf file&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_SOC_NRF_FORCE_CONSTLAT=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF54 BLE UART PERIPHERAL works only when the debugger is connected</title><link>https://devzone.nordicsemi.com/thread/533307?ContentTypeID=1</link><pubDate>Tue, 29 Apr 2025 07:26:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8276d080-9566-4ef5-b991-de92615df5ed</guid><dc:creator>riad-france</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I found a similar issue here&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/120526/nrf54l15-uart-pinout-not-working-unless-connecting-the-rtt-viewer"&gt;nRF54L15: UART pinout not working unless connecting the RTT viewer&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;This appears to be a temporary workaround&amp;nbsp;:&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;lt;uart_async_adapter.h&amp;gt;

...

int main(void) {
  NRF_TAD-&amp;gt;ENABLE = 1;
  ...
}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;It would be interesting to understand why the application require this special mode (&lt;strong&gt;Enable debug domain and aquire selected GPIOs&lt;/strong&gt;).&lt;br /&gt;&lt;br /&gt;Do you have any information on the subject ? Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF54 BLE UART PERIPHERAL works only when the debugger is connected</title><link>https://devzone.nordicsemi.com/thread/532769?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2025 09:33:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60bf3193-0dc7-4276-8252-6c0feb37a92c</guid><dc:creator>riad-france</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&amp;nbsp;&lt;br /&gt;- We kept the&lt;span&gt;&amp;nbsp;&lt;/span&gt;default value of 128 for &lt;span&gt;CONFIG_BT_NUS_UART_BUFFER_SIZE&lt;/span&gt;, as it is sufficient for our current data transmission needs.&lt;br /&gt;&lt;br /&gt;- The baud rate is set to&lt;span&gt;&amp;nbsp;&lt;/span&gt;115200.&amp;nbsp;&lt;span&gt;Below is the full configuration output from&amp;nbsp;&lt;/span&gt;&lt;code&gt;stty -F /dev/ttyLP2 -a&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;speed 115200 baud;stty: /dev/ttyLP2
 line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = &amp;lt;undef&amp;gt;; eol2 = &amp;lt;undef&amp;gt;; swtch = &amp;lt;undef&amp;gt;; start = ^Q;
stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF54 BLE UART PERIPHERAL works only when the debugger is connected</title><link>https://devzone.nordicsemi.com/thread/532762?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2025 09:12:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef3dd8e2-de62-494e-be51-1b6f8511dbc7</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;What is the buffer size you set for the sample in configuration? If the goal is to transfer large chunks of data, 128-512 bytes would be more appropriate. You can set this in the config file&lt;/p&gt;
&lt;p&gt;CONFIG_BT_NUS_UART_BUFFER_SIZE=x&lt;/p&gt;
&lt;p&gt;Did you set the baudrate 115200 in the terminal?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF54 BLE UART PERIPHERAL works only when the debugger is connected</title><link>https://devzone.nordicsemi.com/thread/532161?ContentTypeID=1</link><pubDate>Fri, 18 Apr 2025 07:54:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6dea230-bbd3-45bc-ad12-3ed737b0941d</guid><dc:creator>riad-france</dc:creator><description>&lt;p&gt;&lt;span&gt;*Full chip reference is&amp;nbsp;&lt;/span&gt;&lt;strong&gt;nRF54L15-QFAABB2435AB&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>