1 CSC 535 Communication Networks I Appendix 3A Asynchronous Communications Dr. Cheer-Sun Yang.

Slides:



Advertisements
Similar presentations
Serial Interface Dr. Esam Al_Qaralleh CE Department
Advertisements

Telecommunication Technologies
Data and Computer Communications Digital Data Communications Techniques.
Layer Physical – WAN Pertemuan 10 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
1 Fall 2005 Local Serial Asynchronous Communication Qutaibah Malluhi Computer Science and Engineering Qatar University.
1 Pertemuan 12 Layer Physical Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 6 – Digital Data Communications Techniques.
Data Communication and Networks Lecture 2a Data Transmission and Encoding Concepts September 11, 2003 Joseph Conron Computer Science Department New York.
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 6: Digital Data Communications Techniques.
CSCI 4550/8556 Computer Networks Comer, Chapter 5: Local Asynchronous Communication (RS-232)
William Stallings Data and Computer Communications 7th Edition Chapter 6 Digital Data Communications Techniques.
Data Communications Chapter 6 The Data Communications Interface.
Digital Data Communications Techniques Updated: 2/9/2009.
Data Communication and Networks Lecture 2a Data Transmission and Encoding Concepts September 15, 2005.
William Stallings Data and Computer Communications Chapter 6 The Data Communications Interface.
ECE 371- Unit 11 Introduction to Serial I/O. TWO MAJOR CLASSES OF SERIAL DATA INTERFACES ASYNCHRONOUS SERIAL I/O - USES “FRAMING BITS” (START BIT AND.
1 Chapter 6 The Data Communications Interface. 2 Data Flow: Simplex zTransmits in only one direction zrarely used in data communications ze.g., receiving.
12 - Winter 2006 ECE ECE 766 Computer Interfacing and Protocols 1 Interfaces Transmission of data from the source to a device or from a device to the destination.
1/26 Chapter 6 Digital Data Communication Techniques.
University of Tehran 1 Interface Design Serial Communications Omid Fatemi.
Technology Training that Works Hands of Data Communications, Networking & TCP/IP Troubleshooting.
Transmission Modes Serial Transmission  One bit is transmitted on a circuit at a time  Usually there is one transmit circuit and one receive circuit.
3.1 Basic concepts of data communications and networking
Serial Port I/O Serial port sends and receives data one bit at a time. Serial communication devices are divided into: Data Communications Equipment (DCE),
Chapter-4/5-1CS331- Fakhry Khellah Term 081 Chapter 4 (Only 4.2 – 4.3) Digital Transmission.
Universal Synchronous/Asynchronous Receiver/Transmitter (USART)
1 Microprocessor-based Systems Course 9 Design of the input/output interfaces (continue)
Line Coding, Modem, RS232 interfacing sequences.
Serial Communications
Advanced Embedded Systems Design Lecture 8 Serial I/O BAE Fall 2004 Instructor: Marvin Stone Biosystems and Agricultural Engineering Oklahoma.
Chapter 5: Local Asynchronous Communication 1. Bit-wise data transmission 2. Asynchronous communication 3. Sending bits with electric current 4. Standard.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Data Communication Interface Slide 1 Asynchronous and Synchronous.
ECS 152A 4. Communications Techniques. Asynchronous and Synchronous Transmission Timing problems require a mechanism to synchronize the transmitter and.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 6 – Digital Data Communications Techniques.
Data Communication and Networks Lecture 2 Data Transmission and Encoding Concepts September 12, 2002 Joseph Conron Computer Science Department New York.
 8251A is a USART (Universal Synchronous Asynchronous Receiver Transmitter) for serial data communication.  Programmable peripheral designed for synchronous.
CSC 335 Data Communications and Networking
Interfaces and Synchronization Martin Weiss. EIA 232D Interface Standard u Synonymous with ITU V.24 u Asynchronous interface u Up to 19.2kbps u 50 foot.
1 Transmission of Digital Data : Interface and Modems.
Lecture 2 Physical Layer Standards. DTE-DCE INTERFACE Two terms are important in computer networking: – Data terminal equipment(DTE) – Data circuit-terminating.
Digital Interfaces An interface links two devices Interface Standards define: – mechanical specifications - how many wires & connector type –electrical.
Ch. 6 Digital Data Communication Techniques
การส่งข้อมูลผ่าน PSTN
ANALOG AND DIGITAL PHYSICAL INTERFACES
CSC 335 Data Communications and Networking Lecture 4b: Communication and Multiplexing Dr. Cheer-Sun Yang.
1/30/ :20 PM1 Chapter 6 ─ Digital Data Communication Techniques CSE 3213 Fall 2011.
FIT1005 FIT – Monash University
1 Business Telecommunications Data and Computer Communications Chapter 6 The Data Communications Interface.
Data and Computer Communications Eighth & Ninth Edition by William Stallings Chapter 6 – Digital Data Communications Techniques.
Ch. 6 Digital Data Communication Techniques. 6.1Asynchronous & Synchronous Transmission Asynchronous Transmission: transmission in which each information.
BASICS OF SERIAL COMMUNICATIONS BIRLA VISHWKARMA MAHAVIDYALAYA ELECTRONICS & TELECOMMUNICATION DEPARTMENT PRESENTING BY: ABHISHEK SINGH AMANDEEP.
William Stallings Data and Computer Communications Chapter 6 The Data Communications Interface.
Layer Physical – WAN Pertemuan 03 Matakuliah: H0524/Jaringan Komputer Tahun: 2009.
Data and Computer Communications Digital Data Communications Techniques + Error Control+ Digital Data Communications Techniques + Error Control+Multiplexing.
Chapter 6 Transmission of Digital Data Interfaces and Modems Digital Data Transmission DTE-DCE Interface Other Interface Standards Modems WCB/McGraw-Hill.
William Stallings Data and Computer Communications
Serial mode of data transfer
RS-232 Communications.
RS-232 Communications.
DATA COMMUNICATION Lecture-21.
Pemrosesan Data Tersebar
William Stallings Data and Computer Communications 7th Edition
DIGITAL DATA COMMUNICATION TECHNIQUES
Digital Data Communications Techniques
DIGITAL DATA COMMUNICATION TECHNIQUES
CHAPTER SERIAL PORT PROGRAMMING. Basics of Serial Communication Computers transfer data in two ways: ◦ Parallel  Often 8 or more lines (wire.
Chapter 6 Transmission of Digital Data Interfaces and Modems
ANALOG AND DIGITAL PHYSICAL INTERFACES
Chapter 6. Data Communications Interface
William Stallings Data and Computer Communications
Presentation transcript:

1 CSC 535 Communication Networks I Appendix 3A Asynchronous Communications Dr. Cheer-Sun Yang

2 RS-232 (Recommended Standard 232) zRS-232 is an Electronic Industries Association (EIA) standard zData Terminal Equipment (DTE): computers, terminals zData Communications Equipment (DCE): modem

3 Asynchronous and Synchronous Transmission zTiming problems require a mechanism to synchronize the transmitter and receiver zTwo solutions yAsynchronous ySynchronous

4 Asynchronous zIn RS-232, each data bit is transmitted asynchronously on the serial line in the sense that the receiver clock is not synchronized with a receiver’s clock. zFor the receiver to sample the data bits correctly, the transmitter precedes the transmission of data with a start bit. zData transmitted one character at a time y5 to 8 bits zResync with each character

5 Asynchronous (diagram)

Copyright 2000 McGraw-Hill Leon-Garcia and Widjaja Communication Networks6 Figure 3.68

7 Asynchronous - Behavior zIn a steady stream, interval between characters is uniform (length of stop element) zIn idle state, receiver looks for transition 1 to 0 zThen samples next seven intervals (char length) zThen looks for next 1 to 0 for next char zSimple zCheap zOverhead of 2 or 3 bits per char (~20%) zGood for data with large gaps (keyboard)

8 Asynchronous - Behavior zThe receiver clock frequency should be approximately the same as the transmitter clock frequency in order to sample the data bits correctly. zWe’d like to know how different their clocks can be so that the receiver can still correctly receive the signals sent out by the transmitter.

9 Asynchronous - Behavior zIf the receiver’s clock is slower than the transmitter’s clock and the last sample must occur before the end of the stop bit, we must have 9.5T < 10X. zIf the receiver’s clock is faster than the transmitter’s clock and the last sample must occur after the beginning of the stop bit, we must have 9.5T > 9X. z|(T-X)/X| < 5.3% zThe receiver clock frequency must be within 5.3 percent of the transmitter clock frequency.

10 Synchronous - Bit Level zBlock of data transmitted without start or stop bits zClocks must be synchronized zCan use separate clock line yGood over short distances ySubject to impairments zEmbed clock signal in data yManchester encoding yCarrier frequency (analog)

11 Synchronous - Block Level zNeed to indicate start and end of block zUse preamble and postamble ye.g. series of SYN (hex 16) characters ye.g. block of patterns ending in zMore efficient (lower overhead) than async

12 Synchronous (diagram)

13 Line Configuration zTopology yPhysical arrangement of stations on medium yPoint to point yMulti point xComputer and terminals, local area network zHalf duplex yOnly one station may transmit at a time yRequires one data path zFull duplex ySimultaneous transmission and reception between two stations yRequires two data paths (or echo canceling)

14 Traditional Configurations

15 Interfacing zData processing devices (or data terminal equipment, DTE) do not (usually) include data transmission facilities zNeed an interface called data circuit terminating equipment (DCE) ye.g. modem, NIC zDCE transmits bits on medium zDCE communicates data and control info with DTE yDone over interchange circuits yClear interface standards required

16 Characteristics of Interface zMechanical yConnection plugs zElectrical yVoltage, timing, encoding zFunctional yData, control, timing, grounding zProcedural ySequence of events

17 V.24/EIA-232-F zITU-T v.24 zOnly specifies functional and procedural yReferences other standards for electrical and mechanical zEIA-232-F (USA) yRS-232 yMechanical ISO 2110 yElectrical v.28 yFunctional v.24 yProcedural v.24

Copyright 2000 McGraw-Hill Leon-Garcia and Widjaja Communication Networks18 DTEDCE Protective Ground (PGND) Transmit Data (TXD) Receive Data (RXD) Request to Send (RTS) Clear to Send (CTS) Data Set Ready (DSR) Ground (G) Carrier Detect (CD) Data Terminal Ready (DTR) Ring Indicator (RI) (b) (a)                          Figure 3.67

19 Mechanical Specification

20 Procedural Specification zE.g. Asynchronous private line modem zWhen turned on and ready, modem (DCE) asserts DCE ready zWhen DTE ready to send data, it asserts Request to Send yAlso inhibits receive mode in half duplex zModem responds when ready by asserting Clear to send zDTE sends data zWhen data arrives, local modem asserts Receive Line Signal Detector and delivers data

21 Dial Up Operation (1)

22 Dial Up Operation (2)

23 Dial Up Operation (3)

24 Null Modem

25 Reading Material zAppendix 3A