This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3358: byte swapped randomly when transmitting data over RS485

Part Number: AM3358


Tool/software: Linux

Dear,

I have a beaglebone board which has one of its UART used for RS485 communication.

I'm using the below Linux from yocto release and configuring it to use omap_serial driver.

Linux beaglebone 4.1.6-yocto-standard #8 PREEMPT Wed Jan 11 14:34:20 AEDT 2017 armv7l GNU/Linux

When I send a file to this UART, I can find on the other end some neighbouring bytes were swapped. This happens in random places and only for baud rate >=9600.

Have you ever seen this issue and what could be the cause?

Thank you for help.

Best Regards,
Sean