<?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>Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70022/using-uarte0-and-uarte1-in-different-pins</link><description>Dear Members, 
 I saw this example, 
 https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.2.0%2Fserial_uartes_example.html 
 
 I can not find this example on SDK 17, 
 How can I use UARTE0 and UARTE1 on separate port ?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Jan 2021 03:39:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70022/using-uarte0-and-uarte1-in-different-pins" /><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/291895?ContentTypeID=1</link><pubDate>Fri, 29 Jan 2021 03:39:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a0f0e8a-b3a3-4ade-b4b6-b17aa3804af1</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;Hi Jared, thanks for the reply&lt;/p&gt;
&lt;p&gt;&amp;nbsp;case NRF_LIBUARTE_ASYNC_EVT_RX_DATA:&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //nrf_libuarte_async_tx(&amp;amp;libuarte, text2, text_size2);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nrf_libuarte_async_tx(&amp;amp;libuarte, p_evt-&amp;gt;data.rxtx.p_data, p_evt-&amp;gt;data.rxtx.length);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I commented out the second line, now it&amp;#39;s working,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/291860?ContentTypeID=1</link><pubDate>Thu, 28 Jan 2021 16:52:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55416db4-f4b7-4db9-940a-0ff83ebd07c2</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you put a breakpoint in the UARTE event handler and check that the correct event is generated when you send/receive data and check after the initialize routine that both functions are initialized correctly without any errors. The init functions should return 0 if they are initialized correctly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/291829?ContentTypeID=1</link><pubDate>Thu, 28 Jan 2021 14:40:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f55fa34c-352d-4629-af27-c9c25dc411f9</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s the event UART1 Code :&lt;/p&gt;
&lt;p&gt;static uint8_t text2[] = &amp;quot;EVENT RX UART1 .\r\n &amp;quot;;&lt;/p&gt;
&lt;p&gt;void uart_event_handler1(void * context, nrf_libuarte_async_evt_t * p_evt)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;nrf_libuarte_async_t * p_libuarte = (nrf_libuarte_async_t *)context;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ret_code_t ret;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; switch (p_evt-&amp;gt;type)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;case NRF_LIBUARTE_ASYNC_EVT_ERROR:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bsp_board_led_invert(0);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case NRF_LIBUARTE_ASYNC_EVT_RX_DATA:&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; nrf_libuarte_async_tx(&amp;amp;libuarte, text2, text_size2);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nrf_libuarte_async_tx(&amp;amp;libuarte, p_evt-&amp;gt;data.rxtx.p_data, p_evt-&amp;gt;data.rxtx.length);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case NRF_LIBUARTE_ASYNC_EVT_TX_DONE:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bsp_board_led_invert(2);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; default:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Output :&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;    EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EV&amp;#255;UART example started.
 Loopback:
 EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  UART example libuarte loop.
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  EVENT RX UART1 .
  &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What&amp;#39;s the data variable for UART1 so I can display it on UART 0 ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp; nrf_libuarte_async_tx(&amp;amp;libuarte, p_evt-&amp;gt;data.rxtx.p_data, p_evt-&amp;gt;data.rxtx.length);&lt;/p&gt;
&lt;p&gt;p_evt-&amp;gt;data.rxtx.p_data = UART1 data output ?? &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/291675?ContentTypeID=1</link><pubDate>Thu, 28 Jan 2021 07:28:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c749aa38-c96b-4d56-a69f-33055266a6f8</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;I changed the configuration to :&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;NRF_LIBUARTE_ASYNC_DEFINE(libuarte, 0, 0, 0, NRF_LIBUARTE_PERIPHERAL_NOT_USED, 255, 3);&lt;br /&gt;NRF_LIBUARTE_ASYNC_DEFINE(libuarte1, 1, 2, 2, NRF_LIBUARTE_PERIPHERAL_NOT_USED, 255, 3);&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;but this line is not yet responding well,&amp;nbsp; :&lt;/p&gt;
&lt;p&gt;uint8_t data[512];&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nrf_libuarte_async_rx_free(&amp;amp;libuarte1, (uint8_t *)&amp;amp;data, 512);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; nrf_delay_ms(1000);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; nrf_libuarte_async_tx(&amp;amp;libuarte, (uint8_t *)&amp;amp;data, 512);&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I want to receive from UART1 and t hen display it to UART0......&lt;/p&gt;
&lt;p&gt;Is it related with timer ?&lt;/p&gt;
&lt;p&gt;I can not find function for receiving ? where is it ? thank&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/291647?ContentTypeID=1</link><pubDate>Thu, 28 Jan 2021 05:34:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7430ef5-155a-4f99-a133-8463e87b834d</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;Code :&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;err_code = nrf_libuarte_async_init(&amp;amp;libuarte, &amp;amp;nrf_libuarte_async_config, uart_event_handler, (void *)&amp;amp;libuarte);
			APP_ERROR_CHECK(err_code);
		NRF_LOG_INFO(&amp;quot;Err_code %u&amp;quot;,err_code);
		err_code = nrf_libuarte_async_init(&amp;amp;libuarte1, &amp;amp;nrf_libuarte_async_config1, uart_event_handler1, (void *)&amp;amp;libuarte1);
 		  APP_ERROR_CHECK(err_code);
    NRF_LOG_INFO(&amp;quot;Err_code %u&amp;quot;,err_code);
    nrf_libuarte_async_enable(&amp;amp;libuarte);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Output :&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;UART example started.
                                                         
 Loopback:
                                                                    
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;it can not display NRF_LOG_INFO() ..... ??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/291622?ContentTypeID=1</link><pubDate>Thu, 28 Jan 2021 01:26:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8400fe1-a315-4108-a6ed-539ab59a9a9d</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRF_LIBUARTE_ASYNC_DEFINE(libuarte, 0, 0, 0, NRF_LIBUARTE_PERIPHERAL_NOT_USED, 255, 3);
NRF_LIBUARTE_ASYNC_DEFINE(libuarte1, 1, 0, 0, NRF_LIBUARTE_PERIPHERAL_NOT_USED, 255, 3);


.

.

.


nrf_libuarte_async_config_t nrf_libuarte_async_config = {
            .tx_pin     = TX_PIN_NUMBER,
            .rx_pin     = RX_PIN_NUMBER,
            .baudrate   = NRF_UARTE_BAUDRATE_115200,
            .parity     = NRF_UARTE_PARITY_EXCLUDED,
            .hwfc       = NRF_UARTE_HWFC_DISABLED,
            .timeout_us = 100,
            .int_prio   = APP_IRQ_PRIORITY_LOW
    };
        
        nrf_libuarte_async_config_t nrf_libuarte_async_config1 = {
            .tx_pin     = SER_APP_TX_PIN,
            .rx_pin     = SER_APP_RX_PIN,
            .baudrate   = NRF_UARTE_BAUDRATE_9600,
            .parity     = NRF_UARTE_PARITY_EXCLUDED,
            .hwfc       = NRF_UARTE_HWFC_DISABLED,
            .timeout_us = 100,
            .int_prio   = APP_IRQ_PRIORITY_LOW
    };
        
        
    nrf_libuarte_async_init(&amp;amp;libuarte, &amp;amp;nrf_libuarte_async_config, uart_event_handler, (void *)&amp;amp;libuarte);
        APP_ERROR_CHECK(err_code);
        nrf_libuarte_async_init(&amp;amp;libuarte1, &amp;amp;nrf_libuarte_async_config1, uart_event_handler1, (void *)&amp;amp;libuarte1);
        APP_ERROR_CHECK(err_code);


&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Correct me ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/291616?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 23:34:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdd1140d-a692-4801-befc-170009fc43e5</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;where do you want to put the breakpoint ? what do you want to see ? thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/291560?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 14:56:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:013506dc-2cf9-4540-bdb0-5703d9d0b3ff</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What happens when you run the application? Does it assert somewhere? Try to use the &lt;a href="https://www.youtube.com/watch?v=uP8RYgYGRvI"&gt;debugger &lt;/a&gt;and see if the application stops somewhere.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/291553?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 14:49:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82ebd944-66b4-4897-b511-aac5301b7ee5</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;it works well on&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/**
 * Copyright (c) 2018, Nordic Semiconductor ASA
 *
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without modification,
 * are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice, this
 *    list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form, except as embedded into a Nordic
 *    Semiconductor ASA integrated circuit in a product or a software update for
 *    such product, must reproduce the above copyright notice, this list of
 *    conditions and the following disclaimer in the documentation and/or other
 *    materials provided with the distribution.
 *
 * 3. Neither the name of Nordic Semiconductor ASA nor the names of its
 *    contributors may be used to endorse or promote products derived from this
 *    software without specific prior written permission.
 *
 * 4. This software, with or without modification, must only be used with a
 *    Nordic Semiconductor ASA integrated circuit.
 *
 * 5. Any software provided in binary form under this license must not be reverse
 *    engineered, decompiled, modified and/or disassembled.
 *
 * THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA &amp;quot;AS IS&amp;quot; AND ANY EXPRESS
 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 */
#include &amp;lt;stdint.h&amp;gt;
#include &amp;lt;stdbool.h&amp;gt;
#include &amp;lt;stddef.h&amp;gt;

#include &amp;quot;nrf.h&amp;quot;
#include &amp;quot;nrf_drv_clock.h&amp;quot;
#include &amp;quot;nrf_gpio.h&amp;quot;
#include &amp;quot;nrf_delay.h&amp;quot;
#include &amp;quot;nrf_log.h&amp;quot;
#include &amp;quot;nrf_log_ctrl.h&amp;quot;
#include &amp;quot;nrf_drv_power.h&amp;quot;
#include &amp;quot;nrf_serial.h&amp;quot;
#include &amp;quot;app_timer.h&amp;quot;


#include &amp;quot;app_error.h&amp;quot;
#include &amp;quot;app_util.h&amp;quot;
#include &amp;quot;boards.h&amp;quot;

/** @file
 * @defgroup nrf_serial_uartes_example main.c
 * @{
 * @ingroup nrf_serial_uartes_example
 * @brief Example of @ref nrf_serial usage. Loopback example using two UARTE peripherals.
 *        Please short Arduino SCL and SDA GPIOs to start transmission.
 *
 */

#define OP_QUEUES_SIZE          3
#define APP_TIMER_PRESCALER     NRF_SERIAL_APP_TIMER_PRESCALER

static void sleep_handler(void)
{
    __WFE();
    __SEV();
    __WFE();
}
/*
NRF_SERIAL_DRV_UART_CONFIG_DEF(m_uarte0_drv_config,
                      RX_PIN_NUMBER, ARDUINO_SCL_PIN,
                      RTS_PIN_NUMBER, CTS_PIN_NUMBER,
                      NRF_UART_HWFC_DISABLED, NRF_UART_PARITY_EXCLUDED,
                      NRF_UART_BAUDRATE_115200,
                      UART_DEFAULT_CONFIG_IRQ_PRIORITY);

NRF_SERIAL_DRV_UART_CONFIG_DEF(m_uarte1_drv_config,
                      ARDUINO_SDA_PIN, TX_PIN_NUMBER,
                      RTS_PIN_NUMBER, CTS_PIN_NUMBER,
                      NRF_UART_HWFC_DISABLED, NRF_UART_PARITY_EXCLUDED,
                      NRF_UART_BAUDRATE_115200,
                      UART_DEFAULT_CONFIG_IRQ_PRIORITY);
*/
NRF_SERIAL_DRV_UART_CONFIG_DEF(m_uarte0_drv_config,
                      RX_PIN_NUMBER, TX_PIN_NUMBER,
                      RTS_PIN_NUMBER, CTS_PIN_NUMBER,
                      NRF_UART_HWFC_DISABLED, NRF_UART_PARITY_EXCLUDED,
                      NRF_UART_BAUDRATE_115200,
                      UART_DEFAULT_CONFIG_IRQ_PRIORITY);

NRF_SERIAL_DRV_UART_CONFIG_DEF(m_uarte1_drv_config,
                      SER_APP_RX_PIN, SER_APP_TX_PIN,
                      RTS_PIN_NUMBER, CTS_PIN_NUMBER,
                      NRF_UART_HWFC_DISABLED, NRF_UART_PARITY_EXCLUDED,
                      NRF_UART_BAUDRATE_9600,
                      UART_DEFAULT_CONFIG_IRQ_PRIORITY);

#define SERIAL_FIFO_TX_SIZE 32
#define SERIAL_FIFO_RX_SIZE 32

NRF_SERIAL_QUEUES_DEF(serial0_queues, SERIAL_FIFO_TX_SIZE, SERIAL_FIFO_RX_SIZE);
NRF_SERIAL_QUEUES_DEF(serial1_queues, SERIAL_FIFO_TX_SIZE, SERIAL_FIFO_RX_SIZE);


#define SERIAL_BUFF_TX_SIZE 1
#define SERIAL_BUFF_RX_SIZE 1

NRF_SERIAL_BUFFERS_DEF(serial0_buffs, SERIAL_BUFF_TX_SIZE, SERIAL_BUFF_RX_SIZE);
NRF_SERIAL_BUFFERS_DEF(serial1_buffs, SERIAL_BUFF_TX_SIZE, SERIAL_BUFF_RX_SIZE);


NRF_SERIAL_CONFIG_DEF(serial0_config, NRF_SERIAL_MODE_DMA,
                      &amp;amp;serial0_queues, &amp;amp;serial0_buffs, NULL, sleep_handler);
NRF_SERIAL_CONFIG_DEF(serial1_config, NRF_SERIAL_MODE_DMA,
                      &amp;amp;serial1_queues, &amp;amp;serial1_buffs, NULL, sleep_handler);


NRF_SERIAL_UART_DEF(serial0_uarte, 0);
NRF_SERIAL_UART_DEF(serial1_uarte, 1);


int main(void)
{
    ret_code_t ret;

    ret = nrf_drv_clock_init();
    APP_ERROR_CHECK(ret);
    ret = nrf_drv_power_init(NULL);
    APP_ERROR_CHECK(ret);

    nrf_drv_clock_lfclk_request(NULL);
    ret = app_timer_init();
    APP_ERROR_CHECK(ret);

    // Initialize LEDs and buttons.
    bsp_board_init(BSP_INIT_LEDS | BSP_INIT_BUTTONS);

    ret = nrf_serial_init(&amp;amp;serial0_uarte, &amp;amp;m_uarte0_drv_config, &amp;amp;serial0_config);
    APP_ERROR_CHECK(ret);

    ret = nrf_serial_init(&amp;amp;serial1_uarte, &amp;amp;m_uarte1_drv_config, &amp;amp;serial1_config);
    APP_ERROR_CHECK(ret);

    static char tx_message[] = &amp;quot;Hello nrf_serial!\n\r&amp;quot;;
		static char gps_message[] = &amp;quot;GPS DATA..\n\r&amp;quot;;
    /*
    ret = nrf_serial_write(&amp;amp;serial1_uarte,
                           tx_message,
                           strlen(tx_message),
                           NULL,
                           NRF_SERIAL_MAX_TIMEOUT);
    */													 
    ret = nrf_serial_write(&amp;amp;serial0_uarte,
                           tx_message,
                           strlen(tx_message),
                           NULL,
                           NRF_SERIAL_MAX_TIMEOUT);													 
    (void)nrf_serial_flush(&amp;amp;serial1_uarte, 0);

    while (true)
    {
        char c;
			  char data[512];
			  ret= nrf_serial_write(&amp;amp;serial0_uarte, gps_message,strlen(gps_message), NULL, NRF_SERIAL_MAX_TIMEOUT);
			
			  (void)nrf_serial_read(&amp;amp;serial1_uarte, &amp;amp;data, sizeof(data), NULL,1000);
			  (void)nrf_serial_write(&amp;amp;serial0_uarte, &amp;amp;data, sizeof(data), NULL, 1000);
			/*
        ret = nrf_serial_read(&amp;amp;serial0_uarte, &amp;amp;c, sizeof(c), NULL, 1000);
			   if (ret != NRF_SUCCESS)
        {
            continue;
        }
        (void)nrf_serial_write(&amp;amp;serial0_uarte, &amp;amp;c, sizeof(c), NULL, 0);
        (void)nrf_serial_flush(&amp;amp;serial0_uarte, 0);

        ret = nrf_serial_read(&amp;amp;serial1_uarte, &amp;amp;c, sizeof(c), NULL, 1000);
        if (ret != NRF_SUCCESS)
        {
            continue;
        }
        (void)nrf_serial_write(&amp;amp;serial1_uarte, &amp;amp;c, sizeof(c), NULL, 0);
        (void)nrf_serial_flush(&amp;amp;serial1_uarte, 0);
				*/
    }
}

/** @} */
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;nRF5_SDK_15.2.0_9412b96\examples\peripheral\serial_uartes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/291551?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 14:46:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cc90f2a-7bf3-488c-b44f-bc5d7e95c462</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;blank screen on serial ....?&lt;/p&gt;
&lt;p&gt;complete main.c&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/**
 * Copyright (c) 2018 - 2020, Nordic Semiconductor ASA
 *
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without modification,
 * are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice, this
 *    list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form, except as embedded into a Nordic
 *    Semiconductor ASA integrated circuit in a product or a software update for
 *    such product, must reproduce the above copyright notice, this list of
 *    conditions and the following disclaimer in the documentation and/or other
 *    materials provided with the distribution.
 *
 * 3. Neither the name of Nordic Semiconductor ASA nor the names of its
 *    contributors may be used to endorse or promote products derived from this
 *    software without specific prior written permission.
 *
 * 4. This software, with or without modification, must only be used with a
 *    Nordic Semiconductor ASA integrated circuit.
 *
 * 5. Any software provided in binary form under this license must not be reverse
 *    engineered, decompiled, modified and/or disassembled.
 *
 * THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA &amp;quot;AS IS&amp;quot; AND ANY EXPRESS
 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 */
/** @file
 * @defgroup libuarte_example_main main.c
 * @{
 * @ingroup libuarte_example
 * @brief Libuarte Example Application main file.
 *
 * This file contains the source code for a sample application using libuarte.
 *
 */

#include &amp;lt;stdbool.h&amp;gt;
#include &amp;lt;stdint.h&amp;gt;
#include &amp;lt;stdio.h&amp;gt;
#include &amp;quot;nrf_libuarte_async.h&amp;quot;
#include &amp;quot;nrf_drv_clock.h&amp;quot;
#include &amp;lt;bsp.h&amp;gt;
#include &amp;quot;nrf_log.h&amp;quot;
#include &amp;quot;nrf_log_ctrl.h&amp;quot;
#include &amp;quot;nrf_log_default_backends.h&amp;quot;
#include &amp;quot;nrf_queue.h&amp;quot;

NRF_LIBUARTE_ASYNC_DEFINE(libuarte, 0, 0, 0, NRF_LIBUARTE_PERIPHERAL_NOT_USED, 255, 3);
NRF_LIBUARTE_ASYNC_DEFINE(libuarte1, 1, 0, 0, NRF_LIBUARTE_PERIPHERAL_NOT_USED, 255, 3);

static uint8_t text[] = &amp;quot;UART example started.\r\n Loopback:\r\n&amp;quot;;
static uint8_t text_size = sizeof(text);
uint8_t text_rx[20];

static volatile bool m_loopback_phase;

typedef struct {
    uint8_t * p_data;
    uint32_t length;
} buffer_t;

NRF_QUEUE_DEF(buffer_t, m_buf_queue, 10, NRF_QUEUE_MODE_NO_OVERFLOW);

void uart_event_handler(void * context, nrf_libuarte_async_evt_t * p_evt)
{
    nrf_libuarte_async_t * p_libuarte = (nrf_libuarte_async_t *)context;
    ret_code_t ret;

    switch (p_evt-&amp;gt;type)
    {
        case NRF_LIBUARTE_ASYNC_EVT_ERROR:
            bsp_board_led_invert(0);
            break;
        case NRF_LIBUARTE_ASYNC_EVT_RX_DATA:
            ret = nrf_libuarte_async_tx(p_libuarte,p_evt-&amp;gt;data.rxtx.p_data, p_evt-&amp;gt;data.rxtx.length);
            if (ret == NRF_ERROR_BUSY)
            {
                buffer_t buf = {
                    .p_data = p_evt-&amp;gt;data.rxtx.p_data,
                    .length = p_evt-&amp;gt;data.rxtx.length,
                };

                ret = nrf_queue_push(&amp;amp;m_buf_queue, &amp;amp;buf);
                APP_ERROR_CHECK(ret);
            }
            else
            {
                APP_ERROR_CHECK(ret);
            }
            bsp_board_led_invert(1);
            m_loopback_phase = true;
            break;
        case NRF_LIBUARTE_ASYNC_EVT_TX_DONE:
            if (m_loopback_phase)
            {
                nrf_libuarte_async_rx_free(p_libuarte, p_evt-&amp;gt;data.rxtx.p_data, p_evt-&amp;gt;data.rxtx.length);
                if (!nrf_queue_is_empty(&amp;amp;m_buf_queue))
                {
                    buffer_t buf;
                    ret = nrf_queue_pop(&amp;amp;m_buf_queue, &amp;amp;buf);
                    APP_ERROR_CHECK(ret);
                    UNUSED_RETURN_VALUE(nrf_libuarte_async_tx(p_libuarte, buf.p_data, buf.length));
                }
            }
            bsp_board_led_invert(2);
            break;
        default:
            break;
    }
}

void uart_event_handler1(void * context, nrf_libuarte_async_evt_t * p_evt)
{
	NRF_LOG_INFO(&amp;quot;UART1 EVENT FROM GPS!\r\n&amp;quot;);
}	

/**
 * @brief Function for main application entry.
 */
int main(void)
{
    bsp_board_init(BSP_INIT_LEDS);
    
    ret_code_t ret = nrf_drv_clock_init();
    APP_ERROR_CHECK(ret);
  
    nrf_drv_clock_lfclk_request(NULL);

    ret_code_t err_code = NRF_LOG_INIT(app_timer_cnt_get);
    APP_ERROR_CHECK(err_code);

    NRF_LOG_DEFAULT_BACKENDS_INIT();

    nrf_libuarte_async_config_t nrf_libuarte_async_config = {
            .tx_pin     = TX_PIN_NUMBER,
            .rx_pin     = RX_PIN_NUMBER,
            .baudrate   = NRF_UARTE_BAUDRATE_115200,
            .parity     = NRF_UARTE_PARITY_EXCLUDED,
            .hwfc       = NRF_UARTE_HWFC_DISABLED,
            .timeout_us = 100,
            .int_prio   = APP_IRQ_PRIORITY_LOW
    };
		
		nrf_libuarte_async_config_t nrf_libuarte_async_config1 = {
            .tx_pin     = SER_APP_TX_PIN,
            .rx_pin     = SER_APP_RX_PIN,
            .baudrate   = NRF_UARTE_BAUDRATE_9600,
            .parity     = NRF_UARTE_PARITY_EXCLUDED,
            .hwfc       = NRF_UARTE_HWFC_DISABLED,
            .timeout_us = 100,
            .int_prio   = APP_IRQ_PRIORITY_LOW
    };
		
		
    nrf_libuarte_async_init(&amp;amp;libuarte, &amp;amp;nrf_libuarte_async_config, uart_event_handler, (void *)&amp;amp;libuarte);
		APP_ERROR_CHECK(err_code);
		nrf_libuarte_async_init(&amp;amp;libuarte1, &amp;amp;nrf_libuarte_async_config1, uart_event_handler1, (void *)&amp;amp;libuarte1);
		APP_ERROR_CHECK(err_code);
    //err_code = nrf_libuarte_async_init(&amp;amp;libuarte, &amp;amp;nrf_libuarte_async_config, uart_event_handler, (void *)&amp;amp;libuarte);
		//err_code = nrf_libuarte_async_init(&amp;amp;libuarte1, &amp;amp;nrf_libuarte_async_config1, uart_event_handler1, (void *)&amp;amp;libuarte1);
		

    APP_ERROR_CHECK(err_code);

    nrf_libuarte_async_enable(&amp;amp;libuarte);
		//nrf_libuarte_async_enable(&amp;amp;libuarte1);

    err_code = nrf_libuarte_async_tx(&amp;amp;libuarte, text, text_size);
		
		//nrf_libuarte_async_rx_free(&amp;amp;libuarte1, text_rx, 20);
    APP_ERROR_CHECK(err_code);

    while (true)
    {
        NRF_LOG_FLUSH();
    }
}


/** @} */
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/291550?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 14:45:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5550a68f-4c23-4f73-a1d7-a6542e62b72a</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;err_code=nrf_libuarte_async_init(&amp;amp;libuarte, &amp;amp;nrf_libuarte_async_config, uart_event_handler, (void *)&amp;amp;libuarte);
		APP_ERROR_CHECK(err_code);
		err_code=nrf_libuarte_async_init(&amp;amp;libuarte1, &amp;amp;nrf_libuarte_async_config1, uart_event_handler1, (void *)&amp;amp;libuarte1);
		APP_ERROR_CHECK(err_code);&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/291548?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 14:43:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5ba3c9c-93ad-4758-b577-d8a2a6b201c0</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you add an&amp;nbsp;&lt;span&gt;APP_ERROR_CHECK&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;err_code&lt;/span&gt;&lt;span&gt;) after each call to&amp;nbsp;nrf_libuarte_async_init() and see if the application asserts during run time.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/291410?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 04:31:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a39150c6-5684-4cf2-a72d-4a09c3de052f</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;................If you want to use two UARTE instances then you have to enable both instances in the config file and resources that the module is &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_libuarte.html?cp=7_1_3_28_0_0#lib_libuarte_drv_resources"&gt;dependent on&lt;/a&gt; ( Timer and PPI) . Next you have to define an instance of the module and initialize it in the project. Again, the libUARTE example should be a good reference, it&amp;#39;s pretty straightforward.&lt;/p&gt;
&lt;p&gt;...................&lt;/p&gt;
&lt;p&gt;How ? What&amp;#39;s PPI ? thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/291407?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 04:08:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7d75c79-c54e-4e48-8852-278f19c057e8</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;How can I implement this app with libuarte ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;\nRF5_SDK_15.2.0_9412b96\examples\peripheral\serial_uartes&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/291216?ContentTypeID=1</link><pubDate>Tue, 26 Jan 2021 09:33:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12db4b02-a395-40c2-935d-1b024f6e94a0</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;err_code = nrf_libuarte_async_init(&amp;amp;libuarte, &amp;amp;nrf_libuarte_async_config, uart_event_handler, (void *)&amp;amp;libuarte);&lt;br /&gt; err_code = nrf_libuarte_async_init(&amp;amp;libuarte1, &amp;amp;nrf_libuarte_async_config1, uart_event_handler1, (void *)&amp;amp;libuarte1);&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/291214?ContentTypeID=1</link><pubDate>Tue, 26 Jan 2021 09:30:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fd23ec9-e2bd-4957-bc4e-a8c9da90e7fc</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;I have enabled UARTE1 1&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;//==========================================================

// &amp;lt;h&amp;gt; nrf_libuarte_drv - libUARTE library

//==========================================================
// &amp;lt;q&amp;gt; NRF_LIBUARTE_DRV_HWFC_ENABLED  - Enable HWFC support in the driver
 

#ifndef NRF_LIBUARTE_DRV_HWFC_ENABLED
#define NRF_LIBUARTE_DRV_HWFC_ENABLED 0
#endif

// &amp;lt;q&amp;gt; NRF_LIBUARTE_DRV_UARTE0  - UARTE0 instance
 

#ifndef NRF_LIBUARTE_DRV_UARTE0
#define NRF_LIBUARTE_DRV_UARTE0 1
#endif

// &amp;lt;q&amp;gt; NRF_LIBUARTE_DRV_UARTE1  - UARTE1 instance
 

#ifndef NRF_LIBUARTE_DRV_UARTE1
#define NRF_LIBUARTE_DRV_UARTE1 1
#endif

// &amp;lt;/h&amp;gt; 
//==========================================================&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/291192?ContentTypeID=1</link><pubDate>Tue, 26 Jan 2021 08:41:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:378cb918-46fd-498f-bb93-5f50fe5e00e6</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you enabled the second instance of the UARTE in the config file?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user="RixtronixLAB"]it&amp;#39;s not responding when I run libuarte1 [/quote]
&lt;p&gt;&amp;nbsp;Be more specific. What exactly happens? What does the init function return? Use the debugger and see if the application asserts somewhere.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/291149?ContentTypeID=1</link><pubDate>Mon, 25 Jan 2021 23:40:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a37c7bf-fbd8-41cb-8e05-b93c5e9cfc28</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;Please correct me, it&amp;#39;s not responding when I run libuarte1 : &lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRF_LIBUARTE_ASYNC_DEFINE(libuarte, 0, 0, 0, NRF_LIBUARTE_PERIPHERAL_NOT_USED, 255, 3);
NRF_LIBUARTE_ASYNC_DEFINE(libuarte1, 1, 0, 0, NRF_LIBUARTE_PERIPHERAL_NOT_USED, 255, 3);


nrf_libuarte_async_config_t nrf_libuarte_async_config = {
            .tx_pin     = TX_PIN_NUMBER,
            .rx_pin     = RX_PIN_NUMBER,
            .baudrate   = NRF_UARTE_BAUDRATE_115200,
            .parity     = NRF_UARTE_PARITY_EXCLUDED,
            .hwfc       = NRF_UARTE_HWFC_DISABLED,
            .timeout_us = 100,
            .int_prio   = APP_IRQ_PRIORITY_LOW
    };
        
        nrf_libuarte_async_config_t nrf_libuarte_async_config1 = {
            .tx_pin     = SER_APP_TX_PIN,
            .rx_pin     = SER_APP_RX_PIN,
            .baudrate   = NRF_UARTE_BAUDRATE_9600,
            .parity     = NRF_UARTE_PARITY_EXCLUDED,
            .hwfc       = NRF_UARTE_HWFC_DISABLED,
            .timeout_us = 100,
            .int_prio   = APP_IRQ_PRIORITY_LOW
    };


err_code = nrf_libuarte_async_init(&amp;amp;libuarte, &amp;amp;nrf_libuarte_async_config, uart_event_handler, (void *)&amp;amp;libuarte);
        err_code = nrf_libuarte_async_init(&amp;amp;libuarte1, &amp;amp;nrf_libuarte_async_config1, uart_event_handler1, (void *)&amp;amp;libuarte1);&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/290989?ContentTypeID=1</link><pubDate>Mon, 25 Jan 2021 10:57:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d496c2d-20fe-49d9-a330-2c0b52befce3</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;then&lt;/p&gt;
&lt;p&gt;err_code = nrf_libuarte_async_init(&amp;amp;libuarte, &amp;amp;nrf_libuarte_async_config1, uart_event_handler1, (void *)&amp;amp;libuarte);&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;void uart_event_handler1(void * context, nrf_libuarte_async_evt_t * p_evt)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;}&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/290988?ContentTypeID=1</link><pubDate>Mon, 25 Jan 2021 10:54:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8e09395-d1bd-4fbe-a9f5-3d494c1b8c63</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;How can I &amp;quot; ... enable both instances in the config file and resources that the module is &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_libuarte.html?cp=7_1_3_28_0_0#lib_libuarte_drv_resources"&gt;dependent on &amp;quot; ?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;?&lt;/p&gt;
&lt;p&gt;like this :&lt;/p&gt;
&lt;p&gt;nrf_libuarte_async_config_t nrf_libuarte_async_config1 = {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .tx_pin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = SER_APP_TX_PIN,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .rx_pin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = SER_APP_RX_PIN,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .baudrate&amp;nbsp;&amp;nbsp; = NRF_UARTE_BAUDRATE_115200,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .parity&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NRF_UARTE_PARITY_EXCLUDED,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .hwfc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NRF_UARTE_HWFC_DISABLED,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .timeout_us = 100,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .int_prio&amp;nbsp;&amp;nbsp; = APP_IRQ_PRIORITY_LOW&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/p&gt;
&lt;p&gt;then on sdk_config.h ?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/287632?ContentTypeID=1</link><pubDate>Wed, 06 Jan 2021 07:57:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca21bc11-1cd4-45a8-b574-d931383cb53c</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The logging in the example is done over RTT as the UARTE is already in use in the application. The example is a loopback which means that it sends the data back after it has received it.&lt;/p&gt;
&lt;p&gt;A&amp;nbsp;NRF_LIBUARTE_ASYNC_EVT_RX_DATA event is generated each time data is received, while&amp;nbsp;NRF_LIBUARTE_ASYNC_EVT_TX_DONE is generated each time data has been successfully sent. nrf_libuarte_async_tx() is used for transmitting data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The libUARTE module is based on the UARTE peripheral which uses EasyDMA. The example does not use the Softdevice. You can merge it with a SD example such as ble_app_beacon if you also want to use the Softdevice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/287612?ContentTypeID=1</link><pubDate>Wed, 06 Jan 2021 03:02:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:323d213a-6043-4158-ae41-826ea47b82d5</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;In my my mind,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m going to use&lt;/p&gt;
&lt;p&gt;#define RX_PIN_NUMBER&amp;nbsp; 8&lt;br /&gt;#define TX_PIN_NUMBER&amp;nbsp; 6&lt;/p&gt;
&lt;p&gt;with&lt;/p&gt;
&lt;p&gt;NRF_LOG_INFO() function then&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;#define SER_APP_RX_PIN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NRF_GPIO_PIN_MAP(1,13)&amp;nbsp;&amp;nbsp;&amp;nbsp; // UART RX pin number.&lt;br /&gt;#define SER_APP_TX_PIN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NRF_GPIO_PIN_MAP(1,14)&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;with&lt;/p&gt;
&lt;p&gt;void uart_event_handler calling this function : &lt;/p&gt;
&lt;p&gt;&amp;nbsp;nrf_libuarte_drv_rx_start at nrf_libuarte_drv.h, how can I start and stop ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/287611?ContentTypeID=1</link><pubDate>Wed, 06 Jan 2021 02:44:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb51df84-7c13-4847-9d28-2b14cc616a3d</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;Thanks for the reply,&lt;/p&gt;
&lt;p&gt;I will learn this libUARTE example and keep posted,&lt;/p&gt;
&lt;p&gt;Is libUARTE in the example working by DMA or interrupt ?&lt;/p&gt;
&lt;p&gt;This example is not working with Softdevice, isn&amp;#39;t it ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UARTE0 and UARTE1 in different pins ?</title><link>https://devzone.nordicsemi.com/thread/287179?ContentTypeID=1</link><pubDate>Mon, 04 Jan 2021 10:30:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4a57ff4-f037-4704-8682-a71ba48efed1</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The Serial port library has been deprecated and has been replaced with the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_libuarte.html?cp=7_1_3_28"&gt;libUARTE&lt;/a&gt;&amp;nbsp;module. We have a &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/libuarte_example.html?cp=7_1_4_6_17"&gt;libUARTE example&lt;/a&gt; in the SDK that only uses one instance but clearly shows how to define an instance and initialize it. It should be possible to repeat this for a second UARTE instance. If you want to use two UARTE instances then you have to enable both instances in the config file and resources that the module is &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_libuarte.html?cp=7_1_3_28_0_0#lib_libuarte_drv_resources"&gt;dependent on&lt;/a&gt; ( Timer and PPI) . Next you have to define an instance of the module and initialize it in the project.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>