<?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 two UARTs on nrf52833.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65677/using-two-uarts-on-nrf52833</link><description>Hello! I have a few questions and concerns. 
 1) There are two UARTs on nrf52833. UART0 and UART1. How do I get them to work properly? For UART1, work is available only through DMA, because UARTE1? 2) On one of the UART, pin TX is connected to P0.24,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Sep 2020 10:10:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65677/using-two-uarts-on-nrf52833" /><item><title>RE: Using two UARTs on nrf52833.</title><link>https://devzone.nordicsemi.com/thread/268914?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 10:10:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15231fe9-47a7-407e-b317-00f05867588c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Are you testing this on the nRF52833 DK, or a custom board? I noticed from the silkscreen on the backside that P1.00 is connected to the SWO input on the Segger interface chip. Maybe that&amp;#39;s what&amp;#39;s causing the interference.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a title="Solder bridge configuration" href="https://infocenter.nordicsemi.com/topic/ug_nrf52833_dk/UG/nrf52833_DK/solder_bridge.html?cp=4_1_4_7_11"&gt;Solder bridge configuration:&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table border="1" cellpadding="4" cellspacing="0" frame="border" rules="all" summary=""&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d11319e73" rowspan="1"&gt;SB57&lt;/td&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d11319e76" rowspan="1"&gt;Closed&lt;/td&gt;
&lt;td style="vertical-align:top;" colspan="1" headers="d11319e79" rowspan="1"&gt;Cut to disconnect the nRF52833 SWO line from the signal switch and the interface MCU&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using two UARTs on nrf52833.</title><link>https://devzone.nordicsemi.com/thread/268713?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2020 10:55:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3931401-2ce9-419f-aa40-e17ee6add387</guid><dc:creator>Nikolay Oleynik</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t use flow control.&lt;br /&gt;1) OK, I have UARTE0 and UARTE1.&lt;br /&gt;2) When UART is initialized on port 1, many interrupts with an error are immediately called. Moreover, if you call nrf_drv_uart_rx () again in the interrupt, then this function hangs. If we initialize UART to port 0, then everything will be without errors. Unfortunately, schematically, it is necessary to use 24 pins on port 0 for sending and 0 pin on port 1 (32 pins) for receiving.&lt;/p&gt;
&lt;p&gt;Yes, I am using the NRF_GPIO_PIN_MAP (1, 0) macro&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using two UARTs on nrf52833.</title><link>https://devzone.nordicsemi.com/thread/268486?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2020 11:19:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb038477-8282-4538-8cd3-dbee225e5696</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Are you testing with HW flow control enabled, and in that case, have you connected the RTS and CTS line? Incorrectly configured flow control could potentially explain why you never get the TX complete event.&lt;/p&gt;
&lt;p&gt;1) There is no legacy UART1 without DMA as you say, so you need to use the UART&lt;strong&gt;E &lt;/strong&gt;driver (&lt;span&gt;&lt;a title="UART" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.0/hardware_driver_uart.html?cp=7_1_2_0_19"&gt;UART&lt;/a&gt;&lt;/span&gt; doc).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2) Induced noise on a floating RX input may be enough to trigger a NRF_DRV_UART_EVT_ERROR.&amp;nbsp; Have you tried to ignore the error and just re-enable UART RX ((void)nrf_drv_uart_rx()) on this event to see if any data comes trough at all.&lt;/p&gt;
&lt;p&gt;Also, do you use the NRF_GPIO_PIN_MAP() when specifying pins on port 1?&amp;nbsp; e.g., NRF_GPIO_PIN_MAP(1,0) =&amp;gt; p.1.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>