AHB read ECC support - ECC write data generation using software

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

AHB read ECC support - ECC write data generation using software

跳至解决方案
682 次查看
pcchang
Contributor I

Hi,

We are studying the i.MX RT1170 Processor Reference Manual, chapter 30 FlexSPI Controller, 30.3.10 AHB read ECC support. There is a paragraph explaining the generation of wdata_ECC_swap from wdata. We are confused with step 2, converting 32 bits of wdata_swap into wdata_ECC. Specifically, how the matrix is applied ?

pcchang_0-1726217637863.png

 

-Chang

0 项奖励
回复
1 解答
638 次查看
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @pcchang ,

Thanks for your interest in NXP MIMXRT series!

In the process you mentioned, the calculation is done by one combination per 4 bits. Divide the 32-bit wdata_swap into 8 combinations, then each is a 1*4 matrix, and multiply it with a 4*4 matrix to get another 1*4 matrix. It is the corresponding four bits in wdata_ECC.

Best regards,
Gavin

在原帖中查看解决方案

0 项奖励
回复
1 回复
639 次查看
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @pcchang ,

Thanks for your interest in NXP MIMXRT series!

In the process you mentioned, the calculation is done by one combination per 4 bits. Divide the 32-bit wdata_swap into 8 combinations, then each is a 1*4 matrix, and multiply it with a 4*4 matrix to get another 1*4 matrix. It is the corresponding four bits in wdata_ECC.

Best regards,
Gavin

0 项奖励
回复