<?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>UARTE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91772/uarte</link><description>In UART async mode ( CONFIG_UART_ASYNC_API =y) the UART transmit data and receive callback works fine. I&amp;#39;ve been able to set up the callback and enable the rx. 
 After switching to UARTE ( CONFIG_NRFX_UARTE0 =y), the UART transmit once, but the event</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Nov 2022 08:13:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91772/uarte" /><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/396562?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2022 08:13:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a3adebf-8c67-4284-a82f-9b52ab666fd9</guid><dc:creator>Elbert</dc:creator><description>&lt;p&gt;Thanks for the example.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m already working on another example with standard uart Zephyr functions, but I will take a look after this one as well.&lt;/p&gt;
&lt;p&gt;Best regards, Elbert&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/396386?ContentTypeID=1</link><pubDate>Fri, 18 Nov 2022 11:14:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3103bd38-23f6-4a10-93df-788192cc5022</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;FYI, there are some samples that use the nrfx directly that you can look at. You can find them here &lt;a href="https://github.com/zephyrproject-rtos/hal_nordic/blob/master/nrfx/samples/src/nrfx_uarte/rx_double_buffered/main.c"&gt;https://github.com/zephyrproject-rtos/hal_nordic/blob/master/nrfx/samples/src/nrfx_uarte/rx_double_buffered/main.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/395386?ContentTypeID=1</link><pubDate>Fri, 11 Nov 2022 16:11:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:783f5bdb-8e75-4170-bc3e-4b452f60eacd</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;The maximum baudrate that has been tested is 1M, but it might work with a higher baudrate as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/395155?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2022 15:08:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c72372d-1814-4e8c-8d4e-5462cbead4a4</guid><dc:creator>Elbert</dc:creator><description>&lt;p&gt;What is the maximum UARTE baudrate on the nRF9160-dk that works reliable?&lt;/p&gt;
&lt;p&gt;Are there any known issues running on high baudrate?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/394486?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2022 15:12:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39106e0d-20f1-4cbd-b87d-629379abc11e</guid><dc:creator>Elbert</dc:creator><description>&lt;p&gt;He will be back next week, so let&amp;#39;s wait for his answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/394484?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2022 15:09:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eef6e615-71ab-4222-8845-6a242e093b23</guid><dc:creator>Elbert</dc:creator><description>[quote userid="73166" url="~/f/nordic-q-a/91772/uarte/394415"]For nRF9160, UART always runs with EasyDMA. There is no &amp;quot;UART&amp;quot; peripheral, just UARTE as can be seen in &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf9160/chapters/peripherals/peripherals.html"&gt;the list&lt;/a&gt;.[/quote]
&lt;p&gt;Thanks for the answer, this means that I can continue with the standard uart functions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/394416?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2022 12:45:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c0c2a08-60c8-4da4-add7-4f87d611b4c9</guid><dc:creator>Hakon</dc:creator><description>[quote user="Elbert"]I have been told by Frans Lutz, FAE at Nordic Netherlands.[/quote]
&lt;p&gt;He seems to be out of office at the moment, but he is back in four days, so hopefully I will get him to comment on this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/394415?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2022 12:43:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e9751c8-3d9c-4f9f-8dd2-20065c97f92f</guid><dc:creator>Hakon</dc:creator><description>[quote user="Elbert"]How can I verify the uart is running in UARTE mode? Is there any configuration or pin state I can check?[/quote]
&lt;p&gt;For nRF9160, UART always runs with EasyDMA. There is no &amp;quot;UART&amp;quot; peripheral, just UARTE as can be seen in &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf9160/chapters/peripherals/peripherals.html"&gt;the list&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/393986?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2022 15:51:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11a44424-a4b1-4107-a69f-6c5eeb29edd0</guid><dc:creator>Elbert</dc:creator><description>[quote userid="73166" url="~/f/nordic-q-a/91772/uarte/393957"]Where have you been told this? As far as I know there is one internal example that is outdated and deprecated, and there is an official LP-UART sample. I don&amp;#39;t think there is a specific UARTE sample, but I could be wrong[/quote]
&lt;p&gt;I have been told by Frans Lutz, FAE at Nordic Netherlands.&lt;/p&gt;
[quote userid="73166" url="~/f/nordic-q-a/91772/uarte/393957"]Yes it should be possible. I&amp;#39;m pretty sure you can use the same API for both UART and UARTE.[/quote]
&lt;p&gt;If this is real, than I can use the standard uart functions. Can your verify this at Nordic?&lt;/p&gt;
&lt;p&gt;How can I verify the uart is running in UARTE mode? Is there any configuration or pin state I can check?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/393957?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2022 14:44:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4acd26e5-43d6-4b8b-a269-52967a998ec1</guid><dc:creator>Hakon</dc:creator><description>[quote user="Elbert"]I have been told that there is a nRF9160-dk UARTE sample. Is it possible to provide this sample to me?[/quote]
&lt;p&gt;Where have you been told this? As far as I know there is one internal example that is outdated and deprecated, and there is an official LP-UART sample. I don&amp;#39;t think there is a specific UARTE sample, but I could be wrong.&lt;/p&gt;
[quote user="Elbert"]&lt;span&gt;Can I use standard uart functions (like&amp;nbsp;&lt;/span&gt;uart_callback_set,&amp;nbsp;uart_rx_enable, etc.) and run in UARTE mode or do I have to use the uarte functions (like nrfx_uarte_init,&amp;nbsp;nrfx_uarte_tx, etc.) to run in UARTE mode?[/quote]
&lt;p&gt;Yes it should be possible. I&amp;#39;m pretty sure you can use the same API for both UART and UARTE.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/393722?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2022 14:57:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93227968-edd0-4cd0-b91a-c03d7f15d431</guid><dc:creator>Elbert</dc:creator><description>&lt;p&gt;Hi Hakon,&lt;/p&gt;
&lt;p&gt;The code shown at 26 Sep 2022 is exactly what I&amp;#39;m doing. There is not much more to show you.&lt;/p&gt;
&lt;p&gt;Perhaps you can take a look at my questions of 26 Oct 2022. If these questions are answer it might not be necessary to use specific nrfx functions?&lt;/p&gt;
&lt;p&gt;I have been told that there is a nRF9160-dk UARTE sample. Is it possible to provide this sample to me?&lt;/p&gt;
&lt;p&gt;Best regards, Elbert&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/393603?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2022 10:04:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f50ee02-5260-4b0a-9d18-7390389310c4</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Can you just show me the full main.c file? It&amp;#39;s difficult to tell what&amp;#39;s going on with the short bits of the code you have shown me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/393517?ContentTypeID=1</link><pubDate>Tue, 01 Nov 2022 15:29:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6ae2a9e-8111-49cb-9d63-32e8c2cc523c</guid><dc:creator>Elbert</dc:creator><description>&lt;p&gt;Is there any update on this item?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/392546?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 09:02:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:220158de-4642-4525-aac0-da1a6f2d4b07</guid><dc:creator>Elbert</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This setting was already present. From compiled devicetree output:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;uart0: uart@8000 {
                                compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
                                reg = &amp;lt;0x8000 0x1000&amp;gt;;
                                interrupts = &amp;lt;8 NRF_DEFAULT_IRQ_PRIORITY&amp;gt;;
                                status = &amp;quot;okay&amp;quot;;
                                current-speed = &amp;lt;9600&amp;gt;;
                                pinctrl-0 = &amp;lt;&amp;amp;uart0_default&amp;gt;;
                                pinctrl-1 = &amp;lt;&amp;amp;uart0_sleep&amp;gt;;
                                pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
                        };&lt;/pre&gt;&lt;/p&gt;
&lt;div&gt;prj.conf contains&amp;nbsp;&lt;span&gt;CONFIG_UART_ASYNC_API=y and output file .config show:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_UART_ASYNC_API=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_UART_0_NRF_UARTE=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NRF_UARTE_PERIPHERAL=y&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;Does this mean uart0 is running in UARTE mode?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Can I use standard uart functions (like&amp;nbsp;&lt;/span&gt;uart_callback_set,&amp;nbsp;uart_rx_enable, etc.) and run in UARTE mode or do I have to use the uarte functions (like nrfx_uarte_init,&amp;nbsp;nrfx_uarte_tx, etc.) to run in UARTE mode?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Best regard, Elbert&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/392543?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 08:40:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:755c7011-5445-465d-aa9b-bdb74ce6aaf2</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Try setting &amp;quot;compatible = nordic,nrf-uarte&amp;quot; for uart0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/391249?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 14:51:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cefd0f2f-8de1-4eb1-906a-b4ec51d1c24f</guid><dc:creator>Elbert</dc:creator><description>&lt;p&gt;This is the used overlay file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/*
 * Copyright (c) 2021 Nordic Semiconductor ASA
 *
 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
 */

/* Disable uart1 in nonsecure since it is used by the TFM secure app. */
&amp;amp;uart1 {
	status = &amp;quot;disabled&amp;quot;;
};

/* Console uart0 baudrate 9600 */
&amp;amp;uart0 {
    current-speed = &amp;lt; 9600 &amp;gt;;
};

/ {
    aliases {
        console-uart = &amp;amp;uart0;
    };
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/391171?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 11:30:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bef1b4ad-239e-4eb5-8a82-7b5c26ed38b3</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Can you show the overlay file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/390476?ContentTypeID=1</link><pubDate>Wed, 12 Oct 2022 14:07:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79542919-4cc0-4c7a-8564-9cd2d97b4fbc</guid><dc:creator>Elbert</dc:creator><description>&lt;p&gt;prj.conf contains the configuration option CONFIG_UART_ASYNC_API=y.&lt;/p&gt;
&lt;p&gt;This option is also present in the .config output file after pristine build. Other options in the .config are CONFIG_UART_0_NRF_UARTE=y and CONFIG_NRF_UARTE_PERIPHERAL=y.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p style="text-align:left;"&gt;Does this mean that it is NOT necessary to use prj.conf CONFIG_NRFX_UARTE0=y to enable UARTE mode?&lt;/p&gt;
&lt;p style="text-align:left;"&gt;If so, can I use the standard functions (to set up the callback routine and enable the uart rx) and be in UARTE mode?&lt;/p&gt;
&lt;p style="text-align:left;"&gt;How can I verify running in UARTE mode?&lt;/p&gt;
&lt;/blockquote&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/390384?ContentTypeID=1</link><pubDate>Wed, 12 Oct 2022 08:53:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d64a7c7-e157-46b8-89af-47954b58ffb4</guid><dc:creator>Elbert</dc:creator><description>&lt;p&gt;Changing interrupt priority (default 7) does not help. UART event handler (callback) is never hit.&lt;/p&gt;
&lt;p&gt;The LOG_DBG statements in the callback are not executed and the global variable the event type is stored never changes. Is it possible to use log statements in UARTE event handler?&lt;/p&gt;
&lt;p&gt;Is there a working nRF9160 UARTE sample?&lt;/p&gt;
&lt;p&gt;Any other suggestions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/389947?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 08:22:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc57ff09-750d-447e-9b02-176e307809e7</guid><dc:creator>Elbert</dc:creator><description>&lt;p&gt;Sorry, answer at wrong place, hope it is ok now.&lt;/p&gt;
&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;nRF5FanBoy,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The uarte configuration as you mention is in my config file the same.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have added the configuration of the pins, hardware flow control and parity now. Also added the nrfx_uarte_rx&amp;nbsp;and&amp;nbsp;nrf_uarte_enable (after nrfx_uarte_init&amp;nbsp;), but without any result. The rx and first tx return success, but the callback is never hit and next tx shows busy.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It looks like it has something to do with the callback, but how can I figure out what goes wrong?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards, Elbert&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/389945?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 08:17:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7e977af-8864-49e9-9c58-b8e08209de6b</guid><dc:creator>Elbert</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;nRF5FanBoy,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The uarte configuration as you mention is in my config file the same.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have added the configuration of the pins, hardware flow control and parity now. Also added the nrfx_uarte_rx&amp;nbsp;and&amp;nbsp;nrf_uarte_enable (after nrfx_uarte_init&amp;nbsp;), but without any result. The rx and first tx return success, but the callback is never hit and next tx shows busy.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It looks like it has something to do with the callback, but how can I figure out what goes wrong?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards, Elbert&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/389875?ContentTypeID=1</link><pubDate>Fri, 07 Oct 2022 19:30:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:273cfd9a-1aea-43e0-a256-511ff4aaa1a6</guid><dc:creator>nRF5xFanboy</dc:creator><description>&lt;p&gt;Hi Elbert,&lt;/p&gt;
&lt;p&gt;Are uart(e) related things enabled in the config file?&lt;/p&gt;
&lt;pre&gt;&lt;span class="pl-c"&gt;// nrfx_config.h&lt;/span&gt;
#&lt;span class="pl-k"&gt;define&lt;/span&gt; &lt;span class="pl-en"&gt;NRFX_UARTE_ENABLED&lt;/span&gt; &lt;span class="pl-c1"&gt;1&lt;/span&gt;
#&lt;span class="pl-k"&gt;define&lt;/span&gt; &lt;span class="pl-en"&gt;NRFX_UARTE0_ENABLED&lt;/span&gt; &lt;span class="pl-c1"&gt;1&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;Can you please present your config file here to analyse uart stuff is enabled.&lt;br /&gt;&lt;br /&gt;I don&amp;#39;t see the interrupt being set nor the handler?&lt;br /&gt;&lt;span&gt;I don&amp;#39;t see the flow control being enabled/disabled&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;My uart c++ class has this inside:&lt;br /&gt;&lt;br /&gt;/** Setup the pins. */&lt;br /&gt; uarte_modem_config.pseltxd = tx_pin;&lt;br /&gt; uarte_modem_config.pselrxd = rx_pin;&lt;br /&gt; uarte_modem_config.pselcts = NRF_UARTE_PSEL_DISCONNECTED;&lt;br /&gt; uarte_modem_config.pselrts = NRF_UARTE_PSEL_DISCONNECTED;&lt;br /&gt; uarte_modem_config.baudrate = IntegerToBadurate ( baudrate );&lt;br /&gt; uarte_modem_config.hwfc = NRF_UARTE_HWFC_DISABLED;&lt;br /&gt; uarte_modem_config.parity = NRF_UARTE_PARITY_EXCLUDED;&lt;br /&gt; uarte_modem_config.interrupt_priority = 2; ///&amp;lt; TODO Make configurable.&lt;br /&gt; uarte_modem_config.p_context = this;&lt;/p&gt;
&lt;p&gt;assert ( uarte_modem_config.baudrate != -1 );&lt;br /&gt; nrfx_uarte_init ( &amp;amp;uarte_drv_, &amp;amp;uarte_modem_config, &amp;amp;Uart::uartEventHandler );&lt;br /&gt; nrfx_uarte_rx ( &amp;amp;uarte_drv_, NextRxBuffer (), 1 );&lt;br /&gt;&lt;span style="font-family:inherit;"&gt;nrf_uarte_enable ( uarte_drv_.p_reg );&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;&amp;nbsp; &amp;nbsp;nRF5FanBoy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/389632?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 13:00:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cca5fab-a8ba-4195-ab95-479ef34c22cb</guid><dc:creator>Elbert</dc:creator><description>&lt;p&gt;Update on code (see earlier post) run:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;nrfx_uarte_init log result:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;lt;wrn&amp;gt; NRFX_UARTE: Function: nrfx_uarte_init, error code: NRFX_SUCCESS.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;nrfx_uarte_tx&amp;nbsp;log result:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;lt;inf&amp;gt; NRFX_UARTE: Transfer tx_len: 40.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;lt;inf&amp;gt; NRFX_UARTE: Function: nrfx_uarte_tx, error code: NRFX_SUCCESS.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Data is transmitted OK.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;The next statement in the debugger is not executed, a manual break in the debugger shows running in function&amp;nbsp;uarte_nrfx_isr_int, uarte_handler&amp;nbsp;is never addressed.&lt;/div&gt;
&lt;div&gt;&lt;span&gt;NRFX_UARTE_DEFAULT_CONFIG() with nRF9160-dk pin configuration instead of&amp;nbsp;NRF_UARTE_PSEL_DISCONNECTED does not give another result.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;Any idea what might be the reason? Configuration issue?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/389329?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 08:22:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6c1bdf2-fffa-4be0-abd7-ea630fa7efe7</guid><dc:creator>Elbert</dc:creator><description>&lt;p&gt;Logging was enabled and both nrfx_uarte_init() and nrfx_uarte_tx() show NRFX_SUCCESS. The problem is that the uarte_handler() is never hit and function call nrfx_uarte_tx_in_progress() hangs.&lt;/p&gt;
&lt;p&gt;With nrf9160-dk and standard uart0 implementation (UART API)&amp;nbsp;transmit and receive data works, so I expect UARTE should also work at uart0.&lt;/p&gt;
&lt;p&gt;Is there a working UARTE example on nrf9160-dk available?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE</title><link>https://devzone.nordicsemi.com/thread/389251?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 15:18:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9d388c3-323c-4310-b823-a726317f29ed</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Did you disable logging? Maybe you can try a different uart instance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>