<?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>51822, 52DK. UART. What should be the right RX and TX number?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59676/51822-52dk-uart-what-should-be-the-right-rx-and-tx-number</link><description>my board uses 51822. I am using 52DK to debug it. I have plugged my board with 52DK as following: 
 RX -&amp;gt; p0.08 
 TX -&amp;gt; p0.06 
 
 My question is, when I init UART in code, what should be the number for these 2 config of the pca10028.h: 
 #define RX_PIN_NUMBER</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Mar 2020 20:20:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59676/51822-52dk-uart-what-should-be-the-right-rx-and-tx-number" /><item><title>RE: 51822, 52DK. UART. What should be the right RX and TX number?</title><link>https://devzone.nordicsemi.com/thread/242553?ContentTypeID=1</link><pubDate>Mon, 30 Mar 2020 20:20:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b49abfa-221f-4578-9914-451852b0b91c</guid><dc:creator>kfcube</dc:creator><description>&lt;p&gt;Thanks a lot!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 51822, 52DK. UART. What should be the right RX and TX number?</title><link>https://devzone.nordicsemi.com/thread/242476?ContentTypeID=1</link><pubDate>Mon, 30 Mar 2020 14:24:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fd8cf79-ea3b-4036-8554-ab0197a85640</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you are trying to use the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf52832_dk/UG/nrf52_DK/vir_com_port.html"&gt;interface MCU&amp;#39;s VCOM functionality&lt;/a&gt; to forward the UART from the nRF51 IC to the PC, you should connect the TX pin of the UART on nRF51 to the TX pin on the nRF52 DK (P0.06), and the UART RX pin on the nRF51 to&amp;nbsp;&lt;span&gt;the RX pin on the nRF52 DK (P0.08). This is how the pins are connected between the interface MCU and the nRF52 chip on the DK. The nRF52 chip is not involved in this setup, you are simply passing the UART data to the interface MCU.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The pin number used for UART in the nRF51 firmware can be whatever you want, as long as you connect it correctly to the nRF52 DK, and the pins are not used for other purposes (LEDs, buttons, etc).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>