STM32H750 Hash peripheral issue
Hi all,
I have two different batches of Revision V STM32H750VBT6. All units in one of the batches (Date Code 045) has issue with the hash peripheral while the one (Date Code 928) is working completely fine.
I created a new basic project for testing this issue and the code is as shown. However, HAL_HASHEx_SHA256_Start() always ended up returning HAL_TIMEOUT. Based on the SFR register view in Atollic TrueSTUDIO, all the registers for hash peripheral remains at value 0x0.
*Note : The same project is working fine for Revision V STM32H750VBT6 (Date Code 928) and Revision Y STM32H750VBT6 (Date Code 002) *
Things I have done/tried
- Directly editing the registers values in SFR register view shows illegal input while bit editing has no effect. (*There isn't any issue editing other peripheral registers for example SysTick SYST_CSR*)
- Checked RCC_AHB2ENR HASHEN bit is enabled indicating the clock to hash peripheral is enabled.
- Used different firmware packages STM32CubeH7 v1.5.0, v1.7.0 and v1.8.0
- Used code generated from STM32CubeMX version 5.6.1 and version 6.1.1
MX_HASH_Init();
uint8_t data[256] = {1,2,3,4,5};
uint8_t digest[64];
HAL_StatusTypeDef halStatus = HAL_HASHEx_SHA256_Start(&(hhash), data, 256, digest, 1000);Could it be that there are defects in the MCU ? Thanks.

