<?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>nRF5340: UART0 on netcore</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106751/nrf5340-uart0-on-netcore</link><description>Hi Support team, 
 I want to connect a UART device on the net-core of an nRF5340 DK. But after I added the uart0 node in overlay, there is an error. I tried to find the cause by following some guidance, but I did not address it. Could you help me on this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Dec 2023 08:27:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106751/nrf5340-uart0-on-netcore" /><item><title>RE: nRF5340: UART0 on netcore</title><link>https://devzone.nordicsemi.com/thread/461525?ContentTypeID=1</link><pubDate>Fri, 22 Dec 2023 08:27:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7c8ff52-a0f1-47db-b285-eac46b95b7a6</guid><dc:creator>Yanpengwu</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Thank you for your reply, that&amp;#39;s ok after&amp;nbsp;&lt;span&gt;including &amp;lt;zephyr/device.h&amp;gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;A simple mistake, but a little strange that the&amp;nbsp;DT_N_S_soc_S_uart_41013000 can be generated in&amp;nbsp;zephyr/include/generated/devicetree_generated.h even without include&amp;nbsp;&amp;lt;zephyr/device.h&amp;gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Yanpeng Wu&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340: UART0 on netcore</title><link>https://devzone.nordicsemi.com/thread/461044?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2023 12:28:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e9c28b9-0602-4a05-9838-fc534672b07f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you get the same build error if you&amp;nbsp;add &amp;quot;#include &amp;lt;zephyr/device.h&amp;gt;&amp;quot; to&amp;nbsp;C:/dataLogger/hello_world/src/remote/modemtest.c?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340: UART0 on netcore</title><link>https://devzone.nordicsemi.com/thread/460756?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2023 09:38:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:684082ce-8886-44f2-88b1-aecd6fc6fe47</guid><dc:creator>Yanpengwu</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;In the soc device tree, C:\ncs\v2.5.0\zephyr\dts\arm\nordic\nrf5340_cpunet.dtsi, there are:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;		uart0: uart@41013000 {
			compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
			reg = &amp;lt;0x41013000 0x1000&amp;gt;;
			interrupts = &amp;lt;19 NRF_DEFAULT_IRQ_PRIORITY&amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
		};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In the DK board device tree,&amp;nbsp;C:\ncs\v2.5.0\zephyr\boards\arm\nrf5340dk_nrf5340\nrf5340dk_nrf5340_cpunet.dts, there are:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;uart0 {
	status = &amp;quot;okay&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	pinctrl-0 = &amp;lt;&amp;amp;uart0_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;uart0_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and in the &amp;#39;chosen&amp;#39; section, the &amp;#39;uart0&amp;#39; was used several times.&lt;/p&gt;
&lt;p&gt;How can I define the UART0 overlay if I want to connect a device(it&amp;#39;s an ublox modem in my case) on it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>