Transcription of CRC Generating and Checking - Microchip …
{{id}} {{{paragraph}}}
2000 Microchip Technology 1AN730 INTRODUCTIONThis application note describes the Cyclic RedundancyCheck (CRC) theory and implementation. The CRCcheck is used to detect errors in a message. Two imple-mentations are shown: Table driven CRC calculation Loop driven CRC calculationThis application describes the implementation of theCRC-16 polynomial. However, there are several for-mats for the implementation of CRC such asCRC-CCITT, CRC-32 or other is a common method for detecting errors in trans-mitted messages or stored data. The CRC is a verypowerful, but easily implemented technique to obtaindata reliability. THEORY OF OPERATIONThe theory of a CRC calculation is straight forward. Thedata is treated by the CRC algorithm as a binary num-ber. This number is divided by another binary numbercalled the polynomial.
2000 Microchip Technology Inc. Preliminary DS00730A-page 3 AN730 FIGURE 1: HARDWARE CRC-16 GENERATOR FIGURE 2: LOOP DRIVEN CRC IMPLEMENTATION CRC Hardware Implementation The CRC calculation is realized with a shift register and
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}