Cyclic redundancy check calculation unit (CRC)
The CRC calculator can be initialized to a programmable value using the RESET control bit
in the CRC_CR register (the default value is 0xFFFFFFFF).
The initial CRC value can be programmed with the CRC_INIT register. The CRC_DR
register is automatically initialized upon CRC_INIT register write access.
The CRC_IDR register can be used to hold a temporary value related to CRC calculation. It
is not affected by the RESET bit in the CRC_CR register.
5.4
CRC registers
5.4.1
Data register (CRC_DR)
Address offset: 0x00
Reset value: 0xFFFF FFFF
31
30
29
15
14
13
Bits 31:0 DR[31:0]: Data register bits
This register is used to write new data to the CRC calculator.
It holds the previous CRC calculation result when it is read.
If the data size is less than 32 bits, the least significant bits are used to write/read the correct value.
5.4.2
Independent data register (CRC_IDR)
Address offset: 0x04
Reset value: 0x0000 0000
31
30
29
28
Res.
Res.
Res.
Res.
15
14
13
12
Res.
Res.
Res.
Res.
Bits 31:8 Reserved, must be kept cleared.
Bits 7:0 IDR[7:0]: General-purpose 8-bit data register bits
These bits can be used as a temporary storage location for one byte.
This register is not affected by CRC resets generated by the RESET bit in the CRC_CR register
64/742
28
27
26
25
12
11
10
9
27
26
25
Res.
Res.
Res.
11
10
9
Res.
Res.
Res.
Doc ID 018940 Rev 1
24
23
22
21
DR[31:16]
rw
8
7
6
DR[15:0]
rw
24
23
22
21
Res.
Res.
Res.
Res.
8
7
6
5
Res.
20
19
18
5
4
3
2
20
19
18
Res.
Res.
Res.
4
3
2
IDR[7:0]
rw
RM0091
17
16
1
0
17
16
Res.
Res.
1
0
Need help?
Do you have a question about the STM32F05 series and is the answer not in the manual?
Questions and answers