AnsweredAssumed Answered

iMX6 UART RS485 mode?

Question asked by Simon Dunn on Aug 6, 2013
Latest reply on Sep 17, 2014 by Gerrie de Jager

Has anyone had any experience using the RS485 capabilities of the iMX6 in Linux?  Just had a quick look through the Kernel sources and arrived at drivers/tty/serial/imx.c which seems to be doing the right things with regard to standard 232 and IRDA functionality, but I can't find anywhere the 485 functionality is implemented.


In fact RS485 mode is allegedly enabled by setting the MDEN field of the UARTx_UMCR register to  0x02 but this register definition is suspiciously missing from the defines in imx.c, which I guess means that IRDA compatibility with slow data rate isn't implemented either.