whether could help to supply S32K3 ECC example code

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

whether could help to supply S32K3 ECC example code

1,418 次查看
teddywang
Contributor I

hi sir

  whether could help to supply S32K3 ECC example code,thanks

0 项奖励
回复
4 回复数

1,203 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @teddywang,

Do you mean SRAM ECC or Flash ECC example?

 

Regards,

Daniel

 

0 项奖励
回复

1,183 次查看
teddywang
Contributor I

FLASH ECC error

0 项奖励
回复

1,177 次查看
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 项奖励
回复

1,323 次查看
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 项奖励
回复