GD32A50x User Manual
227
10.
CRC calculation unit (CRC)
10.1.
Overview
A cyclic redundancy check (CRC) is an error-detecting code commonly used in digital
networks and storage devices to detect accidental changes to raw data.
This CRC calculation unit can be used to calculate 7/8/16/32 bit CRC code within user
configurable polynomial
.
10.2.
Characteristics
Supports 7/8/16/32 bit data input
For 7(8)/16/32 bit input data length, the calculation cycles are 1/2/4 AHB clock cycles
User configurable polynomial value and size
After CRC module·reset, user can configure initial value
Free 8-bit register is unrelated to calculation and can be used for any other goals by any
other peripheral devices
Figure 10-1. Block diagram of CRC calculation unit
AHB
BUS
Interface
Input Data Register (32 bit)
Output Data Register (32 bit)
Free Purpose Register (8 bit)
Data Input
Data Output
CRC Calculation Unit
configurable polynomial
Data Access