<?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>uart0 setting in device tree</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86591/uart0-setting-in-device-tree</link><description>Hi I am using the aws_iot example on the nrf9160 DK. 
 I have opened the zephyr.dts file and in the section uart0: it has the following 
 
 I&amp;#39;ve reached this point trying to change the pins that the console outputs. But whatever change I may do at this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Apr 2022 09:04:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86591/uart0-setting-in-device-tree" /><item><title>RE: uart0 setting in device tree</title><link>https://devzone.nordicsemi.com/thread/363491?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2022 09:04:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19e3e758-c779-40ad-80f3-ccaa282b7b51</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;What do the uart nodes in your zephyr.dts look like now?&lt;/p&gt;
&lt;p&gt;Have you tried enabling uart1 and using that instead of swapping around on the pin settings to use the same pins?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart0 setting in device tree</title><link>https://devzone.nordicsemi.com/thread/362546?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 10:20:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f1c689e-2428-4b03-9de3-c1e9dec9c532</guid><dc:creator>Vassilis</dc:creator><description>&lt;p&gt;I have included the following overlay to root the uart0 signals to where uart1 signals normally are.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;amp;uart0 {&lt;br /&gt; tx-pin = &amp;lt; 0x1 &amp;gt;;&lt;br /&gt; rx-pin = &amp;lt; 0x0 &amp;gt;;&lt;br /&gt; rts-pin = &amp;lt; 0xe &amp;gt;;&lt;br /&gt; cts-pin = &amp;lt; 0xf &amp;gt;;&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;&amp;amp;uart1 {&lt;br /&gt; tx-pin = &amp;lt; 0x1d &amp;gt;;&lt;br /&gt; rx-pin = &amp;lt; 0x1c &amp;gt;;&lt;br /&gt; rts-pin = &amp;lt; 0x1b &amp;gt;;&lt;br /&gt; cts-pin = &amp;lt; 0x1a &amp;gt;;&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;I indeed stopped receiving from VCOM0 as expected, (VCOM1 now only outputs the bootloader messages) but I am not receiving anything from VCOM2 that uart1 is normally connected as I would expect.. Any ideas?&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart0 setting in device tree</title><link>https://devzone.nordicsemi.com/thread/361598?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 15:04:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61493c98-9155-49b2-82e7-ec6ea819e652</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;You can also create the overlay file yourself in the Segger environment, but yes I would recommend giving VS Code a try.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart0 setting in device tree</title><link>https://devzone.nordicsemi.com/thread/361596?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 14:58:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65ea697f-140d-466b-bfc9-ffd2df19d535</guid><dc:creator>Vassilis</dc:creator><description>&lt;p&gt;Thanks, I am using the Segger environment that&amp;#39;s why I was not familiar with the tool.&lt;/p&gt;
&lt;p&gt;It looks like I should give VS Code a try&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart0 setting in device tree</title><link>https://devzone.nordicsemi.com/thread/361593?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 14:52:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff938af1-eb61-4b63-aa38-2f048890a8bb</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Yes, this will create a devicetree overlay file for you containing the new values you set.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart0 setting in device tree</title><link>https://devzone.nordicsemi.com/thread/361591?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 14:50:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d10d006-d213-4a8f-a533-77544250b3d2</guid><dc:creator>Sevn</dc:creator><description>&lt;p&gt;If you&amp;#39;re in vscode, you should go to the nordic environment, there you will see, above actions, the device tree. open the &amp;quot;busses&amp;quot; folder, then open the uart folder of the uart you desire to use. You can see a few settings there. If you click the pensil, you will be able to edit your desired setting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart0 setting in device tree</title><link>https://devzone.nordicsemi.com/thread/361579?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 14:38:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b2e07fe-f2a3-4f30-ab37-8d10939b2355</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;zephyr.dts is generated when you build your project, which is why changing it has no effect.&lt;/p&gt;
&lt;p&gt;You can see how this file is generated and learn more about the Zephyr devicetree&amp;nbsp;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/dts/intro.html#input-and-output-files"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In order to overwrite these values you can&amp;nbsp;include a devicetree overlay file in your project.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart0 setting in device tree</title><link>https://devzone.nordicsemi.com/thread/361575?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 14:29:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a03f892b-8e8e-46e6-a5e9-2a2f54bab059</guid><dc:creator>Vassilis</dc:creator><description>&lt;p&gt;Thanks for the quick answer,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;by the &amp;quot;&lt;span&gt;by clicking the pen icon next to the pinnumbers&lt;/span&gt;&amp;quot;, it looks like you are referring to an editing tool which one is it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart0 setting in device tree</title><link>https://devzone.nordicsemi.com/thread/361573?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 14:20:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f85cdcdc-bbcb-4561-bc1d-de760942c168</guid><dc:creator>Sevn</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I walked into this problem once.&lt;/p&gt;
&lt;p&gt;You can change the pins with an overlay by clicking the pen icon next to the pinnumbers in the devicetree. You also need uart1 instead of uart0 if I remember correctly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>