AHB read ECC support - ECC write data generation using software

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

AHB read ECC support - ECC write data generation using software

Jump to solution
675 Views
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 Kudos
Reply
1 Solution
631 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
632 Views
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 Kudos
Reply