Home AMX Forum AMX General Discussion
Options

CRC Calulation

I am having a problem calculating the crc for a switcher, i used a web based calculator but it appears i am going wrong somewhere, the manual states
CRC calculation
CRC 0 = 0 (initial value)
CRC 1 = CRC_Table[CRC 0 ^ Byte 1] = CRC_Table[0x00 ^ 0x20] = 0x23;
CRC 2 = CRC_Table[CRC 1 ^ Byte 2] = CRC_Table[0x23 ^ 0x01] = 0x9F;
CRC 3 = CRC_Table[CRC 2 ^ Byte 3] = CRC_Table[0x9F ^ 0x06] = 0x8D;
CRC 4 = CRC_Table[CRC 3 ^ Byte 4] = CRC_Table[0x8D ^ 0x03] = 0x93;
Byte 5 = CRC 4;
CRC_Table : Please refer to Table 3-1 CRC Table.

i am sending SEND_STRING DV_HDMI_DESK_1,"$20,$01,$06,$03,$93" //input 3 to output 6
the above command works but the others don't as detailed below.

SEND_STRING DV_HDMI_DESK_1,"$20,$01,$01,$04,$56" //input 4-1
SEND_STRING DV_HDMI_DESK_1,"$20,$01,$01,$06,$79" //input6- output1
SEND_STRING DV_HDMI_DESK_1,"$20,$01,$02,$08,$C9" //input8-output2

Any help or advice would be greatly appreciated

Thanks

Comments

Sign In or Register to comment.