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 ?
-Chang
Solved! Go to Solution.
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
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