checksum CRC-16 (Modbus)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


checksum CRC-16 (Modbus)



I have to checksum this hex, but i test it and the system dont respond.



The docs said "SUM is the sum check of all bytes from the frame header"
Frame headers AA 75


"SUM is the sum check of all bytes from the frame header"


AA 75



The hex i have is AA 75 56 56 56 56 F6 00 00 SUM
I use https://www.lammertbies.nl/comm/info/crc-calculation.html
And in CRC-16 (Modbus)
The result is 0x8598


AA 75 56 56 56 56 F6 00 00 SUM


CRC-16 (Modbus)


0x8598



But when i use this in my system it dont work.



This is the right way to create a checksum?





Try following webpage. Make sure your code is using the correct Polynominal, Initial value, and reflected setting. Last time I had issue I found the reflected was wrong and had to to a 1's compliment. sunshine2k.de/coding/javascript/crc/crc_js.html
– jdweng
19 mins ago









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Arduino Mega cannot recieve any sketches, stk500_recv() programmer is not responding

Better method to check all objects' parameters with a single call

C++ virtual function: Base class function is called instead of derived