I need help calculating the checksum (crc-16:X16+X15+X2+1) for BYTE6 and BYTE7 of this data string. I have read some examples but I have no idea how and where to start. What does the X16, X15 etc means? What should I put in BYTE6 and BYTE7?
Byte0: 0x55
Byte1: 0x80
Byte2: 0x06
Byte3: 0x02
Byte4: 0x00
Byte5: 0x00
Byte6: MSB of the checksum word (CRC-16)
Byte7: LSB of the checksum word (CRC-16)