Hi,
For a robotics project i need to create a serial communication between DUE and PC.
The information that is being communicated are coma separated strings (both from PC to DUE and DUE to PC). (For the ROS people; i send a twist msg to the DUE which then drives the motor drivers accordingly and returns odometry data based on encoder counts)
When the DUE starts sending the information to the PC, it will freeze/stop after exactly 2890 times. Only a reset on th board can make it work again but the same thing happens after.
I attached the ino and the code on the PC.
I tried multiple things and i cannot find any similar problems on the forum/google.
Does anyone have similar experience with the native usb port on the DUE?
Thank you.
Kind regards,
asdf
alpha_driver_node.cpp (3.33 KB)
serial_test.ino (1.58 KB)