SlideShare una empresa de Scribd logo
1 de 48
Interface Design Serial Communications Omid Fatemi
Typical Interface Design Connect Sense Reality Touch Reality Connect Transform Embedded Systems Micros Assembler, C Real-Time Memory Peripherals Timers DMA PC interfaces HCI Busses Protocols Standards PCI IEEE488 SCSI USB & FireWire CAN Compute Convey Cooperate
Outline ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
What is Serial Communications
Serial Communication Types ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Transfer Types
Asynchronous Data Framing Idle (high):  Mark Low: Space Overhead? (parity, start, stop)
Data Transfer Rate ,[object Object],[object Object]
RS-232 Standard  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Vocabulary ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
DTE Connections
Mechanical Characteristics ,[object Object],[object Object],[object Object],[object Object]
25-Pin RS232 Connector Source: Duck, Bishop & Read, Data Communications for Engineers, Addison-Wesley
9-Pin RS232 Connector
Electrical Characteristics ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
TTL to RS-232 Line drivers and line receivers
RS-232  Frame Format Start bit ASCII Parity Stop bit 111101000001111 Idle A … Example
RS232 Logic Waveform
Function of Signals ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Function of Signals ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Flow Control ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Hardware Flow Control ,[object Object],[object Object],[object Object],[object Object],[object Object]
Software Flow Control ,[object Object],[object Object],[object Object],[object Object],[object Object]
RS-232  (con) ,[object Object],x-off x-on data   transmission transmitter receiver receiver RTS RTS RTS CTS CTS TD CTS RD transmitter data   transmission Are you ready to receive? No Yes Send character Software Handshaking Hardware Handshaking
Null Modem Cables ,[object Object],[object Object]
Null Modem Cables Examples Source: Horowitz and Hill, The Art of Electronics, Cambridge University Press
Other Standards
8250/16450/16550 UART
UART in PC
Registers ,[object Object],[object Object],[object Object]
Registers ,[object Object]
Line Control
Modem Registers
Line Status
Divisor Register
Example
Example 2
Synchronous Protocols
CRC In SDLC: G(X) = x**16 + x**12 + x**5 + 1
8251 Block Diagram
8251 Registers
Mode Register
Mode Instruction (Asynchronous)
Mode Instruction (Synchronous)
Command Register
Status Register
8251 Timing
Summary

Más contenido relacionado

La actualidad más candente

8051 serial communication
8051 serial communication8051 serial communication
8051 serial communication
asteriskbimal
 
Serial Io
Serial IoSerial Io
Serial Io
Aisu
 
8251
82518251
8251
Aisu
 
UART(universal asynchronous receiver transmitter ) PPT
UART(universal asynchronous receiver transmitter ) PPTUART(universal asynchronous receiver transmitter ) PPT
UART(universal asynchronous receiver transmitter ) PPT
Sai_praneeth
 

La actualidad más candente (18)

8251 USART
8251 USART8251 USART
8251 USART
 
28. 8251 programmable communication interface
28. 8251 programmable communication interface28. 8251 programmable communication interface
28. 8251 programmable communication interface
 
UART
UARTUART
UART
 
8051 serial communication
8051 serial communication8051 serial communication
8051 serial communication
 
Serial Io
Serial IoSerial Io
Serial Io
 
8251
82518251
8251
 
8251 USART
8251 USART8251 USART
8251 USART
 
Serial Communication Part-16
Serial Communication Part-16Serial Communication Part-16
Serial Communication Part-16
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller
 
8051 serial communication-UART
8051 serial communication-UART8051 serial communication-UART
8051 serial communication-UART
 
Serial data transfer
Serial data transferSerial data transfer
Serial data transfer
 
UART(universal asynchronous receiver transmitter ) PPT
UART(universal asynchronous receiver transmitter ) PPTUART(universal asynchronous receiver transmitter ) PPT
UART(universal asynchronous receiver transmitter ) PPT
 
Inter intergrated circuits-communication protocol
Inter intergrated circuits-communication protocolInter intergrated circuits-communication protocol
Inter intergrated circuits-communication protocol
 
UART
UARTUART
UART
 
Master synchronous serial port (mssp)
Master synchronous serial port (mssp)Master synchronous serial port (mssp)
Master synchronous serial port (mssp)
 
Uart
UartUart
Uart
 
Micro c lab8(serial communication)
Micro c lab8(serial communication)Micro c lab8(serial communication)
Micro c lab8(serial communication)
 
Uart
UartUart
Uart
 

Destacado

16 2 predicate resolution
16 2 predicate resolution16 2 predicate resolution
16 2 predicate resolution
Tianlu Wang
 
experiment to determine the numerical aperture of an optical fibre..
experiment to determine the numerical aperture  of an optical fibre..experiment to determine the numerical aperture  of an optical fibre..
experiment to determine the numerical aperture of an optical fibre..
sourabhrana21
 
Presentation on data communication
Presentation on data communicationPresentation on data communication
Presentation on data communication
Harpreet Dhaliwal
 

Destacado (20)

Chapter 4 - Digital Transmission
Chapter 4 - Digital TransmissionChapter 4 - Digital Transmission
Chapter 4 - Digital Transmission
 
Communication model
Communication modelCommunication model
Communication model
 
Truth, deduction, computation lecture d
Truth, deduction, computation   lecture dTruth, deduction, computation   lecture d
Truth, deduction, computation lecture d
 
Implementation of Soft-core Processor on FPGA
Implementation of Soft-core Processor on FPGAImplementation of Soft-core Processor on FPGA
Implementation of Soft-core Processor on FPGA
 
Wi-Fi Modem For the Commodore 64
Wi-Fi Modem For the Commodore 64Wi-Fi Modem For the Commodore 64
Wi-Fi Modem For the Commodore 64
 
16 2 predicate resolution
16 2 predicate resolution16 2 predicate resolution
16 2 predicate resolution
 
Implementation of Soft-core processor on FPGA (Final Presentation)
Implementation of Soft-core processor on FPGA (Final Presentation)Implementation of Soft-core processor on FPGA (Final Presentation)
Implementation of Soft-core processor on FPGA (Final Presentation)
 
Ai Tdma
Ai TdmaAi Tdma
Ai Tdma
 
experiment to determine the numerical aperture of an optical fibre..
experiment to determine the numerical aperture  of an optical fibre..experiment to determine the numerical aperture  of an optical fibre..
experiment to determine the numerical aperture of an optical fibre..
 
2d transformations
2d transformations2d transformations
2d transformations
 
Interfacing ics for microprocessor
Interfacing ics for microprocessorInterfacing ics for microprocessor
Interfacing ics for microprocessor
 
Fiber Optics
Fiber OpticsFiber Optics
Fiber Optics
 
8259 a
8259 a8259 a
8259 a
 
Satellite ppt
Satellite pptSatellite ppt
Satellite ppt
 
Eeg examples
Eeg examplesEeg examples
Eeg examples
 
Geometric transformation 2d chapter 5
Geometric transformation 2d   chapter 5Geometric transformation 2d   chapter 5
Geometric transformation 2d chapter 5
 
Data communication - Lecture-01
Data communication - Lecture-01 Data communication - Lecture-01
Data communication - Lecture-01
 
FDMA-TDMA-CDMA
FDMA-TDMA-CDMAFDMA-TDMA-CDMA
FDMA-TDMA-CDMA
 
Transmission Media
Transmission MediaTransmission Media
Transmission Media
 
Presentation on data communication
Presentation on data communicationPresentation on data communication
Presentation on data communication
 

Similar a 8251 08 Serial

Unit_V_CPU_PC_interfacing_With_External_Devices_RS232_IEEE_488.ppt
Unit_V_CPU_PC_interfacing_With_External_Devices_RS232_IEEE_488.pptUnit_V_CPU_PC_interfacing_With_External_Devices_RS232_IEEE_488.ppt
Unit_V_CPU_PC_interfacing_With_External_Devices_RS232_IEEE_488.ppt
aasitworld
 
Direct Link Lan
Direct Link LanDirect Link Lan
Direct Link Lan
yanhul
 
Rs 232 & usb ieee1394 communication
Rs 232 & usb  ieee1394 communicationRs 232 & usb  ieee1394 communication
Rs 232 & usb ieee1394 communication
Vijay Kumar
 
Embedded real time-systems communication
Embedded real time-systems communicationEmbedded real time-systems communication
Embedded real time-systems communication
Vijay Kumar
 

Similar a 8251 08 Serial (20)

Hands On Data Communications, Networking and TCP/IP Troubleshooting
Hands On Data Communications, Networking and TCP/IP TroubleshootingHands On Data Communications, Networking and TCP/IP Troubleshooting
Hands On Data Communications, Networking and TCP/IP Troubleshooting
 
Unit_V_CPU_PC_interfacing_With_External_Devices_RS232_IEEE_488.ppt
Unit_V_CPU_PC_interfacing_With_External_Devices_RS232_IEEE_488.pptUnit_V_CPU_PC_interfacing_With_External_Devices_RS232_IEEE_488.ppt
Unit_V_CPU_PC_interfacing_With_External_Devices_RS232_IEEE_488.ppt
 
serial-200505101453.pdf
serial-200505101453.pdfserial-200505101453.pdf
serial-200505101453.pdf
 
Serial Communication
Serial CommunicationSerial Communication
Serial Communication
 
Serial Port Device Driver
Serial Port Device DriverSerial Port Device Driver
Serial Port Device Driver
 
45039336 rs232
45039336 rs23245039336 rs232
45039336 rs232
 
Computer Interfaces
Computer Interfaces Computer Interfaces
Computer Interfaces
 
Direct Link Lan
Direct Link LanDirect Link Lan
Direct Link Lan
 
Project_intership
Project_intershipProject_intership
Project_intership
 
Project_intership
Project_intershipProject_intership
Project_intership
 
RS235,422,485.pdf
RS235,422,485.pdfRS235,422,485.pdf
RS235,422,485.pdf
 
Batch 25(a)
Batch 25(a)Batch 25(a)
Batch 25(a)
 
Practical Radio Telemetry Systems for Industry
Practical Radio Telemetry Systems for IndustryPractical Radio Telemetry Systems for Industry
Practical Radio Telemetry Systems for Industry
 
Rs 232 & usb ieee1394 communication
Rs 232 & usb  ieee1394 communicationRs 232 & usb  ieee1394 communication
Rs 232 & usb ieee1394 communication
 
Embedded real time-systems communication
Embedded real time-systems communicationEmbedded real time-systems communication
Embedded real time-systems communication
 
Universal Asynchronous Receive and transmit IP core
Universal Asynchronous Receive and transmit IP coreUniversal Asynchronous Receive and transmit IP core
Universal Asynchronous Receive and transmit IP core
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
 
3_pstn2.ppt
3_pstn2.ppt3_pstn2.ppt
3_pstn2.ppt
 
Rs 232 interface
Rs 232 interfaceRs 232 interface
Rs 232 interface
 
Jaimin chp-6 - transport layer- 2011 batch
Jaimin   chp-6 - transport layer- 2011 batchJaimin   chp-6 - transport layer- 2011 batch
Jaimin chp-6 - transport layer- 2011 batch
 

Más de Aisu

ma project
ma projectma project
ma project
Aisu
 
Newton Raphson
Newton RaphsonNewton Raphson
Newton Raphson
Aisu
 
Aisuphysics
AisuphysicsAisuphysics
Aisuphysics
Aisu
 
Dreaming In Arabicnovel
Dreaming In ArabicnovelDreaming In Arabicnovel
Dreaming In Arabicnovel
Aisu
 
The Society For The Betterment Of Mankind
The Society For The Betterment Of MankindThe Society For The Betterment Of Mankind
The Society For The Betterment Of Mankind
Aisu
 
Digital Transmission Fundamentals
Digital Transmission FundamentalsDigital Transmission Fundamentals
Digital Transmission Fundamentals
Aisu
 
11 Serial 0515
11 Serial 051511 Serial 0515
11 Serial 0515
Aisu
 
Io (2)
Io (2)Io (2)
Io (2)
Aisu
 
I Ointerface in mp
I Ointerface in mpI Ointerface in mp
I Ointerface in mp
Aisu
 
Display1in mp
Display1in mpDisplay1in mp
Display1in mp
Aisu
 
Display11 in mp
Display11 in mpDisplay11 in mp
Display11 in mp
Aisu
 
8279 in microprocessor
8279 in microprocessor8279 in microprocessor
8279 in microprocessor
Aisu
 
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
8259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R28259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R2
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
Aisu
 
db
dbdb
db
Aisu
 
Timer
TimerTimer
Timer
Aisu
 
Interrupt11
Interrupt11Interrupt11
Interrupt11
Aisu
 

Más de Aisu (18)

ma project
ma projectma project
ma project
 
Newton Raphson
Newton RaphsonNewton Raphson
Newton Raphson
 
Aisuphysics
AisuphysicsAisuphysics
Aisuphysics
 
Dreaming In Arabicnovel
Dreaming In ArabicnovelDreaming In Arabicnovel
Dreaming In Arabicnovel
 
The Society For The Betterment Of Mankind
The Society For The Betterment Of MankindThe Society For The Betterment Of Mankind
The Society For The Betterment Of Mankind
 
Digital Transmission Fundamentals
Digital Transmission FundamentalsDigital Transmission Fundamentals
Digital Transmission Fundamentals
 
11 Serial 0515
11 Serial 051511 Serial 0515
11 Serial 0515
 
Io (2)
Io (2)Io (2)
Io (2)
 
I Ointerface in mp
I Ointerface in mpI Ointerface in mp
I Ointerface in mp
 
Display1in mp
Display1in mpDisplay1in mp
Display1in mp
 
Display11 in mp
Display11 in mpDisplay11 in mp
Display11 in mp
 
8279 in microprocessor
8279 in microprocessor8279 in microprocessor
8279 in microprocessor
 
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
8259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R28259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R2
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
 
db
dbdb
db
 
Timer
TimerTimer
Timer
 
Interrupt11
Interrupt11Interrupt11
Interrupt11
 
B Trees
B TreesB Trees
B Trees
 
overview of physical storage media
overview of physical storage mediaoverview of physical storage media
overview of physical storage media
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 

8251 08 Serial

Notas del editor

  1. Software flow control uses special characters to control the flow of data when a device wishes to halt the flow it sends the XOFF character, when flow can resume it sends the XON character. The XOFF character is called DC3 or Device Code 3. It is decimal 19 or control S. The XON character is called DC1 or Device Code 1. It is decimal 17 or control Q. XOn / XOff is a software flow control mechanism. It can only be used in character oriented data transmissions (not binary transfer) as it relies on the use of a pre-determined XOn character and a pre-determined XOff character. The basic idea is simple, when the receiver buffer fills to the point it cannot receive anymore data it issues an XOff (Transmit Off) to the transmitter. When the transmitter sees the XOff character is stops transmitting. It will only resume once it sees a corresponding XOn. The disadvantage of such a system is that should an issued character become damaged in transit no action will be taken by the transmitter.
  2. BCC block check character STX start of text Control field contains info like the sequence of data