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.

RS 485 support in UART

we are just in the first steps of evaluating processors for our next generation product, which is supposed to be linux based and needs do support a couple of serial communication protocols. For a number of RS485 based protocols it is vital to disable the transceiver fast and reliable after sending some data. As far as I can see from other posts there is no support in the UART of the current line of SITARA processors for automatically disabling the transceiver; one has to depend on the software driver to do that job. At high baud rates this can well be critical timing. Is there any work in progress to add such an automatic RS485 feature to the buildin UARTS?

Would it be a viable solution to have a PRU (with or without UART) based serial driver to support reliable and fast RS485 data direction switching?

 

  • It is my understanding that standard UARTs don`t support RS485 speeds so you will need to use a PRU based serial driver for this implementation.

    A quick search showed this RS485 implementation on AM335x on beagle bone where a GPIO pin is used for data direction switching. Please refer to the following blog that refers to this support in Linux:
    blog.savoirfairelinux.com/.../

    Hope this helps.

    Regards,
    Rahul