STM32F429ZI ā HASH Peripheral Not Available in STM32CubeMX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
ā2025-05-27 11:38 PM - last edited on ā2025-05-28 1:16 AM by Andrew Neil
Hi ST Community,
I'm currently working on a project using the STM32F429ZI and trying to use the HASH peripheral for SHA1/SHA256 operations. However, Iām facing two issues:
HASH peripheral not visible in STM32CubeMX:
- I expected to find the HASH peripheral under "Cryptography" or similar in the Peripherals tab, but it doesn't appear as an option in the CubeMX interface.
- Iāve verified that Iām using the latest STM32CubeMX v6.14.1 and firmware package for STM32F4 v1.28.2.
I believe HASH support is available for STM32F429ZI and if yes, is there any option to enable it using CubeMX and when I added it manually, facing below issue.
2 .Unknown error when using HASH_HandleTypeDef:
- I manually included the following headers in my code#include "stm32f4xx_hal.h"#include "stm32f4xx_hal_hash.h"
When I try to declare, HASH_HandleTypeDef hhash; I get an
Error[Pe020]: identifier "HASH_HandleTypeDef" is undefinedduring compilation. The error message is vague and doesnāt point to a specific issue. Also tried enabling USE_HAL_HASH_REGISTER_CALLBACKS.
Iāve already confirmed that the HAL drivers are included in the project. Has anyone encountered this issue before? Is there a workaround to enable HASH support manually if itās not exposed in CubeMX?
Any help or guidance would be greatly appreciated!
Thanks in advance.
Solved! Go to Solution.
- Labels:
-
STM32F4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
ā2025-05-28 1:14 AM
Hello @kotteswaran
As per RM0090, HASH peripheral is only available on STM32F415/417xx and STM32F43xxx devices.
There is no mention to STM32F429ZI.
KR,
Souhaib
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
ā2025-05-28 1:14 AM
Hello @kotteswaran
As per RM0090, HASH peripheral is only available on STM32F415/417xx and STM32F43xxx devices.
There is no mention to STM32F429ZI.
KR,
Souhaib
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
