2024-02-28 02:19 PM
I am trying to use the cryptographic hash processor on the STM32h723xx, however, I cannot find the registers like HASH_CR defined in the device header files.
Can someone please advise If I should be using the register definition from another MCU device file, Do the hash features exist in this MCU?
If they do not exist what other MCUs from the same H7 family would have this feature?
Thanks
Solved! Go to Solution.
2024-02-28 02:29 PM - edited 2024-02-28 02:31 PM
Of course HASH_CR is not defined in STM32h723xx.h because H723 does not have crypto. Look in stm32h733xx.h.
If you want to write common code for H723 and H733, define the MCU as H733 and detect whether the crypto is live in runtime.
2024-02-28 02:29 PM - edited 2024-02-28 02:31 PM
Of course HASH_CR is not defined in STM32h723xx.h because H723 does not have crypto. Look in stm32h733xx.h.
If you want to write common code for H723 and H733, define the MCU as H733 and detect whether the crypto is live in runtime.