Skip to main content
vchau.2
Associate III
February 19, 2023
Question

AES encryption in STM32F407VT06

  • February 19, 2023
  • 3 replies
  • 1466 views

Hi All,

Did Someone use AES encryption/Decryption in STM32F407?, because I'm using existing example of AES encryption and its not working on my board, EN bit isn't enableing.

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
February 19, 2023

The F407 doesn't provide HW CRYPT/HASH, you'd need F417

Need to do in SW​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
vchau.2
vchau.2Author
Associate III
February 19, 2023

Sorry, Its STM32F417, by mistake I write STM32F407

Tesla DeLorean
Guru
February 19, 2023

Seem to recall the occasional batch where it was disabled.

Need​s the USB/CRYPT/SDIO 48 MHz PLL to be running.

Should be a couple of SPL or HAL examples demonstrating it working.​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Piranha
Principal III
February 19, 2023

> STM32F407VT06

And that's not the only mistake there...

When the registers do not change, typically the peripheral clock is not enabled.