<?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>How can I map an UART interface on other nrF51422 pins ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16021/how-can-i-map-an-uart-interface-on-other-nrf51422-pins</link><description>I use a nRF51 dongle for some tests and I want to map the UART interface of UART_example on the pins 15,16,17 and 18 of the Dongle. 
 I try to juste adapt this lines of code: 
 #define UART0_CONFIG_PSEL_TXD 16
#define UART0_CONFIG_PSEL_RXD 18
#define</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Aug 2016 08:48:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16021/how-can-i-map-an-uart-interface-on-other-nrf51422-pins" /><item><title>RE: How can I map an UART interface on other nrF51422 pins ?</title><link>https://devzone.nordicsemi.com/thread/61096?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2016 08:48:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9924e7b5-c3d7-41b8-9078-ca2faf58d263</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;You can use thoes pins just fine.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;UART0_CONFIG_PSEL_xxx&lt;/code&gt; is used in the &lt;code&gt;NRF_DRV_UART_DEFAULT_CONFIG&lt;/code&gt; macro. The uart example does not use this macro, it uses&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;const app_uart_comm_params_t comm_params =
{
    RX_PIN_NUMBER,
    TX_PIN_NUMBER,
    RTS_PIN_NUMBER,
    CTS_PIN_NUMBER,
    APP_UART_FLOW_CONTROL_ENABLED,
    false,
    UART_BAUDRATE_BAUDRATE_Baud115200
};
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You need to replace the &lt;code&gt;xx_PIN_NUMBER&lt;/code&gt; defines with your pins.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I map an UART interface on other nrF51422 pins ?</title><link>https://devzone.nordicsemi.com/thread/61095?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2016 14:04:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4402e425-532a-4a60-9bcc-1d1bea8bcd28</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;Make sure those pins not used in your code for other peripherals.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>