Implement ECC in S32K312 memories

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Implement ECC in S32K312 memories

335 Views
mohan_1603
Contributor I

Hi,

I am using S32K312 MCU for my project. I want to use ECC memory corruption detection for safety mechanism, so I want to learn how can i use this safety mechanism and is there any demo code or any application? I would be glad if someone explain to me.

 

I got an application note: AN12522: S32K1xx ECC Error Handling

nxp.com/docs/en/application-note/AN12522.pdf

and migration document: AN13414: S32K1 to S32K3 Migration Guidelines 

nxp.com/docs/en/application-note/AN13414.pdf

 

Thanks 

Mohan

0 Kudos
1 Reply

313 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

I could also recommend to see my document related to MPC5744P device

https://www.nxp.com/docs/en/application-note/AN13179.pdf

or following preliminary one related to MPC5777C:

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Error-Correction-Codes-Implemented-on-MPC5777C/t...

Although prepared for different devices, the principle is the same and it could help to understand it. The difference will be in core response but related modules (memory controllers, ERM, EIM, FCCU has it implemented very similar way).

I don’t know specific example related to S32K3 but it ECC handling should be included in certain module RTD drivers, for instance FEE driver contains ECC handling.

We are also providing S32 Safety Software Framework (SAF) and Safety Peripheral Drivers (SPD) its part is

Extended MCU Error Manager (eMCEM) – configures FCCU, ERM and provides handlers to faults signaled to FCCU.

https://www.nxp.com/design/software/automotive-software-and-tools/s32-safety-software/s32-safety-sof...

0 Kudos