<?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>using radio address event to detect packet in progress</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17506/using-radio-address-event-to-detect-packet-in-progress</link><description>I am duty-cycling the radio, so I listen with a timeout and then power off the radio (or transmit) if no packets were received. Currently I am ignoring the address event from the radio. Is it worthwhile to enable an interrupt on the address event and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Nov 2016 21:49:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17506/using-radio-address-event-to-detect-packet-in-progress" /><item><title>RE: using radio address event to detect packet in progress</title><link>https://devzone.nordicsemi.com/thread/67293?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2016 21:49:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:494719b6-5de3-47d9-8ded-7cfe3c29f653</guid><dc:creator>butch</dc:creator><description>&lt;p&gt;To answer my own question, from experiments, it does NOT seem to be true that an END event will follow soon after an ADDRESS event.   Looking again at the state diagram (which could be a simplification) it doesn&amp;#39;t say an ADDRESS event takes the radio to a new state.  That is, the diagram implies that many addresses could be matched consecutively (in noise), each setting the ADDRESS event.  Thats what my experiments suggest.  I suppose the radio could lose the carrier and start again looking for another preamble and address?  In my experiments with no senders if the radio advances to the RXIDLE state after a (spurious) ADDRESS event, it usually is much later and is a CRC error.  I could be wrong, try it for yourself.  So the ADDRESS event can&amp;#39;t be used in the manner I envisioned (or at least requires a more sophisticated implementation, say using another timeout after any ADDRESS event.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: using radio address event to detect packet in progress</title><link>https://devzone.nordicsemi.com/thread/67292?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2016 15:32:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e471ac20-ea9a-43a6-831e-79ef75fe639c</guid><dc:creator>butch</dc:creator><description>&lt;p&gt;Re 2) I should have said the RXIDLE state.  But my code shortcuts past RXIDLE and RXDISABLED all the way to DISABLED, and I think that is a common thing to do.  It doesn&amp;#39;t matter whether you start from the RXIDLE state or the DISABLED state, to subsequently transmit requires another ramp up delay of 40uSec.&lt;/p&gt;
&lt;p&gt;To be clear, I am not &amp;quot;avoiding a timeout.&amp;quot;  There is a race between the receive done and the timeout.  The timeout might just barely beat the receive done, and that is what I want to detect.  But then I want to busy wait (or spin) on the END event (or if shortcuts are used on the DISABLED event.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: using radio address event to detect packet in progress</title><link>https://devzone.nordicsemi.com/thread/67291?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2016 15:00:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d30930b-ed51-41e3-a909-2d78b259615d</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;&lt;strong&gt;1)&lt;/strong&gt; Whether or not it can be useful to check the address to avoid timeout when a receive is in progress depends on how you want the protocol to work. To me, it sound like a good idea to avoid a timeout when there is a receive in progress.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2)&lt;/strong&gt; The radio will not go to &amp;quot;disabled&amp;quot; state unless TASKS_DISABLE is triggered by the firmware. In which state diagram does the radio automatically go to &amp;quot;disabled&amp;quot;? The below state diagram shows that the radio will only be disabled when &amp;quot;TASKS_DISABLE&amp;quot; is triggered. If you want the radio to spend as little time in RXIDLE as possible, you can use a shortcut between EVENTS_END and TASKS_START.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>