31.6.11 CRC MODE REGISTER

Table 31-42. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Grey cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
KWrite to clearSSoftware settable bit
Name: CRCMODE
Offset: 0x28
Reset: 0x00000000
Property: R/W

Bit 3130292827262524 
     PERIOD[11:8] 
Access R/WR/WR/WR/W 
Reset 0000 
Bit 2322212019181716 
 PERIOD[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 RINROUTAUTORPLEN32     
Access R/WR/WR/WR/W 
Reset 0000 
Bit 76543210 
          
Access  
Reset  

Bits 27:16 – PERIOD[11:0] The number of PerCLK counts CRC logic waits between needing new data and reading that data from flash. 0x000 = Read Data Immediately 0x001 = Wait 1 PerCLK count + 2 AHB Clocks (for sync) ... 0xFFF = Wait 4095 PerCLK counts + 2 AHB Clocks (for sync)

The number of PerCLK counts CRC logic waits between needing new data and reading that data from flash. (The PerCLK is clock at an 8 MHz fixed frequency. Non-zero PERIOD values are used to throttle back the bandwidth used for CRC calculations.)

0 = Read Data Immediately

All Other Values = Wait PERIOD PerCLK counts + 2 AHB Clocks (for sync) before starting

Bit 15 – RIN This option is sometimes referred to as Reflected Byte or Reflected Input.

This option is sometimes referred to as Reflected Byte or Reflected Input.

ValueNameDescription
1ENABLEThe LFSR CRC is calculated Least Significant Bit first (Reflected)
0DISABLEThe LFSR CRC is calculated Most Significant Bit first (Not Reflected)

Bit 14 – ROUT This option is sometimes referred to as Reflected Result or Reflected Output.

This option is sometimes referred to as Reflected Result or Reflected Output.

ValueNameDescription
1ENABLEThe CRCACC is Reflected (before the Final XOR)
0DISABLEThe CRCACC is Not Reflected

Bit 13 – AUTOR CRC Auto Repeat

ValueNameDescription
1ENABLEContinually Repeat CRC calculation; stop on error, set CRCDONE and CRCERR
0DISABLEPerform CRC calculation once then set DONE and if needed, CRCERR.

Bit 12 – PLEN32 Polynomial Length Select

ValueNameDescription
1THIRTYTWOPolynomial is 32-bits
0SIXTEENPolynomial is 16-bits