<?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 - START BIT INTERRUPT - documentatation question</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32853/uarte---start-bit-interrupt---documentatation-question</link><description>Hi 
 I have been using nRF52 in my project. I am not using provided uart drivers for one uart -&amp;gt; UARTE1. I am using DMA access and I have no problem to send and record messages from multiple devices on this channel (connected to different pins so I am</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Apr 2018 08:59:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32853/uarte---start-bit-interrupt---documentatation-question" /><item><title>RE: UARTE - START BIT INTERRUPT - documentatation question</title><link>https://devzone.nordicsemi.com/thread/126769?ContentTypeID=1</link><pubDate>Wed, 04 Apr 2018 08:59:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1946ba48-dfa2-46ad-8b13-886ccb690f02</guid><dc:creator>pawel_krzy</dc:creator><description>&lt;p&gt;Thanks a lot.&lt;/p&gt;
&lt;p&gt;Unfortunetly the device I am communicating with may have a delayed response, so it maight occure that it will start sending response (or any information) and if I will be unlucky (with thousends of devices and thousends of tries at least few times I will be) while I will start transmiting to it and the communication will fail.&lt;/p&gt;
&lt;p&gt;Thanks a lot I will need to change a hardware to use flow control if this is a must in my application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE - START BIT INTERRUPT - documentatation question</title><link>https://devzone.nordicsemi.com/thread/126760?ContentTypeID=1</link><pubDate>Wed, 04 Apr 2018 08:11:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9217086-1b7a-4030-af5d-1efad72f5947</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;&amp;gt;&amp;nbsp;Does nRF52 have an event if a start condition on it&amp;#39;s RX line is detected?&lt;/p&gt;
&lt;p&gt;Sorry no, only an RXDRDY event when an entire byte is received.&lt;/p&gt;
&lt;p&gt;Not sure what you want to do here, but it may be possible to disable UART, setup RXD as a normal GPIO input with wakeup/interrupt on low level, and then immediately enable UART receive if pin go low, however you likely will loose the first byte this way. I guess you can also use flow control instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE - START BIT INTERRUPT - documentatation question</title><link>https://devzone.nordicsemi.com/thread/126741?ContentTypeID=1</link><pubDate>Wed, 04 Apr 2018 06:03:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:958619a2-437e-4013-9cc4-0a3a61f38715</guid><dc:creator>pawel_krzy</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;thanks for the answear.&lt;/p&gt;
&lt;p&gt;I am using almost exactly the same approach you mentioned. Clearing RAM buffer and have timeout for the loop (simple iteration counter since we are using timers already and we don&amp;#39;t care of ISR since they are very short.&lt;/p&gt;
&lt;p&gt;As I understand my 2nd question regarding different new data cannot be resolved since I dont know if incomings 1&amp;#39;s are inside message or there is nothing new. OK that should be not a problem.&lt;/p&gt;
&lt;p&gt;I am little concerned about my 1st question:&lt;/p&gt;
&lt;p&gt;Does nRF52 have an event if a start condition on it&amp;#39;s RX line is detected?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE - START BIT INTERRUPT - documentatation question</title><link>https://devzone.nordicsemi.com/thread/126702?ContentTypeID=1</link><pubDate>Tue, 03 Apr 2018 17:59:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8040f414-7a14-4bbe-9168-b4ca7e6b005e</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi, typically your problems can be handled by init the RAM buffer with zeros before STARTRX, and then you can at any time just check the RAM location to manually see how many bytes (if any) have been updated since STARTRX. A cleaner approach may be to hook the RXRDY event using PPI to start a timer or use as a counter for the timer, thereby you can use the RXRDY event to either start a timer that timeout or to count the number of received bytes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE - START BIT INTERRUPT - documentatation question</title><link>https://devzone.nordicsemi.com/thread/126293?ContentTypeID=1</link><pubDate>Wed, 28 Mar 2018 09:47:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06c5a95d-1b7d-486c-b62d-90ce04360141</guid><dc:creator>pawel_krzy</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/982x352/__key/communityserver-discussions-components-files/4/8838.events.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>