CRCCTRL

CRC Control

  0x02 16 PAC Write-Protection, Enable-Protected 0x0000  

CRC Control

Bit  15 14 13 12 11 10 9 8  
      CRCSRC[5:0]  
Access      R/W R/W R/W R/W R/W R/W  
Reset      0 0 0 0 0 0  
Bit  7 6 5 4 3 2 1 0  
          CRCPOLY[1:0] CRCBEATSIZE[1:0]  
Access          R/W R/W R/W R/W  
Reset          0 0 0 0  

Bits 13:8 – CRCSRC[5:0]: CRC Input Source

CRC Input Source

These bits select the input source for generating the CRC, as shown in the table below. The selected source is locked until either the CRC generation is completed or the CRC module is disabled. This means the CRCSRC cannot be modified when the CRC operation is ongoing. The lock is signaled by the CRCBUSY Status bit. CRC generation complete is generated and signaled from the selected source when used with the DMA channel.

ValueNameDescription
0x00 NOACT No action
0x01 IO I/O interface
0x02-0x1F - Reserved
0x20 CHN0 DMA channel 0
0x21 CHN1 DMA channel 1
0x22 CHN2 DMA channel 2
0x23 CHN3 DMA channel 3
0x24 CHN4 DMA channel 4
0x25 CHN5 DMA channel 5
0x26 CHN6 DMA channel 6
0x27 CHN7 DMA channel 7

Bits 3:2 – CRCPOLY[1:0]: CRC Polynomial Type

CRC Polynomial Type

These bits define the size of the data transfer for each bus access when the CRC is used with I/O interface, as shown in the table below.

ValueNameDescription
0x0 CRC16 CRC-16 (CRC-CCITT)
0x1 CRC32 CRC32 (IEEE 802.3)
0x2-0x3   Reserved

Bits 1:0 – CRCBEATSIZE[1:0]: CRC Beat Size

CRC Beat Size

These bits define the size of the data transfer for each bus access when the CRC is used with I/O interface.

ValueNameDescription
0x0 BYTE 8-bit bus transfer
0x1 HWORD 16-bit bus transfer
0x2 WORD 32-bit bus transfer
0x3   Reserved