ROBOTIS-GIT / Dynamixel2Arduino

DYNAMIXEL protocol library for Arduino
Apache License 2.0
88 stars 55 forks source link

Seeeduino XIAO RP2040 outputs wrong CRC in packet #93

Open Deezmaker opened 2 years ago

Deezmaker commented 2 years ago

I wrote a simple arduino sketch to ping ID#1 for the Seeeduino XIAO and it works great. When I compile the exact same sketch for the XIAO RP2040 the output is different on the CRC value in packet as follows:

Seeeduino XIAO = "FF FF FD 0 1 3 0 1 19 4E" (which is correct and the dynamixel responds to)

Seeeduino XIAO RP2040 = "FF FF FD 0 1 3 0 1 2D 1" (wrong CRC?)

Can you guys look into this?

Deezmaker commented 2 years ago

Looks like Seeeduino folks fixed this in latest board library version. Not an issue anymore.

ROBOTIS-Will commented 2 years ago

@Deezmaker Missing the last couple bytes is usually due to the prematured change of the TX/RX direction. Glad that this has been fixed.