Presentation is loading. Please wait.

Presentation is loading. Please wait.

CSC 335 Data Communications and Networking Lecture 4b: Communication and Multiplexing Dr. Cheer-Sun Yang.

Similar presentations


Presentation on theme: "CSC 335 Data Communications and Networking Lecture 4b: Communication and Multiplexing Dr. Cheer-Sun Yang."— Presentation transcript:

1 CSC 335 Data Communications and Networking Lecture 4b: Communication and Multiplexing Dr. Cheer-Sun Yang

2 Standards for Communication A standard for communication defines among others the timing of signals and the electrical details of voltage and current. If two venders follow a given standard, their equipment will interoperate.

3 Standards for Communication There are several organizations that are contributing to ensure that communication hardware built be different venders will interoperate. The defines the specifications for various communication hardware. International Telecommunications Union (ITU) the Electronic Industries Association (EIA) Institute for Electrical and Electronic Engineers (IEEE)

4 Interfacing Data processing devices (or data terminal equipment, DTE) do not (usually) include data transmission facilities Need an interface called data circuit terminating equipment (DCE) –e.g. modem, NIC DCE transmits bits on medium DCE communicates data and control info with DTE –Done over interchange circuits –Clear interface standards required

5 Interfaces between DTE and DCE

6 Characteristics of Interface Mechanical –Connection plugs Electrical –Voltage, timing, encoding Functional –Data, control, timing, grounding Procedural –Sequence of events

7 V.24/EIA-232-F ITU-T v.24 Only specifies functional and procedural –References other standards for electrical and mechanical EIA-232-F (USA) –RS-232 –Mechanical ISO 2110 –Electrical v.28 –Functional v.24 –Procedural v.24

8 Electrical Specification Digital signals Values interpreted as data or control, depending on circuit More than -3v is binary 1, more than +3v is binary 0 (NRZ-L) Signal rate < 20kbps Distance <15m For control, more than-3v is off, +3v is on

9 Functional Specification Pins – nine most frequently used pins: –Data Terminal Ready(pin 20) – as terminal or computer is powered up –Data Set Ready (pin 6) – as modem is powered up –Carrier Detect (pin 8) – as modem detects a carrier on the telephone line

10 Functional Specification(cont’d) –Request to Send (pin 4) – terminal wants to send data –Clear to Send (pin 5) – modem ready to accept data –Transmit (pin 2) – data transmitted –Receive (pin 3) – data received

11 Mechanical Specification

12 Procedural Specification E.g. Asynchronous private line modem When turned on and ready, modem (DCE) asserts DCE ready When DTE ready to send data, it asserts Request to Send –Also inhibits receive mode in half duplex Modem responds when ready by asserting Clear to send DTE sends data When data arrives, local modem asserts Receive Line Signal Detector and delivers data

13 Dial Up Operation (1)

14 Dial Up Operation (2)

15 Dial Up Operation (3)

16 DTE and DCE Interfacing

17 Data Transmission Using RS-232

18 Transmission Using RS-232 This figure shows that RS-232 uses negative 15 volts to represent a 1 bit and positive 15 volts to represent a 0 bit.

19 Null Modem Sometimes we may need to allow two devices such as PC to communicate directly, that is, with no network or DCEs between them. Your first reaction may be connecting two RS232 interface together. However, they both try to send a signal to request to send, or receive data from the same pin.

20 Null Modem

21 Summary of RS-232 Main Features RS-232 is a popular standard used for asynchronous serial communication over short distance between a computer (DTE) and a modem or ASCII terminal(DCE). RS-232 precedes each character with a start bit, follows each character with an idle period at least one bit long (stop bit), and send each bit in exactly the same length of time.


Download ppt "CSC 335 Data Communications and Networking Lecture 4b: Communication and Multiplexing Dr. Cheer-Sun Yang."

Similar presentations


Ads by Google