<?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>nRF9160 UART RX stoped</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62452/nrf9160-uart-rx-stoped</link><description>Hi, 
 When we do the UART stress testing with serial_lte_modem sample, the slm will crash by sending AT commands with interval 100ms. 
 the debug log will show &amp;quot;&amp;lt;wrn&amp;gt; at_host: RX_STOPPED&amp;quot; and the RX_stop reason is UART_ERROR_FRAMING( 4), after this event</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Jun 2020 13:08:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62452/nrf9160-uart-rx-stoped" /><item><title>RE: nRF9160 UART RX stoped</title><link>https://devzone.nordicsemi.com/thread/254504?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2020 13:08:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab61315d-c96e-4a40-974d-64cbc415f026</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you trying to re-enable RXD in the callback where you get the error, or is this after the uart callback has finished?&lt;/p&gt;
&lt;p&gt;Due to ordering of execution in the uart driver:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/master/drivers/serial/uart_nrfx_uarte.c#L726-L727"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/master/drivers/serial/uart_nrfx_uarte.c#L726-L727&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The _rx_disable() will be called after you have been notified in the application.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;PS: I&amp;nbsp;have reported this internally, as the driver shall not make assumptions on how the application shall handle an error situation.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>