AnsweredAssumed Answered

STM32F446 - STM32CryptographicV3.0.0 and CRC use

Question asked by Thomas Chapelle on Jul 20, 2017
Latest reply on Jul 20, 2017 by Clive One

Hi all

I have a function using the STM32CryptographicV3.0.0 to do AES-CMAC encryption / decryption on a STM32F446. This works fine.

I have a function using the CRC peripheral of the STM32F446 to check the integrity of the flash. This works fine.


My problem is when doing both at the same time or sequentially, the call of encryption / decryption of the lib seems to use the crc and mess with my flash CRC calculation. (CRC_DR is set to 0 after the call)


In the pdf CD00208802.pdf User manual STM32 Cryptographic Library, i found out the note : "Note: 3. CRC peripheral is used ", so i guess it's pretty normal to have this behaviour.


Is there a way to do them at the same time ? or am i forced to do a pure crc software implementation for the check of my flash ?