Serial Communication: RS-232 (IEEE Standard)

Slides:



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

11-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL I/O System Design.
DATA COMMUNICATIONS Some organisations concerned with standards: EIA - Electroonic Industries Association (RS standards including RS-232) IEEE - Institute.
1 Homework Reading –Tokheim, Section 13-6 Continue mp1 –Questions? Labs –Continue labs with your assigned section.
1 Fall 2005 Local Serial Asynchronous Communication Qutaibah Malluhi Computer Science and Engineering Qatar University.
Eng. Husam Alzaq The Islamic Uni. Of Gaza
Electronics and Networks: Dumb things with Wires Week 2: Serial Overview Jonah Brucker-Cohen Matthew Karau Monday 10am - 12pm Trinity College Dublin MSc.
COMP3221: Microprocessors and Embedded Systems
EET Advanced Digital Chapter 21 Serial Ports.
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.
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.
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.
Computers in Surveying SVY2301 / E4006 Automated Surveying.
The 8051 Microcontroller and Embedded Systems
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)
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
Line Coding, Modem, RS232 interfacing sequences.
CSE466 Autumn ‘00- 1 Music Format if amp = 0, note is a command switch(note) 0: turn off specified channel 1: continue for specified tne w/ no change else.
“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.
CHAPTER SERIAL PORT PROGRAMMING. Basics of Serial Communication Computers transfer data in two ways: ◦ Parallel  Often 8 or more lines (wire conductors)
Serial Communications
Advanced Embedded Systems Design Lecture 8 Serial I/O BAE Fall 2004 Instructor: Marvin Stone Biosystems and Agricultural Engineering Oklahoma.
 8251A is a USART (Universal Synchronous Asynchronous Receiver Transmitter) for serial data communication.  Programmable peripheral designed for synchronous.
Universal Asynchronous Receiver/Transmitter (UART)
CSE466 Autumn ‘00- 1 What’s Coming  Hardware  Basic Filters and Noise Management  Serial Communications  Design Meeting  Move the quiz up to Monday.
1 Transmission of Digital Data : Interface and Modems.
1 Asynchronous voice band modem for IP data protocols overview features.
Digital Interfaces An interface links two devices Interface Standards define: – mechanical specifications - how many wires & connector type –electrical.
©F.M. Rietti Communication Lines Fundamentals. ©F.M. Rietti LM-18 Computer Science SSI Embedded Systems I 2 Communication Lines Generally used to connect.
8051SERIAL PORT PROGRAMMING
CE-2810 Dr. Mark L. Hornick 1 Serial Communications Sending and receiving data between devices.
8251 USART.
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.
Lecture # 14. RS – 232C Standard Standard for physical dimensions of the connectors. PC (DTE) Modem RS – 232C Cable Connected via serial port (DCE)
EET 2259 Unit 14 Instrument Control
Chapter 6 Serial Communications
Serial mode of data transfer
UART Serial Port Programming
RS-232 Communications.
Homework Reading Continue mp1 Labs Tokheim, Section 13-6 Questions?
CS-401 Computer Architecture & Assembly Language Programming
Lecture # 13.
SERIAL PORT PROGRAMMING
Serial Communications
RS-232 Communications.
COMP2121: Microprocessors and Interfacing
May 2006 Saeid Nooshabadi ELEC2041 Microprocessors and Interfacing Lectures 29: I/O Interfacing Examples
DATA COMMUNICATION Lecture-21.
Local Asynchronous Communication (RS-232)
UART Serial Port Programming
EET 2259 Unit 14 Instrument Control
UART Serial Port Programming
Serial Communication Interface: Using 8251
8251A UNIVERSAL SYNCHRONOUS ASYNCHRONOUS RECEIVER TRANSMITTER
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
PIC Serial Port Interfacing
8051SERIAL PORT PROGRAMMING
PIC Serial Port Interfacing
Chapter 6: INTERFACES Visit for more Learning Resources.
Presentation transcript:

Serial Communication: RS-232 (IEEE Standard) Serial protocol for point-to-point low-cost, low speed applications Commonly used to connect PCs to I/O devices RS-232 wires TxD -- transmit data TxC -- transmit clock RTS – request to send CTS – clear to send RxD – receive data RxC – receive clock DSR – data set ready : DTR – data terminal ready SG -- Signal Ground CSE477 –Autumn 99 CSE466 Autumn ‘00- 1

Transfer modes Synchronous Clock signal wire is used by both receiver and sender to sample data (Psuedo) Asynchronous No clock signal in common Data must be over sampled to “synchronize” Needs only three wires (one data for each direction, and ground) Flow control Handshaking signals to control byte rate, not bit rate. Signals like RTS, CTS, DSR, DTR optional CSE477 –Autumn 99 CSE466 Autumn ‘00- 2

Start Bit, Stop bit , Data bits, Parity Bit (odd, even, none) Data Format Start Bit, Stop bit , Data bits, Parity Bit (odd, even, none) No common clock, so data is oversampled. Start and stop bits are used for synchronization. Logic 0 (space): between +3 and +25 Volts. Logic 1 (mark): between -3 and -25 Volts. Undefined between +3 and -3 volts. CSE466 –Spring 00 CSE466 Autumn ‘00- 3

voltage conversion 8051 PC Rx DS 275 Tx Rx Tx Rxin Rxout Txin Txout Level Converter: DS 275 Pin Description RXout - RS- 232 Receiver Output (-0.3V to Vcc) Vdrv - Transmit driver +V (hook to Vcc) TXin - RS-232 Driver Output (-0.3V to Vcc) GND - System ground TXout - RS-232 Driver Output (+/- 15 V) RXin - RS-232 Receive Input (+/- 15 V) Vcc - System Logic Supply (+5V) voltage conversion 8051 PC Rx Rxin Rxout DS 275 Tx Rx Tx Txin Txout CSE466 Autumn ‘00- 4

Inteneded use. Modem does Rx Tx swapping DTE NULL Modem Adapter DTE Null modem DTE This null-modem cable or adapter does the swapping and loop back for you Using only TD, RD, and SG No need for flow control (May miss characters if sent too fast) Both ends ready to send/receive at any time DTE Inteneded use. Modem does Rx Tx swapping DTE Modem = DCE modem CSE466 –Spring 00 CSE466 Autumn ‘00- 5