RS232 Loopback Connections: test connector

RS232 Loopback Connections: test connector

When testing RS232 links, it is often useful to have a test loopback connector. In this way the equipment can be used on its own to check that it can communicate, even if it is only with itself.

The test loopback connector approach to testing has its limitations as it will not be able to detect speed mismatches or the like as the same issue is likely to be present on transmit and receive. However it will be able to test the basic functionality and provide a good level of confidence about the ability of the equipment to send and receive and generally check the operation of the serial port.

RS232 loopback connectors are very easy to make up. They can be made very easily either for DB9 or DB25 way connectors.

The loopback plug connects serial inputs to serial outputs so that the port may be tested. There is more than one way to wire up a serial loopback connector. The connections given below form a commonly used configuration. Although it may not be necessary to incorporate all the handshaking connections for all applications, they have nevertheless been incorporated so that the serial loopback connector should work for all situations.

DB9 Serial Loopback Connections

The connections for the serial loopback connector are given below in tabular form for a DB-9 D-type connector using the common pinout connections.

DB9 Connector Serial Loopback Connections
Connection 1Connection 2Connection 3
Link 1164
Link 223--
Link 378--

DB25 Serial Loopback Connections

A table showing the loopback connections when using a DB25 D-type connector using the common pinouts is shown below.

DB25 Connector Serial Loopback Connections
Connection 1Connection 2Connection 3
Link 123--
Link 245--
Link 36208

The loopback connections are useful on occasions for applications like self test. It is often convenient to be able to have a connector wired up for this purpose if fault-finding and service are to be undertaken with equipment using RS232.

Wireless & Wired Connectivity Topics:
Mobile Communications basics2G GSM3G UMTS4G LTE5GWiFiIEEE 802.15.4DECT cordless phonesNFC- Near Field CommunicationNetworking fundamentalsWhat is the CloudEthernetSerial dataUSBSigFoxLoRaVoIPSDNNFVSD-WAN
Return to Wireless & Wired Connectivity

Watch the video: How to identify wires on a serial cable (October 2021).