7.3.4.2 Usage

The user programs the start and end address of the Flash memory to be CRC’ed into NVMCRCST. The CRC module operates on Flash page boundaries (4 KB). The user then sets the ON bit to enable the CRC module and the START bit to start the CRC calculation. When the CRC sequence is complete, the calculated CRC data is available in the NVMCRCDATA register, and the NVMCRCIF flag will be set. To begin another CRC calculation, the ON bit must be cleared and then asserted after the NVMCRCST and NVMCRCEND registers are loaded with the desired start and end addresses.