On Sun, 27 Jun 2004, David P Harris wrote: > Hi- > I have been following this with half an ear. Looking in the Piclist > archives http://www.piclist.com/techref/microchip/crcs.htm finds this > code: http://www.piclist.com/techref/microchip/crc16-aw.htm for the CRC > algorithm. Takes 64 cycles per byte, so might be too slow. But check > the first url, too, as there are other implementations. Here are some other implementations as well: http://www.dattalo.com/technical/software/pic/crc.php There are several CRC polynomials implemented. I think the most efficient is the 17-cycle/byte implementation of the 0x1021 polynomial. Scott -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.