How-to guide · Serial loopback plugs

How To Construct Serial Loopback Adapter Plugs

Choose the diagram for your connector and electrical interface, then jumper the listed pins to build a loopback plug for testing data and modem control signals.

Serial loopback adapters for RS-232, RS-422 and RS-485 testing
Why

Why Use a Serial Loopback Adapter?

Purpose, test scenarios and fault isolation

A serial loopback plug is a simple test fixture that redirects a port's own output back to its own input. Instead of wiring the connector to a remote modem, printer, instrument, or another computer, the adapter joins the transmit lines to the receive lines inside the connector shell—and optionally loops the modem control lines back as well. With only a connector and a few short jumper wires, you can exercise the serial port end to end without any external device on the other end of the link.

  • Verify transmit and receive hardware

    With Tx jumpered to Rx, everything the port sends out comes straight back. A terminal emulator or test program compares the echoed data with the original, proving the UART, transceiver, connector pins, and onboard wiring are working correctly.

  • Run bit-error-rate (BERT) testing

    Loopback is the standard setup for BERT tools that stream a known data pattern and count errors. It is used to characterize signal quality, baud-rate stability, and noise margins on RS-232, RS-422, RS-485, and RS-530 links.

  • Test handshake and modem control signals

    Jumpering RTS to CTS and DTR to DSR/DCD (and RI where applicable) makes the port believe a remote device and its control handshakes are present. Software can then exercise flow-control and modem-status routines without external equipment.

  • Isolate faults during troubleshooting

    If the port passes loopback but fails when connected through a cable or to a device, the problem lies in the cable, the remote unit, or the wiring—not the port itself. Loopback thus narrows the fault to one side of the link.

  • Support manufacturing and field QA

    Loopback plugs are fast, low-cost fixtures for production-line testing, pre-shipment checks, and service-rack diagnostics, especially in test racks or repair benches where a live remote endpoint is not available.

  • Confirm driver and OS configuration

    A successful loopback also confirms that the serial driver, COM port mapping, and port settings (baud rate, data bits, parity, stop bits, flow control) are configured correctly on the host side.

Two levels of loopback

  • Data-only (minimum) Jumper Tx to Rx; on differential interfaces, jumper Tx+ to Rx+ and Tx− to Rx−. This is enough to validate data transmission and run BERT.
  • Full modem loopback Also jumper the handshake and control pins as listed in each diagram below, so flow-control and status signals are returned to the port. Connect only the pins your test requires.
DB-9

RS-232 Loopback Connection

TIA-574

Connect pins

  • 2 to 3Rx to Tx
  • 1 to 4 to 6DCD to DTR to DSR
  • 7 to 8 to 9RTS to CTS to RI
DB-9 RS-232 loopback diagram with pins 2 and 3, pins 1, 4 and 6, and pins 7, 8 and 9 jumpered
DB-9 RS-232 loopback wiring
DB-9

RS-422 / RS-485 Loopback Connection

Sealevel product specific

Connect pins

  • 1 to 4Rx+ to Tx+
  • 2 to 3Rx− to Tx−
  • 6 to 9RTS+ to CTS+
  • 7 to 8RTS− to CTS−
DB-9 RS-422 and RS-485 loopback diagram with differential data and handshake pairs jumpered
DB-9 RS-422 / RS-485 loopback wiring
DB-25

RS-232 Loopback Connection

EIA-232

Connect pins

  • 2 to 3Tx to Rx
  • 4 to 5 to 22RTS to CTS to RI
  • 6 to 8 to 20DSR to DCD to DTR
DB-25 RS-232 loopback diagram with pins 2 and 3, pins 4, 5 and 22, and pins 6, 8 and 20 jumpered
DB-25 RS-232 loopback wiring
DB-25

RS-422 / RS-485 / RS-530 Loopback Connection

Differential interfaces

Connect pins

  • 2 to 3Tx− to Rx−
  • 14 to 16Tx+ to Rx+
  • 5 to 4RTS− to CTS−
  • 13 to 19RTS+ to CTS+
  • 10 to 22 to 23DCD+ to DSR+ to DTR+
  • 6 to 8 to 20DCD− to DSR− to DTR−
DB-25 RS-422, RS-485 and RS-530 loopback diagram with differential data, handshake and control pairs jumpered
DB-25 RS-422 / RS-485 / RS-530 loopback wiring

Need the full datasheet or samples?

Tell us the model and quantity — we will send documentation and quotation.

Request a quote