Hi, I'm having a hard time calculating a CRC remainder value.
Can someone tell me what am I doing wrong here? According to the online calculator, the answer is $14 but I am coming up with 100100 or 1001000?
Thank you.
https://ghsi.de/CRC/index.php?Polynom=100010011&Message=53D2
Can someone tell me what am I doing wrong here? According to the online calculator, the answer is $14 but I am coming up with 100100 or 1001000?
Thank you.
https://ghsi.de/CRC/index.php?Polynom=100010011&Message=53D2
Code:
|--53--||--D2--| (hex)
%0101001111010010
000000000_0101001111010010 start
000000000_101001111010010 shift the bitstream left until bit 8 of the working register is set
000000001_01001111010010 shift
000000010_1001111010010 shift
000000101_001111010010 shift
000001010_01111010010 shift
000010100_1111010010 shift
000101001_111010010 shift
001010011_11010010 shift
010100111_1010010 shift
101001111_010010 shift - bit 8 is set 101001111
100010011 xor with the polynomial: 100010011
001011100_010010 result = 001011100
101110001_0010 shift - bit 8 is set
100010011 xor
001100010_0010 result
110001000_10 shift - bit 8 is set
100010011 xor
010011011_10 result
100110111_0 shift - bit 8 is set
100010011 xor
000100100_0 result - all bits are shifted
001001000 shift - out of bits
Last edited: