Hi,
I'm trying to check the CRC that i recieve from the RI-INL-R9QM. I am recieveing the CRC correct and now i want to calculate it from the data and compare it to the recieved CRC.
To start, I cannot even do it on a pice paper!....I'm using http://e2e.ti.com/cfs-file.ashx/__key/CommunityServer-Discussions-Components-Files/667/1524.CRC16.pdf and the Polynomial : x16 + x12 + x5 + 1 .
The HEX from that polynomail, to start calculating like in the app not, do i get it considering de x16 or no?? I mean, 11021 or 1021 ????
My recieved data is: DATA: 00-00-00-00-0A-4B-CE-46; CRC:DC-26
If i use the 1021 polynomial and according to the app note, my work should be something like this:
0000000000000000000000000000000000001010010010111100111001000110 ----->>A4BCE46
1000000100001
-----------------------
1000000100001
1000000100001
-----------------------
0000000000000
1000000100001
-----------------------
1000000100001
And i get in a "loop",,,,,,,,what Am I doing wrong????