<?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(E) frame error issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49985/uart-e-frame-error-issue</link><description>We are using UART peripheral from nrf52840. It communicates with a modem over the serial, but after receiving a random number of bytes, we get frame errors(the uart driver return 0x4 in error mask) We changed the test and the device from AT modem to a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 08 Mar 2020 06:01:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49985/uart-e-frame-error-issue" /><item><title>RE: UART(E) frame error issue</title><link>https://devzone.nordicsemi.com/thread/238650?ContentTypeID=1</link><pubDate>Sun, 08 Mar 2020 06:01:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c883b765-4e12-4a36-8550-766b692320fc</guid><dc:creator>BattleDroid</dc:creator><description>&lt;p&gt;Hi Catilin,&amp;nbsp;I was wondering if you ever found the source of the framing error on UARTE0.&amp;nbsp; I am seeing similar behavior in my test setup&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART(E) frame error issue</title><link>https://devzone.nordicsemi.com/thread/216013?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2019 17:56:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77d94946-b7c9-4e0c-bc53-e6a26f7c28a1</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;Hi Catalin&lt;/p&gt;
&lt;p&gt;Did you ever solve this problem, I am seeing the same behaviour.&lt;/p&gt;
&lt;p&gt;If I use UART0 I do not have the problem, it only seems to occur with UARTE0/1. But I need UARTE for two channels.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART(E) frame error issue</title><link>https://devzone.nordicsemi.com/thread/201929?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 14:19:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:429d87d8-dc41-4b8e-8018-77ef5eeb65d9</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Have you tried to increase the timeout to a value higher than&amp;nbsp;200?&amp;nbsp;I set it to 1200 and was not able to reproduce the error.&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART(E) frame error issue</title><link>https://devzone.nordicsemi.com/thread/201225?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2019 11:51:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7aa4e45d-31bc-4940-9ed7-9b083be0b139</guid><dc:creator>Catalin</dc:creator><description>&lt;p&gt;It is not seen in the picture but it gets to 3.3V. The tests are done on the Nordic development kit board directly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART(E) frame error issue</title><link>https://devzone.nordicsemi.com/thread/201223?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2019 11:50:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:766f1823-a5a7-4f08-8f47-ada21af8e456</guid><dc:creator>Catalin</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;Yes, it gets stuck with frame error and it can only be reused after the reinitialization of the serial driver.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Catalin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART(E) frame error issue</title><link>https://devzone.nordicsemi.com/thread/201075?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2019 22:24:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1a1cf98-2544-4d6e-8d3c-cbe288cbc656</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;It could just be an artifact of your scope (is it a USB &amp;quot;virtual&amp;quot; scope?), but&amp;nbsp; those edges look really slow for a UART connection!&lt;/p&gt;
&lt;p&gt;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f62e.svg" title="Open mouth"&gt;&amp;#x1f62e;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Also, you&amp;#39;re only reaching 2.5V. What supply voltage are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART(E) frame error issue</title><link>https://devzone.nordicsemi.com/thread/201072?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2019 22:05:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b271e280-72fb-4360-bb1d-99f2c7b6d704</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;The support team is reduced during the summer holidays, and you may experience delayed answers. My apologies for that.&lt;/p&gt;
&lt;p&gt;I took a quick look at your code, and tried to run it with the nRF2840 connected to the computer. I&amp;nbsp;started to&amp;nbsp;spam&amp;nbsp;strings&amp;nbsp; (20 characters with CR LF) from the pc to the nRF5280, and experienced odd behavior after a set of messages was sent. The LED stopped blinking, and the recieved data got stuck at a single character.&lt;/p&gt;
&lt;p&gt;My suspicion is that the timeout is too small, and there is not enough time to handle the incoming data, but I am not sure. I will look more deeply into your problem this week. Please tell me if you find a solution.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART(E) frame error issue</title><link>https://devzone.nordicsemi.com/thread/199890?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 22:24:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07ff541b-a8e6-4195-88dd-281e9dcb0fae</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I am sorry for the long delay, I am currently looking into your issue and will try to provide an answer as soon as posisble.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART(E) frame error issue</title><link>https://devzone.nordicsemi.com/thread/199361?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 19:00:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1295f6ca-d25c-40a6-939d-4f048b69a109</guid><dc:creator>Catalin</dc:creator><description>&lt;p&gt;Yes, We have check the baudrates, nothing odd. We have tested the modem - nrf52840, modem - computer, computer - nrf52840. The tests where nrf was involved, failed.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Here is an oscilloscope capture of 4 bytes of 0x55, sends from computer.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/960x720/__key/communityserver-discussions-components-files/4/AAF088D3_2D00_3F6D_2D00_4D97_2D00_B71C_2D00_11CBBC5476D9.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART(E) frame error issue</title><link>https://devzone.nordicsemi.com/thread/199300?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 13:15:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e5684fc-14c4-43ad-9550-e9f0dd528810</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Have you checked how accurate all the baud rates are?&lt;/p&gt;
&lt;p&gt;Have you used an oscilloscope to look at the lines to see if there&amp;#39;s anything &amp;quot;odd&amp;quot; ?&lt;/p&gt;
[quote userid="73435" url="~/f/nordic-q-a/49985/uart-e-frame-error-issue"]the UART driver indicate frame error[/quote]
&lt;p&gt;That could be because there really &lt;em&gt;&lt;strong&gt;is&lt;/strong&gt; &lt;/em&gt;a framing error!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>