AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Arduino crc16 modbus12/26/2023 ![]() ![]() What I don't know is how to incorporate the initial value - is it used to pad the data word with it instead of zeros? Or do I need to reverse the answer? Something else?ġst attempt: Padding by 16 bits with zeros.Ĭalculated remainder in binary would be 1111 1111 1001 1011 which is FF9B in hex and incorrect for CrC16/Modbus, but correct for CRC16/BypassĢnd attempt: Padding by 16 bits with ones, due to initial value.Ĭalculated remainder in binary would be 0000 0000 0110 0100 which is 0064 in hex and incorrect. ![]() I presume my transformation into binary is correct. I did calculate this manually like the example above, but I'd rather not write this down in binary in this question.
0 Comments
Read More
Leave a Reply. |