CXM543 User’s Manual
Doc.# 6001-0015 Rev 1.2
Page 22
1+7+1+9+5+1+1+2+1+4+9+5+4+3 = 53 decimal
The number 53 decimal is 35 hex and this is the checksum.
To calculate the checksum for binary transmissions, the data bytes are
summed and the checksum is the least significant byte of the sum. For
instance, consider a transmission of raw vector data in binary format (mode
= rub)
AX AY AZ MX MY MZ CS EOT
123456789A9876543221FEBC1D5A
The checksum is calculated as follows:
12+34+56+78+9A+98+76+54+32+21+FE+BC = 51D
The least significant byte of this summation is ID and this is the transmitted
checksum.
For a binary transmission of corrected angular data (mode = cab) as
follows:
Roll Pitch Azimuth Tot A Tot M CS EOT
23F165A3521312345678955A
The checksum is calculated as follows:
23+F1+65+A3+52+13+12+34+56+78 = 395
therefore, the checksum is 95.
7.4
EEROM Map
For all EEROM constants the least significant byte is stored in the lowest
address and the most the most significant byte is stored in the highest
address.
SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:[email protected]
SUNSTAR自动化 http://www.sensor-ic.com/ TEL: 0755-83376489 FAX:0755-83376182 E-MAIL:[email protected]