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
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:
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.