<?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>Configuring GPIO pins on the nRF 52 DK as UART pins</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94391/configuring-gpio-pins-on-the-nrf-52-dk-as-uart-pins</link><description>Hello I&amp;#39;m trying to use GPIO pins as UART on the nRF 52 DK rather than the default UART pins. How do I change the pin configuration? I&amp;#39;m using nRF SDK version 17.1. 0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Nov 2022 13:31:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94391/configuring-gpio-pins-on-the-nrf-52-dk-as-uart-pins" /><item><title>RE: Configuring GPIO pins on the nRF 52 DK as UART pins</title><link>https://devzone.nordicsemi.com/thread/398348?ContentTypeID=1</link><pubDate>Wed, 30 Nov 2022 13:31:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb13adca-274d-485e-b60d-4b859dbd1212</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Typically this is controlled through boards.h in the projects.&lt;/p&gt;
&lt;p&gt;For instance the nRF52-DK use the BOARD_PCA10040:&lt;/p&gt;
&lt;p&gt;#elif defined(BOARD_PCA10040)&lt;br /&gt; #include &amp;quot;pca10040.h&amp;quot;&lt;/p&gt;
&lt;p&gt;So if you open pca10040.h you can find (these can be changed as you want, as long as they don&amp;#39;t overlap with any other usage in the file):&lt;/p&gt;
&lt;p&gt;#define RX_PIN_NUMBER 8&lt;br /&gt;#define TX_PIN_NUMBER 6&lt;br /&gt;#define CTS_PIN_NUMBER 7&lt;br /&gt;#define RTS_PIN_NUMBER 5&lt;br /&gt;#define HWFC true&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>