Messages in this thread | | | Subject | RE: [Patch] new serial flow control | From | Alan Cox <> | Date | Thu, 07 Oct 2004 14:00:24 +0100 |
| |
On Iau, 2004-10-07 at 02:30, Stuart MacDonald wrote: > RS485 is a driver-transparent electrical interface. Unfortunately the > half-duplex and master-slave(s) arrangements require some sort of > token passing to know when they can successfully transmit. This is > usually handled by the apps in some manner, although it's often wanted > to be handled by the serial driver. This could be one method of > signalling, but isn't sufficient to show RS485 operation.
No its one I've seen a lot there and it turns out having dug into docs and consulted the serial people in pointy hats that it is RS232 half-duplex mode which is one of those bits of the spec nobody ever uses.
In this mode the DTE end (host normally) asserts RTS to request transmit access to the link. The DCE asserts CTS to indicate it has finished sending bits, and the DTE then transmits.
RTS is a direction selector (RTS = 0, DCE transmit) (RTS = 1, DTE transmit). CTS acts as the handshake to deal with the link turn around.
So that makes this much more useful.
Alan
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |