2021-07-13 05:20 AM
I've got a "K9F1G08U0E" nand flash. I was trying to understand how to use the generated ECC in the STM32 MCU "ECCx register" to check the validity of data received from the NAND flash. but in the documentation there is no explanation on how to use the 28 bit ECC to correct 1 bit of error.
CAN SOMEONE HELP ME?
2021-07-13 10:11 AM
Hello @MVV.1 ,
ECC is only applicable for embedded memories, not to external ones. Otherwise, nothing forbids implementing your custom solution for error correction in external memories but it would cost you in performance, energy consumption, etc...
Best regards,
@SBEN .2
2021-07-13 10:34 AM
@MVV.1 ,
Which STM32?
@SBEN .2 ,
JW
2021-07-13 10:35 PM
my MCU is STM32F407IGT6. I'm using my bank2.
actually I don't understand how to use the ECC "to correct" the bit.
2021-07-13 10:36 PM
just take a look at the reference manual of the MCU. there's a ECC register for things like that. (as waclawek.jan mentioned)