Synchronous /Asynchronous Transmission

Slides:



Advertisements
Similar presentations
Networking at Home the Office and Globe
Advertisements

X.25 PROTOCOL Presented by : EFA, Daniel Jr. G. VERGARA, Jonvon.
Networking at Home and Abroad
HIGH-LEVEL DATA LINK CONTROL (HDLC) HDLC was defined by ISO for use on both point-to-point and multipoint data links. It supports full-duplex communication.
Chapter 8 Data Transmission and Modems. Agenda Circuit Mode of transmission Digital transmission Analog transmission for digital signals - modems –Methods.
Csc333 Data communication & Networking Credit: 2.
13 - Winter 2005 ECE ECE 766 Computer Interfacing and Protocols 1 Modems Goal: Carry data over telephone lines Modulator / Demodulator Baud rate / Bit.
CHAPTER Mainframe/Mini Related Communication Equipment
Transmission Characteristics 1. Introduction (Information Interchange codes) 2. Asynchronous and Synchronous Transmissions 3. Error detection (bit errors)
Data Communications Chapter 6 The Data Communications Interface.
Chapter 3 Basic Data Communication Technology Business Impact of Modem Technology Modems Data Compression Communication Errors.
Chapter 10 Data Link Control Protocols. Agenda Definition Functions Attributes Concepts Types Conversion.
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.
Local Asynchronous Communication
Chapter 8 Data Communication. 2 Objectives Explain various ways to connect Data Terminal Equipment (DTE) to Data Communication Equipment (DCE). Describe.
Gursharan Singh Tatla DATA LINK PROTOCOLS 24-Mar
Chapter 10 Supporting Modems. You Will Learn… How modems work and how to install them About communications software that modems use to communicate with.
Data Communication and Networking
Computers in Surveying SVY2301 / E4006 Automated Surveying.
Networking Technologies
MODULE I NETWORKING CONCEPTS.
Page 1 - © Richard L. Goldman Mainframe Networking ©Richard L. Goldman January 7, 2002.
Chapter 7 Networking: Computer Connections. Networks n Network - a computer system that uses communications equipment to connect two or more computers.
Chapter-4/5-1CS331- Fakhry Khellah Term 081 Chapter 4 (Only 4.2 – 4.3) Digital Transmission.
Modems Chapter 17. Basic Knowledge  Modems are little devices to use the telephone to talk to other computers.  Modem is an abbreviation for Modulator/
The OSI Model.
Day 7 Connections. Standards Unless we had connection standards nothing would be interchangeable. –There would be different printers for Macs and Windows.
Data and Computer Communications Circuit Switching and Packet Switching.
ECS 152A 4. Communications Techniques. Asynchronous and Synchronous Transmission Timing problems require a mechanism to synchronize the transmitter and.
1 Message Delineation Identify the start and end of messages by: Identify the start and end of messages by:
1 School Spain Unidad 2: Comandos Hayes. School Spain 2 Comando Hayes: Descripción A Go off-hook and attempt to answer a call. B0 Select V.22 connection.
Chapter 11 Data Link Protocols A data link protocol is a set of specifications used to implement the data link layer [A protocol is the set of rules or.
3.2 Software Fundamentals. A protocol is a formal description of digital message formats and the rules for exchanging those messages in or between computing.
Department of Industrial Engineering Sharif University of Technology Session# 10.
NETWORKING FUNDAMENTALS. Network+ Guide to Networks, 4e2.
ANALOG AND DIGITAL PHYSICAL INTERFACES
CSC 335 Data Communications and Networking Lecture 4b: Communication and Multiplexing Dr. Cheer-Sun Yang.
Physical Interconnection Requirements Habib Youssef, Ph.D Department of Computer Engineering King Fahd University of Petroleum.
1 Chapter Overview Modems The Internet and Web Browsers.
Synchronous / Asynchronous Transmission Habib Youssef, Ph.D Department of Computer Engineering King Fahd University of Petroleum.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 1 WANs and Routers.
Chapter 4 Making Connections. Modem Modulates digital data onto analog signal and then demodulate analog signal back to digital data Features:  Standard.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 17 Supporting Modems.
24/11/1013-Datalink1 The Data Link Layer Role Services Functions –Framing –Encapsulation –Addressing –Connection Control –Ordered Delivery –Flow Control.
William Stallings Data and Computer Communications
Serial mode of data transfer
CS408/533 Computer Networks Text: William Stallings Data and Computer Communications, 6th edition Chapter 1 - Introduction.
Data Transmission Keep errors to an acceptable low probability
SERIAL PORT PROGRAMMING
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
Net 323 D: Networks Protocols
DIGITAL DATA COMMUNICATION TECHNIQUES
Chapter 3: Open Systems Interconnection (OSI) Model
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
Chapter 5 Peer-to-Peer Protocols and Data Link Layer
DATA COMMUNICATION Lecture-39.
Net 323 D: Networks Protocols
Chapter Nine: Data Transmission
Data Communication.
Networking at Home and Abroad
CHAPTER SERIAL PORT PROGRAMMING. Basics of Serial Communication Computers transfer data in two ways: ◦ Parallel  Often 8 or more lines (wire.
Chapter 10 - X.25 and Network Management
Chapter 5 Peer-to-Peer Protocols and Data Link Layer
Lecture 4 Peer-to-Peer Protocols and Data Link Layer
ANALOG AND DIGITAL PHYSICAL INTERFACES
Introduction to Computers
Chapter 13: I/O Systems.
Broadband Transmission
William Stallings Data and Computer Communications
Introduction Communication Modes Transmission Modes
Presentation transcript:

Synchronous /Asynchronous Transmission Habib Youssef, Ph.D youssef@ccse.kfupm.edu.sa Department of Computer Engineering King Fahd University of Petroleum and Minerals Dhahran, Saudi Arabia COMPUTER NETWORK

Asynchronous Timing Asynchronous means no predefined timing between characters The sending and receiving ends provide their own clocking The timing of asynchronous characters is Start bit Start bit Character Next Character T

Asynchronous Timing (Cont.) The receiver does not know when the next unit of data is coming The term async frequently is used this way Async X.25 PAD

Clocking at the Sending End The sending device determines when to transmit the “start bit” The start bit indicates the beginning of a character The bits of the character follow with a well-defined timing (LSB first) A party (error-check) bit is generated and sent There is at least one stop bit There is an arbitrary time before the next character is sent

Clocking at the Sending End (Cont.) Start bit Stop bit Serial I/O hardware P Character Memory Hardware generated Each character is framed with these control bits I/O = input/output

Synchronous Transmission Has a known timing relationship between bits and characters Characters are sent one after the other The receiver recovers this timing from transitions in the arriving data 1 Start End Characters

Modulation We will explore methods used to transmit digital data across analog channels. A primary example of analog channels is the telephone company’s voice-grade circuit. There is one primary reason to use modems To be compatible with the voice-grade channel

Modulation (Cont.) The process of converting digital data into analog form is called modulation. Analog Digital Generally, we get about 2 to3 bit/s per Hz of bandwidth of the analog channel (more or less based on complexity)

Data Communications Interfacing Bit-serial transmission line (or bit-serial interface to network Transmission line interface device Digital data transmitter/ receiver Transmission line interface device Digital data transmitter/ receiver Data terminal equipment (DTE) Data circuit-terminating equipment (DCE) Generic interface to transmission medium

Data Communications Interfacing (Cont.) EIA 232/ V.24 interface Network Modem Modem

External Modem Connections

CCITT Modems

Typical Modern Modem Capabilities Many modern modems can operate in a number of modes, which are negotiated when the connection is established. V.32 operation at 9600 bit/s Or V.32 bis at 14400 bit/s Or V.42 bis at 2400 bit/s

Typical Modern Modem Capabilities (Cont.) Modems can automatically dial the telephone number V.25 bis sync/async autodial Or the non-CCITT Hayes AT command set (discussed later) Modems can perform operations previously done by software V.42 error correction (discussed later) V.42 bis error compression (discussed later)

Typical Modern Modem Capabilities (Cont.) Modems can “fall back” to a lesser data rate if needed for communications, and some can later “fall forward” when possible Leased-line modems can automatically dial a backup line as needed.

The Hayes AT Command Set The Hayes AT command set is an industry standard Controls modem operation Initiates dial sequence Hangs up Runs diagnostics Selects data compression feature Etc. For more than 50 such modem commands

The Hayes AT Command Set (Cont.) The AT commands start with an escape sequence and AT(tention) An example AT command is to dial a number +++ATDT18007654321 <cr> When “D” is for “dial”, “T” is for “tone”, and “18007654321” is the telephone number

CCITT V.42 and V.42 bis Modern Capabilities The CCITT V.42 recommendation provides a reliable data transfer capability (error correction) There are actually two forms (CCITT couldn’t agree on only one) The preferred approach s Link-Access Procedure for Modems (LAPM) MNP 4 is also included (see next slide)

CCITT V.42 and V.42 bis Modern Capabilities (Cont.) The CCITT recommendation V.42 bis builds on V.42 V.42 bis is a data compression standard Uses an automatic adaptation algorithm that handles different degrees of randomness in the data V.42 bis achieves a data compression factor of up to 4X

Microcom Network Protocol (MNP) The Microcom Network Protocol (MNP) is a set of communications protocols for enhancing modem communications Some are industry standards Others are proprietary to Microcom Three protocols are identified by terms such as MNP 4, MNP class 4, or MNP level 4

Microcom Network Protocol (MNP) (Cont.) MNP 4 is a reliable public-domain delivery protocol MNP 4 is built into hundreds of thousands of modems MNP 4 is part of the CCITT V.42 recommendation

XMODEM File Transfer Protocol (1978) XMODEM was the first file transfer protocol for use with PCs XMODEM actually predates PCs and DOS XMODEM is available from many bulletin boards Transfers are limited in many ways Transfers data in small (128-byte) blocks (8-bit code) Operates as a simple “stop and wait” ACK/NAK protocol Inefficient use of links in excess of 1200 bit/s

XMODEM File Transfer Protocol (Cont.) There are many variations : YMODEM, ZMODEM, etc. Larger block sizes Better error detection DOS = disk operating system ACK = acknowledgement NAK = negative acknowledgement

XMODEM File Transfer Protocol (Cont.) The operating mode is negotiated at connection establishment

Kermit (1981) Kermit is available on many bulletin boards Kermit was developed at Columbia University Well documented Intended for use between different computers Mainframes, minis, PCs

Kermit (Cont.) All transmitted bytes are printable ASCII (except ASCII “SOH” start) 7-bit code Avoids problems with control characters, for example, which might affect PAD operation.

Remote-Control Software The idea is that the remote PC takes over control of the office PC Remote keyboard and screen “mirrors” the other PC operations For access to your office PC from a remote PC; e.g. a laptop Or, to assist a remote user without having to go to that location

Remote-Control Software (Cont.) Remote-control software is required in both PCs A typical configuration is shown in our example internetwork Roving laptop PSTN Remotely controlled

Terminal Emulation A terminal-emulation program allows your PC to appear to be a terminal hat a remote host knows how talk to It may appear to be a scroll-mode terminal (e.g., VT100) It may appear to be a page-mode terminal (e.g., an IBM 3270)

Terminal Emulation (Cont.) Terminal emulation is a common approach To log in at a host or server To log in at any other device to access services For network management To read and write network management objects (variables)

Fax Modem Facts Some modems provide facsimile (fax) as well as data capabilities Two commonly used recommendations for fax transmission V.29at 9600bit/s V.17 at 14400 bit/s

Fax Modem Facts (Cont.) Flow is unidirectional Support software is required Class 1: Minimal processing on the fax board Class 2: More on-board processing, less required by the PC