whether could help to supply S32K3 ECC example code

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

whether could help to supply S32K3 ECC example code

1,206 Views
teddywang
Contributor I

hi sir

  whether could help to supply S32K3 ECC example code,thanks

0 Kudos
4 Replies

991 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @teddywang,

Do you mean SRAM ECC or Flash ECC example?

 

Regards,

Daniel

 

0 Kudos

971 Views
teddywang
Contributor I

FLASH ECC error

0 Kudos

965 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @teddywang,

The ECC logic check is a function of the UTEST mode (RM, rev.6, Section 21.5.4.3).

This is covered by the Safety Framework (SAF)

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

If you have any questions about the SAF, please create a ticket.

 

There is simple example that shows how to process an ECC error on flash caused by a cumulative write:

https://community.nxp.com/t5/S32K-Knowledge-Base/Example-C40-Ip-ECC-Fault-Skip-S32K312-DS34-RTD2211-...

 

Regards,

Daniel

 

 

 

0 Kudos

1,111 Views
giraffe508
Contributor IV

Hi, 

Hello,

Unfortunately, there isn't a specific example code for ECC (Error Correction Code) on the S32K3 series available on the NXP community. However, you can refer to the S32K3 Reference Manual for detailed information on how to use the ECC module. The manual provides a comprehensive guide on how to configure and use the ECC module, including the necessary registers and their functions.

 

Here is the link to the S32K3 Reference Manual: S32K3 Reference Manual

 

Also, you can refer to the S32 Design Studio which provides a comprehensive development environment for NXP's MCU and MPU portfolio, including the S32K3 series. It includes a lot of example projects which might be helpful for you to understand how to use different modules, including ECC.

 

Here is the link to the S32 Design Studio: S32 Design Studio

 

Please note that while ECC is a hardware feature, its implementation largely depends on the software. Therefore, understanding the ECC module from the reference manual and how to use it in your software is crucial.

 

Hope this helps!

0 Kudos