2079 8

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]

Microprocessor

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:

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. Simple Hardware Implementation: Devices like the 8251A (UART) are used to handle asynchronous serial communication, making it easy to interface with microprocessors.

  6. 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

TermFull FormExample
DTEData Terminal EquipmentComputer, Terminal
DCEData Communication EquipmentModem

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

SignalNameDirectionPurpose
TxDTransmit DataDTE โ†’ DCESerial data sent from DTE
RxDReceive DataDCE โ†’ DTESerial data received by DTE
RTSRequest To SendDTE โ†’ DCEDTE requests permission to transmit
CTSClear To SendDCE โ†’ DTEDCE grants permission to transmit
DTRData Terminal ReadyDTE โ†’ DCEDTE is ready to communicate
DSRData Set ReadyDCE โ†’ DTEDCE is ready to communicate
DCDData Carrier DetectDCE โ†’ DTEDCE has detected a carrier signal
GNDSignal 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.