Communication lines. OSI model Open Systems Interconnection (OSI) model (ISO/IEC 7498-1) Source: homepages.uel.ac.ukhomepages.uel.ac.uk Physical layer.

Slides:



Advertisements
Similar presentations
RS232 and RS485 Fundamental.
Advertisements

Ethernet “dominant” LAN technology: cheap $20 for 100Mbs!
DATA COMMUNICATIONS Some organisations concerned with standards: EIA - Electroonic Industries Association (RS standards including RS-232) IEEE - Institute.
1 Fall 2005 Local Serial Asynchronous Communication Qutaibah Malluhi Computer Science and Engineering Qatar University.
DCN286 INTRODUCTION TO DATA COMMUNICATION TECHNOLOGY Ethernet Fundamentals.
Local Asynchronous Communication and RS-232. Goals Explain how electric current can be used to transmit bits over short distances Present a popular mechanism.
Computer Network Architecture and Programming
CSCI 4550/8556 Computer Networks Comer, Chapter 5: Local Asynchronous Communication (RS-232)
COMP3221: Microprocessors and Embedded Systems
7-1 Digital Serial Input/Output Two basic approaches  Synchronous shared common clock signal all devices synchronised with the shared clock signal data.
OSI Reference Model An overview. Standards and the internet International Organization for Standardization ISO 70’s.
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE Senior Design I Lecture 10 - Data Communications.
TDC 461 Basic Communications Systems 8 May, 2001.
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.
Computer communication. Introduction Mechanisms applied in communicating between a computer and another computer or with other devices. Mainly serial.
RS422, RS485, RS423, RS449 and V.35 Data Communications (E&T2760): RS422, RS485, RS423, RS449 and V.35.
SERIAL BUS COMMUNICATION PROTOCOLS
University of Tehran 1 Interface Design Serial Communications Omid Fatemi.
Technology Training that Works Hands of Data Communications, Networking & TCP/IP Troubleshooting.
USART Communication using the RS standard ETEC6416.
Transmission Modes Serial Transmission  One bit is transmitted on a circuit at a time  Usually there is one transmit circuit and one receive circuit.
Arctic RS-485 / RS-422. RS- 485 Also known as RS-485 Half Duplex, RS wire same pair is used to transmit and receive data only one device can transmit.
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),
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
LAN Technologies MAC protocols used in LANs, to control access to the channel Token Rings: IEEE (IBM token ring), for computer room, or department.
Universal Synchronous/Asynchronous Receiver/Transmitter (USART)
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
1 Microprocessor-based Systems Course 9 Design of the input/output interfaces (continue)
Line Coding, Modem, RS232 interfacing sequences.
1 Layer 2: Concepts Honolulu Community College Cisco Academy Training Center Semester 1 Version
“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)
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.
 8251A is a USART (Universal Synchronous Asynchronous Receiver Transmitter) for serial data communication.  Programmable peripheral designed for synchronous.
1 Chap. 3 Interface. 2 Interface  Physical connection between node and transceiver  Network interface card (NIC)  Physical connection between transceivers.
Universal Asynchronous Receiver/Transmitter (UART)
Computer communication. Introduction Mechanisms applied in communicating between a computer and another computer or with other devices. Mainly serial.
1 6 Further System Fundamentals (HL) 6.4 Further Network Fundamentals.
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.
Digital Interfaces An interface links two devices Interface Standards define: – mechanical specifications - how many wires & connector type –electrical.
Unit 3 Physical Layer.
©F.M. Rietti Communication Lines Fundamentals. ©F.M. Rietti LM-18 Computer Science SSI Embedded Systems I 2 Communication Lines Generally used to connect.
Physical Layer Issues and Methods Outline Physical Layer Ethernet Technology Physical Layer Encoding Final Exam Review - ??
1 Business Telecommunications Data and Computer Communications Chapter 6 The Data Communications Interface.
CE-2810 Dr. Mark L. Hornick 1 Serial Communications Sending and receiving data between devices.
BASICS OF SERIAL COMMUNICATIONS BIRLA VISHWKARMA MAHAVIDYALAYA ELECTRONICS & TELECOMMUNICATION DEPARTMENT PRESENTING BY: ABHISHEK SINGH AMANDEEP.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
William Stallings Data and Computer Communications
Serial mode of data transfer
UART Serial Port Programming
RS-232 Communications.
RS-232 Communications.
Serial Communication: RS-232 (IEEE Standard)
Local Asynchronous Communication (RS-232)
William Stallings Data and Computer Communications 7th Edition
UART Serial Port Programming
UART Serial Port Programming
Serial Communication Interface
Introduction to Fieldbus
Building A Network: Cost Effective Resource Sharing
CHAPTER SERIAL PORT PROGRAMMING. Basics of Serial Communication Computers transfer data in two ways: ◦ Parallel  Often 8 or more lines (wire.
PIC Serial Port Interfacing
LAN Addresses and ARP IP address: drives the packet to destination network LAN (or MAC or Physical) address: drives the packet to the destination node’s.
PIC Serial Port Interfacing
William Stallings Data and Computer Communications
Presentation transcript:

Communication lines

OSI model Open Systems Interconnection (OSI) model (ISO/IEC ) Source: homepages.uel.ac.ukhomepages.uel.ac.uk Physical layer – specifies electrical and physical properties (cable) Pins, voltages, impedance, modulation, timing, topology

OSI model Open Systems Interconnection (OSI) model (ISO/IEC ) Source: homepages.uel.ac.ukhomepages.uel.ac.uk Physical layer – Transmits raw bit stream over physical cable IEEE 802, RS232, RS422, RS485, I 2 C, SPI,…

OSI model Open Systems Interconnection (OSI) model (ISO/IEC ) Source: homepages.uel.ac.ukhomepages.uel.ac.uk Data link layer – specifies network data frame (packet), checksum, source and destination address, and data E.g. Ethernet MAC, RS232

OSI model Open Systems Interconnection (OSI) model (ISO/IEC ) Source: homepages.uel.ac.ukhomepages.uel.ac.uk Network layer – routing, directing datagrams from one network to another E.g. IP addresses

RS232 (EIA232) Dates from 1969 (RS-232-C) Last standard is TIA/EIA-232-F from 1997 Defines physical and data link layer Single transmitter and receiver TXRX Log. 0 : +5 to +15 V Log. 1 : -15 to -5 V Log. 0 : > +3 V Log. 1 : < -3 V Noise immunity: min. 2 V

RS232 (EIA232) Length RS-232-C = 15 m RS-232-F defines max. load capacity 2500 pF TXRX C RX ~20 pF CMCM signal shield CSCS CSCS

RS232 - Cable capacity C S ~ 0,5 C M unshielded cable C S ~ 2 C M shielded cable C RX ~20 pF CMCM signal shield CSCS CSCS Max. length: L max = 2500 / C total C total = C M + C S e.g. Belden 1700A TP: 78,7 Ω/km, 45,9 pF/m

RS232 - Communication protocol idle Log. 0 : +5 to +15 V Log. 1 : -15 to -5 V start b0 b1 b2 b3 b4 b5 b6 b7 stop idle 1 (parity) Odd Even data: b (213dec) LSB MSB 1,1.5,2

RS232 - Asynchronous communication idle Fixed comm. speed: tx + rx same (tolerance ~3%) start b0 b1 b2 b3 b4 b5 b6 b7 stop idle 1 (parity) TXRX

RS232 - Communication speed RS-232-F limits to 30 V/µs, max 4% of bit time => max. theoretical speed 200 kbit/s 0 11 ΔtΔt ΔVΔV

RS232 - Communication speed RS-232-F standard defines speeds: 50,75,110,150,300,600,1200,2400,4800,9600,19200 bit/s Common speeds above standard definition: 28800, 38400, 57600, bit/s Higher speed = lower distance Baud rate [Bd]Max length [ft]Max length [m] source:

RS232 - Signals Dev. 1Dev. 2 TxD RxD GND RxD TxD RTS Request to send CTS Clear to send CTS RTS DTR Data terminal ready DCD Data Carrier Detect DSR Data Set Ready DTR DSR DCD

RS232 - Connectors source: 9 pin

RS232 - Connectors source: fjkraan.home.xs4all.nlfjkraan.home.xs4all.nl 25 pin source:

RS232 - Summary 1 transmitter, 1 receiver Common ground Typically 8 bit, no parity, 1 stop bit (8N1)

RS-422 (EIA-422) ANSI/TIA/EIA-422-B or ITU-T Recommendation T-REC-V.11 Uses differential signaling + GND 1 transmitter + 10 receivers 10 Mbit/s (12 m), 100 kbit/s (1200 m) Max m Standard does not define protocol and pins

Differential signaling source: source:

RS-422 source: meteosat.pessac.free.frmeteosat.pessac.free.fr source: Log. 0: V A – V B ≥ +0.2 V Log. 1: V A – V B ≤ -0.2 V

RS-485 ANSI/TIA/EIA-485 (1998) Uses differential signaling 32 transmitter + 32 receivers 10 Mbit/s (12 m), 100 kbit/s (1200 m) Max m Standard does not define protocol and pins

RS-485 signaling Source: source: Log. 0: V A – V B ≥ +0.2 V Log. 1: V A – V B ≤ -0.2 V

RS-485 devices Source: Internally each node can have a transmitter and receiver, they are switched into high-impedance mode when not used

source: Half duplex

source: full duplex

Grounding source: hw.czhw.cz

Maximal speed source: hw.czhw.cz

RS-422 vs. RS-485 source: hw.czhw.cz

USB Universal serial bus (1995) Differential signaling (DATA +, DATA -) + power source: source: en.wikipedia.orgen.wikipedia.org

USB specifications Max. 127 devices Superspeed – 5 Gbit/s (USB ) High Speed - 480Mbits/s (USB ) Full Speed - 12Mbits/s Low Speed - 1.5Mbits/s

USB signaling Uses NRZI (Non Return to Zero Invert) signaling host device Differential „1“: D+ greater than D- Differential „0“: D+ less than D- D+ D- Differential „1“: D+ > 2.8 V, D- < 0.3V Differential „0“: D- > 2.8 V, D+ < 0.3V

USB signaling source:

Speed identification Full speed device source:

Speed identification Full speed device source:

Non Return to Zero Invert signaling "One" is represented by a transition of the physical level. "Zero" has no transition. source: en.wikipedia.orgen.wikipedia.org source:

Ethernet – physical layer Standard IEEE Max. length 100m 3 Mbit/s to 100 Gbit/s Differential signaling Signals TX+, TX-, RX+, RX- source: techpubs.sgi.comtechpubs.sgi.com

Ethernet – physical layer Logic levels (10BaseT - output) Log. 1 > +0.7 V Log. 0 < -0.7 V source: hw-server.comhw-server.com source: sigalrm.blogspot.comsigalrm.blogspot.com source:

Ethernet – Manchester encoding source: en.wikipedia.orgen.wikipedia.org Encoding helps clock recovery

Ethernet – physical layer Ethernet data, showing MLT-3 encoding of bits. (used in e.g. 100BASE-TX) source: flickr.comflickr.com

Ethernet – Data Link Layer - frame synchronization source: communities.netapp.comcommunities.netapp.com

Ethernet – Data Link Layer - frame addresses source: communities.netapp.comcommunities.netapp.com

Ethernet – Data Link Layer - frame identifies what higher-level network protocol is being carried in the frame (example: TCP/IP) source: communities.netapp.comcommunities.netapp.com

Ethernet – Data Link Layer - frame data source: communities.netapp.comcommunities.netapp.com

Ethernet – Data Link Layer - frame Control checksum Cyclic redundancy check source: communities.netapp.comcommunities.netapp.com