* RS-485 in half-duplex mode
@ 2017-11-21 7:10 Oliver Graute
0 siblings, 0 replies; only message in thread
From: Oliver Graute @ 2017-11-21 7:10 UTC (permalink / raw)
To: kernelnewbies
Hello list,
I try to use a RS-485 Interface with two wires on a imx28 CPU. Using the
driver in mxs-auart.c. I already modified my device tree to use
AUART4_RX and AUART4_TX for sending and receiving. This is working so
far. But since it is half-duplex the question arises how the switching
between sending and receiving is done. I have AUART4_RTS (GPIO2_26) for
this purpose. Is this something the driver can handle? do I have to
adjust my device tree or the driver for this setup? It is necessary to
handle this via IOCTL(TIOCSRS485) from user space?
Best Regards,
Oliver
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-11-21 7:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-21 7:10 RS-485 in half-duplex mode Oliver Graute
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).