EECE494: Computer Bus and SoC Interfacing. Serial Communication: RS-232. Dr. Charles Kim Electrical and Computer Engineering Howard University

Similar documents
What is a Lane? serial link lane parallel link

Concept of Serial Communication

King Fahd University of Petroleum & Minerals Computer Engineering Dept

Unit D. Serial Interfaces. Serial vs. Parallel. Serial Interfaces. Serial Communications

TCSS 372 Laboratory Project 2 RS 232 Serial I/O Interface

CS601 Data Communication Solved Objective For Midterm Exam Preparation

Serial Input/Output. Lecturer: Sri Parameswaran Notes by: Annie Guo

CS601-Data Communication Latest Solved Mcqs from Midterm Papers

Module 3: Physical Layer

Electronics / Water analogy. Resistor. Inductance. Capacitor. Water Electronics Energy - Energy Pressure - Voltage Flow - Current Volume - Charge

NETWORK. TE = Terminal Equipment (DTE - Data Terminal Equipment) NT = Network - Terminating Equipment (DCE - Data Circuit - Terminating Equipment)

ROM/UDF CPU I/O I/O I/O RAM

Figure 1: One Possible Advanced Control System

Lecture-8 Transmission of Signals

Serial Communications RS232, RS485, RS422

Ș.l. dr. ing. Lucian-Florentin Bărbulescu

APPLICATION BULLETIN. SERIAL BACKGROUNDER (Serial 101) AB23-1. ICS ICS ELECTRONICS division of Systems West Inc. INTRODUCTION CHAPTER 2 - DATA FORMAT

COMPUTER COMMUNICATION AND NETWORKS ENCODING TECHNIQUES

Lecture #3 RS232 & 485 protocols

9.4. Synchronization:

C06a: Digital Modulation

ITL Basics of Encoding and Wiring

Digital signal is denoted by discreet signal, which represents digital data.there are three types of line coding schemes available:

Week 2 Lecture 1. Introduction to Communication Networks. Review: Analog and digital communications

MSP430 Teaching Materials

Chapter 1 Line Code Encoder

Data Communication (CS601)

Digital to Digital Encoding

APPLICATION NOTE ANI6. Connecting the SP504 Multiprotocol Transceiver to the 85C30 Universal Enhanced Serial Communications Controller (ESCC)

Datacommunication I. Layers of the OSI-model. Lecture 3. signal encoding, error detection/correction

The HC-5560 Digital Line Transcoder

6. has units of bits/second. a. Throughput b. Propagation speed c. Propagation time d. (b)or(c)

DASL 120 Introduction to Microcontrollers

Line Coding for Digital Communication

Chapter 2 Line Code Decoder

Hello and welcome to today s lecture. In the last couple of lectures we have discussed about various transmission media.

Chapter 4 Digital Transmission 4.1

Local Asynchronous Communication. By S.Senthilmurugan Asst.Professor/ICE SRM University. Chennai.

Wireless Infrared Data Communications Using the IRM3XXX Family of IrDA Compatible Infrared Transceivers. Appnote 68

RECOMMENDATION ITU-R BT *

Digital Electronics 8. Multiplexer & Demultiplexer

Chapter 2: Fundamentals of Data and Signals

PART 4 DIGITAL METHODS. Chapter 13 Digital Fundamentals. Parallel Data Transfer. Fig Parallel data handshaking

Design of Adaptive RFID Reader based on DDS and RC522 Li Yang, Dong Zhi-Hong, Cong Dong-Sheng

Chapter 12: Digital Modulation and Modems

CHAPTER 10: DIGITAL INSTRUMENTATION PRINCIPLES

NMEA Protocol Converter 2 Plus 3 Users Guide

Chapter 5: Modulation Techniques. Abdullah Al-Meshal

FAILSAFE Biasing of Differential Buses

ECE 4510/5530 Microcontroller Applications Week 6 Lab 5

RECOMMENDATION ITU-R BT.1302 *

2. By convention, the minimum and maximum values of analog data and signals are presented as voltages.

SFP- GE- RJ45- AO. 1.25Gbps SFP Copper Transceiver

Lecture 3 Concepts for the Data Communications and Computer Interconnection

Data transmission - Transmission modes

Kongsberg Mesotech Ltd.

Serial Data Transmission

Cable Testing TELECOMMUNICATIONS AND NETWORKING

Source Coding and Pre-emphasis for Double-Edged Pulse width Modulation Serial Communication

This Special Provision covers the requirements for the installation and testing of fibre optic modems (FOM).

Digital Transmission

Serial Servo Controller

IST TSic Temperature Sensor IC. Technical Notes ZACwire Digital Output

Transmission Line Drivers and Receivers for TIA/EIA Standards RS-422 and RS-423

Digital Logic ircuits Circuits Fundamentals I Fundamentals I

Dual Protocol Transceivers Ease the Design of Industrial Interfaces

Getting started with OPENCORE NMR spectrometer. --- Installation and connection ---

SMARTALPHA RF TRANSCEIVER

ANALOG AND DIGITAL PHYSICAL INTERFACES

RS-232 Electrical Specifications and a Typical Connection

PRODUCT INFORMATION B&B ELECTRONICS. Port-Powered RS-232 Fiber Optic Modem with Handshake Support. Model 9PFLST. Description. RS-232 Connections

EVDP610 IXDP610 Digital PWM Controller IC Evaluation Board

MIPI VGI SM for Sideband GPIO and Messaging Consolidation on Mobile System

Data Communications and Networking (Module 2)

ECE 435 Network Engineering Lecture 4

Department of Electronics & Telecommunication Engg. LAB MANUAL. B.Tech V Semester [ ] (Branch: ETE)

Signal Forge. Signal Forge 1000 TM Synthesized Signal Generator. Flexible Design Enables Testing of RF and Clock-driven Systems.

Systems. Roland Kammerer. 29. October Institute of Computer Engineering Vienna University of Technology. Communication in Distributed Embedded

CSE 123: Computer Networks Alex C. Snoeren. Project 1 out Today, due 10/26!

Instruction Manual MX-480 Bi-directional Multi-Protocol Data

µchameleon 2 User s Manual

Activity 4: Due before the lab during the week of Feb

LCC-10 Product manual

DATASHEET HD Features. Description. Ordering Information. CMOS Manchester Encoder-Decoder. FN2961 Rev 1.00 Page 1 of 16.

SilverMax Datasheet. QuickSilver Controls, Inc. NEMA 23 Servomotors.

DS275S. Line-Powered RS-232 Transceiver Chip PIN ASSIGNMENT FEATURES ORDERING INFORMATION

Installation and Operation Manual EVTM Stand-alone Encoder/Decoder

TOP VIEW. Maxim Integrated Products 1

RS-422/RS-485 Line Tester Model 485T

CS302 - Digital Logic Design Glossary By

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

Lecture 3: Modulation & Clock Recovery. CSE 123: Computer Networks Alex C. Snoeren

PMC66-SIO4BXR-SYNC. Features:

Systems & Devices Part 1

SEN366 Computer Networks

Chapter Two. Fundamentals of Data and Signals. Data Communications and Computer Networks: A Business User's Approach Seventh Edition

Instruction Manual MT-945SL Four Channel Video Transmitter With Two Bi-Directional Data Channels

PROLABS QSFP-4x10G-AC7M-C QSFP+ to 4 SFP+ Active Copper Cable Assembly

Transmission Line Drivers and Receivers for TIA EIA Standards RS-422 and RS-423

PAK-Vb/c PWM Coprocessor Data Sheet by AWC

Transcription:

EECE494: Computer Bus and SoC Interfacing Serial Communication: RS-232 Dr. Charles Kim Electrical and Computer Engineering Howard University Spring 2014 1

Many types of wires/pins in the communication connectors 2

Same in Pins and Assignments 3

How digital data are coded Signaling types: Single-Ended Differential 4

Single Ended Signaling the simplest and most commonly used method of transmitting electrical signals over wires. One wire carries a varying voltage that represents the signal, while the other wire is connected to a reference voltage, usually ground. Noise Problems caused by: differences in ground voltage level between transmitting and receiving circuits induction picked up on the signal wire Used: RS-232: +12 V and 12V PS/2 mouse and keyboard connectors I2C Serial Bus VGA 5

Differential Signaling a method of transmitting information electrically with two complementary signals sent on two paired wires, called a differential pair. Since external interference tend to affect both wires together, and information is sent only by the difference between the wires, the technique improves resistance to electromagnetic noise compared with use of only one wire and an un-paired reference (ground). Used in: RS-422 RS-485 Ethernet PCIe HDMI USB 6

Single Ended Signaling 7

Line Code Amplitude and Time-Discrete Signal for 1 s and 0 s Line Code = Digital Baseband Modulation = Digital Baseband Transmission Used for digital data transport Unipolar, Bipolar, and others Common Line Codes Non-Return-to-Zero (NRZ) Non-Return-to-Zero, Inverted ( transition ) (NRZI) 6b/8b 8

Unipolar Encoding 1: Positive voltage 0: Zero voltage Similar to On-Off keying So called NRZ (Non-Return-Zero): 1 for positive voltage 0 for zero voltage Signal does not return to zero in the middle of the bit RZ(Return to Zero): Signal drops (returns) to zero between each pulse. 9

Bipolar Encoding In encoding, 2 non-zero values are used, therefore, 3 values are used (+,-, zero): duo-binary signal Alternate Mark Inversion (AMI) 0 zero volt (space) 1 Pos or Neg voltage (mark) 10

Differential Signaling 11

LVDS (Low Voltage Differential Signaling) Known as TIA/EIA-644 Differential serial communication protocol Low power high speed using twisted-pair copper cables Common-mode voltage (= average of the voltages of the two wires ): 1.2V Low Voltage: 1.0 V High Voltage: 1.4 V Serial ATA, PCIe, SCSI, etc 12

PCIe Peripheral Component Interconnect Express High Speed Serial for shared address and data lines Interconnect or Link : point-to-point communication channel between 2 PCIe ports for I/O, MEM, Interrupt R/W A Link is composed of 1 or more lanes Lane : 1 lane is composed of 4 wires 2 pairs of differential signaling. Each lane is used as a full-duplex byte stream for transporting data in 8-bit byte format. 13

Synchronous vs Asynchronous Two types: asynchronous and synchronous communications. Synchronous communication requires more complex interface and clock is sent along with data with higher rate than asynchronous communication. Synchronous communication requires that each end of an exchange of communication respond in turn without initiating a new communication. Asynchronous communication is usually for a situation where data can be transmitted intermittently rather than in a steady stream. The difficulty with asynchronous communications is that the receiver must have a way to find the end of talks of the other side so that one starts to speak. In computer communications, this is usually accomplished through special bits to indicate the beginning and the end of each piece of data. Asynchronous communication, therefore, has simpler interface and does not send clock, but requires start and stop bits. Serial communication hardware component (Parallel Serial Parallel) UART (Universal Asynchronous Transmitter/Receiver) USART (Universal Synchronous/Asynchronous Transmitter/Receiver) 14

Synchronous/Asynchronous 15

Popular Serial Interfaces 16

Serial RS-232 17

RS-232 Recommended Standard -232 from Electronic Industries Association (EIA) for connecting serial devices RS-232 is the traditional name for a series of standards for serial binary single-ended data and control signals connecting between DTE (data terminal equipment) and DCE (data circuit-terminating equipment, originally defined as data communication equipment). Single Ended Unipolar Signaling Space (logic 0): Between +3 and + 25 Volts Mark: (logic 1): Between -3 and 25 Volts Other RS from EIA 18

RS-232 Level Converter RS232 Voltage Levels must be converted to 0 or 5 (or 3.3) V system of TTL or CMOS MAX232 Multi-channel RS-232 Driver Chip 19

Connector Types and Pins 20

RS232 in Galileo 3.5mm Jack 21

RS-232 in DE2i-150 22

TX and RX (Byte Serial Bits Byte) 23

Protocol and Signal Asynchronous LSb is sent first 8N1 Format (Example): 8-data bits, No Parity, and 1 Stop bit After MAX232 Level Converter 24