<?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>Is there a delay between EVENTS_END of radio and MICSTATUS in CCM?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13157/is-there-a-delay-between-events_end-of-radio-and-micstatus-in-ccm</link><description>Hello: 
 It appears (although I am not 100% certain) that there is a small delay (&amp;lt; 10 usecs) between EVENTS_END in the radio and MICSTATUS in the CCM. I believe I have read the MICSTATUS as 0 but then noticed shortly after that the bit was set to 1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Jul 2016 10:39:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13157/is-there-a-delay-between-events_end-of-radio-and-micstatus-in-ccm" /><item><title>RE: Is there a delay between EVENTS_END of radio and MICSTATUS in CCM?</title><link>https://devzone.nordicsemi.com/thread/50156?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2016 10:39:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8334e6e7-1ce0-4aa0-864a-1b09b76fab2f</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;@wes3(Will): Sorry for not replying in a while. I guess you should just ignore the data pointed to by OUTPTR when you do not get the ENDCRYPT event( i.e. an empty PDU).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a delay between EVENTS_END of radio and MICSTATUS in CCM?</title><link>https://devzone.nordicsemi.com/thread/50155?ContentTypeID=1</link><pubDate>Tue, 10 May 2016 16:48:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da9cf25a-c371-45e3-bb4d-30b9d463d855</guid><dc:creator>will</dc:creator><description>&lt;p&gt;Hey Bjorn:&lt;/p&gt;
&lt;p&gt;No worries about the reply...&lt;/p&gt;
&lt;p&gt;Regarding EVENTS_END and MICSTATUS: there is no issue there. I was having other problems that made me think this was an issue but I was incorrect.&lt;/p&gt;
&lt;p&gt;Regarding empty pdu&amp;#39;s: I am not sure if &amp;quot;modified&amp;quot; is the correct term. Basically, when I look at the bytes where INPTR/PACKETPTR points and where OUTPTR points they are not the same. This only occurs for encrypted links and when I am receiving an empty PDU. It does not happen all the time; just occasionally. As I mentioned earlier, the ENDCRYPT event is not set when this occurs which seems suspicious to me (I would expect ENDCRPYT to be set even if we are receiving an empty pdu). I have not had time to delve into this much further but hopefully I will soon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a delay between EVENTS_END of radio and MICSTATUS in CCM?</title><link>https://devzone.nordicsemi.com/thread/50154?ContentTypeID=1</link><pubDate>Fri, 29 Apr 2016 13:14:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a7ea0a1-1700-4154-8de7-3c17a0b11b73</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;I apologize for not replying sooner. &lt;strong&gt;First issue:&lt;/strong&gt; Regarding the delay between EVENTS_END and MICSTATUS: Could you describe the setup a bit more in detail, like link speed, packet payload size ?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Second issue:&lt;/strong&gt; So if I understand correctly, you&amp;#39;re seeing empty packets(length field set to zero) being modified by the AES CCM module?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a delay between EVENTS_END of radio and MICSTATUS in CCM?</title><link>https://devzone.nordicsemi.com/thread/50153?ContentTypeID=1</link><pubDate>Sat, 16 Apr 2016 00:06:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43827f6f-1e95-4b1a-a301-62c5bc190940</guid><dc:creator>will</dc:creator><description>&lt;p&gt;Hey Bjorn:&lt;/p&gt;
&lt;p&gt;Here is the update:&lt;/p&gt;
&lt;p&gt;First off, I think the MICSTATUS not being set by the end of the frame (EVENTS_END in the radio) was indeed a red herring. It would be good to get confirmation of this from the engineers though.&lt;/p&gt;
&lt;p&gt;So I have encryption/decryption working for the most part. There is still something I am seeing that bothers me and I cannot figure it out (yet). Every now and then I am getting &amp;quot;invalid&amp;quot; received frames. By &amp;quot;invalid&amp;quot; I mean they pass the CRC check and MIC check but they are &amp;quot;garbage&amp;quot;; the are not what the other side is sending. Note that this only seems to happen when the transmitter is sending the empty PDU. What I see on the receiver is that when this happens the ENDCRYPT event is not set. The documentation states that decrpytion/encryption does not occur for empty pdus and that this is just a pass-through. When I look in the buffer where the raw data is stored (data prior to decryption) I see something reasonable. The buffer where the decrypted data is stored does not contain the same data however; it is garbage. I am working around this now by simply dropping every received frame where I dont see the ENDCRYPT event.&lt;/p&gt;
&lt;p&gt;If you folks have any clues/ideas on this one I would love to hear them. Again, this is the nrf52.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a delay between EVENTS_END of radio and MICSTATUS in CCM?</title><link>https://devzone.nordicsemi.com/thread/50152?ContentTypeID=1</link><pubDate>Thu, 14 Apr 2016 05:45:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39d425b5-f2d4-4f8b-a5ce-20e5e04de007</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Ok, keep me posted :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a delay between EVENTS_END of radio and MICSTATUS in CCM?</title><link>https://devzone.nordicsemi.com/thread/50151?ContentTypeID=1</link><pubDate>Wed, 13 Apr 2016 17:00:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2f20c9a-c8c1-46ae-a683-4b00e2eae205</guid><dc:creator>will</dc:creator><description>&lt;p&gt;Thanks bjorn. This may be a false alarm actually and could have been related to this one issue I am seeing. I have the encryption/decryption working for the most part with one exception. If I cant figure it out I will post a question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a delay between EVENTS_END of radio and MICSTATUS in CCM?</title><link>https://devzone.nordicsemi.com/thread/50150?ContentTypeID=1</link><pubDate>Wed, 13 Apr 2016 10:41:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:806a82b3-de77-4046-a3dc-3a66ff043472</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;I have forwarded this to R&amp;amp;D and I&amp;#39;ll come back to you with an answer as soon as possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a delay between EVENTS_END of radio and MICSTATUS in CCM?</title><link>https://devzone.nordicsemi.com/thread/50149?ContentTypeID=1</link><pubDate>Wed, 13 Apr 2016 05:54:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9671f103-7fed-4bdd-b960-5f4b186a1333</guid><dc:creator>will</dc:creator><description>&lt;p&gt;This is on the nrf52 btw.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>