RS-485 in half-duplex mode
Nov. 21, 2017
7:10 a.m.
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
3188
Age (days ago)
3188
Last active (days ago)
0 comments
1 participants
participants (1)
-
Oliver Graute