<?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>Zephyr Shell on custom board with nRF54L15</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125421/zephyr-shell-on-custom-board-with-nrf54l15</link><description>Hi all, 
 I&amp;#39;m looking at an issue and I can&amp;#39;t get my head around it. I clearly do something wrong here but I&amp;#39;m stuck. 
 
 On our nRF54L15 DK we have a program that can show a shell terminal on UART21 (pin 1.11 and pin 1.12, no RTS and CTS used). Now I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Nov 2025 15:16:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125421/zephyr-shell-on-custom-board-with-nrf54l15" /><item><title>RE: Zephyr Shell on custom board with nRF54L15</title><link>https://devzone.nordicsemi.com/thread/553464?ContentTypeID=1</link><pubDate>Wed, 05 Nov 2025 15:16:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:385e6502-e42d-4190-b59c-975c9880dc1c</guid><dc:creator>CoussementStijn</dc:creator><description>&lt;p&gt;Hi, Andreas,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the response.&lt;/p&gt;
&lt;p&gt;I needed to update de driver in the zephyr version I use,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I use the Nordic nRF Connect SDK v3.0.2. I will have to look for an update maybe...&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr Shell on custom board with nRF54L15</title><link>https://devzone.nordicsemi.com/thread/553457?ContentTypeID=1</link><pubDate>Wed, 05 Nov 2025 14:37:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a32cfde-9613-46c7-98dd-0388a54b5adf</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Since you&amp;#39;re now using UART21 cross power domain (P2 instead of P1) you might be lacking configuring the UART to use constant latency, which was added in this commit&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/commit/20db3ee4cf31537296f92c68cea67cb7707c8f3d#diff-81d3c13ab064092ea89aa9303da05ef054e95e157abb6bc26ad0f4a25d6d444f"&gt;https://github.com/nrfconnect/sdk-zephyr/commit/20db3ee4cf31537296f92c68cea67cb7707c8f3d#diff-81d3c13ab064092ea89aa9303da05ef054e95e157abb6bc26ad0f4a25d6d444f&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Could you let me know if you have enabled&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#CONFIG_NRF_SYS_EVENT"&gt;CONFIG_NRF_SYS_EVENT&lt;/a&gt;?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Edit: I see you&amp;#39;ve posted a comment just before me.&amp;nbsp;&lt;/p&gt;
[quote user="Mysteryduck"]Wen I debug I do have a shell and I can see the logging. When I stop debugging it stops working.&amp;nbsp;[/quote]
&lt;p&gt;This strengthens my belief that you&amp;#39;re not using constant latency for cross power domain use of UART21. When you examine this in a debugging session, this basically forces constant latency and thus that cross power domain use of peripherals works.. If you build with CONFIG_ASSERT=y you should probably get an assert for this:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/c6dbf158a0b8c45beb78aa76412d99f60cd6467f/drivers/serial/uart_nrfx_uarte.c#L817C4-L817C84"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/c6dbf158a0b8c45beb78aa76412d99f60cd6467f/drivers/serial/uart_nrfx_uarte.c#L817C4-L817C84&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr Shell on custom board with nRF54L15</title><link>https://devzone.nordicsemi.com/thread/553455?ContentTypeID=1</link><pubDate>Wed, 05 Nov 2025 14:32:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e14f23c-d37b-44db-9cc4-4acbc0951ac2</guid><dc:creator>CoussementStijn</dc:creator><description>&lt;p&gt;Wen I debug I do have a shell and I can see the logging. When I stop debugging it stops working.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve used the following to investigate further:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;char&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;c&lt;/span&gt;&lt;span&gt;[]&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;quot;DEADBEEF&lt;/span&gt;&lt;span&gt;\r\n&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;dict_char_out_hex&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;uart_dev&lt;/span&gt;&lt;span&gt;, (&lt;/span&gt;&lt;span&gt;uint8_t&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;*&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;c&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;sizeof&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;c&lt;/span&gt;&lt;span&gt;) &lt;/span&gt;&lt;span&gt;-&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;uart_fifo_fill&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;uart_dev&lt;/span&gt;&lt;span&gt;, (&lt;/span&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;uint8_t&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;*&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;&amp;quot;UART initialized&lt;/span&gt;&lt;span&gt;\r\n&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;19&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;where&amp;nbsp;&lt;/span&gt;&lt;/span&gt;uart_poll_out is used to transmit the first string &amp;#39;DEADBEEF&amp;#39; and that works while debugging and running solo.&lt;/div&gt;
&lt;div&gt;The fifo fill does not work when not debugging.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;The zephyr shell uses fifo_fill so it seems logic that I get the same reaction on that.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;What do we need to configure to get&amp;nbsp;uart_fifo_fill to work while not debugging?&lt;br /&gt;It must be a timing issue i think as while debugging It runs slower and works as expected?&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;The strange thing is that no config changes can be found between the development kit and My own board.&lt;br /&gt;Is there something I need to do to configure the DMA correctly or does the&amp;nbsp;uart_fifo_fill not use DMA?&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>