223 CRC-16 and Parity calculator

223 : CRC-16 and Parity calculator

Design renderSelect Project123456789ONSW2
  • Author: Chris Burton
  • Description: CRC-16/XModem and Even Parity calculator based on Ben Eater error detection videos.
  • GitHub repository
  • Clock: 0 Hz

How it works

Two banks of CRC calculators (A and B) each with inputs for the shift register data and clock, active low reset (when high toggle shiftClk to reset) and read back mode which disables the feedback XOR to allow reading data back out.

How to test

Connect Pico as shown in Wokwi and run test code to send a string, read back calculated CRC/parity and compare.

External hardware

Can be used with any microcontroller, or by toggling switches.

IO

#InputOutput
0nRst_AcrcOutput_A
1shiftData_Aparity_A
2shiftClk_A
3nRead_A
4nRst_BcrcOutput_B
5shiftData_Bparity_B
6shiftClk_B
7nRead_B