<?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 TX RX pin</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81892/uart0-tx-rx-pin</link><description>Hi, 
 I am working on nrf5340. I would like to change the TX and RX default pin of uart0 to &amp;lt;33&amp;gt; and &amp;lt;32&amp;gt;, I modified the file &amp;quot;nrf5340_cpuapp_common.dts&amp;quot; as below. 
 
 The issue is that If the FW is without BLE, it works(e.g. load the zephyr/samples</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Nov 2021 11:18:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81892/uart0-tx-rx-pin" /><item><title>RE: uart0 TX RX pin</title><link>https://devzone.nordicsemi.com/thread/340312?ContentTypeID=1</link><pubDate>Tue, 23 Nov 2021 11:18:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f4e8e7a-5069-440f-96f4-8dbc94273737</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;That should be possible, but you will have to also modify nrf5340_cpunet_reset.c. Commenting out this code may be enough:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/net_5F00_uart_5F00_pins.png" /&gt;&lt;/p&gt;
&lt;p&gt;In addition to disabling the uart0 node on the network core.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart0 TX RX pin</title><link>https://devzone.nordicsemi.com/thread/339937?ContentTypeID=1</link><pubDate>Mon, 22 Nov 2021 02:38:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68d4eaa1-7164-4974-a260-3e4dbb156f94</guid><dc:creator>Jason</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&amp;Oslash;ivind,&lt;/p&gt;
&lt;p&gt;Thanks for your quick response.&lt;/p&gt;
&lt;p&gt;One more question. Is it possible to disable &lt;span&gt;the UART on the network core, so that we can use these pins for other peripherals?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart0 TX RX pin</title><link>https://devzone.nordicsemi.com/thread/339839?ContentTypeID=1</link><pubDate>Fri, 19 Nov 2021 13:52:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f134c5e8-7a52-4fd7-a85b-be89c7425343</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would recommend that you use other pins if that is possible.&lt;/p&gt;
&lt;p&gt;Pin 32 and 33 correspond to P1.00 and P1.01. These are used for the UART on the network core, and this can not be changed from the application folder.&lt;/p&gt;
&lt;p&gt;If you are certain that you modify these pins, you will have to modify two files in in the board files folder: zephyr/boards/arm/nrf5340dk_nrf5340/&lt;br /&gt;The first file is nrf5340_cpunet_reset.c. &lt;br /&gt;Here you need to modify the two lines marked in red below to use different pins. They are set as 0 and 1, and the port (marked in blue) is set to 1, this translates to P1.00 and P1.01.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/cpunet_5F00_reset.png" /&gt;&lt;/p&gt;
&lt;p&gt;The second file is nrf5340dk_nrf5340_cpunet.dts. &lt;br /&gt;Here you need to modify the uart0 node to use the same pins you selected in nrf5340_cpunet_reset.c.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/cpunet_5F00_dts.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>