2018-12-31 01:35 PM
Hello,
We need to use RS-485 in full duplex, and with the flow control (DE).
Is it that when we configure DE with RS485 is shall be used as half duplex ?
can I configure rs232 pins with RTS (instead of DE) before converting voltage to rs-485 levels ?
Will this create a full duplex connection ? (CTS shall always be active in order to provide full duplex connection)
Thank you,
ran
Solved! Go to Solution.
2019-01-01 09:06 AM
A differential driver has two wires (a pair) coming out of it.
If you are doing
TX -> RX
RX <-TX
RTS -> CTS
That's THREE PAIRS using differential drivers.
You and the HW guys need to have a clear understanding of what it is you are doing, and what full and half-duplex mean, you seem confused about pretty basic concepts here.
2018-12-31 02:01 PM
>>We need to use RS-485 in full duplex...
That might prove quite challenging given the nature of the connection. Perhaps you're thinking of RS-422?
2018-12-31 10:13 PM
The HW engineer says it is a matter of voltage levels for the rs485.
He says that the devices in the end are capable of full duplex.
2018-12-31 11:24 PM
Hi,
Our HW engineer need the voltage levels of rs485.
Maybe we can configure the USART to use only RTS (instead of DE).
As I see flow control options are capable to use both RTS_CTS or only one of them (RTS or CTS alone) .
With this configuration I assume that the controller will remain in full duplex, Right ?
Thank you,
ran
2019-01-01 12:06 AM
Do you actually need hardware flow control in your application?
Look up diagrams of an RS-422 interface, ie where each signal is passed as a differential pair.
2019-01-01 12:19 AM
Yes, This is a system requirement. We need flow control (but only for RTS pin).
2019-01-01 12:22 AM
So three differential pairs need to be run
2019-01-01 12:23 AM
So, to work as full duplex, is it best to configure as rs232 (not rs485) with RTS ?
2019-01-01 12:58 AM
Depends on the application, you've indicated a desire to use differential drivers, to both transmit and receive simultaneously you will need at least two pairs.
Perhaps Google some images of RS-232, RS-485 and RS-422 interfaces so you have some conception about what's being discussed.
2019-01-01 01:07 AM
Do you mean pair of wires or of interfaces (ports) ?