<?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>Enabling UART2 on nRF9151 DK using P0.02 and P0.03 – Verification Needed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127185/enabling-uart2-on-nrf9151-dk-using-p0-02-and-p0-03-verification-needed</link><description>Hi, 
 I am working on the nRF9151 DK (nrf9151dk_nrf9151ns) and need to use an additional UART for communication with an external ESP32. 
 Currently: 
 
 
 UART0 is used for console/debug. 
 
 
 UART1 is used by the LTE modem. 
 
 
 Therefore, I am attempting</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Mar 2026 14:40:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127185/enabling-uart2-on-nrf9151-dk-using-p0-02-and-p0-03-verification-needed" /><item><title>RE: Enabling UART2 on nRF9151 DK using P0.02 and P0.03 – Verification Needed</title><link>https://devzone.nordicsemi.com/thread/562562?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2026 14:40:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e83d537-7454-4416-8429-f563baf96287</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;How do you determine that no data is output on the UART? Did you try to switch the TX and RX pin in the .overlay file? Both for uart2_default and uart2_sleep:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;pinctrl {
	uart2_default: uart2_default {
		group1 {
			psels = &amp;lt;NRF_PSEL(UART_TX, 0, 2)&amp;gt;;
		};

		group2 {
			psels = &amp;lt;NRF_PSEL(UART_RX, 0, 3)&amp;gt;;
			bias-pull-up;
		};
	};

    uart2_sleep: uart2_sleep {
		group1 {
			psels = &amp;lt;NRF_PSEL(UART_TX, 0, 2)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_RX, 0, 3)&amp;gt;;
			low-power-enable;
		};
	};
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Have you tried analysing the pins using a logic analyzer to see if there is any data?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling UART2 on nRF9151 DK using P0.02 and P0.03 – Verification Needed</title><link>https://devzone.nordicsemi.com/thread/562556?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2026 14:00:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81b3ce79-87f9-4502-9bc0-b61531b8c568</guid><dc:creator>Suhas0</dc:creator><description>&lt;p&gt;Hi, &lt;a href="https://devzone.nordicsemi.com/members/edvin-holmseth"&gt;Edvin&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p data-start="70" data-end="150"&gt;I tested your attached project.&lt;/p&gt;
&lt;p data-start="152" data-end="245"&gt;The build and flash are successful, but no data is observed on&amp;nbsp;UART2 (P0.02 / P0.03).&lt;/p&gt;
&lt;p data-start="550" data-end="653"&gt;Could you please confirm if anything additional is required to enable UART2 output on the nRF9151 DK?&lt;/p&gt;
&lt;p data-start="655" data-end="662"&gt;Thanks.&lt;/p&gt;
&lt;p data-start="664" data-end="685"&gt;Best regards,&lt;br data-start="677" data-end="680" /&gt; Suhas&lt;/p&gt;
&lt;p data-start="152" data-end="245"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling UART2 on nRF9151 DK using P0.02 and P0.03 – Verification Needed</title><link>https://devzone.nordicsemi.com/thread/562227?ContentTypeID=1</link><pubDate>Fri, 27 Feb 2026 14:28:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fe67aa9-e3e4-4390-b93b-5721d884b094</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please try the attached sample:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/hello_5F00_world_5F00_uart2.zip"&gt;devzone.nordicsemi.com/.../hello_5F00_world_5F00_uart2.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Your overlay file doesn&amp;#39;t look correct, see how I did it in the attached project. I tested this, building it for nrf9151dk/nrf9151/ns, using NCS v3.2.2, and flashed it. It seems to work using pins P0.02 and P0.03 (I may have mixed up TX and RX).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>