linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* serial: imx: rs485: State of rts pin during tty device is closed
@ 2021-03-22 10:37 Christoph Niedermaier
  0 siblings, 0 replies; only message in thread
From: Christoph Niedermaier @ 2021-03-22 10:37 UTC (permalink / raw)
  To: 'Uwe Kleine-König', linux-arm-kernel
  Cc: Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam

Hello,

I have some problems with the uart rs485 mode on my imx6ull. I
discovered that the rts pin is high when the tty device is closed. In
my case it means the rs485 transceiver is active and all signal from
Tx going through onto the rs485 bus. The reason for my problem is that
I also have a microcontroller on this rs485 transceiver. So I expected
when I don't use the uart in Linux (device closed) the rts signal isn't
active. If I have the device in Linux opened everything is OK, because
only on sending the rts pin will be active. So for me it makes no sense
to have the rts pin active (in rs485 mode) when the device is closed.

Could someone maybe answer my following question:
Is this a hardware restriction of the imx6ull soc uart core or
can this be handled by the imx driver or
do I have a lack of understanding here?


Regards
Christoph

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-22 10:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-22 10:37 serial: imx: rs485: State of rts pin during tty device is closed Christoph Niedermaier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).