<?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>NRF52832 change UART pin configuration on the fly</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60905/nrf52832-change-uart-pin-configuration-on-the-fly</link><description>Hi 
 
 I read in another post a while ago a suggestion of changing GPIO pins allocated to the UART (which I can&amp;#39;t find now) as a way for implementing multiple UARTs. I would like to send data to more than one UART, so is it practical to swap the UART</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 May 2020 15:25:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60905/nrf52832-change-uart-pin-configuration-on-the-fly" /><item><title>RE: NRF52832 change UART pin configuration on the fly</title><link>https://devzone.nordicsemi.com/thread/247969?ContentTypeID=1</link><pubDate>Mon, 04 May 2020 15:25:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88a6d942-f516-41ce-a9f2-5208a30ca1bc</guid><dc:creator>Nick_RA</dc:creator><description>&lt;p&gt;OK thanks guys, changing the register worked for me, I just needed to set a flag in the uart callback to let me know when the uart was finished before switching.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 change UART pin configuration on the fly</title><link>https://devzone.nordicsemi.com/thread/247850?ContentTypeID=1</link><pubDate>Mon, 04 May 2020 12:10:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b546aded-32ea-49d5-84f7-31ae29f18864</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I think you will have to uninit the UART and then reconfigure the pins before reinitializing the UART again. As to how you trigger this that is entirely up to you I guess. There&amp;#39;s no&amp;nbsp;&lt;strong&gt;&lt;/strong&gt;&amp;quot;recommended&amp;quot; way to do this per se.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 change UART pin configuration on the fly</title><link>https://devzone.nordicsemi.com/thread/247674?ContentTypeID=1</link><pubDate>Fri, 01 May 2020 10:32:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f5cd929-c29d-4e80-9431-df5b4f9824ac</guid><dc:creator>Nick_RA</dc:creator><description>&lt;p&gt;Maybe &amp;quot;recommended&amp;quot; is a better word... writing the register is fine for me as long as it doesn&amp;#39;t upset the drivers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 change UART pin configuration on the fly</title><link>https://devzone.nordicsemi.com/thread/247673?ContentTypeID=1</link><pubDate>Fri, 01 May 2020 09:41:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:895a55cf-373b-4274-89ba-2b8b472ca707</guid><dc:creator>Turbo J</dc:creator><description>[quote userid="78418" url="~/f/nordic-q-a/60905/nrf52832-change-uart-pin-configuration-on-the-fly"]If so, what is the best way of going about it?[/quote]
&lt;p&gt;Define: &amp;quot;Best&amp;quot;.&lt;/p&gt;
&lt;p&gt;Personally, I&amp;#39;d just directly write to the PSEL.TXD register.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>