Create RS-485 Adapter To Convert Data Lines From Full- To Half-Duplex

June 21, 2007
Multiprotocol interface ICs can be used to connect a UART to an RS-485 bus architecture called point-to-point full-duplex (PTP-FD). The PTP connection usually requires drivers and receivers to be constantly enabled, and therefore "present" on the lin

Multiprotocol interface ICs can be used to connect a UART to an RS-485 bus architecture called point-to-point full-duplex (PTP-FD). The PTP connection usually requires drivers and receivers to be constantly enabled, and therefore "present" on the line. So when such a circuit board must fit into a point-to-multipoint, half-duplex system (PTM-HD), the entire board (usually) must be redesigned.

A simple trick, though, can adapt an existing PTP-FD board, which provides a single link between two terminals, for use in the more complex PTM-HD architecture. PTM-HD involves one master and multiple slaves, connected by multiple links. This adapter makes it possible to reuse the hardware already designed and manufactured.

A PTP-FD slave board is always ready to "hear" interrogation/command signals from the PTM-HD master unit, but it answers only when it recognizes its own address. To avoid any effect on the signal-transmission path of the half-duplex side, the adapter, which operates only on the slave board's Tx output, maintains itself in the quiescent state. Only when a slave output starts to transmit does the adapter become active and transfer that data to the central unit.

The adapter circuit consists of two devices (Fig. 1). The RS-485 receiver, IC1a, is always enabled. It senses the Tx output of the PTP slave board, drives the timer (IC2), and enables the RS-485 transmitter (IC1b), which is typically in a quiescent state. The triggering occurs when the slave board Tx output makes a high-to-low transition (a start bit). The timer's En DRV signal enables the transmitter, maintaining the En DRV state for a time interval determined by the delay capacitor.

The timer is retriggered by the next high-to-low transition (data bit) of the input signal (Fig. 2). The value of the delay capacitor depends on the Tx input transitions coming from the PTP slave board, the time between data packets, and the switching time between channels (the slave boards to be addressed).

Sponsored Recommendations

What are the Important Considerations when Assessing Cobot Safety?

April 16, 2024
A review of the requirements of ISO/TS 15066 and how they fit in with ISO 10218-1 and 10218-2 a consideration the complexities of collaboration.

Wire & Cable Cutting Digi-Spool® Service

April 16, 2024
Explore DigiKey’s Digi-Spool® professional cutting service for efficient and precise wire and cable management. Custom-cut to your exact specifications for a variety of cable ...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!