<?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 change RX TX pin of UART?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15958/how-can-i-change-rx-tx-pin-of-uart</link><description>Hello,
because of my mistake, rx tx pin was not cross connected. 
 So i want to swap rx tx pin on nrf51822. 
 In the example ble_app_uart_s130_pca10028, i change the code in main.c 
 const app_uart_comm_params_t comm_params =
{
RX_PIN_NUMBER, /</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Aug 2016 11:51:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15958/how-can-i-change-rx-tx-pin-of-uart" /><item><title>RE: How can i change RX TX pin of UART?</title><link>https://devzone.nordicsemi.com/thread/60880?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2016 11:51:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66d6d1e3-5f5e-4842-95ba-b9eb658a8a55</guid><dc:creator>Sangkyu</dc:creator><description>&lt;p&gt;Thanks psharma, you are right. I change the APP_UART_FLOW_CONTROL_DISABLED the source is well run.
Thank you. I appreciate it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i change RX TX pin of UART?</title><link>https://devzone.nordicsemi.com/thread/60879?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2016 11:07:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f02a2c46-d017-4f91-b237-7e3ce17ce915</guid><dc:creator>Sangkyu</dc:creator><description>&lt;p&gt;my board is custom board. It is MDBT40 made by Raytac corp.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i change RX TX pin of UART?</title><link>https://devzone.nordicsemi.com/thread/60878?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2016 10:52:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80779764-955f-4a5b-aa84-12c0050723d3</guid><dc:creator>psharma</dc:creator><description>&lt;p&gt;Is this on the PCA10028 board, or a custom board?
On PCA10028, nRF51 pin 11 (RX) is connected to TX of J-Link virtual serial port, and pin 9 (TX) is connected to RX of J-Link virtual serial port.&lt;/p&gt;
&lt;p&gt;When you are swapping these two in your main.c, it will mostly likely cause an error as the pins are hard-wired, and the J-link is pulling up one of these pins &lt;em&gt;(speculating)&lt;/em&gt;.
If you need to do a loop-back test, you can use any other freely available pins that are not hardwired, short them, and disable flow control.&lt;/p&gt;
&lt;p&gt;In case you are using a custom board and swapping these pins, then make sure you have the BOARD_CUSTOM flag set in the compiler. Also you have flow control enabled, so take care of that as well (on custom board).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i change RX TX pin of UART?</title><link>https://devzone.nordicsemi.com/thread/60877?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2016 10:51:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27e186b4-68ee-4622-9cb9-fa545433247b</guid><dc:creator>psharma</dc:creator><description>&lt;p&gt;Is this on the PCA10028 board, or a custom board?
On PCA10028, nRF51 pin 11 (RX) is connected to TX of J-Link virtual serial port, and pin 9 (TX) is connected to RX of J-Link virtual serial port.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>