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.

AM6412: Linux: UART driver with RS485 support, Modbus RTU

Part Number: AM6412

Hi all,

after some checking it seems that Linux kernel provides some data structures for RS485 support. But the Linux serial driver or uart driver needs to implement rs485_config callback and some other things. 

Does the AM64xx serial or uart driver have this RS485 support?

Secondly, is there a recommendation on how to implement Modbus RTU support on Linux? Maybe libmodbus https://libmodbus.org/documentation/ ?

Thanks!

--Gunter

  • Hi Gunter,

    AM64xx UART uses the same serial driver 8250_omap.c as other Sitara devices such as AM335x or AM437x, so yes the driver supports RS485.

    I know some customers use Modbus in their applications, but since Processor SDK Linux doesn't provide Modbus support, so I don't have any comment on how to implement Modbus.