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

Cryptocell setting the CRYPTOCELL_IRQn flag?

Hello we are using SDK 15.3 and SD s140 v6.1.1, we use the cryptocell to do some AES encryption as well as MAC and ECDH. 

We noticed that our application was running quite high current (5+ma) and I am tasked with finding out why.  I found that our chip was not going to sleep when we called sd_app_evt_wait.  This was due to the interrupt flag (CRYPTOCELL_IRQn) for the cryptocell being set to the pending state.  If I manually clear the flag each time we call sd_app_evt_wait, the processor sleeps as expected.  We are using the version of the CC310 library where no interrupts should be used (libnrf_cc310_0.9.12.a), and I see no examples in the SDK where the cryptocell flag needs to be manually cleared. 

Is this normal behavior?  Could something not be configured properly?  We do no enable the cryptocell IRQ.  It looks like the flag gets set on every cryptocell operation.  

Thanks!

Parents Reply Children
No Data
Related