AnsweredAssumed Answered

CRC Module - example of use with standard polynomial?

Question asked by Mark Butcher on Jun 17, 2012
Latest reply on Jul 17, 2012 by EARL GOODRICH

Hi All

 

I am trying to use the CRC module for a CRC32 calculation but haven't been able to get it to produce the expected values just yet. Since there is no standard example that I can find and the user's manual doesn't give any details about the form of the polynomial it is presently a case of trial and error and not yet finding the right combination.

 

The polynomial is

x(32) + x(26) + x(23) + x(22) + x(16) + x(12) + x(11) + x(10) + x(8) + x(7) + x(5) + x(4) + x(2) + x + 1

The seed is 0xffffffff

 

The polynomial has been tried as 0xedb88320 and 0x04c11db7 (different directions) and all permutation of bit and byte reversals. The result changes according to settings but never matches the expected result using a single 32 bit reference with known result.

 

Does anyone have any more details??

 

Regards

 

Mark

 

Outcomes