Serial cabling

Select a button to access further information.


RS-232 serial interfacing

The Wiki says:

In telecommunications, RS-232 or Recommended Standard 232[1] is a standard originally introduced in 1960[2] for serial communication transmission of data. It formally defines signals connecting between a DTE (data terminal equipment) such as a computer terminal or PC, and a DCE (data circuit-terminating equipment or data communication equipment), such as a modem.

The terms DTE and DCE are important as they help our understanding of RS-232 connector choice and cable wiring. Before IBM introduced the DB-9 connector on their PC range it was common to find DB-25 connectors. Today it’s rare to find equipment using a DB-25 connector for RS-232 interfacing as the world chose to follow IBM and standardise on the smaller DB-9 connector. That written, even today, some equipment uses a terminal block for RS-232 cable termination.

A DTE should present a plug, whether that be DB-9 or DB-25, and a DCE should present a socket. ‘Should’ is important as most equipment does follow this standard but it’s not universal. Even then some equipment manufacturers, in this case SPE, don’t follow the RS-232 standard wiring.

The transmission control of data on an RS-232 interface is typically achieved using hardware or software flow control. The most common hardware methods are: RTS/CTS (Read/Clear To Send) and DTR/DSR (Data Terminal/Data Set Ready). Less common is XON/XOFF software flow control.

Serial cable wiring

The management interface of SPE Expert amplifiers may be accessed using the USB (not relevant to this discussion) or an RS232 cable. The connecter for RS232 interfacing is a 9-pin ‘D’ socket. This implies that it implements the highly standardised DB-9 pin serial wiring. But it DOES NOT! For the authoritative source of wiring see the SPE User Manual for your amplifier.

The SPE amplifiers do not implement either hardware or software flow control on their RS-232 management interface. Hence only three wired connections are necessary: Tx data, Rx Data and signal ground. On the SPE amplifier, DB-9 PORT connector, these are: Pin 7 (Data from amplifier), Pin 8 (Data to amplifier) & Pin 5 (Ground).

If the network/serial adapter implements a DTE interface using a DB-9 pin plug and it uses standardised pin-outs – as it should – then the wiring described below for the Waveshare RS232/485/422 TO POE ETH (B) adapter should apply.

DTE DB-9 Plug pinDTE NameSPE Amplifier
DB-9 Socket pin
Comment
2RD7Data from amplifier to DTE
3TD8Data to amplifier from DTE
5GND5Ground

If your network/serial adapter implements a DTE interface using a DB-25 pin plug and it uses standardised pin-outs – as it should – then the wiring described below should apply.

DTE DB-25 Plug pinDTE NameSPE Amplifier
DB-9 Socket pin
Comment
3RD7Data from amplifier to DTE
2TD8Data to amplifier from DTE
7GND5Ground