6.3.4.1 Usage
The user programs the start and end address of the Flash memory to be CRC’ed into CRCST and CRCEND, respectively. The CRC module operates on Flash page boundaries (4 KB). The user then sets the CRCON bit in the CRCCON register to start the CRC calculation. When the CRC sequence is complete and the calculated CRC data is available, the DONE bit is asserted in the CRCCON register, and an interrupt is generated. To begin another CRC calculation, the CRCON bit must be cleared and then asserted after the CRCST and CRCEND registers are loaded with the desired start and end addresses.