Return Code (Drive to Host)
Starting Register
Register
Numbers to Write
CRC Checksum
Address
OP
Code
MSB LSB MSB LSB LSB MSB
02H 10H 20H 00H 00H 02H 4AH 3BH
The host writes 2 data (1011H and 1770H) with total data length 4 byte to 2000H and
2001H registers of drive. The drive receives and writes the data to the registers, and
then returns the message to the host. The host can synchronously broadcast all
drives to write multi-data to multi-registers in order to change the data synchronously.
6-5 CRC Checksum Algorithm
CRC checksum code is to verify the message validity during the communication
and its algorithm is to apply each code in the message to perform XOR and bit
shifting operations to generate the CRC code.
Here is the checksum algorithm diagram to generate CRC code.
The following example of showing how CRC code is generated.
Example: To generate CRC code D140 from Address Code: 02H and OP Code: 03H
86