<?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>UART 1 cannot init</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59787/uart-1-cannot-init</link><description>Hi 
 
 nrf52833 SDK16 
 The following code works fine on UART 0 but not on UART 1 
 
 
 The problem seems to come from nrfx_uart.c 
 
 There is no support for a UART1, so nrf_prs_acquire() will fail on the 
 
 Also nrf_uart.c lacks support for uart 1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 Apr 2020 18:42:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59787/uart-1-cannot-init" /><item><title>RE: UART 1 cannot init</title><link>https://devzone.nordicsemi.com/thread/243042?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 18:42:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:297b44a3-0966-40d5-b121-1d492d657b10</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is no legacy UART for instance 1 (&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/uart.html#topic"&gt;UART1&lt;/a&gt;), only UART0 support legacy UART. In order to use the second UART instance, you need to use &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/uarte.html#topic"&gt;UARTE1&lt;/a&gt;, UART with EasyDMA support.&lt;/p&gt;
&lt;p&gt;You can either use nrfx_uarte, or it should also be possible to use the legacy UART driver (nrf_drv_uart) if it is configured correctly. If you do not need both legacy and EasyDMA support, you can disable to PRS for UART (set NRFX_PRS_BOX_4_ENABLED to 0 in sdk_config.h), and then remove legacy UART driver from the project (nrfx_uart.c) and disable legacy support in legacy UART driver in sdk_config.h by setting UART_LEGACY_SUPPORT to 0.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>