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.

Slides:



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

Telecommunication Technologies
William Stallings Data and Computer Communications 7th Edition
DATA COMMUNICATIONS Some organisations concerned with standards: EIA - Electroonic Industries Association (RS standards including RS-232) IEEE - Institute.
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.
Data and Computer Communications Updated: 2/9/2009.
1 CSC 535 Communication Networks I Appendix 3A Asynchronous Communications Dr. Cheer-Sun Yang.
ELEN 602 Lecture 4 Review of last lecture –Communication basics More on transmission media Errors in Transmission.
1 Pertemuan 12 Layer Physical Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
1 Outline Standards Organisations Interface Standards  The RS-232-C Standard  RS-449, RS-422-A, RS-423-A  USB and FireWire.
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)
COMP3221: Microprocessors and Embedded Systems
William Stallings Data and Computer Communications 7th Edition Chapter 6 Digital Data Communications Techniques.
Data Communications Chapter 6 The Data Communications Interface.
1 The 9-Pin Connector Pin abbreviations (numbers in parentheses are the 25D pin numbers): 1. CD (8) 2. RD (Rx) (3) 3. TD (Tx) (2) 4. DTR (20) 5. SG (Ground)
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
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.
Local Asynchronous Communications. Bit-wise data transmission Data transmission requires: Encoding bits as energy Transmitting energy through medium Decoding.
University of Tehran 1 Interface Design Serial Communications Omid Fatemi.
Technology Training that Works Hands of Data Communications, Networking & TCP/IP Troubleshooting.
Link-Level Flow and Error Control
Transmission Modes Serial Transmission  One bit is transmitted on a circuit at a time  Usually there is one transmit circuit and one receive circuit.
Computers in Surveying SVY2301 / E4006 Automated Surveying.
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),
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.
1 Lecture #2: Components of Network. Communication Subnetwork C o n t e n t s l Network Architecture: –Terminal Network –Computer Network l Data Transmission.
“Describe the overview of hardware interfacing and the serial communication interface. Describe the PIC18 connections to RS232. Explain the serial port.
Universal Asynchronous Receiver/Transmitter (UART)
Microprocessors 2 lesson Subjects lesson 7 Planning Interrupts Serial communication /USART Questions.
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.
ECS 152A 4. Communications Techniques. Asynchronous and Synchronous Transmission Timing problems require a mechanism to synchronize the transmitter and.
1 Basics of Data Communications Discrete-time Communication vs Continuous-time Communication Is human communication continuous-time or discrete-time ?
 8251A is a USART (Universal Synchronous Asynchronous Receiver Transmitter) for serial data communication.  Programmable peripheral designed for synchronous.
Universal Asynchronous Receiver/Transmitter (UART)
1 Asynchronous voice band modem for IP data protocols overview features.
Transmission Media II (06.523) Types and properties of physical transmission media II.
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
Review: The physical layer. Bandwidth/Capacity bit rate/baud rate How to determine the number of bits per symbol? Relation between the bandwidth and capacity:
CSC 335 Data Communications and Networking Lecture 4b: Communication and Multiplexing Dr. Cheer-Sun Yang.
©F.M. Rietti Communication Lines Fundamentals. ©F.M. Rietti LM-18 Computer Science SSI Embedded Systems I 2 Communication Lines Generally used to connect.
CSCI 465 D ata Communications and Networks Lecture 10 Martin van Bommel CSCI 465 Data Communications & Networks 1.
Lecture 3 EIA 449.
1 Business Telecommunications Data and Computer Communications Chapter 6 The Data Communications Interface.
Ch. 6 Digital Data Communication Techniques. 6.1Asynchronous & Synchronous Transmission Asynchronous Transmission: transmission in which each information.
COMPUTER NETWORKS Lecture-8 Husnain Sherazi. Review Lecture 7  Shared Communication Channel  Locality of Reference Principle  LAN Topologies – Star.
BASICS OF SERIAL COMMUNICATIONS BIRLA VISHWKARMA MAHAVIDYALAYA ELECTRONICS & TELECOMMUNICATION DEPARTMENT PRESENTING BY: ABHISHEK SINGH AMANDEEP.
NARNARAYAN SHASTRI INSTITUTE OF TECHNOLOGY Prepared by: Wasu Ichcha kaur H Bhalani Nidhi M Dhakate Megha D MICROCONTROLLER.
William Stallings Data and Computer Communications
Serial mode of data transfer
UART Serial Port Programming
RS-232 Communications.
RS-232 Communications.
Pemrosesan Data Tersebar
William Stallings Data and Computer Communications 7th Edition
UART Serial Port Programming
Serial Communication Interface: Using 8251
Serial Communication Interface
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
William Stallings Data and Computer Communications
Presentation transcript:

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 maximum distance between DCE and DTE

Other Interface Standards u EIA Uses EIA-422 (balanced) or EIA-423 (unbalanced) signalling standards u EIA Same as EIA 449 except with a 25 pin connector

Signalling Standards Circuit TypeMax. Separation (m)Max. Bit Rate EIA kbps 10kbps 1kbps EIA Mbps 1Mbps 100kbps

Main EIA 232D Signals u Receive data (RxD) - Pin 2 u Transmit data (TxD) - Pin 3 u Request to Send (RTS) - Pin 4 u Clear to Send (CTS) - Pin 5

Main EIA 232D Signals u Data Set Ready (DSR) - Pin 6 u Data Terminal Ready (DTR) - Pin 20 u Ring Indicator (RI) - Pin 22 u Carrier Detect (CD) - Pin 8

EIA 232D Protocol Modem DTR DSR RTS CTS DTR DSR TxD Data DCD RxD

Questions u For data transfer, when would we want to transfer bits one at a time, and when as a group? u Why do we have to worry about synchronization? u How can we begin to quantify performance issues?

Bit Synchronization u The receiver must know when a bit starts and when it stops u Normally, synchronization sequences are necessary

Character Synchronization u When does a character start?

Asynchronous Communications u Characters are transmitted when they are generated u The receiver must be configured so that the gross transmission characteristics are identical to the transmitter

Implementation of Async u Line is normally in a logical “High” state u Preceding a character is a “Start Bit” (Low for one bit time) u Subsequent bits may be low or high u Character may be ended by stop bit(s)

Implementation of Async Start Parity =? Stop

Discussion of Async u Very simple to implement u Inefficient u Alternative: synchronous transmission

Discussion of Async

Synchronous Transmission u Transmitter and receiver are synchronized at the bit and character level prior to transmission u Messages may still arrive asynchronously u Synchronous systems are normally more complex

Performance Analysis of Communications Links u Consider the effect of propagation delay and transmission rate Recall that a = Propagation time Transmission time

Definitions u Let U = (throughput)/(capacity) = T/R –Throughput is the number of bits actually transmitted per unit time –Capacity is the number of bits that could be transmitted per unit time u R = data rate of the channel u d = maximum distance between any two stations

Definitions u V = velocity of signal propagation u L = frame length (average or fixed) u T = throughput u Assuming no overhead, = frame length transmission time + propagation delay T = Number of bits Time from source to destination

Illustration (a < 1) t0t0 Start of Transmission t 0 +a Start of Reception t 0 +1 End of Transmission t 0 +1+a End of Reception

Illustration (a > 1) t0t0 Start of Transmission t 0 +a Start of Reception t 0 +1 End of Transmission t 0 +1+a End of Reception

Utilization of a Baseband Bus Utilization = Throughput/Capacity T = frame length Propagation delay + transmission time

U vs. a U a