<?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>how to use uart1 uart2 uart3 on nRF5340? uart0 is ok for console</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104795/how-to-use-uart1-uart2-uart3-on-nrf5340-uart0-is-ok-for-console</link><description>hw:5340DK 
 ncs:v2.4.0 
 (1). when i use project &amp;quot;echo_bot&amp;quot; uart0 is ok for echo, then i change the overlay file like this: 
 
 uart1 is ok for echo. but, i want to test uart2 and uart3 like this: 
 
 get error like: 
 
 how to use uart2 and uart3? 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Oct 2023 14:10:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104795/how-to-use-uart1-uart2-uart3-on-nrf5340-uart0-is-ok-for-console" /><item><title>RE: how to use uart1 uart2 uart3 on nRF5340? uart0 is ok for console</title><link>https://devzone.nordicsemi.com/thread/451342?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2023 14:10:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f5e2e77-62b7-4c76-9893-62a8968fb935</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The error log that you shared in the problem statement indicates that the issue is with the definition of the&amp;nbsp;label &amp;#39;uart2_default, where in the overlay do you define this?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="upupsky"]but in net core default uart0 is same with uart1 in app core (in the file &amp;quot;nrf5340_cpunet_common-pinctrl.dtsi)[/quote]
&lt;p&gt;These pins are forwarded to the netcore by default, if you want to use them then you have to disable the forwarding by deleting the node in the overlay.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to use uart1 uart2 uart3 on nRF5340? uart0 is ok for console</title><link>https://devzone.nordicsemi.com/thread/451165?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2023 01:05:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e33ae33-7469-4542-b5a3-70d1ca955fe3</guid><dc:creator>upupsky</dc:creator><description>&lt;p&gt;uart1 use the default in app core (in the file &amp;quot;nrf5340_cpuapp_common-pinctrl.dtsi)&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;uart1_default: uart1_default {
		group1 {
			psels = &amp;lt;NRF_PSEL(UART_TX, 1, 1)&amp;gt;;
		};
		group2 {
			psels = &amp;lt;NRF_PSEL(UART_RX, 1, 0)&amp;gt;;
			bias-pull-up;
		};
	};

	uart1_sleep: uart1_sleep {
		group1 {
			psels = &amp;lt;NRF_PSEL(UART_TX, 1, 1)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_RX, 1, 0)&amp;gt;;
			low-power-enable;
		};
	};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;but in net core default uart0 is same with uart1 in app core (in the file &amp;quot;nrf5340_cpunet_common-pinctrl.dtsi)&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;uart0_default: uart0_default {
		group1 {
			psels = &amp;lt;NRF_PSEL(UART_TX, 1, 1)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_RTS, 0, 11)&amp;gt;;
		};
		group2 {
			psels = &amp;lt;NRF_PSEL(UART_RX, 1, 0)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_CTS, 0, 10)&amp;gt;;
			bias-pull-up;
		};
	};

	uart0_sleep: uart0_sleep {
		group1 {
			psels = &amp;lt;NRF_PSEL(UART_TX, 1, 1)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_RX, 1, 0)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_RTS, 0, 11)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_CTS, 0, 10)&amp;gt;;
			low-power-enable;
		};
	};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to use uart1 uart2 uart3 on nRF5340? uart0 is ok for console</title><link>https://devzone.nordicsemi.com/thread/451029?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2023 10:43:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6095e306-99e0-48a9-b4a1-132820abfacb</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What pins are you using for each uart?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>