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

NRF52840: Using the CryptoCell310 with a preemptive OS

Hi,

I need to use the cryptocell in a project with a preemptive OS. Are there any relevant code examples  available, or at least some general guidelines and precautions (e.g., for the initialization of the cryptocell)?

Thanks,

Damian

Parents
  • Hi Damian and Jean-Marc,

    We are facing the same problem with FreeRtos and the BLE stack. The CC310 is hanging in the SaSi_HalWaitInterrupt. 

    How did you manege to mask the interrupts? Could you post a snippet of the code or point us in the right direction

    Thanks in advance,

    Rudy

  • Some time after the initial post, I noticed that, in the SDK 15.3, another CC310 library made its appearance: a new folder named "no-interrupts" with a .a file in it. After switching to this library, we didn't experience any problems related to the CC310 and external interrupts. The backside might be that the current consumption might be a bit higher as the processor will actively wait for the crypto-cell to finish, but the CC310 operations are mostly quite short.

Reply
  • Some time after the initial post, I noticed that, in the SDK 15.3, another CC310 library made its appearance: a new folder named "no-interrupts" with a .a file in it. After switching to this library, we didn't experience any problems related to the CC310 and external interrupts. The backside might be that the current consumption might be a bit higher as the processor will actively wait for the crypto-cell to finish, but the CC310 operations are mostly quite short.

Children
Related