©F.M. Rietti Communication Lines Fundamentals. ©F.M. Rietti LM-18 Computer Science SSI Embedded Systems I 2 Communication Lines Generally used to connect.

Slides:



Advertisements
Similar presentations
RS232 and RS485 Fundamental.
Advertisements

Network Design :1 Fundamentals. 22 Topics Covered Serial and Parallel communication Serial and Parallel communication Demarcation Point Demarcation Point.
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.
Electronic Instrumentation and Measurements AC Power CHAPTER 15.
Chapter 3 - Transmission Media Basic Idea Transmission media Copper wires Glass fibers Radio Microwave Infrared Laser Choosing a medium Media in use at.
RS-232 Communications. Why Serial Communications? Serial communication is the most simplistic form of communication between two devices. It’s pretty intuitive.
Transmission of Digital Data: Interfaces and Modems NETE 0510 Dr.Apichan Kanjanavapastit.
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
EET Advanced Digital Chapter 21 Serial Ports.
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)
Serial Communications Standards (Partly Excerpted from Simpl Primer) Cabling Configuration Protocol.
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.
RS422, RS485, RS423, RS449 and V.35 Data Communications (E&T2760): RS422, RS485, RS423, RS449 and V.35.
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.
Computers in Surveying SVY2301 / E4006 Automated Surveying.
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),
RS 232 Standard Then Signal State Voltage Assignments - Voltages of -3v to -25v with respect to signal ground (pin 7) are considered logic '1' (the marking.
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.
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.
©F.M. Rietti Embedded Systems I Controllers Data Sheets.
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.
©F.M. Rietti Peripherals Connecting Fundamentals.
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:
ANALOG AND DIGITAL PHYSICAL INTERFACES
CSC 335 Data Communications and Networking Lecture 4b: Communication and Multiplexing Dr. Cheer-Sun Yang.
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.
 Introduction to Wide Area Networks 2 nd semester
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
RS-232 Communications.
Serial Communications
RS-232 Communications.
DATA COMMUNICATION Lecture-21.
Serial Communication: RS-232 (IEEE Standard)
Local Asynchronous Communication (RS-232)
Asynchronous Serial Communications
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
William Stallings Data and Computer Communications
Chapter 6: INTERFACES Visit for more Learning Resources.
Presentation transcript:

©F.M. Rietti Communication Lines Fundamentals

©F.M. Rietti LM-18 Computer Science SSI Embedded Systems I 2 Communication Lines Generally used to connect external devices –P2P (Point to Point) Point to Point cabling –EIA RS232 Multipoint cabling –Ethernet

©F.M. Rietti LM-18 Computer Science SSI Embedded Systems I 3 Communication Lines (cont) EIA RS232 –RS-232 was first introduced in 1962 by the Radio Sector of the EIA. [2][3] The original DTEs were electromechanical teletypewriters, and the original DCEs were (usually) modems. When electronic terminals (smart and dumb) began to be used, they were often designed to be interchangeable with teletypewriters, and so supported RS-232.EIA [2][3]teletypewriterselectronic terminals

©F.M. Rietti LM-18 Computer Science SSI Embedded Systems I 4 Communication Lines (cont) RS232 electrical –Independent channels are established for two- way (full-duplex) communications. The RS232 signals are represented by voltage levels with respect to a system common (power / logic ground). The "idle" state (MARK) has the signal level negative with respect to common, and the "active" state (SPACE) has the signal level positive with respect to common. RS232 has numerous handshaking lines (primarily used with modems), and also specifies a communications protocol. –The RS-232 interface presupposes a common ground between the DTE and DCE. This is a reasonable assumption when a short cable connects the DTE to the DCE, but with longer lines and connections between devices that may be on different electrical busses with different grounds, this may not be true.

©F.M. Rietti LM-18 Computer Science SSI Embedded Systems I 5 Communication Lines (cont) RS232 electrical (cont) –RS232 data is bi-polar TO +12 volts indicates an "ON or 0-state (SPACE) condition" while A -3 to -12 volts indicates an "OFF" 1-state (MARK) condition.... Modern computer equipment ignores the negative level and accepts a zero voltage level as the "OFF" state. In fact, the "ON" state may be achieved with lesser positive potential. This means circuits powered by 5 VDC are capable of driving RS232 circuits directly, however, the overall range that the RS232 signal may be transmitted/received may be dramatically reduced. –The output signal level usually swings between +12V and -12V. The "dead area" between +3v and -3v is designed to absorb line noise. In the various RS-232-like definitions this dead area may vary. For instance, the definition for V.10 has a dead area from +0.3v to -0.3v. Many receivers designed for RS-232 are sensitive to differentials of 1v or less.

©F.M. Rietti LM-18 Computer Science SSI Embedded Systems I 6 Communication Lines (cont) RS232 connections –Data is transmitted and received on pins 2 and 3 respectively. Data Set Ready (DSR) is an indication from the Data Set (i.e., the modem or DSU/CSU) that it is on. Similarly, DTR indicates to the Data Set that the DTE is on. Data Carrier Detect (DCD) indicates that a good carrier is being received from the remote modem. –Pins 4 RTS (Request To Send - from the transmitting computer) and 5 CTS (Clear To Send - from the Data set) are used to control. In most Asynchronous situations, RTS and CTS are constantly on throughout the communication session. The DTE transmits when it sees CTS up. –Full on RS232 on this LinkLink

©F.M. Rietti LM-18 Computer Science SSI Embedded Systems I 7 Communication Lines (cont) RS232 minimum connections –Possible communicating only with 3 wires Common GND DCE Tx DTE Rx DCE Rx DTE Tx –For small speeds in microcontrollers environment without serial RS232 chips, transmit & receive can be implemented with a loop controlling Digital Inputs & Outputs (remember electrical tension standards), but not recommended, best using a dedicated chip, for tension adjustment and insulating circuits.

©F.M. Rietti LM-18 Computer Science SSI Embedded Systems I 8 Coomunication Lines (cont) RS232 limits –Single msg exchanged is 7 or 8 bits, then a maximum set of 255 symbols –On a single cable, distance from DTE-DCE may be: RS232 cable length according to Texas Instruments Baud rate Maximum cable length (ft-m) : – – – –

©F.M. Rietti LM-18 Computer Science SSI Embedded Systems I 9 Communication Lines (cont) Point to Point (P2P) –One physical connection for device Multiplexed Devices (MUX) –One physical connection for devices