Question
STM32L082 (CMWX1ZZABZ-078) hardfaults while running HAL's CRYP_ProcessData()
I've been trying to cypher a plain text using HAL_CRYP_AESECB_Encrypt(), but everytime I call this function, it gets stuck in a while loop inside CRYP_ProcessData().
Here's a screenshot of the exact code snippet where everything get's ruined:
The fact is that AES_SR_CCF bit is clear forever. The AES peripheral seems never to complete the task.
After some time inside the loop, a hardfault is generated.
Can anyone help me to figure out what could be going on?
Thank you!
