RM0366
5.3
CRC functional description
5.3.1
CRC block diagram
crc_hclk
5.3.2
CRC internal signals
Signal name
5.3.3
CRC operation
The CRC calculation unit has a single 32-bit read/write data register (CRC_DR). It is used to
input new data (write access), and holds the result of the previous CRC calculation (read
access).
Each write operation to the data register creates a combination of the previous CRC value
(stored in CRC_DR) and the new one. CRC computation is done on the whole 32-bit data
word or byte by byte depending on the format of the data being written.
The CRC_DR register can be accessed by word, right-aligned half-word and right-aligned
byte. For the other registers only 32-bit accesses are allowed.
The duration of the computation depends on data width:
•
4 AHB clock cycles for 32 bits
•
2 AHB clock cycles for 16 bits
•
1 AHB clock cycles for 8 bits
An input buffer allows a second data to be immediately written without waiting for any
wait-states due to the previous CRC calculation.
Figure 5. CRC calculation unit block diagram
read access
Data register
(output)
Table 11. CRC internal input/output signals
Signal type
crc_hclk
Digital input
Cyclic redundancy check calculation unit (CRC)
32-bit AHB bus
write access
32-bit accesses
Data register
(input)
CRC computation
AHB clock
RM0366 Rev 5
CRC_INIT
CRC_CR
CRC_POL
CRC_IDR
Description
MS19882V3
69/874
74
Need help?
Do you have a question about the STM32F301 6 Series and is the answer not in the manual?