Chapter 11: Input/Output Organisation. Lesson 05: Asynchronous RS232C Serial Port data transfer

Similar documents
Sender Receiver Sender

8051SERIAL PORT PROGRAMMING

Serial Interfaces Part 1. ECE 153B Sensor & Peripheral Interface Design Winter 2016

EZL-200F Application Notes (003) Serial Interface (RS232/RS422/RS485)

Select a Data Communication Interface

Serial Communication Prof. James L. Frankel Harvard University. Version of 2:30 PM 6-Oct-2015 Copyright 2015 James L. Frankel. All rights reserved.

Hardware Manual. PCMCIA 1 Port RS EDITION APRIL 1999

STEP X - Name of Step QUICK START GUIDE SP385A-R3, SP390A-R3 USB TO RS CONVERTER 24/7 TECHNICAL SUPPORT AT OR VISIT BLACKBOX.

USART. USART stands for Universal Synchronous Asynchronous Receiver Transmitter. Full-duplex NRZ asynchronous serial data transmission

4.3 Digital Communication

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: Serial Port Communication Module No: CS/ES/11 Quadrant 1 e-text

User Guide. Date Apr BlueEva+C11/G2. Stollmann. E + V GmbH. User Guide

Hardware Manual PCMCIA DUAL RS EDITION MAY 1999

Serial Interfacing. Asynchronous Frame

CMM 900-3W USER GUIDE

AN_2901_005 JULY The Teridian 73M2901CE single chip modem implements the V.23 standard according the ITU V.23 recommendation.

WiFi to RS-232 adapter user manual

The Wireless Connectivity Expert

Serial I/O. 4: Serial I/O. CET360 Microprocessor Engineering. J. Sumey

Universal Asynchronous Receiver Transmitter Communication

Real-Time Embedded Systems. CpE-450 Spring 06

RS-232 SERIAL INTERFACE PHOTOELECTRIC ISOLATOR

Product Manual. USB to Optical Adapter Industrial Isolated RS- 232/422/485. Coolgear, Inc. Version 2.1 December 2018 Model Number: USB-COMi-Si-M

Serial Communications

USB Serial Converter Rev. 1.0

UNIT-V COMMUNICATION INTERFACE

Wrenchman, Inc Old Hwy. # 8 Suite # 122 New Brighton, Minnesota (651)

Cable Specifications. Interface Specifications. Fiber-Optic Specifications APPENDIXB

USB to RS-232/RS422/485. US-101-I USB To Serial Operation Manual

SitePORTAL Lite TA-SPL32-R48

Serial Communications

W&T Manual Interface modules W&T

ZM56 High-Speed Industrial Modem. Command Summary. 1 ZM56 High-Speed Industrial Modem

ATmega128. Serial Communication (RS-232C)

USB RS232 Communication adapter virtual serial port ELO E215. Operation manual

Learn how to communicate

Bluetooth to RS-232&RS422/485. EX-9132B/BI Bluetooth Adapter Operation Manual

(renamed the "EIA232 Standard" in the early 1990 s)

Table 8 shows the pin configuration and function of a standard computer-to-printer parallel cable. Table 8 Parallel Cable Pin Configuration

Homework. Reading. Continue mp1. Labs. Tokheim, Section Questions? Continue labs with your assigned section

Preliminary. PACKAGE - 28-pin MLP (5mm X 5mm) Example Circuit Diagram CP V. 48MHz Oscillator. USB Function Controller 512B EEPROM

Integrity Instruments Application Notes. Release 1

The modems are made in industrial 108mm wide aluminium housing for DIN rail mounting. UCM RS232 interface

ZM24x Quick-Connect Industrial Modem. User s Manual

Data Communications & Computer Networks. Digital Data Communications Techniques

ISDN OEM1. DesignGuide V1.2

SCB-C08 USB to RS232/422/485 Converter

E1 and T1 RJ-48 Cable Pinouts on page 208. Fast Ethernet 12-port Cable Pinouts on page 211

Serial Interfacing. Pulse width of 1 bit

RS-232 Connector Pin Assignments

Serial Communication. Spring, 2018 Prof. Jungkeun Park

USB to RS-232/RS422/485. URK-228-I USB To Serial Operation Manual

EtherSeries. EtherSeries CR-2. CR-2-Opto. User s Guide. Revised October 7, 2013 Firmware Version 1.X

Bluetooth was originally started as a project by the Ericsson Company.

Manual Industry Interfaces

PCL Port RS-232 Interface Card

Appendix. Specifications

Dual Serial Shield User Manual

User Guide. Release r01

USB-TTL Interface Module Reference Manual

RS-232 DATA COMMUNICATIONS WITH THE TANDY COLOR COMPUTER

Model:UT-8814 USB/RS-232 Commercial interface converter. Instruction Manual

Section 1 Introduction

Module Introduction. PURPOSE: The intent of this module, is to explain several of the important features of Freescale s i.mx1 applications processor.

Experiment Number: 02. Title: PC-to-PC communication through RS-232 port

MODEL USB-COM-2SM USER MANUAL

The Analyst. RS422/RS232 Tester. (Standard Model) User Manual

USER S MANUAL. PH232Ex1. #1 RS-232 Serial Port to Ethernet, Terminal Server/Client. Doc No: PH232Ex1-UM-001 IPEX. (IP Electronix)

Course 10: Interfaces Agenda

MEV Limited USB232/485 INSTRUCTION MANUAL

SeaLINK+8/USB. Sealevel Systems, Inc 155 Technology Place P.O. Box 830 Liberty, SC USA

MAX3232PMB1 Peripheral Module

USB-2COM-BB USER S MANUAL

ICD105A 1008 page 1/ r001 ICD105A. Industrial RS-232 to RS-422/485 Converter

3.1 I-7560 Pin Assignment and Specifications: Introduction

Appendix A Cable Pinouts

ISDN - SOC. DesignGuide. Rev 2.2

RM024 DVK USER GUIDE VERSION 1.2

PCL-741 Isolated Dual Port RS-232/Current-Loop Interface Card

SyncLink USB Serial Adapter

8. I/O Buses and Interfaces

FP-1000PW. Thermal Printer User s Manual. Fujitsu Isotec Limited. KA02066-Y Standard Model Built-in Power Supply Model FP-1000

USER MANUAL. MODEL 2011 High Speed Asynchronous to Synchronous Converter

Cable Pinouts. SRP I/O Module

Automationdirect.com. D i r e c t L o g i c M O D B U S S L A V E F 4 S L V - M B

=0 Read/Write IER Interrupt Enable Register =1 Read/Write - Divisor Latch High Byte + 2

TRP-C08. USB to RS232/422/485 Isolated Converter. User s Manual. Printed Sep.2014 Rev 1.4

edbox-100 SmartStack Box for PSTN

Lecture-65 SERIAL DATA COMMMUNICATION The data bus of a microcomputer system is designed to transfer data to and from I/O device in parallel - all

BeagleBone Black USB Expansion RS232 Module Cape Coolgear, Inc. Version 1.1 September 2017 Model Number:

Practical Hands-on Data Communications, Networking and TCP/IP Troubleshooting for Engineers and Technicians

Galep-Adapter DIL-40 => ISP-ASYNC/SYNC Article-No.:

Amarjeet Singh. January 30, 2012

SeaLINK+232I USER MANUALM

Cabling Guide for Console and AUX

EX & EX-45362IS 2S RS232/422/485 3-in-1 Serial PCIe Card

ME-9000i isolated Serial Interface Board, RS232, RS422, RS485

USER S MANUAL SI-700 SI EIA-232/ EIA-485 INTERFACE JUL / 05 SI-700 VERSION 1 FOUNDATION

SyncLink GT4 PC/104+ Serial Adapter

RS-232 to Logic Level Adapter with DB9M Connector and Power LED

Transcription:

Chapter 11: Input/Output Organisation Lesson 05: Asynchronous RS232C Serial Port data transfer

Objective Understand the RS232C asynchronous data transfer and signals Learn the RS232C serial port communication in UART 10-bits or in 11-bits format full duplex using TxD and RxD lines, RS232C voltage levels for 0 and 1 opposite to that of TTL logic, Opposite to that of TTL logic, wider noise margin to enable long distance communication and Handshaking signals RI, DCD, DSR, DTR, RTS and CTS 2

Asynchronous RS232C serial port data transfer 3

Exemplary Protocol RS232C For asynchronous communication between two data serial links on a network Between a data communication equipment and data terminal equipment RS232C a standard protocol used in IBM PC COM ports, keyboard, computer-mice and For the data serial link network in UART bit format 4

RS232C Data transfer signals to and from the COM port Asynchronous serial data-in/out RxD and TxD RTS (Request to send) from port can also provides internal power to the e circuit, because its logic is 1 when inactivated and when activated, then 0. Most of the time RTS is 1) CTS to the port, when the mouse is communicating the position data or buttons status Logic ground 5

RS232C Data transfer signals DTR (Data Terminal Ready) from port. DSR (Data Set Ready) from serial I/O device to port DCD (Data Carrier Detect) from serial I/O device to port. RI (Ring Indicator) from serial I/O device to port 6

DTE and DCE RS232C communication between a DTE (computer) COM (communication) port and a DCE (modem) port DTE stands for Data Terminal Equipment. DCE stands for Data Communication Equipment. RS232C a standard for interfacing signals between DCE and DTE 7

Sequence of serial bits in an RS232C Byte Data Bits RxD and TxD lines As per UART standard formats on RxDand TxDlines 8

Voltage Levels at TxD and RxD lines in RS232C logic 1 Receiver end voltage level from 3 V to 25 V logic 0 Receiver end voltage level from + 3 V to + 25 V 9

Voltage Levels at TxD and RxD lines in RS232C logic 1 Transmitter end voltage level from 5 V to 15 V logic 0 Transmitter end voltage level from + 5 V to + 15 V opposite to that of TTL logic wider noise margin to enable long distance communication 10

RS232C Connector 9 pin and 25-pin in case of IBM COM port Can be simpler 11

Handshaking signals on 9 Pin connector Handshaking signals RI, DCD, DSR, DTR, RTS, CTS, DTR 12

Voltage levels at Handshaking signals TTL standard 13

Example: 9-pin Connector Handshaking signals RI to indicate ring available at data communication equipment receiving end When a modem connects, modem sends data carrier detect DCD signal at an instance t0 Communicates data set ready (DSR) signal at an instance t1 when it receives the bytes on the line Receiving end responds at an instance t2 by data terminal ready (DTR) signal 14

Example: COM port and Modem Handshaking signals After DTR, request to send (RTS) signal is sent at an instance t3 Receiving end responds by clear to send (CTS) signal at an instance t4. After the response CTS, the data bits are transmitted by modem from an instance t5 to the receiver terminal. Between two sets of bytes sent in asynchronous mode, the handshaking signals RTS and CTS can again be exchanged 15

RS232C port at DTE and DCE handshaking and data Signals 16

RS232C port in a computer Used up to 9600 baud per s asynchronous serial transmission rate with UART mode communication Generally baud rates set at 300, 600, 1200, 4800 and 9600 When transmitting upto 0.25 m or 1 m on cable (untwisted) the maximum baud rate can be 115.2 k or 38.4k baud per s, respectively 17

RS232C port for keyboard serial communication Communication at 1200 baud per s asynchronous serial transmission rate with UART mode communication at IBM PC COM port The signals used are RTS, CTS, TxD and RxD for keypad communication 18

A mice port RS232C COM in the computer A mice port can also be RS232C COM port in the computer (Alternative USB) Handshaking bits are RTS, CTS and data bits are at TxD Draws power from RTS and ground line Voltage levels: TTL logic 1 derived from RTS line itself ground 19

UART Signals on TxD and RxD lines 20

UART Bits 21

Idle State A line non-return to zero (NRZ) state Means in idle state the logic state is 1 at the serial line 22

Byte start signaling flag bit Compulsory- Start bit 1 to 0 transition, which receiver detect at the middle of bit interval T [T 1 = prefixed baud rate.] 23

Data bits After start bit; 8 bits transmitted on TxD line and received on RxD line during period of 8 T (receiver detect at the middle of each bit interval T ) Full or half duplex 24

Not provided Address bits for destination Can be indirectly sent by setting a programmable bit P = 0 or 1 as per receivers processing circuit or programming 25

Control or error detect bit One bit- P-bit optional Present in 11T mode P bit can be used to detect parity error P-bit can be used to interpret the preceding byte not as data but as address or command or parity as per the processing circuit for serial bits at receiver 26

Byte end flag bit Compulsory- Minimum one stop bit at Logic 1 [In earlier circuits, the number of stop bits could also be set 1½ or 2 in place of 1] 27

Disconnected State Zero (Z) state Disconnected serial line logic state is 0 28

Summary 29

We learnt RS232C serial port communication usually in UART 10-bits or in 11-bits format full duplex using TxD and RxD lines RS232C voltage levels for 0 and 1 opposite to that of TTL logic, Opposite to that of TTL logic, wider noise margin to enable long distance communication Handshaking signals RI, DCD, DSR, DTR, RTS and CTS 30

We learnt 9 or 25 pin connector at IBM PC COM ports using RS232C standard UART serial port communication is usually either in 10-bits or in 11-bits format: one start bit, 8 data bits, one optional bit (P-bit) and one stop bit. UART communication can be full or half duplex using TxD and RxD lines 31

End of Lesson 05 on Asynchronous RS232C Serial Port data transfer 32