3. Crc7

3.1. Function description:

This demo shows the calculation of 7 bits CRC.

Configure the size of the polynomial is 7 bits for CRC7 calculation.

  • Configure the CRC7.

  • Write data to CRC calculator to start hardware calculation.

  • Calculate the result of the CRC7 by software, then to compare with the hardware.

3.2. Detail configuration:

3.2.1. Crc7/mmc

Initial value

Reverse input

Reverse output

Polynomial size

Coefficients

Xor value

0

no

no

7 bits

0x09

0

3.3. Test result:

If the output result is same as the result calculated by software according to the theory, then print "pass", or print "fail".

3.4. IO connection:

None