SlideShare a Scribd company logo
AN INTRODUCTION TO SERIAL PORT INTERFACING
An Introduction to Serial communication ,[object Object],[object Object],[object Object],[object Object],[object Object]
Example of Serial Waveform ,[object Object]
Methods of timing used to find bit boundaries   ,[object Object]
Asynchronous Communication ,[object Object],[object Object]
Basics of Serial Communication ,[object Object],[object Object],[object Object],[object Object],[object Object]
Advantage of Start / Stop bits
Some measures for error detection  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Overview of total bits with Parity Odd Parity Odd parity is added to keep the no. of 1’s odd in transmission.  For example for above case of data being 10011101 The odd parity will be added as 0 as no of 1’s are already 5 (an odd no.).
Failure of Parity ,[object Object],[object Object],[object Object],[object Object],[object Object]
EIA RS232C Serial Interface Standard ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Serial / RS-232 Port on PC & its Pin Out
Introduction of UART & USART ,[object Object],[object Object],[object Object],[object Object]
Port Address of Serial Part ,[object Object],[object Object],[object Object],[object Object],[object Object]
Configuration of Serial Port Base Address DLAB Read/ Write Abr. Registered Mar-- +0 0 0 1 W R R/W - - - Transmit holding buffer Receive Buffer  Divisor latch low byte +1 0 1 R/W R/W IER Interrupt enable register Divisor latch high byte +2 - - R W IIR FCR Interrupt Identification Register FIFO Control register.  +3 +4 +5 +6 +7 - - - - - R/W R/W R R R/W LCR MCR LSR MSR - Line Control Register modem Control Register Line Status Register Modem Status Register  Scratch Register.
Setting Baud Rate ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Setting Baud Rate (Contd.) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Specifying Start / Stop Bit & Parity ,[object Object]
Bit # Functional Description 7 1 Divisor Latch Access Bit ( DLAB ON ) 0 DLAB=0, Access to Tx/Rx & IER for normal operation 6 Set Brake Enable 3:5 Bit 5 Bit 4 Bit 3 Parity Select x x 0 No Parity 0 0 1 1 0 1 0 1 1 1 1 1 Odd Parity Even Parity High Parity ( Sticky ) Low Parity ( Sticky ) 2 Length of stop bit 0 One stop bit 1 2 stop bits for words of length 6, 7 or  8 bits 1.5 stop bits for words of length 5 bits 0:1 Bit 1 Bit 0 Word Length 0 0 1 1 0 1 0 1 5 Bits 6 Bits 7 Bits 8 Bits
The Function of various pins on Serial Port Pin # on DB – 9 Pin Symbol Function 1 CD Carrier Detect: It is used by Modem to inform PC that it has detected Carrier on Phone Line. 2 RD Serial data is received on this line by PC. 3 TD Serial Data is transmitted on this pin by PC. 4 DTR Data Terminal Ready  When terminal (computer) powers up it asserts DTR high. 5 SG It is signal ground with reference to which voltages are interpreted as high or low. 6 DSR Data Set Ready. When modem powers up it asserts DSR high. 7 RTS Request to Send. Request to send is sent from (DTE) terminal (PC) to modem (DCE) to inform it that PC wants to send some data to modem.
The Function of various pins on Serial Port (Contd) 8 CTS Clear To Send. Upon received RTS from DTE (PC), the modem (DCE) asserts CTS high whenever it is ready to receive data. 9 RI Ring Indicator. It is set by modem to indicate  the  PC that a ringing signal has been detected on line.
Common way of Handling Flow Control Signals. ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Details of remaining registers ,[object Object],[object Object],[object Object],[object Object]
Modem Control Register (MCR) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Modem Status Register (MSR) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Line Status Register (LSR) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Writing a C Program to Send Serial Data to Micro-Controller for Motor Control ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Introduction to USB ,[object Object],[object Object],[object Object],[object Object],[object Object]
Advantages offered by USB ,[object Object],[object Object],[object Object],[object Object]
USB implementation model
[object Object],[object Object],[object Object]

More Related Content

What's hot

Fun and Easy UART - How the UART Protocol Works
Fun and Easy UART - How the UART Protocol WorksFun and Easy UART - How the UART Protocol Works
Fun and Easy UART - How the UART Protocol Works
Ritesh Kanjee
 
ADS Workshop on PCI Express(r)
ADS Workshop on PCI Express(r)ADS Workshop on PCI Express(r)
ADS Workshop on PCI Express(r)
Colin Warwick
 
8051 serial communication
8051 serial communication8051 serial communication
8051 serial communicationasteriskbimal
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccnarobertoxe
 
Serial communication in LPC2148
Serial communication in LPC2148Serial communication in LPC2148
Serial communication in LPC2148
sravannunna24
 
Uart
UartUart
Ipv6 cheat sheet
Ipv6 cheat sheetIpv6 cheat sheet
Ipv6 cheat sheet
julianlz
 
Serial Communication Part-16
Serial Communication Part-16Serial Communication Part-16
Serial Communication Part-16
Techvilla
 
Internet technology unit 2
Internet technology unit 2Internet technology unit 2
Internet technology unit 2
WE-IT TUTORIALS
 
Ipv6 cheat sheet
Ipv6 cheat sheetIpv6 cheat sheet
Ipv6 cheat sheet
Swarup Hait
 
Micro c lab8(serial communication)
Micro c lab8(serial communication)Micro c lab8(serial communication)
Micro c lab8(serial communication)
Mashood
 
Computer network (16)
Computer network (16)Computer network (16)
Computer network (16)
NYversity
 
Microcontroller serial communication
Microcontroller serial communicationMicrocontroller serial communication
Microcontroller serial communication
Neeta Sawant
 
Mridul_Verma_Intern_Tech_Adityaa_UART
Mridul_Verma_Intern_Tech_Adityaa_UARTMridul_Verma_Intern_Tech_Adityaa_UART
Mridul_Verma_Intern_Tech_Adityaa_UARTMridul Verma
 
Serial data transfer
Serial data transferSerial data transfer
Serial data transfer
Dinesh Subhuraaj
 
Elm327 at commands
Elm327 at commandsElm327 at commands
Elm327 at commands
Bill Zhao
 

What's hot (20)

Fun and Easy UART - How the UART Protocol Works
Fun and Easy UART - How the UART Protocol WorksFun and Easy UART - How the UART Protocol Works
Fun and Easy UART - How the UART Protocol Works
 
ADS Workshop on PCI Express(r)
ADS Workshop on PCI Express(r)ADS Workshop on PCI Express(r)
ADS Workshop on PCI Express(r)
 
8051 serial communication
8051 serial communication8051 serial communication
8051 serial communication
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
 
Serial communication in LPC2148
Serial communication in LPC2148Serial communication in LPC2148
Serial communication in LPC2148
 
Np unit iii
Np unit iiiNp unit iii
Np unit iii
 
Uart
UartUart
Uart
 
Uart
UartUart
Uart
 
Ipv6 cheat sheet
Ipv6 cheat sheetIpv6 cheat sheet
Ipv6 cheat sheet
 
Serial Communication Part-16
Serial Communication Part-16Serial Communication Part-16
Serial Communication Part-16
 
Internet technology unit 2
Internet technology unit 2Internet technology unit 2
Internet technology unit 2
 
Ipv6 cheat sheet
Ipv6 cheat sheetIpv6 cheat sheet
Ipv6 cheat sheet
 
Micro c lab8(serial communication)
Micro c lab8(serial communication)Micro c lab8(serial communication)
Micro c lab8(serial communication)
 
Computer network (16)
Computer network (16)Computer network (16)
Computer network (16)
 
Microcontroller serial communication
Microcontroller serial communicationMicrocontroller serial communication
Microcontroller serial communication
 
Uart
UartUart
Uart
 
Mridul_Verma_Intern_Tech_Adityaa_UART
Mridul_Verma_Intern_Tech_Adityaa_UARTMridul_Verma_Intern_Tech_Adityaa_UART
Mridul_Verma_Intern_Tech_Adityaa_UART
 
Serial data transfer
Serial data transferSerial data transfer
Serial data transfer
 
Elm327 at commands
Elm327 at commandsElm327 at commands
Elm327 at commands
 
12 mt06ped019
12 mt06ped019 12 mt06ped019
12 mt06ped019
 

Viewers also liked

All India Radio (AIR) Station Frequencies National and International
All India Radio (AIR) Station Frequencies National and InternationalAll India Radio (AIR) Station Frequencies National and International
All India Radio (AIR) Station Frequencies National and International
Total Project Solutions
 
Air stations www.onlineTPS.com
Air stations www.onlineTPS.comAir stations www.onlineTPS.com
Air stations www.onlineTPS.com
Total Project Solutions
 
Desk Solutions FashPack - Kledingzaken
Desk Solutions FashPack - KledingzakenDesk Solutions FashPack - Kledingzaken
Desk Solutions FashPack - Kledingzaken
Desk Solutions NV
 
PIR Sensor D203B www.onlineTPS.com
PIR Sensor D203B www.onlineTPS.comPIR Sensor D203B www.onlineTPS.com
PIR Sensor D203B www.onlineTPS.com
Total Project Solutions
 
Arduino Severino Serial Board TPS-00759 www.onlineTPS.com
Arduino Severino Serial Board TPS-00759 www.onlineTPS.comArduino Severino Serial Board TPS-00759 www.onlineTPS.com
Arduino Severino Serial Board TPS-00759 www.onlineTPS.com
Total Project Solutions
 
Newsletter 29 dec
Newsletter 29 decNewsletter 29 dec
Newsletter 29 dec
Total Project Solutions
 
Desk Solutions FashPack - Baby Speciaalzaken
Desk Solutions FashPack - Baby SpeciaalzakenDesk Solutions FashPack - Baby Speciaalzaken
Desk Solutions FashPack - Baby Speciaalzaken
Desk Solutions NV
 
Desk Solutions FashPack - Lederwaren&Schoenzaken
Desk Solutions FashPack - Lederwaren&SchoenzakenDesk Solutions FashPack - Lederwaren&Schoenzaken
Desk Solutions FashPack - Lederwaren&Schoenzaken
Desk Solutions NV
 
2012 10 25_sbo presentatie sap event
2012 10 25_sbo presentatie sap event2012 10 25_sbo presentatie sap event
2012 10 25_sbo presentatie sap eventDesk Solutions NV
 
Indian railways reservation rules in hindi www.onlineTPS.com
Indian railways reservation rules in hindi www.onlineTPS.comIndian railways reservation rules in hindi www.onlineTPS.com
Indian railways reservation rules in hindi www.onlineTPS.com
Total Project Solutions
 

Viewers also liked (15)

All India Radio (AIR) Station Frequencies National and International
All India Radio (AIR) Station Frequencies National and InternationalAll India Radio (AIR) Station Frequencies National and International
All India Radio (AIR) Station Frequencies National and International
 
Air stations www.onlineTPS.com
Air stations www.onlineTPS.comAir stations www.onlineTPS.com
Air stations www.onlineTPS.com
 
Otoczmy troską życie
Otoczmy troską życieOtoczmy troską życie
Otoczmy troską życie
 
Desk Solutions FashPack - Kledingzaken
Desk Solutions FashPack - KledingzakenDesk Solutions FashPack - Kledingzaken
Desk Solutions FashPack - Kledingzaken
 
PIR Sensor D203B www.onlineTPS.com
PIR Sensor D203B www.onlineTPS.comPIR Sensor D203B www.onlineTPS.com
PIR Sensor D203B www.onlineTPS.com
 
3-Axis Orientation Motion MMAC7660FC
3-Axis Orientation Motion MMAC7660FC3-Axis Orientation Motion MMAC7660FC
3-Axis Orientation Motion MMAC7660FC
 
Arduino Severino Serial Board TPS-00759 www.onlineTPS.com
Arduino Severino Serial Board TPS-00759 www.onlineTPS.comArduino Severino Serial Board TPS-00759 www.onlineTPS.com
Arduino Severino Serial Board TPS-00759 www.onlineTPS.com
 
74xxx series IC
74xxx series IC74xxx series IC
74xxx series IC
 
Newsletter 29 dec
Newsletter 29 decNewsletter 29 dec
Newsletter 29 dec
 
Desk Solutions FashPack - Baby Speciaalzaken
Desk Solutions FashPack - Baby SpeciaalzakenDesk Solutions FashPack - Baby Speciaalzaken
Desk Solutions FashPack - Baby Speciaalzaken
 
Desk Solutions FashPack - Lederwaren&Schoenzaken
Desk Solutions FashPack - Lederwaren&SchoenzakenDesk Solutions FashPack - Lederwaren&Schoenzaken
Desk Solutions FashPack - Lederwaren&Schoenzaken
 
2012 10 25_sbo presentatie sap event
2012 10 25_sbo presentatie sap event2012 10 25_sbo presentatie sap event
2012 10 25_sbo presentatie sap event
 
Desk Solutions Flyer Dutch
Desk Solutions Flyer DutchDesk Solutions Flyer Dutch
Desk Solutions Flyer Dutch
 
Indian railways reservation rules in hindi www.onlineTPS.com
Indian railways reservation rules in hindi www.onlineTPS.comIndian railways reservation rules in hindi www.onlineTPS.com
Indian railways reservation rules in hindi www.onlineTPS.com
 
AUBTM-20 bluetooth module
AUBTM-20 bluetooth moduleAUBTM-20 bluetooth module
AUBTM-20 bluetooth module
 

Similar to AN INTRODUCTION TO SERIAL PORT INTERFACING

The presentation is about USART and serial communication
The presentation is about USART and serial communicationThe presentation is about USART and serial communication
The presentation is about USART and serial communication
sinaankhalil
 
serial-200505101453.pdf
serial-200505101453.pdfserial-200505101453.pdf
serial-200505101453.pdf
KiranG731731
 
Serial Communication Uart soc
Serial Communication  Uart socSerial Communication  Uart soc
Serial Communication Uart soc
Satyam Sharma
 
Universal Serial Communication Interface
Universal Serial Communication InterfaceUniversal Serial Communication Interface
Universal Serial Communication Interface
Sandesh Agrawal
 
4 ql uart_psb_ds_revc
4 ql uart_psb_ds_revc4 ql uart_psb_ds_revc
4 ql uart_psb_ds_revc
Doped Maverick
 
UART
UARTUART
Data Encoding for Wireless Transmission
Data Encoding for Wireless TransmissionData Encoding for Wireless Transmission
Data Encoding for Wireless TransmissionSean McQuay
 
Serial Port Device Driver
Serial Port Device DriverSerial Port Device Driver
Serial Port Device Driver
Emblogic
 
Port Interfacing
Port InterfacingPort Interfacing
Port Interfacing
AKANSHA GURELE
 
MicrocontrollersIII.ppt
MicrocontrollersIII.pptMicrocontrollersIII.ppt
MicrocontrollersIII.ppt
SuryaPratap560172
 
MicrocontrollersIII (1).ppt
MicrocontrollersIII (1).pptMicrocontrollersIII (1).ppt
MicrocontrollersIII (1).ppt
RyanAnderson41811
 
MicrocontrollersIII.ppt
MicrocontrollersIII.pptMicrocontrollersIII.ppt
MicrocontrollersIII.ppt
ssuserfb92ae
 
Robotix Tutorial 8
Robotix Tutorial 8Robotix Tutorial 8
Robotix Tutorial 8ankuredkie
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
Sudhanshu Janwadkar
 
Serial Communication In Atmega 16
Serial Communication In Atmega 16Serial Communication In Atmega 16
Serial Communication In Atmega 16Suren Kumar
 
Serial.ppt and it contains all information
Serial.ppt and it contains all informationSerial.ppt and it contains all information
Serial.ppt and it contains all information
shwetasonkar638
 
8051 serial communication-UART
8051 serial communication-UART8051 serial communication-UART
8051 serial communication-UART
Pantech ProLabs India Pvt Ltd
 

Similar to AN INTRODUCTION TO SERIAL PORT INTERFACING (20)

Tutorial
TutorialTutorial
Tutorial
 
The presentation is about USART and serial communication
The presentation is about USART and serial communicationThe presentation is about USART and serial communication
The presentation is about USART and serial communication
 
serial-200505101453.pdf
serial-200505101453.pdfserial-200505101453.pdf
serial-200505101453.pdf
 
Serial Communication Uart soc
Serial Communication  Uart socSerial Communication  Uart soc
Serial Communication Uart soc
 
Universal Serial Communication Interface
Universal Serial Communication InterfaceUniversal Serial Communication Interface
Universal Serial Communication Interface
 
4 ql uart_psb_ds_revc
4 ql uart_psb_ds_revc4 ql uart_psb_ds_revc
4 ql uart_psb_ds_revc
 
UART
UARTUART
UART
 
Data Encoding for Wireless Transmission
Data Encoding for Wireless TransmissionData Encoding for Wireless Transmission
Data Encoding for Wireless Transmission
 
Serial Port Device Driver
Serial Port Device DriverSerial Port Device Driver
Serial Port Device Driver
 
Port Interfacing
Port InterfacingPort Interfacing
Port Interfacing
 
MicrocontrollersIII.ppt
MicrocontrollersIII.pptMicrocontrollersIII.ppt
MicrocontrollersIII.ppt
 
MicrocontrollersIII (1).ppt
MicrocontrollersIII (1).pptMicrocontrollersIII (1).ppt
MicrocontrollersIII (1).ppt
 
MicrocontrollersIII.ppt
MicrocontrollersIII.pptMicrocontrollersIII.ppt
MicrocontrollersIII.ppt
 
Robotix Tutorial 8
Robotix Tutorial 8Robotix Tutorial 8
Robotix Tutorial 8
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
 
Serial Communication In Atmega 16
Serial Communication In Atmega 16Serial Communication In Atmega 16
Serial Communication In Atmega 16
 
020419.pdf
020419.pdf020419.pdf
020419.pdf
 
NAVEEN UART BATCH 43
NAVEEN UART BATCH 43NAVEEN UART BATCH 43
NAVEEN UART BATCH 43
 
Serial.ppt and it contains all information
Serial.ppt and it contains all informationSerial.ppt and it contains all information
Serial.ppt and it contains all information
 
8051 serial communication-UART
8051 serial communication-UART8051 serial communication-UART
8051 serial communication-UART
 

Recently uploaded

Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 

Recently uploaded (20)

Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 

AN INTRODUCTION TO SERIAL PORT INTERFACING

  • 1. AN INTRODUCTION TO SERIAL PORT INTERFACING
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7. Advantage of Start / Stop bits
  • 8.
  • 9. Overview of total bits with Parity Odd Parity Odd parity is added to keep the no. of 1’s odd in transmission. For example for above case of data being 10011101 The odd parity will be added as 0 as no of 1’s are already 5 (an odd no.).
  • 10.
  • 11.
  • 12. Serial / RS-232 Port on PC & its Pin Out
  • 13.
  • 14.
  • 15. Configuration of Serial Port Base Address DLAB Read/ Write Abr. Registered Mar-- +0 0 0 1 W R R/W - - - Transmit holding buffer Receive Buffer Divisor latch low byte +1 0 1 R/W R/W IER Interrupt enable register Divisor latch high byte +2 - - R W IIR FCR Interrupt Identification Register FIFO Control register. +3 +4 +5 +6 +7 - - - - - R/W R/W R R R/W LCR MCR LSR MSR - Line Control Register modem Control Register Line Status Register Modem Status Register Scratch Register.
  • 16.
  • 17.
  • 18.
  • 19. Bit # Functional Description 7 1 Divisor Latch Access Bit ( DLAB ON ) 0 DLAB=0, Access to Tx/Rx & IER for normal operation 6 Set Brake Enable 3:5 Bit 5 Bit 4 Bit 3 Parity Select x x 0 No Parity 0 0 1 1 0 1 0 1 1 1 1 1 Odd Parity Even Parity High Parity ( Sticky ) Low Parity ( Sticky ) 2 Length of stop bit 0 One stop bit 1 2 stop bits for words of length 6, 7 or 8 bits 1.5 stop bits for words of length 5 bits 0:1 Bit 1 Bit 0 Word Length 0 0 1 1 0 1 0 1 5 Bits 6 Bits 7 Bits 8 Bits
  • 20. The Function of various pins on Serial Port Pin # on DB – 9 Pin Symbol Function 1 CD Carrier Detect: It is used by Modem to inform PC that it has detected Carrier on Phone Line. 2 RD Serial data is received on this line by PC. 3 TD Serial Data is transmitted on this pin by PC. 4 DTR Data Terminal Ready When terminal (computer) powers up it asserts DTR high. 5 SG It is signal ground with reference to which voltages are interpreted as high or low. 6 DSR Data Set Ready. When modem powers up it asserts DSR high. 7 RTS Request to Send. Request to send is sent from (DTE) terminal (PC) to modem (DCE) to inform it that PC wants to send some data to modem.
  • 21. The Function of various pins on Serial Port (Contd) 8 CTS Clear To Send. Upon received RTS from DTE (PC), the modem (DCE) asserts CTS high whenever it is ready to receive data. 9 RI Ring Indicator. It is set by modem to indicate the PC that a ringing signal has been detected on line.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 32.

Editor's Notes

  1. www.onlineTPS.com