CSC167 ยท 2079 ยท 5 marks
What are the practical implications of asynchronous serial communication? Explain DTE-DCE connection according to RS-232 serial communication standard.
What are the practical implications of asynchronous serial communication? Explain DTE-DCE connection according to RS-232 serial communication standard. [5]
Quick answer
Asynchronous serial communication has the following practical implications: No Shared Clock Required; Start and Stop Bits Overhead; Variable Timing Between Characters.
Practical Implications of Asynchronous Serial Communication and DTE-DCE Connection (RS-232)
Part 1: Practical Implications of Asynchronous Serial Communication
Asynchronous serial communication has the following practical implications:
-
No Shared Clock Required: Each character is transmitted independently with its own start and stop bits. The transmitter and receiver do not need a common clock signal, making it simpler and cheaper to implement.
-
Start and Stop Bits Overhead: Each data byte requires additional start bit (1 bit) and stop bit (1 or 2 bits), which reduces the effective data throughput compared to synchronous communication.
-
Variable Timing Between Characters: Data characters can be sent at irregular intervals. The receiver re-synchronizes itself at the beginning of each new character using the start bit.
-
Suitable for Low-Speed Communication: Asynchronous communication is well suited for keyboard input, terminals, and modems where data arrives in bursts rather than as a continuous stream.
-
Simple Hardware Implementation: Devices like the 8251A (UART) are used to handle asynchronous serial communication, making it easy to interface with microprocessors.
-
Error Detection: Parity bits can be added for basic error detection, which is important in noisy communication environments.
Part 2: DTE-DCE Connection According to RS-232 Standard
What is RS-232?
- RS-232 stands for Recommended Standard number 232.
- It is the most widely used serial I/O interfacing standard.
- The full RS-232C standard specifies a 25-pin "D" connector, of which 22 pins are used.
- RS-232 is not TTL compatible:
- Logic 1 is represented by -3V to -25V
- Logic 0 is represented by +3V to +25V
- The range -3V to +3V is undefined (transition region)
- Voltage converter ICs such as MC1488 (TTL to RS-232) and MC1489 (RS-232 to TTL) are used for level conversion.
DTE and DCE
| Term | Full Form | Example |
|---|---|---|
| DTE | Data Terminal Equipment | Computer, Terminal |
| DCE | Data Communication Equipment | Modem |
DTE-DCE Connection Diagram
DTE (Computer) DCE (Modem)
+-----------+ +-----------+
| TxD --|-------------->|-- RxD |
| RxD --|<--------------|-- TxD |
| RTS --|-------------->|-- CTS |
| CTS --|<--------------|-- RTS |
| DTR --|-------------->|-- DSR |
| DSR --|<--------------|-- DTR |
| DCD --|<--------------|-- DCD |
| GND --|---------------|-- GND |
+-----------+ +-----------+
Key RS-232 Signal Lines
| Signal | Name | Direction | Purpose |
|---|---|---|---|
| TxD | Transmit Data | DTE โ DCE | Serial data sent from DTE |
| RxD | Receive Data | DCE โ DTE | Serial data received by DTE |
| RTS | Request To Send | DTE โ DCE | DTE requests permission to transmit |
| CTS | Clear To Send | DCE โ DTE | DCE grants permission to transmit |
| DTR | Data Terminal Ready | DTE โ DCE | DTE is ready to communicate |
| DSR | Data Set Ready | DCE โ DTE | DCE is ready to communicate |
| DCD | Data Carrier Detect | DCE โ DTE | DCE has detected a carrier signal |
| GND | Signal Ground | -- | Common reference ground |
Summary
The RS-232 standard defines the electrical characteristics, signal names, and connector pinout for serial communication between a DTE (such as a computer) and a DCE (such as a modem). The handshaking signals (RTS, CTS, DTR, DSR) ensure that both devices are ready before data transmission begins, making communication reliable even over telephone lines or long-distance links.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.