- Asked 3/14
- 2070 Magh · 4 marks
- 2069 Poush · 4 marks
- 2068 Magh · 5 marks
RS-232 signals, handshaking, DTE-DCE
Short answer
RS-232C connects DTE (computer) to DCE (modem) with signals: TxD, RxD, RTS, CTS, DTR, DSR, DCD. Handshaking: DTE asserts DTR, DCE replies DSR; DTE raises RTS, DCE asserts CTS, then data flows on TxD/RxD. DCD indicates carrier. Null modem cross-connects for direct DTE-DTE.
Explain the signals, connections and handshaking signals used in the RS-232 (RS-232C) serial interface standard. Describe how data is transferred from DTE to DCE and vice versa.
RS-232C connects a DTE (computer/terminal) to a DCE (modem) with a 25-pin (or 9-pin) connector. Logic 1 is −3 to −15 V and logic 0 is +3 to +15 V.
Signals (DB-25 pin number)
| Signal | Pin | Direction (from DTE) | Function |
|---|---|---|---|
| TxD | 2 | Out | Serial data from DTE |
| RxD | 3 | In | Serial data to DTE |
| RTS | 4 | Out | DTE requests permission to send |
| CTS | 5 | In | DCE is ready to receive |
| DSR | 6 | In | DCE is powered and ready |
| GND | 7 | - | Signal ground |
| DCD | 8 | In | Carrier detected from remote modem |
| DTR | 20 | Out | DTE is ready |
| RI | 22 | In | Telephone ring detected |
Handshaking signals: DTR/DSR (device readiness) and RTS/CTS (flow control for each transmission), with DCD showing that the line is connected.
Data transfer
DTE (computer) DCE (modem)
DTR ------------------------------> (DTE ready)
DSR <------------------------------ (DCE ready)
RTS ------------------------------> (request to send)
CTS <------------------------------ (clear to send)
TxD ------------------------------> serial data out
RxD <------------------------------ serial data in
DCD <------------------------------ (carrier present)
DTE → DCE: the DTE turns on DTR; the DCE responds with DSR. The DTE then asserts RTS; when the DCE is ready (carrier established) it asserts CTS. The DTE now sends the bits on TxD (start bit, data, parity, stop). At the end RTS is dropped and CTS goes off.
DCE → DTE: when a remote carrier is detected the DCE asserts DCD, and sends the received data on RxD; the DTE reads it, using DTR to indicate that it can accept data (hardware flow control). Where no modem is used, a null modem cross-connects TxD↔RxD, RTS↔CTS and DTR↔DSR.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Short note: RS-232 standard · Microprocessor, chapter 4 · asked 3×
- Short note: serial and parallel interface · Microprocessor, chapter 4
- Synchronous vs asynchronous serial transmission · Microprocessor, chapter 4 · asked 3×
- Single and double handshaking · Microprocessor, chapter 4
- RS-232C handshaking signals · Instrumentation II, chapter 3 · asked 2×
- Connecting two DTE RS-232 devices · Instrumentation II, chapter 3 · asked 2×
- Long line by short model and vice versa · Power System Analysis I, chapter 5 · asked 2×
- Importance and working of RS-232C · Instrumentation II, chapter 3