<?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>Multi UART selection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70125/multi-uart-selection</link><description>Hi, I am using nRF52840. How can I use 2 UART communication ? Is there any example code? and how can I add in my peripheral application? Which pins are best to use for UART communication? I have to comunicate with Neo 6m GSP and SIM com GSM. Thanks!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Jan 2021 08:25:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70125/multi-uart-selection" /><item><title>RE: Multi UART selection</title><link>https://devzone.nordicsemi.com/thread/287862?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 08:25:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2511a8c8-79e2-448c-bb4f-340a9a6073d8</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Muqarrab,&lt;/p&gt;
&lt;p&gt;nRF52840 has&amp;nbsp;2x UART (CTS/RTS) with EasyDMA. You can refer to example/peripheral/libuarte and&amp;nbsp;document from &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_libuarte.html"&gt;this link&lt;/a&gt;. The example codes will give you the clue on how to assign pins and add a second UARTE instance.&lt;/p&gt;
&lt;p&gt;For your application development, you should refer to examples from GPS and GSM module manufacturers. Most of the time you only need to replace the UARTE driver part to make them work.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>