avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] CRC-8-CCITT


From: Frédéric Nadeau
Subject: [avr-libc-dev] CRC-8-CCITT
Date: Sat, 12 Feb 2011 12:33:55 -0500

Hi there,

I'm working on with
LTC6802(http://cds.linear.com/docs/Datasheet/68021fa.pdf page 21)
which uses CRC-8-CCITT(http://en.wikipedia.org/wiki/Cyclic_redundancy_check
x^8 + x^2 + x + 1). The util/crc16.h (well I'm not quite sure why it
is called crc16, but that is another story) could include a function
to compute the CRC-8-CCITT. I found this BSD project that has the code
implemented and it worked for me.
http://www.google.com/codesearch/p?hl=fr#M2_HPf5NDc8/trunk/2009/robostix/robostix/Shared/Crc8.c

Any chance this could be added to the library?
I'll work on a patch file this would be welcome in the three.

Frédéric Nadeau ing. jr



reply via email to

[Prev in Thread] Current Thread [Next in Thread]