27.2.1 CRC Control Register

Table 27-1. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Gray cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
CWrite to clearSSoftware settable bitxChannel number
Name: CRCCON
Offset: 0x2C8

Bit 3130292827262524 
    DWIDTH[4:0] 
Access R/WR/WR/WR/WR/W 
Reset 00000 
Bit 2322212019181716 
    PLEN[4:0] 
Access R/WR/WR/WR/WR/W 
Reset 00000 
Bit 15141312111098 
 ON SIDLVWORD[4:0] 
Access R/WR/WRRRRR 
Reset 0000000 
Bit 76543210 
 CRCFULLCRCEMPTYCRCISELCRCGOLENDIANMOD   
Access RRR/WR/WR/WR/W 
Reset 010000 

Bits 28:24 – DWIDTH[4:0] Data Word Width Configuration bits

Configures the width of the data word (data word width - 1)

Bits 20:16 – PLEN[4:0] Polynomial Length Configuration bits

Configures the length of the polynomial (polynomial length - 1)

Bit 15 – ON CRC Enable bit

ValueDescription
1Enables module
0Disables module. All state machines, pointers and CRCSHFT/CRCDAT reset. Other SFRs are not reset.

Bit 13 – SIDL CRC Stop in Idle Mode bit

ValueDescription
1Discontinue module operation when device enters Idle mode
0Continue module operation in Idle mode

Bits 12:8 – VWORD[4:0] Valid Word Pointer Value bits

Indicates the number of valid words in the FIFO
  • Has a maximum value of 16 when DWIDTH[4:0] ≦ 7 (data words 8-bit wide or less)
  • Has a maximum value of 8 when DWIDTH[4:0] ≦ 15 (data words from 9-bit to 16-bit wide)
  • Has a maximum value of 4 when DWIDTH[4:0] ≦ 31 (data words from 17-bit to 32-bit wide)

Bit 7 – CRCFULL FIFO Full bit

ValueDescription
1FIFO is full
0FIFO is not full

Bit 6 – CRCEMPTY FIFO Empty bit

ValueDescription
1FIFO empty
0FIFO not empty

Bit 5 – CRCISEL CRC Interrupt Selection bit

ValueDescription
1Interrupt on FIFO empty; final word of data still shifting through CRC
0Interrupt on shift complete and results ready

Bit 4 – CRCGO Start CRC bit

ValueDescription
1Start CRC serial shifter; clearing the bit aborts shifting
0CRC serial shifter turned off

Bit 3 – LENDIAN Little Endian Enable bit

ValueDescription
1Data word is shifted into the CRC starting with the LSb (little endian)
0Data word is shifted into the CRC starting with the MSb (big endian)

Bit 2 – MOD Accumulator Mode bit

ValueDescription
1Accumulator configured for x16 + x12 + x5 + 1 (when MOD = 1)
0Accumulator configured for x16 + x12 + x5 + 1 (when MOD = 0)