SlideShare a Scribd company logo
1 of 4
Download to read offline
IOSR Journal of Electronics and Communication Engineering (IOSR-JECE)
e-ISSN: 2278-2834,p- ISSN: 2278-8735.Volume 10, Issue 6, Ver. I (Nov - Dec .2015), PP 73-76
www.iosrjournals.org
DOI: 10.9790/2834-10617376 www.iosrjournals.org 73 | Page
Serial Communication Interface with Error Detection
1
Divya c, 2
Grace John, 3
Jerrin Yomas
MTech Scholar,2,3
Asst. Professor, ECE, 1,2,3
Vimal Jyothi Engineering, College, Chemperi,
Kannur, Kerala, India
Abstract: UART is used for serial data communication. UART is a piece of computer hardware that translates
between parallel bits of data and serial bits. UART is usually an integrated circuit used for serial
communications over a computer or peripheral device serial port. Bits have to be moved from one place to
another using wires or some other medium. Over many miles, the expense of the wires becomes large. To reduce
the expense of long communication links carrying several bits in parallel, data bits are sent sequentially. Errors
may occur either internally or externally while we transmit information from source to destination. The errors
generated during the transmission would affect the performance of the overall system. In order to reduce the
errors we should incorporate any error detecting schemes like hamming decoder, check parity systems etc.
Different serial communication devices are available.
Index Terms: Baurd rate, Universal asynchronous receiver transmitter
I. Introduction
Serial communication interface (SCI) is the device that is used for the serial exchange of data between
microprocessor and other peripheral device such as printers, scanners etc.SCI is similar to serial peripheral
devices(SPI) .In SCI communication with another devices is also possible. This paper presents a brief
explanation of serial communication interface with error detection. In SCI, parallel to serial converter is known
as data transmitter and serial to parallel converter is known as data receiver.SCI uses Non Return to zero data
format. Several protocols are available for SCI. A protocol is an agreement between 2 parties in the time of
communication. Serial protocol helps to know bit order; transmission completeness etc.SCI is used for long haul
communication. Serial transmissions are 2 types such as synchronous serial transmission and asynchronous
serial transmission. Different serial communication architecture are available now.RS-232, I2C, SPI etc are the
examples of these architectures.
Errors may occur internally or externally while us transmitting information from source to destination.
General SCI devices have no such method to detect and correct errors. The error generated during the
transmission of devices will affect the performance of the transmitting information and overall system. So we
need to research for detecting and correcting errors. In order to reduce errors we need to incorporate with any
error detecting schemes.
Figure 1: Serial data transmission
II. Different Serial Communication Interface Architecture
Different SCIs are available now.UART is mainly used as SCI.Different SCIs are described below.
RS 232: It is the common interface unit found in almost all computers. It is complete standard contains
electrical, physical and mechanical.RS 232 is capable of moderate distance speed up to 20 kbps. For short
distance, its speed limit is up to 115.2 kbps.Common cable length is 30 feet. Cable of length 200 feet can be
attained with low capacitance. RS-232 bus is an unbalanced bus. It is used for full duplex communication. Each
transmitter send a data. By varying the voltage on the line all the transmitter send datas.Voltage higher than 3V
is binary 0 and voltage less than -3V is binary 1.value is undefined in between these values. -232 conversion IC,
Serial Communication Interface with Error Detection
DOI: 10.9790/2834-10617376 www.iosrjournals.org 74 | Page
such as the 1488, 1489, or ubiquitous MAX232, can be used for converting from logic levels (0 and 5V) to these
levels and back. Typical RS-232 bit consist of a start bit, data bits, parity bits (if any), and stop bit(s).
I2C: Inter integrated circuit bus is an interface developed by Philips semiconductors. It is a half duplex
synchronous communication. I2C bus has 3 speeds such as (under 100Kbps), fast (400Kbps), and high-speed
(3.4Mbps).i2c uses the distance of successfully over distances of 50 feet.
Micro wire: Micro wire is a three-wire synchronous interface developed by National Semiconductor. It
has master/slave bus, with serial data out of the master (SO), and serial data in to the master (SI), and signal
clock (SK). Microwave has same advantages and disadvantages like SPI.it is limited to on board
communication.
1-wire: Single-Link Failure Detection in All-Optical Networks Using Monitoring Cycles (MCs) and
Monitoring Paths (MPs) [7] for identification of the link failure can be used detect the network failure. Three
edge connectivity in WSNs and separate wavelengths for monitoring cycles and locations are the draw backs of
this method.
UART: A UART is the microchip with programming that controls computer’s interface to its attached
serial devices. It act as intermediary between serial and parallel interface. One end of UART consist of a bus of
eight-or-so data lines (plus some control pins), on the other is the two serial wires - RX and TX. UART are
responsible for both sending and receiving serial data.
Figure 2: UART Interface
UART uses system on chip technology. The first UART devices are like rotating mechanical switch.
They send 5 Bit Baudot codes for mechanical typewriters. Latter it was changed to 6 bit to reduce figure Vs
character errors. Another UART was designed By Gordon Bell for PDP series of computers. In 1990s newer
UART was developed with on-chip buffer. These UART allows to reduce error and higher transmission speed.
To identify the performance of UART, different manufacture uses different terms. 8251 devices are
named as “programmable communication interface” by intel.6551 MOS Technology was known under the name
“asynchronous communications interface Adapter”. Motorola was introduced the term serial communication
interface.
Figure 2: UART Internal block diagram
Serial Communication Interface with Error Detection
DOI: 10.9790/2834-10617376 www.iosrjournals.org 75 | Page
UART converts received parallel bytes in to serial.UART work as FIFO manner. For that they have
transmit and receive FIFO registers. UART also provide additional circuits for signals that can be used to
indicate the state of transmission media, To regulate the flow of data etc.
III. Serial Versus Parallel
Serial port is harder to interface than parallel port. Many registers are used in the case of parallel port.
Serial cables can be longer than parallel cables. For examble serial port can transmit 1 as -3 to -25 Volts and 0 as
3 to 25 Volts. Serial transmission uses single wires where as parallel wires uses many wires. Infrared devices are
used now in laptops and palmtops.IrDA-1 was the first infrared specification. This is capable of 115.2k baud
and was interfaces in to UART. So pulse length cut down compared to RS 232 and reduce power
consumption.SCI are now in on chip and it will reduce pin count. Communication system will support
synchronous and asynchronous communications. Both forms are described in next section.
IV. Synchronous &Asynchronous Serial Communication
Synchronous and asynchronous communications have their own advantages and disadvantages.
Synchronous communication depends on clock whereas asynchronous doesn’t.
Synchronous serial communication: Sender and receiver share a clock or sender will provide timing
signal that receiver so the receiver can able to know when the next data bit will comes. In case of synchronous
communication, if there is no data to send then a fill character must be in each clock cycle. This process will
cause wastage of time. Synchronous communications are more efficient because data are transmitted only
between sender and receiver. Synchronous transmission is used in printers and fixed disk devices. Printers and
fixed disk are not normally serial devices. Because each clock use separate wires.
Asynchronous serial communication: Data are transmitted without the support of external signal. It
describes an asynchronous protocol in which a start signal send prior to each byte and stop signal is send after
each byte. Start signals indicate to prepare the receiver to receive signal. Stop signal indicate the preparation for
next signal. Bit rate, Baud rate etc are indicating the transmission speed in asynchronous communication.
Baurd rate is the number of times a signal in a communications channel changes start Bit rate is no. Of data bits
transmitted in 1 sec.For sending 7 bits total of 10 bits must me transmitted. Start bit, stop bit, parity check bit
and 7 bit data bit
V. Error Detection&Correction
To achieve better Quality Of data transmission, error detecting and correcting techniques are used.
Different error detecting and correcting techniques are available. Here we are using hamming code for error
detection and correction. Hamming code can correct single bit error and detect double bit error.
Hamming codes are used to detect and correct a larger set of errors. Hamming codes contain several
parity bits and assign different bits to overlapping groups.
Error detection by hamming code: When we are transmitting data with 4 bits and 3 check bits.
Different check bits have different functions. Check bit 1 establishes even parity over itself and data bits
1&2.check bit 2 establishes even parity itself and data bits 1&3.check bit 3 establishes even parity itself and data
bit 2&4.
Assume only 1 bit can be in error. Then we can determine error using the following table.
Check bit in error Data bit in error
None None
1&2 1(odd numbered bits of the first two)
1&3 2(even numbered bits of the first two)
2 only 3(odd numbered bits of the second two)
3 only 4(even numbered bits of the second two)
Error correction by hamming code: In this check bits are added to the output of the message. Then
message bits are numbered from left to right starting at 1.every bits whose number is a power of 2 is a check
bit(1,2,4,8…).other bits are message bits(3,5,…).
When the transmitted message is received, parity bit is calculated over each group of bits. parity bits
are placed at the positions 1,2,4 and so forth. If the syndrome value is zero then there is no error. For single bit
error syndrome value identifies the erroneous bit. Below example shows how to detect and correct errors.
0 1 1 0 0 0 0 1 1 1 0 1
Figure 3: Received message on the receiver
0 1 1 0 0 1 0 1 1 1 0 1
Figure 4: Corrected message (Transmitted Data)
Serial Communication Interface with Error Detection
DOI: 10.9790/2834-10617376 www.iosrjournals.org 76 | Page
1 bit in the output message-number 6,in dark box has been inverted because of transmission error.
When the ones count for check groups are calculated, group 2&4 have odd counts. So 1 is placed in the
syndrome word. The resulting syndrome value is 6,which is the erroneous bit number. Inverting the bit and
restore original data. Here 6 th position will inverted and change value from 0 to 1.
VI. Conclusion
Serial communication interface can increase the speed of data transmission. UART is used as serial
communication interface with error detection and correction. So we can improve the performance as well as the
quality of the data transmitted. By doing error correcting we can improve the reliability of IC.Now a days fault
tolerant of IC is a major concern. It can be used for safety applications. As a future work we can enhance the
error detection scheme to correct 3 bit error and detect up to 7 bits..This techniques is used for security
applications.
References
[1] J.D.Lee,P.S Bhojwani and R.N Mahapatra, “A safety Analysis FrameWork for COTS Microprocessors In Sfety Critical
Applications” Proc. Of the 10th
IEEE High Assurance System Engineering Symposium,pp.407-408,2007.
[2] M.Razmkhah,S.G Miremedi& A.Ejlali,”A Micro-FT-UART for safety Critical SoC Based Applications”;In Proc.
ARES,2009,pp.316-321.
[3] Zhou Yi; Zhou Zhonghua; Hou Ligang; Wu Wuchen,” Design and optimization of Serial communication system interface module”
Computer Engineering and Technology (ICCET), 2010 2nd International Conference on Year: 2010, Volume: 7.
[4] Kumar, U.K.; Umashankar, B.S."Improved Hamming Code for Error Detection and Correction” Wireless Pervasive Computing,
2007. ISWPC '07. 2nd International Symposium on Year: 2007.
[5] Yuanyuan Cui; Xunying Zhang"Research and implemention of interleaving grouping Hamming code algorithm” Signal Processing,
Communication and Computing (ICSPCC), 2013 IEEE International Conference on Year: 2013.
[6] Yongcheng Wang; Kefei Song,” A new approach to realize UART” Electronic and Mechanical Engineering and Information
Technology (EMEIT), 2011 International Conference on Year: 2011, Volume: 5.
[7] Blessington, T.P.; Murthy, B.B.; Ganesh, G.V.; Prasad, T.S.R.,"Optimal implementation of UART-SPI Interface in SoC” Devices,
Circuits and Systems (ICDCS), 2012 International Conference on Year: 2012.
[8] Bhadra, D.; Vij, V.S.; Stevens, K.S.”A low power UART design based on asynchronous techniques “Circuits and Systems
(MWSCAS), 2013 IEEE 56th International Midwest Symposium on Year: 2013.
[9] Insup Lee; Davidson, S.B.,"A performance analysis of timed synchronous communication primitives “Computers, IEEE
Transactions on Year: 1990.

More Related Content

What's hot

Intelligent Device TO Device Communication Using IoT
 Intelligent Device TO Device Communication Using IoT Intelligent Device TO Device Communication Using IoT
Intelligent Device TO Device Communication Using IoTIJCERT
 
A comparitive study of efficient anonymous routing protocols in manet
A comparitive study of efficient anonymous routing protocols in manetA comparitive study of efficient anonymous routing protocols in manet
A comparitive study of efficient anonymous routing protocols in maneteSAT Publishing House
 
Analyzing the Impact of Eaves on Energy Consumption of AODV Routing Protocol ...
Analyzing the Impact of Eaves on Energy Consumption of AODV Routing Protocol ...Analyzing the Impact of Eaves on Energy Consumption of AODV Routing Protocol ...
Analyzing the Impact of Eaves on Energy Consumption of AODV Routing Protocol ...ijwmn
 
Forestalling Meticulous Jam Attacks Using Packet-Hiding Techniques
Forestalling Meticulous Jam Attacks Using Packet-Hiding TechniquesForestalling Meticulous Jam Attacks Using Packet-Hiding Techniques
Forestalling Meticulous Jam Attacks Using Packet-Hiding TechniquesEswar Publications
 
Attacks Prevention and Detection Techniques In MANET: A Survey
Attacks Prevention and Detection Techniques In MANET: A SurveyAttacks Prevention and Detection Techniques In MANET: A Survey
Attacks Prevention and Detection Techniques In MANET: A SurveyIJERA Editor
 
“Reducing packet loss in manet”
“Reducing packet loss in manet”“Reducing packet loss in manet”
“Reducing packet loss in manet”Alexander Decker
 
Iss 2
Iss 2Iss 2
Iss 2ijgca
 
To Design a Hybrid Algorithm to Detect and Eliminate Wormhole Attack in Wirel...
To Design a Hybrid Algorithm to Detect and Eliminate Wormhole Attack in Wirel...To Design a Hybrid Algorithm to Detect and Eliminate Wormhole Attack in Wirel...
To Design a Hybrid Algorithm to Detect and Eliminate Wormhole Attack in Wirel...IRJET Journal
 
Cryptography System for Online Communication Using Polyalphabetic Substitutio...
Cryptography System for Online Communication Using Polyalphabetic Substitutio...Cryptography System for Online Communication Using Polyalphabetic Substitutio...
Cryptography System for Online Communication Using Polyalphabetic Substitutio...Eswar Publications
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)ijceronline
 
A Study on Access Point Selection Algorithms in Wireless Mesh Networks
A Study on Access Point Selection Algorithms in Wireless Mesh NetworksA Study on Access Point Selection Algorithms in Wireless Mesh Networks
A Study on Access Point Selection Algorithms in Wireless Mesh NetworksEswar Publications
 
An Enhanced Approach to Avoid Black hole Attack in Mobile Ad hoc Networks usi...
An Enhanced Approach to Avoid Black hole Attack in Mobile Ad hoc Networks usi...An Enhanced Approach to Avoid Black hole Attack in Mobile Ad hoc Networks usi...
An Enhanced Approach to Avoid Black hole Attack in Mobile Ad hoc Networks usi...ijsrd.com
 

What's hot (15)

Intelligent Device TO Device Communication Using IoT
 Intelligent Device TO Device Communication Using IoT Intelligent Device TO Device Communication Using IoT
Intelligent Device TO Device Communication Using IoT
 
A comparitive study of efficient anonymous routing protocols in manet
A comparitive study of efficient anonymous routing protocols in manetA comparitive study of efficient anonymous routing protocols in manet
A comparitive study of efficient anonymous routing protocols in manet
 
Analyzing the Impact of Eaves on Energy Consumption of AODV Routing Protocol ...
Analyzing the Impact of Eaves on Energy Consumption of AODV Routing Protocol ...Analyzing the Impact of Eaves on Energy Consumption of AODV Routing Protocol ...
Analyzing the Impact of Eaves on Energy Consumption of AODV Routing Protocol ...
 
Forestalling Meticulous Jam Attacks Using Packet-Hiding Techniques
Forestalling Meticulous Jam Attacks Using Packet-Hiding TechniquesForestalling Meticulous Jam Attacks Using Packet-Hiding Techniques
Forestalling Meticulous Jam Attacks Using Packet-Hiding Techniques
 
Abdullah Mukhtar ppt
Abdullah Mukhtar pptAbdullah Mukhtar ppt
Abdullah Mukhtar ppt
 
Attacks Prevention and Detection Techniques In MANET: A Survey
Attacks Prevention and Detection Techniques In MANET: A SurveyAttacks Prevention and Detection Techniques In MANET: A Survey
Attacks Prevention and Detection Techniques In MANET: A Survey
 
“Reducing packet loss in manet”
“Reducing packet loss in manet”“Reducing packet loss in manet”
“Reducing packet loss in manet”
 
Iss 2
Iss 2Iss 2
Iss 2
 
To Design a Hybrid Algorithm to Detect and Eliminate Wormhole Attack in Wirel...
To Design a Hybrid Algorithm to Detect and Eliminate Wormhole Attack in Wirel...To Design a Hybrid Algorithm to Detect and Eliminate Wormhole Attack in Wirel...
To Design a Hybrid Algorithm to Detect and Eliminate Wormhole Attack in Wirel...
 
N0363079085
N0363079085N0363079085
N0363079085
 
Cryptography System for Online Communication Using Polyalphabetic Substitutio...
Cryptography System for Online Communication Using Polyalphabetic Substitutio...Cryptography System for Online Communication Using Polyalphabetic Substitutio...
Cryptography System for Online Communication Using Polyalphabetic Substitutio...
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
A Study on Access Point Selection Algorithms in Wireless Mesh Networks
A Study on Access Point Selection Algorithms in Wireless Mesh NetworksA Study on Access Point Selection Algorithms in Wireless Mesh Networks
A Study on Access Point Selection Algorithms in Wireless Mesh Networks
 
An Enhanced Approach to Avoid Black hole Attack in Mobile Ad hoc Networks usi...
An Enhanced Approach to Avoid Black hole Attack in Mobile Ad hoc Networks usi...An Enhanced Approach to Avoid Black hole Attack in Mobile Ad hoc Networks usi...
An Enhanced Approach to Avoid Black hole Attack in Mobile Ad hoc Networks usi...
 
E42043640
E42043640E42043640
E42043640
 

Viewers also liked

Structure, Morphology & Infrared Spectroscopic Characterization of Ga (2x+2) ...
Structure, Morphology & Infrared Spectroscopic Characterization of Ga (2x+2) ...Structure, Morphology & Infrared Spectroscopic Characterization of Ga (2x+2) ...
Structure, Morphology & Infrared Spectroscopic Characterization of Ga (2x+2) ...IOSR Journals
 
The Effect of Transformational Leadership on Market Orientation, Learning Ori...
The Effect of Transformational Leadership on Market Orientation, Learning Ori...The Effect of Transformational Leadership on Market Orientation, Learning Ori...
The Effect of Transformational Leadership on Market Orientation, Learning Ori...IOSR Journals
 
An Inventory Model for Constant Demand with Shortages under Permissible Delay...
An Inventory Model for Constant Demand with Shortages under Permissible Delay...An Inventory Model for Constant Demand with Shortages under Permissible Delay...
An Inventory Model for Constant Demand with Shortages under Permissible Delay...IOSR Journals
 
The Reliability Study of 11-Kv Distribution Feeders: A Case Study of Idi-Arab...
The Reliability Study of 11-Kv Distribution Feeders: A Case Study of Idi-Arab...The Reliability Study of 11-Kv Distribution Feeders: A Case Study of Idi-Arab...
The Reliability Study of 11-Kv Distribution Feeders: A Case Study of Idi-Arab...IOSR Journals
 
Synthesis, Characterization and Anti-inflammatory Activity of Novel Triazolod...
Synthesis, Characterization and Anti-inflammatory Activity of Novel Triazolod...Synthesis, Characterization and Anti-inflammatory Activity of Novel Triazolod...
Synthesis, Characterization and Anti-inflammatory Activity of Novel Triazolod...IOSR Journals
 
Analysis of Ketoconazole and Piribedil Using Ion Selective Electrodes
Analysis of Ketoconazole and Piribedil Using Ion Selective ElectrodesAnalysis of Ketoconazole and Piribedil Using Ion Selective Electrodes
Analysis of Ketoconazole and Piribedil Using Ion Selective ElectrodesIOSR Journals
 
Effective Waste Management and Environmental Control
Effective Waste Management and Environmental ControlEffective Waste Management and Environmental Control
Effective Waste Management and Environmental ControlIOSR Journals
 
The Protective Role Of High Dietary Protein On Arsenic Induced Hepatotoxicity...
The Protective Role Of High Dietary Protein On Arsenic Induced Hepatotoxicity...The Protective Role Of High Dietary Protein On Arsenic Induced Hepatotoxicity...
The Protective Role Of High Dietary Protein On Arsenic Induced Hepatotoxicity...IOSR Journals
 

Viewers also liked (20)

Q01062121126
Q01062121126Q01062121126
Q01062121126
 
Structure, Morphology & Infrared Spectroscopic Characterization of Ga (2x+2) ...
Structure, Morphology & Infrared Spectroscopic Characterization of Ga (2x+2) ...Structure, Morphology & Infrared Spectroscopic Characterization of Ga (2x+2) ...
Structure, Morphology & Infrared Spectroscopic Characterization of Ga (2x+2) ...
 
The Effect of Transformational Leadership on Market Orientation, Learning Ori...
The Effect of Transformational Leadership on Market Orientation, Learning Ori...The Effect of Transformational Leadership on Market Orientation, Learning Ori...
The Effect of Transformational Leadership on Market Orientation, Learning Ori...
 
An Inventory Model for Constant Demand with Shortages under Permissible Delay...
An Inventory Model for Constant Demand with Shortages under Permissible Delay...An Inventory Model for Constant Demand with Shortages under Permissible Delay...
An Inventory Model for Constant Demand with Shortages under Permissible Delay...
 
N017117276
N017117276N017117276
N017117276
 
The Reliability Study of 11-Kv Distribution Feeders: A Case Study of Idi-Arab...
The Reliability Study of 11-Kv Distribution Feeders: A Case Study of Idi-Arab...The Reliability Study of 11-Kv Distribution Feeders: A Case Study of Idi-Arab...
The Reliability Study of 11-Kv Distribution Feeders: A Case Study of Idi-Arab...
 
Synthesis, Characterization and Anti-inflammatory Activity of Novel Triazolod...
Synthesis, Characterization and Anti-inflammatory Activity of Novel Triazolod...Synthesis, Characterization and Anti-inflammatory Activity of Novel Triazolod...
Synthesis, Characterization and Anti-inflammatory Activity of Novel Triazolod...
 
E013152730
E013152730E013152730
E013152730
 
L017136269
L017136269L017136269
L017136269
 
Analysis of Ketoconazole and Piribedil Using Ion Selective Electrodes
Analysis of Ketoconazole and Piribedil Using Ion Selective ElectrodesAnalysis of Ketoconazole and Piribedil Using Ion Selective Electrodes
Analysis of Ketoconazole and Piribedil Using Ion Selective Electrodes
 
F017544247
F017544247F017544247
F017544247
 
B012540914
B012540914B012540914
B012540914
 
I017446164
I017446164I017446164
I017446164
 
H018114956
H018114956H018114956
H018114956
 
Effective Waste Management and Environmental Control
Effective Waste Management and Environmental ControlEffective Waste Management and Environmental Control
Effective Waste Management and Environmental Control
 
B017410916
B017410916B017410916
B017410916
 
The Protective Role Of High Dietary Protein On Arsenic Induced Hepatotoxicity...
The Protective Role Of High Dietary Protein On Arsenic Induced Hepatotoxicity...The Protective Role Of High Dietary Protein On Arsenic Induced Hepatotoxicity...
The Protective Role Of High Dietary Protein On Arsenic Induced Hepatotoxicity...
 
K010516873
K010516873K010516873
K010516873
 
I012646171
I012646171I012646171
I012646171
 
I017144954
I017144954I017144954
I017144954
 

Similar to M010617376

UART project report by Tarun Khaneja ( 09034406598 )
UART project report by Tarun Khaneja ( 09034406598 )UART project report by Tarun Khaneja ( 09034406598 )
UART project report by Tarun Khaneja ( 09034406598 )Tarun Khaneja
 
Rs 232 & usb ieee1394 communication
Rs 232 & usb  ieee1394 communicationRs 232 & usb  ieee1394 communication
Rs 232 & usb ieee1394 communicationVijay Kumar
 
Embedded real time-systems communication
Embedded real time-systems communicationEmbedded real time-systems communication
Embedded real time-systems communicationVijay Kumar
 
EXIDE PPT TEMPLATE.pptx
EXIDE PPT TEMPLATE.pptxEXIDE PPT TEMPLATE.pptx
EXIDE PPT TEMPLATE.pptxNaveenK365392
 
Design and implementation of uart on soc
Design and implementation of uart on socDesign and implementation of uart on soc
Design and implementation of uart on socIjrdt Journal
 
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 TroubleshootingLiving Online
 
Implementation of Universal Asynchronous Receiver and Transmitter
Implementation of Universal Asynchronous Receiver and TransmitterImplementation of Universal Asynchronous Receiver and Transmitter
Implementation of Universal Asynchronous Receiver and TransmitterIJERA Editor
 
Serial Port Device Driver
Serial Port Device DriverSerial Port Device Driver
Serial Port Device DriverEmblogic
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)ijceronline
 
Synthesis & FPGA Implementation of UART IP Soft Core
Synthesis & FPGA Implementation of UART IP Soft CoreSynthesis & FPGA Implementation of UART IP Soft Core
Synthesis & FPGA Implementation of UART IP Soft Coreijsrd.com
 
Automation and Robotics 20ME51I_Week_3_Practicals.pdf
Automation and Robotics 20ME51I_Week_3_Practicals.pdfAutomation and Robotics 20ME51I_Week_3_Practicals.pdf
Automation and Robotics 20ME51I_Week_3_Practicals.pdfGandhibabu8
 
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 coreAneesh Raveendran
 
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.pptaasitworld
 
Design &Implementation of I2C Master Controller Interfaced With RAM Using VHDL
Design &Implementation of I2C Master Controller Interfaced With RAM Using VHDLDesign &Implementation of I2C Master Controller Interfaced With RAM Using VHDL
Design &Implementation of I2C Master Controller Interfaced With RAM Using VHDLIJERA Editor
 
Hybrid Communication Protocol- UART & SPI
Hybrid Communication Protocol- UART & SPIHybrid Communication Protocol- UART & SPI
Hybrid Communication Protocol- UART & SPIHardik Manocha
 

Similar to M010617376 (20)

UART project report by Tarun Khaneja ( 09034406598 )
UART project report by Tarun Khaneja ( 09034406598 )UART project report by Tarun Khaneja ( 09034406598 )
UART project report by Tarun Khaneja ( 09034406598 )
 
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
 
EXIDE PPT TEMPLATE.pptx
EXIDE PPT TEMPLATE.pptxEXIDE PPT TEMPLATE.pptx
EXIDE PPT TEMPLATE.pptx
 
Design and implementation of uart on soc
Design and implementation of uart on socDesign and implementation of uart on soc
Design and implementation of uart on soc
 
Project_intership
Project_intershipProject_intership
Project_intership
 
Project_intership
Project_intershipProject_intership
Project_intership
 
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
 
Implementation of Universal Asynchronous Receiver and Transmitter
Implementation of Universal Asynchronous Receiver and TransmitterImplementation of Universal Asynchronous Receiver and Transmitter
Implementation of Universal Asynchronous Receiver and Transmitter
 
Serial Port Device Driver
Serial Port Device DriverSerial Port Device Driver
Serial Port Device Driver
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
Jy3717961800
Jy3717961800Jy3717961800
Jy3717961800
 
Synthesis & FPGA Implementation of UART IP Soft Core
Synthesis & FPGA Implementation of UART IP Soft CoreSynthesis & FPGA Implementation of UART IP Soft Core
Synthesis & FPGA Implementation of UART IP Soft Core
 
Automation and Robotics 20ME51I_Week_3_Practicals.pdf
Automation and Robotics 20ME51I_Week_3_Practicals.pdfAutomation and Robotics 20ME51I_Week_3_Practicals.pdf
Automation and Robotics 20ME51I_Week_3_Practicals.pdf
 
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
 
Chapter 3 esy
Chapter 3 esy Chapter 3 esy
Chapter 3 esy
 
Acr5 dcb
Acr5 dcbAcr5 dcb
Acr5 dcb
 
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
 
Design &Implementation of I2C Master Controller Interfaced With RAM Using VHDL
Design &Implementation of I2C Master Controller Interfaced With RAM Using VHDLDesign &Implementation of I2C Master Controller Interfaced With RAM Using VHDL
Design &Implementation of I2C Master Controller Interfaced With RAM Using VHDL
 
Hybrid Communication Protocol- UART & SPI
Hybrid Communication Protocol- UART & SPIHybrid Communication Protocol- UART & SPI
Hybrid Communication Protocol- UART & SPI
 

More from IOSR Journals (20)

A011140104
A011140104A011140104
A011140104
 
M0111397100
M0111397100M0111397100
M0111397100
 
L011138596
L011138596L011138596
L011138596
 
K011138084
K011138084K011138084
K011138084
 
J011137479
J011137479J011137479
J011137479
 
I011136673
I011136673I011136673
I011136673
 
G011134454
G011134454G011134454
G011134454
 
H011135565
H011135565H011135565
H011135565
 
F011134043
F011134043F011134043
F011134043
 
E011133639
E011133639E011133639
E011133639
 
D011132635
D011132635D011132635
D011132635
 
C011131925
C011131925C011131925
C011131925
 
B011130918
B011130918B011130918
B011130918
 
A011130108
A011130108A011130108
A011130108
 
I011125160
I011125160I011125160
I011125160
 
H011124050
H011124050H011124050
H011124050
 
G011123539
G011123539G011123539
G011123539
 
F011123134
F011123134F011123134
F011123134
 
E011122530
E011122530E011122530
E011122530
 
D011121524
D011121524D011121524
D011121524
 

Recently uploaded

"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 

Recently uploaded (20)

"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 

M010617376

  • 1. IOSR Journal of Electronics and Communication Engineering (IOSR-JECE) e-ISSN: 2278-2834,p- ISSN: 2278-8735.Volume 10, Issue 6, Ver. I (Nov - Dec .2015), PP 73-76 www.iosrjournals.org DOI: 10.9790/2834-10617376 www.iosrjournals.org 73 | Page Serial Communication Interface with Error Detection 1 Divya c, 2 Grace John, 3 Jerrin Yomas MTech Scholar,2,3 Asst. Professor, ECE, 1,2,3 Vimal Jyothi Engineering, College, Chemperi, Kannur, Kerala, India Abstract: UART is used for serial data communication. UART is a piece of computer hardware that translates between parallel bits of data and serial bits. UART is usually an integrated circuit used for serial communications over a computer or peripheral device serial port. Bits have to be moved from one place to another using wires or some other medium. Over many miles, the expense of the wires becomes large. To reduce the expense of long communication links carrying several bits in parallel, data bits are sent sequentially. Errors may occur either internally or externally while we transmit information from source to destination. The errors generated during the transmission would affect the performance of the overall system. In order to reduce the errors we should incorporate any error detecting schemes like hamming decoder, check parity systems etc. Different serial communication devices are available. Index Terms: Baurd rate, Universal asynchronous receiver transmitter I. Introduction Serial communication interface (SCI) is the device that is used for the serial exchange of data between microprocessor and other peripheral device such as printers, scanners etc.SCI is similar to serial peripheral devices(SPI) .In SCI communication with another devices is also possible. This paper presents a brief explanation of serial communication interface with error detection. In SCI, parallel to serial converter is known as data transmitter and serial to parallel converter is known as data receiver.SCI uses Non Return to zero data format. Several protocols are available for SCI. A protocol is an agreement between 2 parties in the time of communication. Serial protocol helps to know bit order; transmission completeness etc.SCI is used for long haul communication. Serial transmissions are 2 types such as synchronous serial transmission and asynchronous serial transmission. Different serial communication architecture are available now.RS-232, I2C, SPI etc are the examples of these architectures. Errors may occur internally or externally while us transmitting information from source to destination. General SCI devices have no such method to detect and correct errors. The error generated during the transmission of devices will affect the performance of the transmitting information and overall system. So we need to research for detecting and correcting errors. In order to reduce errors we need to incorporate with any error detecting schemes. Figure 1: Serial data transmission II. Different Serial Communication Interface Architecture Different SCIs are available now.UART is mainly used as SCI.Different SCIs are described below. RS 232: It is the common interface unit found in almost all computers. It is complete standard contains electrical, physical and mechanical.RS 232 is capable of moderate distance speed up to 20 kbps. For short distance, its speed limit is up to 115.2 kbps.Common cable length is 30 feet. Cable of length 200 feet can be attained with low capacitance. RS-232 bus is an unbalanced bus. It is used for full duplex communication. Each transmitter send a data. By varying the voltage on the line all the transmitter send datas.Voltage higher than 3V is binary 0 and voltage less than -3V is binary 1.value is undefined in between these values. -232 conversion IC,
  • 2. Serial Communication Interface with Error Detection DOI: 10.9790/2834-10617376 www.iosrjournals.org 74 | Page such as the 1488, 1489, or ubiquitous MAX232, can be used for converting from logic levels (0 and 5V) to these levels and back. Typical RS-232 bit consist of a start bit, data bits, parity bits (if any), and stop bit(s). I2C: Inter integrated circuit bus is an interface developed by Philips semiconductors. It is a half duplex synchronous communication. I2C bus has 3 speeds such as (under 100Kbps), fast (400Kbps), and high-speed (3.4Mbps).i2c uses the distance of successfully over distances of 50 feet. Micro wire: Micro wire is a three-wire synchronous interface developed by National Semiconductor. It has master/slave bus, with serial data out of the master (SO), and serial data in to the master (SI), and signal clock (SK). Microwave has same advantages and disadvantages like SPI.it is limited to on board communication. 1-wire: Single-Link Failure Detection in All-Optical Networks Using Monitoring Cycles (MCs) and Monitoring Paths (MPs) [7] for identification of the link failure can be used detect the network failure. Three edge connectivity in WSNs and separate wavelengths for monitoring cycles and locations are the draw backs of this method. UART: A UART is the microchip with programming that controls computer’s interface to its attached serial devices. It act as intermediary between serial and parallel interface. One end of UART consist of a bus of eight-or-so data lines (plus some control pins), on the other is the two serial wires - RX and TX. UART are responsible for both sending and receiving serial data. Figure 2: UART Interface UART uses system on chip technology. The first UART devices are like rotating mechanical switch. They send 5 Bit Baudot codes for mechanical typewriters. Latter it was changed to 6 bit to reduce figure Vs character errors. Another UART was designed By Gordon Bell for PDP series of computers. In 1990s newer UART was developed with on-chip buffer. These UART allows to reduce error and higher transmission speed. To identify the performance of UART, different manufacture uses different terms. 8251 devices are named as “programmable communication interface” by intel.6551 MOS Technology was known under the name “asynchronous communications interface Adapter”. Motorola was introduced the term serial communication interface. Figure 2: UART Internal block diagram
  • 3. Serial Communication Interface with Error Detection DOI: 10.9790/2834-10617376 www.iosrjournals.org 75 | Page UART converts received parallel bytes in to serial.UART work as FIFO manner. For that they have transmit and receive FIFO registers. UART also provide additional circuits for signals that can be used to indicate the state of transmission media, To regulate the flow of data etc. III. Serial Versus Parallel Serial port is harder to interface than parallel port. Many registers are used in the case of parallel port. Serial cables can be longer than parallel cables. For examble serial port can transmit 1 as -3 to -25 Volts and 0 as 3 to 25 Volts. Serial transmission uses single wires where as parallel wires uses many wires. Infrared devices are used now in laptops and palmtops.IrDA-1 was the first infrared specification. This is capable of 115.2k baud and was interfaces in to UART. So pulse length cut down compared to RS 232 and reduce power consumption.SCI are now in on chip and it will reduce pin count. Communication system will support synchronous and asynchronous communications. Both forms are described in next section. IV. Synchronous &Asynchronous Serial Communication Synchronous and asynchronous communications have their own advantages and disadvantages. Synchronous communication depends on clock whereas asynchronous doesn’t. Synchronous serial communication: Sender and receiver share a clock or sender will provide timing signal that receiver so the receiver can able to know when the next data bit will comes. In case of synchronous communication, if there is no data to send then a fill character must be in each clock cycle. This process will cause wastage of time. Synchronous communications are more efficient because data are transmitted only between sender and receiver. Synchronous transmission is used in printers and fixed disk devices. Printers and fixed disk are not normally serial devices. Because each clock use separate wires. Asynchronous serial communication: Data are transmitted without the support of external signal. It describes an asynchronous protocol in which a start signal send prior to each byte and stop signal is send after each byte. Start signals indicate to prepare the receiver to receive signal. Stop signal indicate the preparation for next signal. Bit rate, Baud rate etc are indicating the transmission speed in asynchronous communication. Baurd rate is the number of times a signal in a communications channel changes start Bit rate is no. Of data bits transmitted in 1 sec.For sending 7 bits total of 10 bits must me transmitted. Start bit, stop bit, parity check bit and 7 bit data bit V. Error Detection&Correction To achieve better Quality Of data transmission, error detecting and correcting techniques are used. Different error detecting and correcting techniques are available. Here we are using hamming code for error detection and correction. Hamming code can correct single bit error and detect double bit error. Hamming codes are used to detect and correct a larger set of errors. Hamming codes contain several parity bits and assign different bits to overlapping groups. Error detection by hamming code: When we are transmitting data with 4 bits and 3 check bits. Different check bits have different functions. Check bit 1 establishes even parity over itself and data bits 1&2.check bit 2 establishes even parity itself and data bits 1&3.check bit 3 establishes even parity itself and data bit 2&4. Assume only 1 bit can be in error. Then we can determine error using the following table. Check bit in error Data bit in error None None 1&2 1(odd numbered bits of the first two) 1&3 2(even numbered bits of the first two) 2 only 3(odd numbered bits of the second two) 3 only 4(even numbered bits of the second two) Error correction by hamming code: In this check bits are added to the output of the message. Then message bits are numbered from left to right starting at 1.every bits whose number is a power of 2 is a check bit(1,2,4,8…).other bits are message bits(3,5,…). When the transmitted message is received, parity bit is calculated over each group of bits. parity bits are placed at the positions 1,2,4 and so forth. If the syndrome value is zero then there is no error. For single bit error syndrome value identifies the erroneous bit. Below example shows how to detect and correct errors. 0 1 1 0 0 0 0 1 1 1 0 1 Figure 3: Received message on the receiver 0 1 1 0 0 1 0 1 1 1 0 1 Figure 4: Corrected message (Transmitted Data)
  • 4. Serial Communication Interface with Error Detection DOI: 10.9790/2834-10617376 www.iosrjournals.org 76 | Page 1 bit in the output message-number 6,in dark box has been inverted because of transmission error. When the ones count for check groups are calculated, group 2&4 have odd counts. So 1 is placed in the syndrome word. The resulting syndrome value is 6,which is the erroneous bit number. Inverting the bit and restore original data. Here 6 th position will inverted and change value from 0 to 1. VI. Conclusion Serial communication interface can increase the speed of data transmission. UART is used as serial communication interface with error detection and correction. So we can improve the performance as well as the quality of the data transmitted. By doing error correcting we can improve the reliability of IC.Now a days fault tolerant of IC is a major concern. It can be used for safety applications. As a future work we can enhance the error detection scheme to correct 3 bit error and detect up to 7 bits..This techniques is used for security applications. References [1] J.D.Lee,P.S Bhojwani and R.N Mahapatra, “A safety Analysis FrameWork for COTS Microprocessors In Sfety Critical Applications” Proc. Of the 10th IEEE High Assurance System Engineering Symposium,pp.407-408,2007. [2] M.Razmkhah,S.G Miremedi& A.Ejlali,”A Micro-FT-UART for safety Critical SoC Based Applications”;In Proc. ARES,2009,pp.316-321. [3] Zhou Yi; Zhou Zhonghua; Hou Ligang; Wu Wuchen,” Design and optimization of Serial communication system interface module” Computer Engineering and Technology (ICCET), 2010 2nd International Conference on Year: 2010, Volume: 7. [4] Kumar, U.K.; Umashankar, B.S."Improved Hamming Code for Error Detection and Correction” Wireless Pervasive Computing, 2007. ISWPC '07. 2nd International Symposium on Year: 2007. [5] Yuanyuan Cui; Xunying Zhang"Research and implemention of interleaving grouping Hamming code algorithm” Signal Processing, Communication and Computing (ICSPCC), 2013 IEEE International Conference on Year: 2013. [6] Yongcheng Wang; Kefei Song,” A new approach to realize UART” Electronic and Mechanical Engineering and Information Technology (EMEIT), 2011 International Conference on Year: 2011, Volume: 5. [7] Blessington, T.P.; Murthy, B.B.; Ganesh, G.V.; Prasad, T.S.R.,"Optimal implementation of UART-SPI Interface in SoC” Devices, Circuits and Systems (ICDCS), 2012 International Conference on Year: 2012. [8] Bhadra, D.; Vij, V.S.; Stevens, K.S.”A low power UART design based on asynchronous techniques “Circuits and Systems (MWSCAS), 2013 IEEE 56th International Midwest Symposium on Year: 2013. [9] Insup Lee; Davidson, S.B.,"A performance analysis of timed synchronous communication primitives “Computers, IEEE Transactions on Year: 1990.