on my linux system with Toradex kernel 4.1.5-v2.5b1+gdb509ca
the serial communication using ttyLP1 RX stops working after receiving some invalid data bytes.
(LIN Bus collisions in my case)
It can be reproduced by setting the wrong baudrate and sending some bytes:
root@colibri-vf:~# stty -F /dev/ttyLP1 19200 root@colibri-vf:~# cat /dev/ttyLP1
~$ stty -F /dev/ttyUSB1 19200 ~$ echo "Hello1" > /dev/ttyUSB1 ~$ stty -F /dev/ttyUSB1 9600 ~$ echo "Hello2" > /dev/ttyUSB1 ~$ stty -F /dev/ttyUSB1 19200 ~$ echo "Hello3" > /dev/ttyUSB1
Only the “Hello1” is received by the device.
The other direction (device → host) still works.
Is there a known solution for this?
Thank you very much,