<?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>Serial rx interrupt problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69856/serial-rx-interrupt-problem</link><description>I am trying to use nrf_serial with IRQ. Tx operations just fine but, i can not get any interrupt when a data comes from uart. I am using sdk 14.2 and not using ble.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Dec 2020 13:52:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69856/serial-rx-interrupt-problem" /><item><title>RE: Serial rx interrupt problem</title><link>https://devzone.nordicsemi.com/thread/286720?ContentTypeID=1</link><pubDate>Mon, 28 Dec 2020 13:52:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa5760c2-64c9-4931-b92d-15b41a5934cf</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I replied in the other post you created: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/69868/serial-rx-interrupt-does-not-work-unless-debugging"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/69868/serial-rx-interrupt-does-not-work-unless-debugging&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial rx interrupt problem</title><link>https://devzone.nordicsemi.com/thread/286540?ContentTypeID=1</link><pubDate>Thu, 24 Dec 2020 07:02:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5480e44-8ab0-48b4-add4-d307c33ff530</guid><dc:creator>oguzhanK</dc:creator><description>&lt;p&gt;Thank you, i will add this line. But this is not about my problem. &amp;quot;\n&amp;quot; is the ending character after that new data must start to received. Somehow i managed to work this code but now it is working only when i am debugging. Any ideas ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial rx interrupt problem</title><link>https://devzone.nordicsemi.com/thread/286517?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2020 22:45:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7da19295-c25b-4a9e-bda4-6a590f7e4a4b</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Maybe check for overflow and reduce the Rx array size from 100 to (say) 4 just to test:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;        if ((buffer[length] == &amp;#39;\n&amp;#39;) || (length &amp;gt;= MAX_RX_BUFFER_SIZE-1))&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Also if just a lf &amp;#39;\n&amp;#39; is received length will have the value 0 which might confuse&amp;nbsp;&lt;em&gt;uart_callback()&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>