<?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>Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84824/multiple-uart-on-nrf52833</link><description>Hello Everyone, 
 I am using NRF52833 in my project and I have my NRF module connected to 2 other microcontrollers on UART peripherals. The details are mentioned as below:- 
 1) NRF52833 connected to MCU A 
 RX pin of nrf- P0.29 
 TX pin of nrf- P0.28</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Mar 2022 12:39:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84824/multiple-uart-on-nrf52833" /><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/360812?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 12:39:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9a8f748-1c45-4dfb-90c4-6e8971f8e5fe</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;You need to set the logger backend in the sdk_config.h file from UART to RTT.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648643962869v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/360415?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 05:53:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:413cd4da-cea7-4c4e-9ac4-c26dc051709e</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;I have solved that issue. Can you help me with one thing. I am receiving lot of data from the other MCU via libuarte. I want to print that data on the RTT terminal... How can I do that using NRF_LOG_INFO??&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My libuarte handler is as follows:-&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;void libuart_event_handler(void *context, nrf_libuarte_async_evt_t *p_evt) {&lt;br /&gt; static uint8_t index;&lt;/p&gt;
&lt;p&gt;nrf_libuarte_async_t *p_libuarte = (nrf_libuarte_async_t *)context;&lt;br /&gt; ret_code_t ret;&lt;/p&gt;
&lt;p&gt;switch (p_evt-&amp;gt;type) {&lt;br /&gt; case NRF_LIBUARTE_ASYNC_EVT_ERROR: {&lt;br /&gt; NRF_LOG_ERROR(&amp;quot;LIBUARTE ERROR&amp;quot;);&lt;br /&gt; break;&lt;br /&gt; }&lt;br /&gt; case NRF_LIBUARTE_ASYNC_EVT_RX_DATA: {&lt;br /&gt; // Receive complete&lt;br /&gt; memset(buffer,&amp;#39;0&amp;#39;,sizeof(buffer));&lt;br /&gt; memcpy(buffer, p_evt-&amp;gt;data.rxtx.p_data, p_evt-&amp;gt;data.rxtx.length);&lt;br /&gt; int data_length = p_evt-&amp;gt;data.rxtx.length;&lt;br /&gt; &lt;br /&gt; nrf_libuarte_async_rx_free(p_libuarte, p_evt-&amp;gt;data.rxtx.p_data, p_evt-&amp;gt;data.rxtx.length);&lt;br /&gt; break;&lt;br /&gt; }&lt;br /&gt; case NRF_LIBUARTE_ASYNC_EVT_TX_DONE: {&lt;br /&gt; // Transmit complete&lt;/p&gt;
&lt;p&gt;break;&lt;br /&gt; }&lt;br /&gt; }&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How can I print the buffer values on RTT?? Size of buffer is 256.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Snehal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/359511?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2022 08:01:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff2e24ef-11dc-4c5e-9969-5fe623b12d8e</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you start the program with the debugger and see what instruction is at&amp;nbsp;&lt;span&gt;0x000287A8 in the Dissembler&amp;nbsp;view?&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648022492385v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/359480?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2022 04:25:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad460a0b-be22-4ea3-9233-d198fcc6902f</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;So this particular line &amp;quot;.p_data = p_evt-&amp;gt;data.rxtx.p_data,&amp;quot; has the received data right?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I also tried to debug the firmware. I am receiving the data from the other controller but after receiving the data I am getting this error in the logs:-&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;error&amp;gt; app: LIBUARTE ERROR&lt;br /&gt;&amp;lt;error&amp;gt; app: LIBUARTE ERROR&lt;br /&gt;&amp;lt;error&amp;gt; hardfault: HARD FAULT at 0x000287A8&lt;br /&gt;&amp;lt;error&amp;gt; hardfault: R0: 0x00000000 R1: 0x20006880 R2: 0x0A0D6466 R3: 0x20006878&lt;br /&gt;&amp;lt;error&amp;gt; hardfault: R12: 0x200067A4 LR: 0x00029C2D PSR: 0x61000038&lt;br /&gt;&amp;lt;error&amp;gt; hardfault: Cause: Data bus error (return address in the stack frame is not related to the instruction that caused the error).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What could have caused this issue?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Snehal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/359400?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2022 13:53:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45b7a8ce-aa2a-4dc8-8dc2-d86904ab1564</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can use the logger module with the RTT enabled as backend (see the ble_app_uart for reference). But the best approach would be to use the debugger and set a breakpoint in the event handler and see if the RX buffer is filled.&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: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/359321?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2022 10:03:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6adcdd1-b1ab-43ab-a7a1-a2f08cab4cb6</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;yes I can check that. Meanwhile If I want to check the received data from other MCU on nrf52833,how can I check if hex data is being received. The libuarte handler is as follow:-&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void libuarte_event_handle(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;
    }
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Like if I want to print the received data on the RTT terminal, how can I do that?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Snehal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/359319?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2022 09:58:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab192561-7d2a-42c1-9623-01e3c1ddd3c4</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Can you use the debugger and see what the transmits functions returns and how the TX buffer that is passed to the function look like?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/359312?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2022 09:25:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb84b69f-ddbc-424f-a894-6efe056ca7f8</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Unfortunately I am not having scope or analyzer to check the lines.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Snehal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/359311?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2022 09:19:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fb4f08a-6b64-4173-9263-c0638669a8c5</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you see any activity on the TX line when you try to send data? Can you use a logical analyzer or a scope and verify?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/359273?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2022 06:38:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b0bc5dd-87c1-4644-9e4c-de396122b4ac</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I have solved all the errors of libuarte and the code is running properly without any errors. But when I try to transmit hex data from libuarte, i am not able to transmit or receive any data. I am trying to transmit hex data&amp;nbsp;(0x73,0x01,0x0a,0x0d)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What might be the issue?I am not seeing any errors but the other mcu is not receiving any data.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Snehal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/355955?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2022 09:01:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:793538a4-dd59-4f78-9e6c-d198c86501cb</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re using RTOS then only&amp;nbsp;&lt;span&gt;app_timer_freertos.c should be included.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user="snehal_2789"]I actually removed 2 files app_timer2.c and drv_rtc.c and the errors are gone now. But still libuarte gives error while running the code on the device.[/quote]
&lt;p&gt;What kind of error?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I think you should first try to simplify this process into two steps:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;&lt;span&gt;Merge the libuarte example with the UART peripheral hardware example and verify that it works.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;Add FreeRTOS to your project.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;Trying to do both at the same time will unnecessarily&amp;nbsp;complicate things.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;regards&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;Jared&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/355777?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2022 10:32:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1aaefe20-fcb9-40ec-992a-7389882dce35</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;I am using RTOS in my project. So i have defined some timers which are created in different tasks in RTOS.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/355744?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2022 09:29:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:989ac252-a090-4684-8472-4fceb8f17c66</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you actually&amp;nbsp; using freeRTOS?&amp;nbsp;&lt;/p&gt;
[quote user="snehal_2789"] my project as I have to run some timers through schedulers.[/quote]
&lt;p&gt;Please elaborate on this.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/355742?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2022 09:24:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9361eaec-ba0e-44c4-abdd-ae87e8d53810</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;I solved the issue. I had to put some defines like&amp;nbsp;APP_TIMER_V2 &amp;amp; APP_TIMER_V2_RTC1_ENABLED in the preprocessor definitions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am also using &amp;quot;app_timer_freertos.c&amp;quot; in my project as I have to run some timers through schedulers. So the problem is I am getting multiple definition error after including the app_timer2.c.&lt;/p&gt;
&lt;p&gt;Any way to solve this issue?&lt;/p&gt;
&lt;p&gt;I actually removed 2 files app_timer2.c and drv_rtc.c and the errors are gone now. But still libuarte gives error while running the code on the device.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/355707?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2022 07:21:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7597c0c2-f8c6-430f-bdf2-288bb9a7bebe</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;I tried to edit the sdk_config according to the file you have provided. Now I am getting new errors.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1646205427085v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Please help.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/355324?ContentTypeID=1</link><pubDate>Mon, 28 Feb 2022 14:56:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4474cae-dcaf-4986-8bdb-00f7649cff44</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The SDK config should look somewhat similar to this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5415.sdk_5F00_config.h"&gt;devzone.nordicsemi.com/.../5415.sdk_5F00_config.h&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/355084?ContentTypeID=1</link><pubDate>Fri, 25 Feb 2022 15:05:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e451e0a2-ff27-4279-bf3a-0482a93104de</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;I disabled this in sdk_config.h. Had enabled it according to our previous discussion. Now again i have disabled it. I have attached my sdk_config file.&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3566.sdk_5F00_config.h"&gt;devzone.nordicsemi.com/.../3566.sdk_5F00_config.h&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;#ifndef UART1_ENABLED&lt;br /&gt;#define UART1_ENABLED 0&lt;br /&gt;#endif&lt;br /&gt;// &amp;lt;q&amp;gt; UART1_CONFIG_USE_EASY_DMA - Default setting for using EasyDMA&lt;/p&gt;
&lt;p&gt;#ifndef UART1_CONFIG_USE_EASY_DMA&lt;br /&gt;#define UART1_CONFIG_USE_EASY_DMA 0&lt;br /&gt;#endif&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#ifndef APP_UART_DRIVER_INSTANCE&lt;/span&gt;&lt;br /&gt;&lt;span&gt;#define APP_UART_DRIVER_INSTANCE 1&lt;/span&gt;&lt;br /&gt;&lt;span&gt;#endif&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/355070?ContentTypeID=1</link><pubDate>Fri, 25 Feb 2022 14:38:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3daa3872-cd46-4660-a67d-3b92e214cdd8</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Seems like you already use UARTE1 in your project? Have you already initialized&amp;nbsp;UARTE1 somewhere else in your code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/355055?ContentTypeID=1</link><pubDate>Fri, 25 Feb 2022 14:05:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0406a5d7-493d-4bdc-bb47-4c9bafbece58</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thanks for your reply. I followe dyour instructions and did the changes as follows:-&lt;/p&gt;
&lt;p&gt;===============================================================================&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;In sdk_config.h
ADDED LIBUARTE CONFIG



// &amp;lt;q&amp;gt; NRF_LIBUARTE_ASYNC_WITH_APP_TIMER - nrf_libuarte_async - libUARTE_async library

#ifndef NRF_LIBUARTE_ASYNC_WITH_APP_TIMER
#define NRF_LIBUARTE_ASYNC_WITH_APP_TIMER 1
#endif

//==========================================================

// &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 0
#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;e&amp;gt; NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
//==========================================================
#ifndef NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED
#define NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED 1
#endif
// &amp;lt;o&amp;gt; NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL - Default Severity level


#ifndef NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL
#define NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL 3
#endif

// &amp;lt;o&amp;gt; NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.


#ifndef NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR
#define NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR 0
#endif

// &amp;lt;o&amp;gt; NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.


#ifndef NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR
#define NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR 0
#endif

============================================================================

In uart.c added code for uarte

NRF_LIBUARTE_ASYNC_DEFINE(libuarte, 1, 0, 0, NRF_LIBUARTE_PERIPHERAL_NOT_USED, 255, 3);

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);

static volatile bool m_loopback_phase;
void sys_uart2_init(void);




void libuarte_event_handle(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 sys_uart2_init(void)
{
ret_code_t err_code;

nrf_libuarte_async_config_t nrf_libuarte_async_config = {
.tx_pin = UART2_TX_PIN_NUMBER,
.rx_pin = UART2_RX_PIN_NUMBER,
.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, libuarte_event_handle, (void *)&amp;amp;libuarte);

APP_ERROR_CHECK(err_code);

nrf_libuarte_async_enable(&amp;amp;libuarte);

//err_code = nrf_libuarte_async_tx(&amp;amp;libuarte, text, text_size);
//APP_ERROR_CHECK(err_code);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;after adding the code i tried to compile and I am getting error: -&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1645797927442v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How to solve this error?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/354962?ContentTypeID=1</link><pubDate>Fri, 25 Feb 2022 09:19:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba6e0a02-4d1c-4592-971d-0eddf435246b</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You&amp;#39;re absolutely right, the app_uart module does not work with multiple instances. It&amp;#39;s hardcoded to use UART(E) instance 0. You can use one UART(E) peripheral with app_uart and another UART(E) peripheral with the libUARTE peripheral.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Modify the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/libuarte_example.html?cp=8_1_4_6_17"&gt;libUARTE example&lt;/a&gt; in the SDK so that it uses UARTE instance 1 instead of 0. You can do this by:
&lt;ol&gt;
&lt;li&gt;setting #define&lt;span&gt; NRF_LIBUARTE_DRV_UARTE1 to 1 in the sdk_configh.h file.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;span&gt;Initialize UARTE 1 in main.c by&amp;nbsp;&lt;/span&gt;&lt;/span&gt;NRF_LIBUARTE_ASYNC_DEFINE&lt;span&gt;(&lt;/span&gt;&lt;span&gt;libuarte&lt;/span&gt;&lt;span&gt;, 1&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;,&amp;nbsp;&lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;,&amp;nbsp;&lt;/span&gt;&lt;span&gt;NRF_LIBUARTE_PERIPHERAL_NOT_USED&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;255&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;3&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Build the example and see if it works as &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/libuarte_example.html?cp=8_1_4_6_17"&gt;expected&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Merge the modified libuarte example with the app_uart example.&amp;nbsp;
&lt;ol&gt;
&lt;li&gt;Compare the two sdk_config.h files and include everything that is not already included in the app_uart config file. Use the compare option in VS code.&lt;/li&gt;
&lt;li&gt;Add all project source files and paths that hasn&amp;#39;t already been included. &lt;a href="https://www.youtube.com/watch?v=t-kh1EbesvI&amp;amp;ab_channel=NordicSemiconductor"&gt;See this.&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Test the example.&lt;/li&gt;
&lt;/ol&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: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/354726?ContentTypeID=1</link><pubDate>Thu, 24 Feb 2022 07:46:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf4348ce-cdc6-42f9-92ae-c0d6096f4858</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;Also how will&amp;nbsp;&lt;span&gt;app_uart_put and&amp;nbsp;app_uart_get know which uart to send data from??&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/354724?ContentTypeID=1</link><pubDate>Thu, 24 Feb 2022 07:32:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eac318a6-19b4-4f1a-b2e7-e280fa69d6c7</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;Hi &lt;span&gt;Jared,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have created new functions for uart2.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;//handler for uart1&lt;/p&gt;
&lt;p&gt;void uart_event_handle(app_uart_evt_t * p_event)&lt;br /&gt;{&lt;br /&gt; switch (p_event-&amp;gt;evt_type)&lt;br /&gt; {&lt;br /&gt; case APP_UART_DATA_READY:&lt;br /&gt; UNUSED_VARIABLE(app_uart_get(&amp;amp;rx_byte));&lt;br /&gt; com_rx_byte(rx_byte);&lt;br /&gt; NRF_LOG_INFO(&amp;quot;RECEIVED DATA %x&amp;quot;,rx_byte);&lt;br /&gt; break;&lt;/p&gt;
&lt;p&gt;case APP_UART_COMMUNICATION_ERROR:&lt;br /&gt; // APP_ERROR_HANDLER(p_event-&amp;gt;data.error_communication);&lt;br /&gt; break;&lt;/p&gt;
&lt;p&gt;case APP_UART_FIFO_ERROR:&lt;br /&gt; APP_ERROR_HANDLER(p_event-&amp;gt;data.error_code);&lt;br /&gt; break;&lt;/p&gt;
&lt;p&gt;default:&lt;br /&gt; break;&lt;br /&gt; }&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;//handler for uart2&lt;br /&gt;void uart_2_event_handle(app_uart_evt_t * p_event)&lt;br /&gt;{&lt;br /&gt; switch (p_event-&amp;gt;evt_type)&lt;br /&gt; {&lt;br /&gt; case APP_UART_2_DATA_READY:&lt;br /&gt; UNUSED_VARIABLE(app_uart_get(&amp;amp;rx_byte));&lt;br /&gt; com_rx_byte(rx_byte);&lt;br /&gt; NRF_LOG_INFO(&amp;quot;RECEIVED DATA %x&amp;quot;,rx_byte);&lt;br /&gt; break;&lt;/p&gt;
&lt;p&gt;case APP_UART_2_COMMUNICATION_ERROR:&lt;br /&gt; // APP_ERROR_HANDLER(p_event-&amp;gt;data.error_communication);&lt;br /&gt; break;&lt;/p&gt;
&lt;p&gt;case APP_UART_2_FIFO_ERROR:&lt;br /&gt; APP_ERROR_HANDLER(p_event-&amp;gt;data.error_code);&lt;br /&gt; break;&lt;/p&gt;
&lt;p&gt;default:&lt;br /&gt; break;&lt;br /&gt; }&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;//initialization for uart1&lt;/p&gt;
&lt;p&gt;void sys_uart_init(void)&lt;br /&gt;{&lt;br /&gt; uint32_t err_code;&lt;br /&gt; const app_uart_comm_params_t comm_params =&lt;br /&gt; {&lt;br /&gt; UART_RX_PIN_NUMBER,&lt;br /&gt; UART_TX_PIN_NUMBER,&lt;br /&gt; UART_RTS_PIN_NUMBER,&lt;br /&gt; UART_CTS_PIN_NUMBER,&lt;br /&gt; APP_UART_FLOW_CONTROL_DISABLED,&lt;br /&gt; false,&lt;br /&gt; UART_BAUDRATE_BAUDRATE_Baud9600&lt;br /&gt; };&lt;/p&gt;
&lt;p&gt;APP_UART_FIFO_INIT(&amp;amp;comm_params,&lt;br /&gt; UART_RX_BUF_SIZE,&lt;br /&gt; UART_TX_BUF_SIZE,&lt;br /&gt; uart_event_handle,&lt;br /&gt; APP_IRQ_PRIORITY_LOWEST,&lt;br /&gt; err_code);&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;//initialization for uart1&lt;/p&gt;
&lt;p&gt;void sys_uart2_init(void)&lt;br /&gt;{&lt;br /&gt; uint32_t err_code;&lt;br /&gt; const app_uart_comm_params_t comm_params =&lt;br /&gt; {&lt;br /&gt; UART_RX_2_PIN_NUMBER,&lt;br /&gt; UART_TX_2_PIN_NUMBER,&lt;br /&gt; UART_RTS_2_PIN_NUMBER,&lt;br /&gt; UART_CTS_2_PIN_NUMBER,&lt;br /&gt; APP_UART_FLOW_CONTROL_DISABLED,&lt;br /&gt; false,&lt;br /&gt; UART_BAUDRATE_BAUDRATE_Baud9600&lt;br /&gt; };&lt;/p&gt;
&lt;p&gt;APP_UART_FIFO_INIT(&amp;amp;comm_params,&lt;br /&gt; UART_2_RX_BUF_SIZE,&lt;br /&gt; UART_2_TX_BUF_SIZE,&lt;br /&gt; uart_2_event_handle,&lt;br /&gt; APP_IRQ_PRIORITY_LOWEST,&lt;br /&gt; err_code);&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Now for receiving and transmitting data through Uart, I have these functions for uart1:-&lt;/p&gt;
&lt;p&gt;uint32_t uart_rxByte(uint8_t *byte) &lt;br /&gt;{&lt;br /&gt; return app_uart_get(byte);&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;uint32_t uart_txByte(uint8_t byte) &lt;br /&gt;{&lt;br /&gt; return app_uart_put(byte);&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Do i need to create the same for uart2 or the same ones can be used?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Snehal&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/353879?ContentTypeID=1</link><pubDate>Fri, 18 Feb 2022 13:54:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92d2caad-8005-4f10-91c7-1a474972ce1c</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Assuming that you&amp;#39;re using the UART hardware peripheral example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You need to add this to the config file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// &amp;lt;e&amp;gt; UART1_ENABLED - Enable UART1 instance
//==========================================================
#ifndef UART1_ENABLED
#define UART1_ENABLED 1
#endif
// &amp;lt;q&amp;gt; UART1_CONFIG_USE_EASY_DMA  - Default setting for using EasyDMA
 

#ifndef UART1_CONFIG_USE_EASY_DMA
#define UART1_CONFIG_USE_EASY_DMA 1
#endif

// &amp;lt;/e&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You also need to repeat the initialization routine that was done for UART0 for UART1. That includes initialize a new FIFO with new RX and TX buffers.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/353568?ContentTypeID=1</link><pubDate>Thu, 17 Feb 2022 10:56:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8be9dce1-7852-4789-8d31-6e0de5203b69</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thanks for your reply. You mean to say I will have to edit in sdk_config.h from&amp;nbsp;&lt;/p&gt;
&lt;p&gt;#ifndef APP_UART_DRIVER_INSTANCE&lt;br /&gt;#define APP_UART_DRIVER_INSTANCE 0&lt;br /&gt;#endif&lt;/p&gt;
&lt;p&gt;to&amp;nbsp;&lt;/p&gt;
&lt;p&gt;#ifndef APP_UART_DRIVER_INSTANCE&lt;br /&gt;#define APP_UART_DRIVER_INSTANCE 1&lt;br /&gt;#endif&lt;/p&gt;
&lt;p&gt;??&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Will this enable 2 uarts? As well as for uart1 i am using function below:-&lt;/p&gt;
&lt;p&gt;void sys_uart_init(void)&lt;br /&gt;{&lt;br /&gt; uint32_t err_code;&lt;br /&gt; const app_uart_comm_params_t comm_params =&lt;br /&gt; {&lt;br /&gt; UART_RX_PIN_NUMBER,&lt;br /&gt; UART_TX_PIN_NUMBER,&lt;br /&gt; UART_RTS_PIN_NUMBER,&lt;br /&gt; UART_CTS_PIN_NUMBER,&lt;br /&gt; APP_UART_FLOW_CONTROL_DISABLED,&lt;br /&gt; false,&lt;br /&gt; UART_BAUDRATE_BAUDRATE_Baud9600&lt;br /&gt; };&lt;/p&gt;
&lt;p&gt;APP_UART_FIFO_INIT(&amp;amp;comm_params,&lt;br /&gt; UART_RX_BUF_SIZE,&lt;br /&gt; UART_TX_BUF_SIZE,&lt;br /&gt; uart_event_handle,&lt;br /&gt; APP_IRQ_PRIORITY_LOWEST,&lt;br /&gt; err_code);&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;will i have to creae another function for adding 2nd uart using the same method???&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Snehal&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple UART on NRF52833</title><link>https://devzone.nordicsemi.com/thread/353558?ContentTypeID=1</link><pubDate>Thu, 17 Feb 2022 10:20:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84d598a7-f42f-49d9-a10f-9a8ad3113305</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The nRF52833 has only 1 UART, but 2 UARTE. So you would have to add a UARTE peripheral to your project. To add the peripheral you need to:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Enable the Instance in your sdk config file and add necessary files to your project.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Initialize the peripheral and instance&lt;/li&gt;
&lt;li&gt;Use the peripheral &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You can follow the procedure as in the UART example. If you&amp;#39;re already using the UART example, then you&amp;#39;re actually using the UARTE peripheral. If so, then you need to make sure that you add instance 1 instead of 0, because the example already use instance 0.&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></channel></rss>