<?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>Getting UART_ERROR_FRAMING issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112673/getting-uart_error_framing-issue</link><description>I am using Asynchronous API of uart to receive the data. During the reception I face UART_ERROR_FRAMING issue in UART_RX_STOP event. But after getting that too it enables the uart again and carry on with receiving the data but after sometime which is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Jul 2024 05:22:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112673/getting-uart_error_framing-issue" /><item><title>RE: Getting UART_ERROR_FRAMING issue</title><link>https://devzone.nordicsemi.com/thread/493795?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2024 05:22:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e865c228-9fdf-49b4-b977-4c304ce6f7bd</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Glad to hear it&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting UART_ERROR_FRAMING issue</title><link>https://devzone.nordicsemi.com/thread/493792?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2024 05:08:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55f2b07c-d1d4-4fbd-9caf-4643cf17c199</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;Thanks for your reply runsiv&lt;br /&gt;This issue has been solved&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting UART_ERROR_FRAMING issue</title><link>https://devzone.nordicsemi.com/thread/493422?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 12:39:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d10623a-968a-46dd-8919-f50461d019b1</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi, Edvin is out of office&amp;nbsp;&lt;/p&gt;
[quote user="Edvin Holmseth"]Perhaps you can show what your hardfault looks like? Do you have any screenshots or logs?[/quote]
&lt;p&gt;I can not see any hard fault from the log you posted below.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also&lt;/p&gt;
&lt;p&gt;If you have a logic analyzer I would follow the date connection and verify that everything looks okey at the moment when it stops receiving.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If your device battery powered?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting UART_ERROR_FRAMING issue</title><link>https://devzone.nordicsemi.com/thread/492609?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 07:16:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2418c2bc-2077-476b-850d-7931152d0384</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;Did u get anything?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting UART_ERROR_FRAMING issue</title><link>https://devzone.nordicsemi.com/thread/492607?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 07:02:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a85d6df5-a7c4-4db0-bc9a-e0509c9d6be1</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;How can I find the faulting instruction address in the build folder?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting UART_ERROR_FRAMING issue</title><link>https://devzone.nordicsemi.com/thread/492589?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 03:30:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f500a3be-9989-475c-8711-a159c2aa4d8f</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1720409203177v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;Actually I put a breakpoint in the WFE() function as I know that it always gets stuck in that&amp;nbsp;&lt;br /&gt;In the call stack it was seen that after going through the hard fault it jumped to WFE()&lt;br /&gt;&lt;br /&gt;In the logs I get nothing related to this it was very normal&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;[05:32:43.950,469] &amp;lt;inf&amp;gt; home_demo: Buffer is released&lt;br /&gt;[05:32:43.950,469] &amp;lt;inf&amp;gt; home_demo: UART_RX_DISABLED&lt;br /&gt;[05:32:43.950,500] &amp;lt;inf&amp;gt; home_demo: UART_RX_BUF_REQUEST&lt;br /&gt;[05:32:43.950,531] &amp;lt;inf&amp;gt; home_demo: New buffer set successfully&lt;br /&gt;[05:32:49.736,206] &amp;lt;inf&amp;gt; home_demo: UART_RX_RDY&lt;br /&gt;[05:32:49.738,830] &amp;lt;inf&amp;gt; home_demo: The data from prodo is: 05:32:49 {&amp;quot;Hcho-mg/m3&amp;quot;: 0.00,&amp;quot;Co-PPM&amp;quot;: 0,&amp;quot;Co2-PPM&amp;quot;: 1735,&amp;quot;Pm1.0-&amp;Acirc;&amp;brvbar;&amp;Atilde;g/m3&amp;quot;: 6,&amp;quot;Pm10-&amp;Acirc;&amp;brvbar;&amp;Atilde;g/m3&amp;quot;: 5,&amp;quot;Pm25-&amp;Acirc;&amp;brvbar;&amp;Atilde;g/m3&amp;quot;: 6,&amp;quot;Voc-mg/m3&amp;quot;: 0,&amp;quot;Temp-&amp;Acirc;&amp;iexcl;&amp;Atilde;&amp;brvbar;&amp;quot;: 77,&amp;quot;Hum-&amp;quot;: 75,&amp;quot;Noi-DB&amp;quot;: 37,&amp;quot;UVA-mw/cm2&amp;quot;: 0.07,&amp;quot;UVB-mw/cm2&amp;quot;: 0.00,&amp;quot;UVC-mw/cm2&amp;quot;: 0.00,&amp;quot;RED&amp;quot;: 4,&amp;quot;GREEN&amp;quot;: 0,&amp;quot;BLUE&amp;quot;: 0,&amp;quot;IR&amp;quot;: 0}&lt;/p&gt;
&lt;p&gt;[05:32:49.744,812] &amp;lt;inf&amp;gt; home_demo: UART_RX_BUF_RELEASED&lt;/p&gt;
&lt;p&gt;[05:32:49.744,842] &amp;lt;inf&amp;gt; home_demo: Buffer is released&lt;br /&gt;[05:32:49.744,842] &amp;lt;inf&amp;gt; home_demo: UART_RX_BUF_RELEASED&lt;/p&gt;
&lt;p&gt;[05:32:49.744,873] &amp;lt;inf&amp;gt; home_demo: Buffer is released&lt;br /&gt;[05:32:49.744,873] &amp;lt;inf&amp;gt; home_demo: UART_RX_DISABLED&lt;br /&gt;[05:32:49.744,903] &amp;lt;inf&amp;gt; home_demo: UART_RX_BUF_REQUEST&lt;br /&gt;[05:32:49.744,934] &amp;lt;inf&amp;gt; home_demo: New buffer set successfully&lt;br /&gt;[05:32:55.540,618] &amp;lt;inf&amp;gt; home_demo: UART_RX_RDY&lt;br /&gt;[05:32:55.543,243] &amp;lt;inf&amp;gt; home_demo: The data from prodo is: 05:32:55 {&amp;quot;Hcho-mg/m3&amp;quot;: 0.00,&amp;quot;Co-PPM&amp;quot;: 0,&amp;quot;Co2-PPM&amp;quot;: 1736,&amp;quot;Pm1.0-&amp;Acirc;&amp;brvbar;&amp;Atilde;g/m3&amp;quot;: 5,&amp;quot;Pm10-&amp;Acirc;&amp;brvbar;&amp;Atilde;g/m3&amp;quot;: 5,&amp;quot;Pm25-&amp;Acirc;&amp;brvbar;&amp;Atilde;g/m3&amp;quot;: 6,&amp;quot;Voc-mg/m3&amp;quot;: 0,&amp;quot;Temp-&amp;Acirc;&amp;iexcl;&amp;Atilde;&amp;brvbar;&amp;quot;: 77,&amp;quot;Hum-&amp;quot;: 75,&amp;quot;Noi-DB&amp;quot;: 39,&amp;quot;UVA-mw/cm2&amp;quot;: 0.07,&amp;quot;UVB-mw/cm2&amp;quot;: 0.00,&amp;quot;UVC-mw/cm2&amp;quot;: 0.00,&amp;quot;RED&amp;quot;: 4,&amp;quot;GREEN&amp;quot;: 0,&amp;quot;BLUE&amp;quot;: 0,&amp;quot;IR&amp;quot;: 0}&lt;/p&gt;
&lt;p&gt;[05:32:55.549,224] &amp;lt;inf&amp;gt; home_demo: UART_RX_BUF_RELEASED&lt;/p&gt;
&lt;p&gt;[05:32:55.549,255] &amp;lt;inf&amp;gt; home_demo: Buffer is released&lt;br /&gt;[05:32:55.549,255] &amp;lt;inf&amp;gt; home_demo: UART_RX_BUF_RELEASED&lt;/p&gt;
&lt;p&gt;[05:32:55.549,285] &amp;lt;inf&amp;gt; home_demo: Buffer is released&lt;br /&gt;[05:32:55.549,285] &amp;lt;inf&amp;gt; home_demo: UART_RX_DISABLED&lt;br /&gt;[05:32:55.549,316] &amp;lt;inf&amp;gt; home_demo: UART_RX_BUF_REQUEST&lt;br /&gt;[05:32:55.549,346] &amp;lt;inf&amp;gt; home_demo: New buffer set successfully&lt;br /&gt;&lt;br /&gt;Logs looks like this&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8168.build.zip"&gt;devzone.nordicsemi.com/.../8168.build.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is the build folder&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting UART_ERROR_FRAMING issue</title><link>https://devzone.nordicsemi.com/thread/492582?ContentTypeID=1</link><pubDate>Sun, 07 Jul 2024 21:09:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa9b5e16-7661-4e0f-b117-88723856cfd3</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Perhaps you can show what your hardfault looks like? Do you have any screenshots or logs?&lt;/p&gt;
&lt;p&gt;Also, if it is a fault message containing a bunch of register addresses, please also upload the build folder that gave that error (the exact same build folder. If you rebuild, you need to reproduce with the new build folder).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting UART_ERROR_FRAMING issue</title><link>https://devzone.nordicsemi.com/thread/492575?ContentTypeID=1</link><pubDate>Sun, 07 Jul 2024 12:29:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60aa8dd8-0dee-45fd-a578-8fae4f42519c</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;Actually currently this issue is solved but I am facing some different issue right now&amp;nbsp;&lt;br /&gt;I am only receiving uart data and it comes after every 6sec and I store it in the sd card&amp;nbsp;&lt;br /&gt;It runs smoothly till 5:30hrs but suddenly after 5:30hrs my code gets stuck in&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;while&lt;/span&gt;&lt;span&gt; (&lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;) {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;__WFE&lt;/span&gt;&lt;span&gt;();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; } after generating a hard fault&amp;nbsp;&lt;br /&gt;I tried to debug&amp;nbsp;step by step also but didn&amp;#39;t find the issue because of which it was getting stuck&amp;nbsp;&lt;br /&gt;&lt;br /&gt;For reference, I am attaching my code below&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/wifi_5F00_over_5F00_http-2.zip"&gt;devzone.nordicsemi.com/.../wifi_5F00_over_5F00_http-2.zip&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting UART_ERROR_FRAMING issue</title><link>https://devzone.nordicsemi.com/thread/492134?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2024 21:31:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77bdca05-730d-4f6b-b973-1c0f22540377</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]But after getting that too it enables the uart again[/quote]
&lt;p&gt;Are you doing this manually? If so, are you able to pinpoint why it doesn&amp;#39;t happen after &amp;quot;17-20 minutes&amp;quot;?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>