Cyclic redundancy check calculation unit (CRC)
RM0365
85/1080
DocID025202 Rev 7
6.4.3
Control register (CRC_CR)
Address offset: 0x08
Reset value: 0x0000 0000
6.4.4
Initial CRC value (CRC_INIT)
Address offset: 0x10
Reset value: 0xFFFF FFFF
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
REV_
OUT
REV_IN[1:0]
POLYSIZE[1:0]
Res.
Res.
RESET
rw
rw
rw
rw
rw
rs
Bits 31:8 Reserved, must be kept cleared.
Bit 7
REV_OUT
: Reverse output data
This bit controls the reversal of the bit order of the output data.
0: Bit order not affected
1: Bit-reversed output format
Bits 6:5
REV_IN[1:0]
: Reverse input data
These bits control the reversal of the bit order of the input data
00: Bit order not affected
01: Bit reversal done by byte
10: Bit reversal done by half-word
11: Bit reversal done by word
Bits 4:3
POLYSIZE[1:0]
: Polynomial size
These bits control the size of the polynomial.
00: 32 bit polynomial
01: 16 bit polynomial
10: 8 bit polynomial
11: 7 bit polynomial
Bits 2:1 Reserved, must be kept cleared.
Bit 0
RESET
: RESET bit
This bit is set by software to reset the CRC calculation unit and set the data register to the value
stored in the CRC_INIT register. This bit can only be set, it is automatically cleared by hardware
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
CRC_INIT[31:16]
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CRC_INIT[15:0]
rw