<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Thu, 26 Jan 2012 11:31:02 +0100
From   : kortink@... (John Kortink)
Subject: CRC-8 algorithm

On Thu, 26 Jan 2012 10:06:02 +0000, "J.G.Harston" <jgh@...>
wrote:

>I have a need for an 8-bit CRC algorithm (transmitting up to about
>20 bytes, CRC-16 would be overkill, and I'd prefer a CRC rather
>than a checksum).
>
>[...]

I'd venture to guess that the minute details of the
detection power of the polynomial don't really matter
in your case.

CRC-7 might be a good choice. It's used in MMC's and
SD cards, and there's lots of example code. Or be
adventurous and use one of the more esoteric CRC-8's
mentioned here :

http://en.wikipedia.org/wiki/Cyclic_redundancy_check


John Kortink
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>