13.11.3 32-bit Cyclic Redundancy Check CRC32

The DSU unit provides support for calculating a cyclic redundancy check (CRC32) value for a memory area (including Flash and SRAM).

When the CRC32 command is issued from:
  • The internal range, the CRC32 can be operated at any memory location
  • The external range, the CRC32 operation is restricted; DATA, ADDR, and LENGTH values are forced (see below)
Table 13-3. AMOD Bit Descriptions when Operating CRC32
AMOD[1:0]Short nameExternal range restrictions
0ARRAYCRC32 is restricted to the full Flash array area (Data Flash section not included). DATA forced to 0xFFFFFFFF before calculation (no seed)
1Data FlashCRC32 of the whole Data Flash section. DATA forced to 0xFFFFFFFF before calculation (no seed)
2-3Reserved

The algorithm employed is the industry standard CRC32 algorithm using the generator polynomial 0xEDB88320 (reversed representation).