This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SN65HVD78: Serial port to RS485

Part Number: SN65HVD78
Other Parts Discussed in Thread: THVD1451, THVD1450

Hi Team

I want to use SN65HVD78D to realize serial port to RS485. There are the questions about the connection of device pins.           

The Pin1 of sn65hvd78D is connected to RX, and the pin4 is connected to TX.           

How do Pin2 and PIN3 connect? Are these two pins connected directly?           

Thank you.


  • Hi Jerry,

    SN65HVD78 is a half-duplex transceiver, which means that it uses the same pair of signaling wires both to send and to receive data.  The DE pin is used to enable the driver when transmitting and the /RE pin is used to enable the receiver when receiving.  When you connect multiple nodes together on a half-duplex network, you need to make sure to that only one node is transmitting at once while all other nodes receive.  (Otherwise, the two transmitters would interfere with one another and corrupt the data.)

    Some serial port or UART implementations provide signals to control the DE and /RE pins of a half-duplex transceiver.  If so, these could simply be connected to pins 2 and 3.  Other implementations will provide a "direction" control.  If this is the case, you can typically tie this single control to both DE and /RE.  If your serial port does not support either of these controls, then there are a couple of options you could choose.

    One option is to operate the network as a "full duplex" network, meaning that there are separate differential pairs used for signals being transmitted versus being received.  This would require additional cabling (four wires rather than two) and a different transceiver device that has separate transmit and receive pairs.  An example of such a device is THVD1451.

    Another option is to keep the network "half duplex" but control the DE and /RE signals some other way.  You can refer to this post for a couple of recommended circuits for implementing this:

    By the way, for a half-duplex implementation SN65HVD78 is a good device.  You might consider the newer THVD1450 transceiver, though, since it is a pin-for-pin functional equivalent with improved performance.

    Please let us know if you have any further questions on this.