16.3.4.1 ECC Check on EEPROM
The NVM controller has only one set of ECC checkers. These checkers are used for checking the Flash and the EEPROM data. Therefore, the Flash and EEPROM checks must be ran in series, as only one check can be done at a time. The prefetch of the next instruction may need to be stalled in order to serialize the ECC check.
The native width of the Flash is 16 bits, while the width of the EEPROM is 8 bits. For
the Flash and EEPROM to use the same ECC generator and checker, the EEPROM data are
regarded as 16 bytes wide while being input to the ECC generator and checker. The
extension from 8 to 16 bits is done by concatenating 0x00
to the EEPROM
byte, with the EEPROM byte being the LSB in the new 16-bit word.