Skip to main content
Explorer
July 17, 2025
Solved

Ram Parity Check STM32H7, STM32H5, STM32F7, STM32F4

  • July 17, 2025
  • 2 replies
  • 417 views

Hi,

We would like to implement a parity checks on the internal RAM to detect random upsets. I understand some STM devices support this feature and I was trying to find one that supports it. I have searched several datasheets but so far I can't find mention of it. 

I found a thread that stated that the STM32F3 has it, but the STM32F4, I don't know if that is true. Do any H5,H7,F7 support this feature? Is this feature still supported in the latest devices?

 

Regards

 

Jon

 

Edit: title edited to correct STM32 series.

    This topic has been closed for replies.
    Best answer by Amel NASRI

    Hi @JS6000 ,

    Welcome to ST Community!

    If your purpose is to explore error detection capabilities, please note that STM32H7 and STM32H5 series support advanced RAM ECC (Error Correction Code) mechanisms for internal SRAM. This feature is configurable for safety and reliability. The article Injecting and handling ECC errors in STM32H7 RAM will be helpful if you want to implement ECC with STM32H7.

    Regarding the RAM parity check, it is available on other mainstream or low-power products such as STM32C0, STM32G0, STM32F0, STM32U0, and STM32L4.

    -Amel

     

    2 replies

    Technical Moderator
    July 17, 2025

    Hi @JS6000 ,

    Welcome to ST Community!

    If your purpose is to explore error detection capabilities, please note that STM32H7 and STM32H5 series support advanced RAM ECC (Error Correction Code) mechanisms for internal SRAM. This feature is configurable for safety and reliability. The article Injecting and handling ECC errors in STM32H7 RAM will be helpful if you want to implement ECC with STM32H7.

    Regarding the RAM parity check, it is available on other mainstream or low-power products such as STM32C0, STM32G0, STM32F0, STM32U0, and STM32L4.

    -Amel

     

    JS6000Author
    Explorer
    July 17, 2025

    Thanks Amel,

    For the quick reply, that looks to be what we need, but I will read it carefully to see if I have further questions. I had seen some mention of the ECC Memory corrections, but had believed that was for external memory. 

    -Jon

    Technical Moderator
    July 17, 2025

    Hello @JS6000 ,

    See also the AN5342 "How to use error correction code (ECC) management for internal memories protection on STM32 MCUs"

    The applicable products:

    mALLEm_1-1752776618092.png