This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

What is actual size required for scratch area for CCM on nrf52?

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 is much greater than the 43 bytes mentioned in the documentation. It appears it is more on the order of 67 words (67 * 4 octets).

Has anyone else experienced this before?

Thanks!

Parents
  • 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.

    I have reported this internally and will update my answer as soon as I hear back from R&D.

    -Bjørn


    UPDATE 13.04.16:

    Confirmed by R&D that the number of bytes that must be reserved in RAM should be 16 + MAXPACKETSIZE bytes. This will be fixed in the in the next revison of the nRF52832 Product Specification.

Reply
  • 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.

    I have reported this internally and will update my answer as soon as I hear back from R&D.

    -Bjørn


    UPDATE 13.04.16:

    Confirmed by R&D that the number of bytes that must be reserved in RAM should be 16 + MAXPACKETSIZE bytes. This will be fixed in the in the next revison of the nRF52832 Product Specification.

Children
Related