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

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

Jan 17, 2018

Download

Documents

Pamela Crawford

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)
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: CSC 335 Data Communications and Networking Lecture 4b: Communication and Multiplexing Dr. Cheer-Sun Yang.

CSC 335 Data Communications

and Networking

Lecture 4b: Communication and Multiplexing

Dr. Cheer-Sun Yang

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

Standards for CommunicationA 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.

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

Standards for CommunicationThere 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)

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

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

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

Interfaces between DTE and DCE

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

Characteristics of Interface• Mechanical

– Connection plugs • Electrical

– Voltage, timing, encoding• Functional

– Data, control, timing, grounding• Procedural

– Sequence of events

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

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

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

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

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

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

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

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

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

Mechanical Specification

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

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

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

Dial Up Operation (1)

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

Dial Up Operation (2)

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

Dial Up Operation (3)

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

DTE and DCE Interfacing

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

Data Transmission Using RS-232

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

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.

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

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.

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

Null Modem

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

Summary of RS-232 Main FeaturesRS-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.