<?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>What is actual size required for scratch area for CCM on nrf52?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13123/what-is-actual-size-required-for-scratch-area-for-ccm-on-nrf52</link><description>Hello: 
 I read the documentation and errata for Rev 1 of the nrf52. I am using the Rigado BMD300 module (thus the nrf52) without a softdevice attempting to do on the fly encryption/decryption. I have noticed that the scratch area required by the nrf52</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Nov 2018 08:23:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13123/what-is-actual-size-required-for-scratch-area-for-ccm-on-nrf52" /><item><title>RE: What is actual size required for scratch area for CCM on nrf52?</title><link>https://devzone.nordicsemi.com/thread/156267?ContentTypeID=1</link><pubDate>Wed, 07 Nov 2018 08:23:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b155764f-263c-4435-ac5d-174627d9e653</guid><dc:creator>Torsten Robitzki</dc:creator><description>&lt;p&gt;I found this thread, because I was running in the same Problem. BTW: the term&amp;nbsp;&lt;strong&gt;MAXPACKETSIZE&amp;nbsp;&lt;/strong&gt;is used exactly once in the documentation. So I understood it to be the maxium packet size, not the maximum value that could be stored in the length field.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is actual size required for scratch area for CCM on nrf52?</title><link>https://devzone.nordicsemi.com/thread/50035?ContentTypeID=1</link><pubDate>Mon, 20 Feb 2017 18:20:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27d9628b-b9fb-44b0-b681-01c230e29c64</guid><dc:creator>Kevin</dc:creator><description>&lt;p&gt;Thank you Bjorn!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is actual size required for scratch area for CCM on nrf52?</title><link>https://devzone.nordicsemi.com/thread/50034?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2017 15:15:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b07762b-35e4-444c-95aa-97e213d1f420</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Yes, that is correct. When using 8-bit mode of CCM (MODE = LENGTH_EXTENDED), the size of the  SCRATCH area will be 267 bytes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is actual size required for scratch area for CCM on nrf52?</title><link>https://devzone.nordicsemi.com/thread/50033?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2017 11:20:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77090ba1-fa02-4c94-be0e-a8e5427b11e0</guid><dc:creator>Kevin</dc:creator><description>&lt;p&gt;Hello,
I got the same problem and I&amp;#39;m encrypting packet of length 13. The scratch pointer is written on 267 bytes for me too. Is it normal? Can you confirm that SCRATCH DATA area size correspond to maximum value of length field = 255 (in the case i am using a 8bit length field) + 16 bytes?
you can see more information on my problem on my post : &lt;a href="https://devzone.nordicsemi.com/question/115862/micstatus-is-not-set-to-1-when-decrypting-packet/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;ps: i am using NRF52832-QFAA80XXXX&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is actual size required for scratch area for CCM on nrf52?</title><link>https://devzone.nordicsemi.com/thread/50032?ContentTypeID=1</link><pubDate>Tue, 12 Apr 2016 16:13:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec652b9e-7d2a-4b3a-b350-9a20eb8a0fbd</guid><dc:creator>will</dc:creator><description>&lt;p&gt;Thanks Bjorn. It would be good to know the exact amount.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is actual size required for scratch area for CCM on nrf52?</title><link>https://devzone.nordicsemi.com/thread/50031?ContentTypeID=1</link><pubDate>Tue, 12 Apr 2016 13:50:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60254bbe-44b4-4b67-91e6-d9fcae4ec2a6</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Yes, we have seen this before and it may be an error in the Product Specification. It has been pointed out that the number of bytes must be reserved in RAM should be 16 + MAXPACKETSIZE bytes.&lt;/p&gt;
&lt;p&gt;I have reported this internally and will update my answer as soon as I hear back from R&amp;amp;D.&lt;/p&gt;
&lt;p&gt;-Bjørn&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;strong&gt;UPDATE 13.04.16:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Confirmed by R&amp;amp;D that the number of bytes that must be reserved in RAM should be &lt;strong&gt;16 + MAXPACKETSIZE bytes&lt;/strong&gt;. This will be fixed in the in the next revison of the nRF52832 Product Specification.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>