CRC error detection computes the remainder of a polynomial division of a generator polynomial into a message. The remainder, which is usually 16 or 32 bits, is then appended to the message. When another remainder is computed, a nonzero value indicates an error. Depending on the generator polynomial's size, the process can fail in several ways, however. It is very difficult to deturmine how effective a given CRC will be at detecting errors. The probability that a random code word is valid (not detectable as an error), is completely a function of the code rate: 1 - 2-(n - k). Where n is the number of bits of formed from k original bits of data , (n - k) is the number of redundant bits, r
Use of the CRC technique for error correction normally requires the ability to send retransmission requests back to the data source.
See also:
http://www.dalsemi.com/DocControl/PDFs/app27.pdf
Questions:
Comments:
David A Cary Says:
16-bit CRC routine (isochronous) for the polynomial 0x8005+
Scott Dattalo, Dave Dribin (2002-08-24)
http://www.piclist.org/techref/postbot.asp?by=time&id=piclist\2002\08\24\233838a&tgt=post
A quick guide to CRC: With example calcuation of CRC 16 by Pierre Desrochers +
See also:
Code:
| file: /techref/method/error/crc.htm, 5KB, , updated: 2009/4/26 11:33, local time: 2009/7/4 00:33,
38.103.63.58:LOG IN
|
| ©2009 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? Please DO link to this page! Digg it! <A HREF="http://www.piclist.com/techref/method/error/crc.htm"> Cyclic Redundancy Check error detection</A> |
| Did you find what you needed? |
|
o List host: MIT, Site host massmind.org, Top posters @20090704 olin piclist, Vitaliy, solarwind, Jinx, Xiaofan Chen, Tamas Rudnai, cdb, Alan B. Pearce, JonnyMac, Gerhard Fiedler, * Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Shultz Electronics, Timothy Weber, on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
|
.