Instruction Manual
Copyright 2019 EAI All Rights Reserved 5 / 6
The check code uses a two-byte exclusive OR to verify the
current data packet. The check code itself does not participate in
XOR operations, and the XOR order is not strictly in byte order.
The XOR sequence is as shown in the figure. Therefore, the check
code solution formula is:
CS=
=1,2,…,end
indicates the XOR of the element from subscript 1 to end. However, XOR satisfies the
exchange law, and the actual solution may not need to follow the XOR sequence.
5 MOTOR SPEED CONTROL
At the same time, users can change the scanning frequency to meet their needs according to
actual needs. Adjust the motor speed by changing the input voltage of the M_SCTP pin or changing
the duty cycle of the input PWM signal (for specific control methods, please refer to the data sheet).
FIG 7 CS XOR SEQUENCE