![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Serial Port Basics (continued)DTE and DCEThe RS-232 specification defines two classes of devices: data terminal equipment (DTE) and data communication equipment (DCE). Your computer's serial port is configured for DTE operation because the computer usually acts as a terminal. Modems and many other serial devices are configured as DCE, since they usually act as communications equipment. What's the difference? A DTE device's TD signal means "I transmit data on this line." A DCE's TD signal can be read "You (the DTE) transmit data to me on this line." A DTE's RD signal means "I receive data on this signal line." A DCE's RD line means, "You, the DTE, will receive the data I transmit on this signal line." Sound confusing? A look at a the DB9 connector pinouts and signal direction with respect to DTE (e.g. your computer) makes things a little more clear.
Pinouts for 9-pin and 25-pin serial connectors. The cable that connects DTE devices (such as your computer) and DCE devices (such as your modem) is simple. It connects the TD pin to TD, pin RD to RD, etc. A cable that connects DTE to DTE or DCE to DCE must connect the TD to RD and RD to TD. This cable is referred to as a null modem cable because it can connect two terminals (DTE's) without the use of modems (DCE's). These cables are sometimes referred to as crossover cables. Note that GND pins are connected regardless of DCE/DTE configuration. Most DCE devices have female connectors (DB9 or DB25), while most DTE devices are equipped with male connectors, but this is not always the case.
Determining whether a device is DTE or DCE: Connect a voltmeter's ground line to the connector's GND pin. Then, probe the voltage on the TD and RD pins. If the TD pin voltage is small (-3V to +3V), the device is configured to receive data on the TD pin, and thus is a DCE device. Likewise, if the RD pin voltage is small, the device is receiving data on the RD pin, and thus is DTE. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Email comments
|
Copyright © 2000-2008 Acumen Instruments Corporation |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||