2024-06-19 02:19 PM
Hi,
I have enabled option bit SRAMxECC is in FLASH_OPTR by following sequence mentioned in datasheet to enable SRAM ECC, However RAMCFG_MxCR ECCE still shows as 0(disabled). Please do the needuful.
Solved! Go to Solution.
2024-06-24 09:04 AM
ECCE bit in register RAMCFG is setting to 1 after I enable clock for RAMCFG module in RCC register
Thanks,
Hareesha
2024-06-21 01:16 PM
Hello @harisuvarna
Check the STM32U5 Errata, you may have the same condition described in section: SRAM ECC error flags and addresses are updated only if interrupt is enabled.
2024-06-21 02:20 PM - edited 2024-06-21 02:34 PM
Hi Iman,
Thank you for the response. I do enable RAM ECC interrupts in register RAMCFG_MxIER.
Section 6.3.2 of ST User Manual (RM0456) says following
But ECCE bit is not automatically set even though SRAM ECC is enabled in FLASH_OPTR.
Regards,
Hareesha
2024-06-24 09:04 AM
ECCE bit in register RAMCFG is setting to 1 after I enable clock for RAMCFG module in RCC register
Thanks,
Hareesha