CRYP issue when Timer is used as Timebase Source
Hi, I have nucleo-h753ZI and I want to use CRYP in a project that also uses FREERTOS. I set Timer 6 as Timebase Source (recommended due to FREERTOS) and as a result, program goes to HardFault every time I use HAL_CRYP_Encrypt function.
HAL_CRYP_Decrypt(&hcryp, (uint32_t *)AES_input, 48, (uint32_t *)encrypted, 100);
I configured CRYP to AES CBC with 256bit key and 8bit data and my array size is 48.
When I change Timebase Source to systick, it works without any issues.
Does anyone know what is the issue here?
Thanks.
