AHB_ERR_INT when using Cryptocell 310 Hash engine

Hi!

First off: I know the Cryptocell register interface is not officially supported, but I'm using it for learning purposes and I'd like to understand what's happening. I have successfully used the AES engine with a clear key as well as the device root key, and I can use the RNG engine.

Now I would like to use the hash engine. I copied the example in the documentation here: https://docs.nordicsemi.com/bundle/ps_nrf9160/page/cryptocell.html#ariaid-title52

When this part is finished

while(!(NRF_CC_HOST_RGF->IRR & CC_HOST_RGF_IRR_MEM_TO_DIN_INT_Msk)) {}
, I can read the value 0x140 from NRF_CC_HOST_RGF->IRR. According to the documentation this means that MEM_TO_DIN_INT and AHB_ERR_INT were triggered. The registers NRF_CC_HASH->HASH_H[0..n] still contain the initial values, so no input has been hashed.

I have been looking for documentation on this AHB_ERR_INT and can't find a single thing. I found very sparse information on the AHB interface and some docs on AHB AP in general, but nothing about this error. What exactly does this mean? Ist this explained anywhere? If yes, where can I find that information?
I don't expect anyone to exactly tell me what's wrong, mostly I'd like to know what could cause that error and how to debug it myself.

Thank you!

Related