Welcome, Guest. Please login or register.

Login with username, password and session length
ArdweeNET forum

Pages: [1]
Author Topic: CRC algorithm  (Read 3255 times)
0 Members and 1 Guest are viewing this topic.
Jr. Member
Posts: 55

View Profile WWW
« on: November 29, 2012, 02:14:09 PM »

It looks like I'm settling on the CAN 15-bit CRC algorithm with the 0x62CC polynomial.

This is optimised for small data packet sizes and has a hamming distance of 6 (up to 5 corrupted bits detected) for data between 64 and 112 bits. As the checked part of an ArdweeeNET frame is 96 bits in length this is a good match.

This does however mean using software to generate the CRC as opposed to using the LPC's built-in hardware CRC generator. Probably a price worth paying to get the best CRC.

Rob, aka the GRAYnomad
Pages: [1]
Jump to: