I work for Libéo and we got hard time sending a string from the Vim Pro to an other computer. We did try the following :
On fresh install of Ubuntu (same with our custom nougat image) on VIM we did set our uart to 9600 N81 with :
stty -F /dev/ttyUSB0 9600 cs8 -cstopb -parenb
then send a string with :
echo -n -e ‘hello’ > /dev/ttyUSB0
If we do so on a computer or a raspberry pi 3, we receive hello correctly. But with the vim we just receive the first character correctly then we receive garbage characters. If we change the message sent, the first character received is always the same then rest of the string is not the same.
We did try many boards, on both Ubuntu and Android Nougat, and get that problem every time. The serial to uart is a ch341. Do you have an idea how we can fix this.