SlideShare a Scribd company logo
1 of 30
Download to read offline
Data Link Control
Line Control Unit LCU
Parallel data transfer
✓Signaling elements sent down the line all 8 bits at a
time.
✓One clock loads 8 bits.
✓8 times faster than serial transmission.
✓Data available to PC in desired form.
✓Best suitable for internal BUS.
✓Requires much larger cabling infrastructure.(One wire per
bit)
✓Can not be used for longer distances as delay in each
wire may be different.
Serial data transfer
✓Signaling elements sent down the line one at a time.
✓One clock loads one symbol.
✓Each signaling element may be
✓ Less than a bit – Manchester code
✓ One bit long -- NRZ-L, FSK, etc..
✓ More than a bit – QPSK.
✓Requires much lesser cabling.
✓Can be used for longer distances.
✓Slower than parallel transmission.
✓Synchronization is a critical issue.
Serial data transfer
✓Receiver should recognize beginning and end of bit
stream and each bit duration.
✓If Transmitter and Receiver are not synchronized, bits
sampled would be erroneous.
✓Error may not occur immediately but will occur later
due to cumulative effect.
Serial data transfer-- Example
✓Tr rate is 10,000 bits/ s.
✓Bit time T = 0.1ms
✓Bits sampled at mid-bit time = 0.05ms away from both ends.
!
!
!
!
✓Receiver clock faster or slower by 1%.
✓Each pulse will be sampled at a cumulative of 0.001ms.
✓After how many bits, it would be samples at the edge of the bit?
✓50 bits.
✓51st bit sampled will be the adjacent bit – error.
✓Larger the CLK difference, earlier the error.
0.1ms
0.05ms
Asynchronous Transmission
✓Data sent one character at a time.
✓Data can be 5 to 8 bits in length.
!
!
!
!
✓Receiver resynchronizes with each character.
✓Larger difference in CLK of TR and REC can also be
accommodated as only 8 bits max transmitted together. How
much ?
✓Receiver alerted with a start bit.
Asynchronous Transmission
!
!
!
!
!
!
!
✓Idle ‘1’ is negative voltage and ‘0’ is positive voltage.
✓Receiver is activated with one bit start bit i.e. positive pulse.
✓Followed by 5 to 8 data bits and one bit parity.
✓Frame ends with 1 to 2 stop bits – idle 1’s.
✓New character will have a new start bit.
START
BIT
One
character
P STOP
BITs
0
1
Asynchronous Transmission
✓ADVANTAGES:
✓Simple and cheap.
✓Resynchronizes at every start bit.
✓Very good for low speed transmission.
✓Example: PC connected to real time terminal where operator feeds
manually.
✓DISADVANTAGES:
✓2 to 3 bits overhead per character(25%).
✓Additional gap between words.
Synchronous Transmission
✓Blocks of characters or bits transmitted without start or stop bits.
✓REC synchronizes with either separate clocking line or clocking info
embedded in data.
✓Pre-amble and post-amble bits sent at beginning and end
respectively for synchronization.
✓TYPES:
✓ Character oriented transmission
✓ Bit oriented transmission
Character Oriented Synchronous Transmission
!
!
!
!
!
✓Data and control information both in character form.
✓Individual bits have no meaning, except in character form.
✓SYNC are predetermined unique bit pattern in character form for
synchronization of Rec.
✓Post amble can be avoided by stating length of data.
✓Overheads are very less as large chunk of data can be sent with
one set of headers.
Other control
information
S
Y
N
S
Y
N
S
Y
N
S
Y
N
DATAPreamble
Post amble
Address
Bit Oriented Synchronous Transmission
!
!
!
!
!
✓Data and control information both in bit form.
✓Every bit has a definition.
✓Overheads are very less as large chunk of data can be sent with
one set of headers.
Control Field
F

L

A

G

…F

L

A

G
DATA8 bit flag
8 bit flag
Address CRC
Line Control Unit LCU
✓PC is Data Terminal Equipment DTE.
✓DTE feeds Data Communication Equipment DCE. (MODEM).
✓DTE gives parallel data, which needs to be carried to DCE as serial
data.
✓LCU converts parallel data to serial data.
✓TYPES:
✓ UART Universal Asynchronous Receiver/Transmitter.
✓ USRT Universal Synchronous Receiver/Transmitter.
UART Universal Asynchronous Receiver/Transmitter
✓Used to transmit asynchronous data format without clocking
information.
✓FUNCTIONS:
✓Performs parallel to serial and serial to parallel conversion at
Transmitter and Receiver respectively.
✓Perform error detection by inserting and checking parity bits at
Transmitter and Receiver respectively.
✓Inserts and detects start and stop bits at Transmitter and Receiver
respectively.
✓Uses a control word to accommodate options for parity, data and
stop bits.
✓Control word must be programmed into UART control register prior
to transmission.
UART Control Word
✓START Bit: Always a single bit ‘0’, +ve voltage. No other option.
✓Number of Parity Bit NPB:
✓ NPB ‘1’ = No parity bit used.(RPE disable)
✓ NPB ‘0’ = One Parity bits used
✓ EVEN or ODD Parity POE:
✓ POE ‘1’ = Even Parity
✓ POE ‘0’ = ODD Parity
✓ Number of STOP Bits NSB
✓ NSB ‘1’ = 2 stop bits
✓ NSB ‘0’ = 1 stop bits
UART Control Word
✓Number of DATA Bit NDB1, NDB2:
!
!
!
!
!
!
!
✓If NDB2-NDB1 is 11 and NSB is 1 then:
✓ NSB = 1.5
NDB2 NDB1 Bits/word
0
0
1
1
0
1
0
1
5
6
7
8
UART Transmitter
Transmit Buffer Register
TD7 TD8TD5 TD6TD7 TD4 TD9 TD0
TDS
Control Register
NPB NSB NDB1 NDB2
CS
Parity
Generator
Data bits, Parity bits, Stop bits Steering Logic
Circuit
O/P
Ckt
Buffer Empty Logic Circuit
TEOC
Timing
Generator
TCP
Status Word Register
SWE
TBMT
TSO
Start Bit
UART Transmitter
✓UART sends TBMT, a transmit Buffer Empty signal to DTE to indicate
it is ready to receive data.
✓Sensing an active TBMT, DTE sends parallel data character to
transmit data lines (TD0 - TD7).
✓It strobes them into Transmit Buffer Register using Transmit Data
Strobe signal and TBMT becomes low.
✓Contents of Transmit Buffer Register are transferred to Transmit
shift Register when TEOC, Transmit End of Character, goes active to
indicate Transmit Shift Register is empty.
✓Parity generator generates parity as per data bits.
✓Data passes through steering logic circuit and picks Start, Stop and
Parity bits as decided by Control Word in Control Register.
✓Complete word is now serially outputted on the Transmit Serial
Output TSO pin with bit rate equal to Transmit Clock frequency TCP.
✓At end of last bit, it activates TEOC.
UART Transmitter
✓When data shifts from Transfer Buffer Register to Transmit Shift
Register, Buffer Empty Logic Circuit updates Status word register to
activate TBMT.
✓Active TBMT signals DTE to load new word on Buffer Register.
✓ It will wait for active TEOC when last serial bit goes out and moves
to shift register.
✓Process continues.
UART Transmitter Timing Diagram
Word 2 Word 3 Word 4Word 1
TSO
TEOC
TDS
TBMT
UART Receiver
Receive Shift Register
Receive Buffer Register
Status Word Register
Receive
Timing
Circuit
Control
Register
Parity
Checker
Start Bit
Verify
RSI
RCP
RD7 RD0
RPE
RDAR
RFE RDA ROR
SWE
RDE
RSI – Receive serial input
RCP – Receive clock pulse
RPE – Receive parity error
RFE – Receive flag error
ROE – Receive overrun
RDA – Receive data available
SWE – Status word enable
RDAR – Receive data available reset
UART Receiver
✓ Control word defining number of stop bits, data bits and parity
information is same as used for transmitter.
✓ UART receiver ignores idle time 1s.
✓ When valid start bit is detected by start bit verification circuit, data
character is serially clocked in to Receive Shift Register.
✓ If parity is used, the parity bit is checked in Parity Check Circuit.
✓ After full data character is loaded in shift register, character is
parallel loaded into Receive Buffer Register.
✓ Receive Data Available (RDA) flag is set in Status Word Register.
✓ DTE monitors Status Word Register through Status Word Enable
SWE’.
✓ When RDA goes high, it reads character from Receive Buffer
Register using Receive Data Enable RDE’.
✓ DTE then activated RDAR’, Receive Data Available Reset, which
resets RDA pin.
✓ Process continues…
UART Receiver
✓ Status Word Register also used for diagnostic information.
✓ Receive Parity Error, RPE flag is set when received character has
parity error.
✓ Receive Framing Error RFE flag is set when the character is
received with improper number of stop bits.
✓ Receive Overrun, ROR flag is set when character in buffer is
overwritten by another character as DTE fails to check RDA and
download bits.
✓ Receive Clock for UART (RCP) is 16 times higher than receive data
rate.
✓ This allows start bit verification circuit to identify valid high-to-low
transition from among negative going noise spikes.
Start Bit
Verification
✓ Once a low is detected, verification circuit counts-off 7 clock
pulses and samples the line.
✓ If found still low, it is a valid start bit as noise spike will not hold
that long.
✓ If found high, it was a noise spike.
✓ Once a valid start bit received, verification circuit samples
incoming bits once every 16 clock cycle.
UART Receiver Timing Diagram
WORD 1 WORD 2 WORD 3
RSI
STATUS STATUS
RDA
RPE, RFE, ROR
SWE
RDE
RDAR
USRT Universal Synchronous Receiver/Transmitter
✓Used to transmit synchronous data format with clocking
information.
✓FUNCTIONS:
✓Performs parallel to serial and serial to parallel conversion at
Transmitter and Receiver respectively.
✓Perform error detection by inserting and checking parity bits at
Transmitter and Receiver respectively.
✓Inserts and detects sync characters at Transmitter and Receiver
respectively.
✓Uses a control word to accommodate options for parity and data
bits.
✓Control word must be programmed into USRT control register prior
to transmission.
✓Control word same as UART except for stop bits.
USRT Transmitter
Data Bus
DB0DB1DB7 DB6 DB5 DB4 DB3 DB2
Transmit Data Register Transmit Sync Register
TSS
Timing and
Control
Transmit
!
!
Control
Register
TCP
TDS
TBMT
SCT
NDB1
CS
NDB2
POE
NPB
Multiplexer
Transmit Shift Register TSO
USRT Transmitter
✓Transmit clock signal (TCP) is set at desired bit rate.
✓Desired SYNC character is loaded from parallel input pins (DB0-DB7)
into Transmit Sync Register by Transmit Sync Strobe TSS.
✓Data are loaded into Transmit Data Register from parallel input pins
(DB0-DB7) using Transmit Data Strobe TDS.
✓NEXT character is extracted from Transmit Data Register if TDS pulse
occurs during presently transmitted character.
✓Otherwise NEXT character is extracted from Transmit SYN Register
and SYN Character Transmitted flag (SCT) is set.
✓Transmit Buffer Empty TBMT signal is used to request next character
from DTE.
✓Serial output data appears on Transmit Serial Output TSO pin.
✓Control Register stores Control word containing number of data and
parity bits per word and type of parity.
✓CS selects the USART only when active low. CS high does not mean
standby, but means not selected that time.
USRT Receiver
!
!
Timing
and Control
Receive
RR
RCP
SCR
RPE
ROR
RDA
RDAR
RSI
Receive Shift Register
Receive Sync Register
Comparator
Receive Buffer Register
RDE
USRT Receiver
✓The Receive Clock signal (RCP) is set at desired bit rate.
✓Desired SYN character is preloaded into Receive Sync Register
through (DB0-DB7) using Receive SYN Strobe RSS.
✓On high-to-low transition of Receive Rest input (RR) in Timing and
Control Receive, receiver is placed into bitwise search mode -
✓to examine serially received data bit-by-bit for SYN character.
✓Data is loaded into Receive Shift Register bitwise through RSI,
Receive Serial Input.
✓Comparator compares contents of Receive Shift Register with
contents of Receive SYN Register.
✓On receiving SYN, SYN Character Receive (SCR) output is set.
✓SYN character is transferred to Receive Buffer Register and
receiver is placed in character mode.
✓Received next data is received bitwise but examined in character
mode and RDA is set.
USRT Receiver
✓Received data is checked for receiver overrun or receive parity
error and respective flags ROR or RPE are set if found with
problems.
✓All control signals SCR, RDA, ROR, RPE are available in Status
Word Register.
✓Correct data is outputted to DTE through pins (DB0-DB7) using
Receive Data Enable strobe RDE.
✓Receive Data Available Reset RDAR is set to reset RDA pin.

More Related Content

What's hot

Unit – 2
Unit – 2Unit – 2
Unit – 2techbed
 
Microcontroller presentation
Microcontroller presentationMicrocontroller presentation
Microcontroller presentationxavierpaulino
 
Modulation techniques
Modulation techniquesModulation techniques
Modulation techniquesSathish Kumar
 
WSN-Routing Protocols Energy Efficient Routing
WSN-Routing Protocols Energy Efficient RoutingWSN-Routing Protocols Energy Efficient Routing
WSN-Routing Protocols Energy Efficient RoutingArunChokkalingam
 
8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller NotesDr.YNM
 
DATA COMMUNICATION PPT
DATA COMMUNICATION PPTDATA COMMUNICATION PPT
DATA COMMUNICATION PPTMajane Padua
 
Amplitude Modulation ppt
Amplitude Modulation pptAmplitude Modulation ppt
Amplitude Modulation pptPriyanka Mathur
 
EC8004 - Wireless Networks Question Bank
EC8004 - Wireless Networks Question BankEC8004 - Wireless Networks Question Bank
EC8004 - Wireless Networks Question BankKannanKrishnana
 
Analog and Digital Transmission
Analog and Digital TransmissionAnalog and Digital Transmission
Analog and Digital TransmissionAnushiya Ram
 
Switching - data communication
Switching - data communicationSwitching - data communication
Switching - data communicationRubaya Mim
 
AM and FM Transmitters and receivers
AM and FM Transmitters and receiversAM and FM Transmitters and receivers
AM and FM Transmitters and receiversKavitaGiri5
 
Asynchronous transfer mode
Asynchronous transfer modeAsynchronous transfer mode
Asynchronous transfer modeaniston0108
 
Multiplexing and spreading
Multiplexing and spreadingMultiplexing and spreading
Multiplexing and spreadingShankar Gangaju
 
Microwave Transmission
Microwave TransmissionMicrowave Transmission
Microwave TransmissionDevang Bhatti
 
Digital signal processor architecture
Digital signal processor architectureDigital signal processor architecture
Digital signal processor architecturekomal mistry
 

What's hot (20)

Unit – 2
Unit – 2Unit – 2
Unit – 2
 
Microcontroller presentation
Microcontroller presentationMicrocontroller presentation
Microcontroller presentation
 
Modulation techniques
Modulation techniquesModulation techniques
Modulation techniques
 
WSN-Routing Protocols Energy Efficient Routing
WSN-Routing Protocols Energy Efficient RoutingWSN-Routing Protocols Energy Efficient Routing
WSN-Routing Protocols Energy Efficient Routing
 
TDMA Time Division Multiple Access
TDMA Time Division Multiple AccessTDMA Time Division Multiple Access
TDMA Time Division Multiple Access
 
8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller Notes
 
DATA COMMUNICATION PPT
DATA COMMUNICATION PPTDATA COMMUNICATION PPT
DATA COMMUNICATION PPT
 
Gsm radio-interface
Gsm radio-interfaceGsm radio-interface
Gsm radio-interface
 
Amplitude Modulation ppt
Amplitude Modulation pptAmplitude Modulation ppt
Amplitude Modulation ppt
 
EC8004 - Wireless Networks Question Bank
EC8004 - Wireless Networks Question BankEC8004 - Wireless Networks Question Bank
EC8004 - Wireless Networks Question Bank
 
Analog and Digital Transmission
Analog and Digital TransmissionAnalog and Digital Transmission
Analog and Digital Transmission
 
Microwave measurements in detail
Microwave measurements in detailMicrowave measurements in detail
Microwave measurements in detail
 
Switching - data communication
Switching - data communicationSwitching - data communication
Switching - data communication
 
AM and FM Transmitters and receivers
AM and FM Transmitters and receiversAM and FM Transmitters and receivers
AM and FM Transmitters and receivers
 
Presentation on CDMA
Presentation on CDMAPresentation on CDMA
Presentation on CDMA
 
Asynchronous transfer mode
Asynchronous transfer modeAsynchronous transfer mode
Asynchronous transfer mode
 
Multiplexing and spreading
Multiplexing and spreadingMultiplexing and spreading
Multiplexing and spreading
 
USART
USARTUSART
USART
 
Microwave Transmission
Microwave TransmissionMicrowave Transmission
Microwave Transmission
 
Digital signal processor architecture
Digital signal processor architectureDigital signal processor architecture
Digital signal processor architecture
 

Viewers also liked

Data Link Synchronous Protocols - SDLC, HDLC
Data Link Synchronous Protocols - SDLC, HDLCData Link Synchronous Protocols - SDLC, HDLC
Data Link Synchronous Protocols - SDLC, HDLCMadhumita Tamhane
 
Data communication protocols in centralised networks (in master:slave environ...
Data communication protocols in centralised networks (in master:slave environ...Data communication protocols in centralised networks (in master:slave environ...
Data communication protocols in centralised networks (in master:slave environ...Madhumita Tamhane
 
Sliding window protocol
Sliding window protocolSliding window protocol
Sliding window protocolRishu Seth
 
Enlace de datos - HDCL & PPP
Enlace de datos - HDCL & PPPEnlace de datos - HDCL & PPP
Enlace de datos - HDCL & PPPIsrael Cueva
 
Data communication and network Chapter -1
Data communication and network Chapter -1Data communication and network Chapter -1
Data communication and network Chapter -1Zafar Ayub
 
Chapter 1: Introduction to Data Communication and Networks
Chapter 1: Introduction to Data Communication and NetworksChapter 1: Introduction to Data Communication and Networks
Chapter 1: Introduction to Data Communication and NetworksShafaan Khaliq Bhatti
 

Viewers also liked (9)

Data Link Synchronous Protocols - SDLC, HDLC
Data Link Synchronous Protocols - SDLC, HDLCData Link Synchronous Protocols - SDLC, HDLC
Data Link Synchronous Protocols - SDLC, HDLC
 
Data communication protocols in centralised networks (in master:slave environ...
Data communication protocols in centralised networks (in master:slave environ...Data communication protocols in centralised networks (in master:slave environ...
Data communication protocols in centralised networks (in master:slave environ...
 
HDLC
HDLCHDLC
HDLC
 
Hdlc
HdlcHdlc
Hdlc
 
Sliding window protocol
Sliding window protocolSliding window protocol
Sliding window protocol
 
Enlace de datos - HDCL & PPP
Enlace de datos - HDCL & PPPEnlace de datos - HDCL & PPP
Enlace de datos - HDCL & PPP
 
Data communication and network Chapter -1
Data communication and network Chapter -1Data communication and network Chapter -1
Data communication and network Chapter -1
 
HDLC
HDLCHDLC
HDLC
 
Chapter 1: Introduction to Data Communication and Networks
Chapter 1: Introduction to Data Communication and NetworksChapter 1: Introduction to Data Communication and Networks
Chapter 1: Introduction to Data Communication and Networks
 

Similar to Data link control line control unit LCU

Similar to Data link control line control unit LCU (20)

Serial Communication Uart soc
Serial Communication  Uart socSerial Communication  Uart soc
Serial Communication Uart soc
 
8251 USART.pptx
8251 USART.pptx8251 USART.pptx
8251 USART.pptx
 
8251 USART
8251 USART8251 USART
8251 USART
 
8251 a basic
8251 a basic8251 a basic
8251 a basic
 
Universal Serial Communication Interface
Universal Serial Communication InterfaceUniversal Serial Communication Interface
Universal Serial Communication Interface
 
Serial IO for 8051
Serial IO for 8051Serial IO for 8051
Serial IO for 8051
 
Uart
UartUart
Uart
 
AN INTRODUCTION TO SERIAL PORT INTERFACING
AN INTRODUCTION TO SERIAL PORT INTERFACINGAN INTRODUCTION TO SERIAL PORT INTERFACING
AN INTRODUCTION TO SERIAL PORT INTERFACING
 
Pci
PciPci
Pci
 
serial-200505101453.pdf
serial-200505101453.pdfserial-200505101453.pdf
serial-200505101453.pdf
 
Serial Communication
Serial CommunicationSerial Communication
Serial Communication
 
Pentium processor
Pentium processorPentium processor
Pentium processor
 
Microcontrollers and microprocessors in electrical communication engineering....
Microcontrollers and microprocessors in electrical communication engineering....Microcontrollers and microprocessors in electrical communication engineering....
Microcontrollers and microprocessors in electrical communication engineering....
 
12 mt06ped019
12 mt06ped019 12 mt06ped019
12 mt06ped019
 
Uart wiki
Uart wikiUart wiki
Uart wiki
 
8051 serial communication-UART
8051 serial communication-UART8051 serial communication-UART
8051 serial communication-UART
 
Usart 8251
Usart 8251Usart 8251
Usart 8251
 
Serial Communication In Atmega 16
Serial Communication In Atmega 16Serial Communication In Atmega 16
Serial Communication In Atmega 16
 
Universal synchronous asynchronous receiver transmitter(usart) and AtoD Coverter
Universal synchronous asynchronous receiver transmitter(usart) and AtoD CoverterUniversal synchronous asynchronous receiver transmitter(usart) and AtoD Coverter
Universal synchronous asynchronous receiver transmitter(usart) and AtoD Coverter
 
USART - 8251 / usart-8251A Pallav Shukla
USART - 8251 / usart-8251A Pallav ShuklaUSART - 8251 / usart-8251A Pallav Shukla
USART - 8251 / usart-8251A Pallav Shukla
 

More from Madhumita Tamhane

Optical wireless communication li fi
Optical wireless communication li fiOptical wireless communication li fi
Optical wireless communication li fiMadhumita Tamhane
 
Optical Fiber Communication Part 3 Optical Digital Receiver
Optical Fiber Communication Part 3 Optical Digital ReceiverOptical Fiber Communication Part 3 Optical Digital Receiver
Optical Fiber Communication Part 3 Optical Digital ReceiverMadhumita Tamhane
 
Optical fiber communication Part 2 Sources and Detectors
Optical fiber communication Part 2 Sources and DetectorsOptical fiber communication Part 2 Sources and Detectors
Optical fiber communication Part 2 Sources and DetectorsMadhumita Tamhane
 
Optical fiber communication Part 1 Optical Fiber Fundamentals
Optical fiber communication Part 1 Optical Fiber FundamentalsOptical fiber communication Part 1 Optical Fiber Fundamentals
Optical fiber communication Part 1 Optical Fiber FundamentalsMadhumita Tamhane
 
Black and white TV fundamentals
Black and white TV fundamentalsBlack and white TV fundamentals
Black and white TV fundamentalsMadhumita Tamhane
 
Telecommunication switching system
Telecommunication switching systemTelecommunication switching system
Telecommunication switching systemMadhumita Tamhane
 
Flyod's algorithm for finding shortest path
Flyod's algorithm for finding shortest pathFlyod's algorithm for finding shortest path
Flyod's algorithm for finding shortest pathMadhumita Tamhane
 
ISDN Integrated Services Digital Network
ISDN Integrated Services Digital NetworkISDN Integrated Services Digital Network
ISDN Integrated Services Digital NetworkMadhumita Tamhane
 
Asynchronous Transfer Mode ATM
Asynchronous Transfer Mode  ATMAsynchronous Transfer Mode  ATM
Asynchronous Transfer Mode ATMMadhumita Tamhane
 
Setting Artificial Neural Networks parameters
Setting Artificial Neural Networks parametersSetting Artificial Neural Networks parameters
Setting Artificial Neural Networks parametersMadhumita Tamhane
 
Weight enumerators of block codes and the mc williams
Weight  enumerators of block codes and  the mc williamsWeight  enumerators of block codes and  the mc williams
Weight enumerators of block codes and the mc williamsMadhumita Tamhane
 
Justesen codes alternant codes goppa codes
Justesen codes alternant codes goppa codesJustesen codes alternant codes goppa codes
Justesen codes alternant codes goppa codesMadhumita Tamhane
 
The stack algorithm vs viterbi algorithm
The stack algorithm vs viterbi algorithmThe stack algorithm vs viterbi algorithm
The stack algorithm vs viterbi algorithmMadhumita Tamhane
 
Bch and reed solomon codes generation in frequency domain
Bch and reed solomon codes generation in frequency domainBch and reed solomon codes generation in frequency domain
Bch and reed solomon codes generation in frequency domainMadhumita Tamhane
 

More from Madhumita Tamhane (20)

Fiber optic sensors
Fiber optic sensors  Fiber optic sensors
Fiber optic sensors
 
OFDM for LTE
OFDM for LTEOFDM for LTE
OFDM for LTE
 
Small cells I : Femto cell
Small cells I :  Femto cellSmall cells I :  Femto cell
Small cells I : Femto cell
 
Optical wireless communication li fi
Optical wireless communication li fiOptical wireless communication li fi
Optical wireless communication li fi
 
Optical Fiber Communication Part 3 Optical Digital Receiver
Optical Fiber Communication Part 3 Optical Digital ReceiverOptical Fiber Communication Part 3 Optical Digital Receiver
Optical Fiber Communication Part 3 Optical Digital Receiver
 
Optical fiber communication Part 2 Sources and Detectors
Optical fiber communication Part 2 Sources and DetectorsOptical fiber communication Part 2 Sources and Detectors
Optical fiber communication Part 2 Sources and Detectors
 
Optical fiber communication Part 1 Optical Fiber Fundamentals
Optical fiber communication Part 1 Optical Fiber FundamentalsOptical fiber communication Part 1 Optical Fiber Fundamentals
Optical fiber communication Part 1 Optical Fiber Fundamentals
 
Colout TV Fundamentals
Colout TV FundamentalsColout TV Fundamentals
Colout TV Fundamentals
 
Black and white TV fundamentals
Black and white TV fundamentalsBlack and white TV fundamentals
Black and white TV fundamentals
 
Telecommunication switching system
Telecommunication switching systemTelecommunication switching system
Telecommunication switching system
 
X.25
X.25X.25
X.25
 
Flyod's algorithm for finding shortest path
Flyod's algorithm for finding shortest pathFlyod's algorithm for finding shortest path
Flyod's algorithm for finding shortest path
 
Line codes
Line codesLine codes
Line codes
 
ISDN Integrated Services Digital Network
ISDN Integrated Services Digital NetworkISDN Integrated Services Digital Network
ISDN Integrated Services Digital Network
 
Asynchronous Transfer Mode ATM
Asynchronous Transfer Mode  ATMAsynchronous Transfer Mode  ATM
Asynchronous Transfer Mode ATM
 
Setting Artificial Neural Networks parameters
Setting Artificial Neural Networks parametersSetting Artificial Neural Networks parameters
Setting Artificial Neural Networks parameters
 
Weight enumerators of block codes and the mc williams
Weight  enumerators of block codes and  the mc williamsWeight  enumerators of block codes and  the mc williams
Weight enumerators of block codes and the mc williams
 
Justesen codes alternant codes goppa codes
Justesen codes alternant codes goppa codesJustesen codes alternant codes goppa codes
Justesen codes alternant codes goppa codes
 
The stack algorithm vs viterbi algorithm
The stack algorithm vs viterbi algorithmThe stack algorithm vs viterbi algorithm
The stack algorithm vs viterbi algorithm
 
Bch and reed solomon codes generation in frequency domain
Bch and reed solomon codes generation in frequency domainBch and reed solomon codes generation in frequency domain
Bch and reed solomon codes generation in frequency domain
 

Recently uploaded

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 

Recently uploaded (20)

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 

Data link control line control unit LCU

  • 1. Data Link Control Line Control Unit LCU
  • 2. Parallel data transfer ✓Signaling elements sent down the line all 8 bits at a time. ✓One clock loads 8 bits. ✓8 times faster than serial transmission. ✓Data available to PC in desired form. ✓Best suitable for internal BUS. ✓Requires much larger cabling infrastructure.(One wire per bit) ✓Can not be used for longer distances as delay in each wire may be different.
  • 3. Serial data transfer ✓Signaling elements sent down the line one at a time. ✓One clock loads one symbol. ✓Each signaling element may be ✓ Less than a bit – Manchester code ✓ One bit long -- NRZ-L, FSK, etc.. ✓ More than a bit – QPSK. ✓Requires much lesser cabling. ✓Can be used for longer distances. ✓Slower than parallel transmission. ✓Synchronization is a critical issue.
  • 4. Serial data transfer ✓Receiver should recognize beginning and end of bit stream and each bit duration. ✓If Transmitter and Receiver are not synchronized, bits sampled would be erroneous. ✓Error may not occur immediately but will occur later due to cumulative effect.
  • 5. Serial data transfer-- Example ✓Tr rate is 10,000 bits/ s. ✓Bit time T = 0.1ms ✓Bits sampled at mid-bit time = 0.05ms away from both ends. ! ! ! ! ✓Receiver clock faster or slower by 1%. ✓Each pulse will be sampled at a cumulative of 0.001ms. ✓After how many bits, it would be samples at the edge of the bit? ✓50 bits. ✓51st bit sampled will be the adjacent bit – error. ✓Larger the CLK difference, earlier the error. 0.1ms 0.05ms
  • 6. Asynchronous Transmission ✓Data sent one character at a time. ✓Data can be 5 to 8 bits in length. ! ! ! ! ✓Receiver resynchronizes with each character. ✓Larger difference in CLK of TR and REC can also be accommodated as only 8 bits max transmitted together. How much ? ✓Receiver alerted with a start bit.
  • 7. Asynchronous Transmission ! ! ! ! ! ! ! ✓Idle ‘1’ is negative voltage and ‘0’ is positive voltage. ✓Receiver is activated with one bit start bit i.e. positive pulse. ✓Followed by 5 to 8 data bits and one bit parity. ✓Frame ends with 1 to 2 stop bits – idle 1’s. ✓New character will have a new start bit. START BIT One character P STOP BITs 0 1
  • 8. Asynchronous Transmission ✓ADVANTAGES: ✓Simple and cheap. ✓Resynchronizes at every start bit. ✓Very good for low speed transmission. ✓Example: PC connected to real time terminal where operator feeds manually. ✓DISADVANTAGES: ✓2 to 3 bits overhead per character(25%). ✓Additional gap between words.
  • 9. Synchronous Transmission ✓Blocks of characters or bits transmitted without start or stop bits. ✓REC synchronizes with either separate clocking line or clocking info embedded in data. ✓Pre-amble and post-amble bits sent at beginning and end respectively for synchronization. ✓TYPES: ✓ Character oriented transmission ✓ Bit oriented transmission
  • 10. Character Oriented Synchronous Transmission ! ! ! ! ! ✓Data and control information both in character form. ✓Individual bits have no meaning, except in character form. ✓SYNC are predetermined unique bit pattern in character form for synchronization of Rec. ✓Post amble can be avoided by stating length of data. ✓Overheads are very less as large chunk of data can be sent with one set of headers. Other control information S Y N S Y N S Y N S Y N DATAPreamble Post amble Address
  • 11. Bit Oriented Synchronous Transmission ! ! ! ! ! ✓Data and control information both in bit form. ✓Every bit has a definition. ✓Overheads are very less as large chunk of data can be sent with one set of headers. Control Field F
 L
 A
 G 
…F
 L
 A
 G DATA8 bit flag 8 bit flag Address CRC
  • 12. Line Control Unit LCU ✓PC is Data Terminal Equipment DTE. ✓DTE feeds Data Communication Equipment DCE. (MODEM). ✓DTE gives parallel data, which needs to be carried to DCE as serial data. ✓LCU converts parallel data to serial data. ✓TYPES: ✓ UART Universal Asynchronous Receiver/Transmitter. ✓ USRT Universal Synchronous Receiver/Transmitter.
  • 13. UART Universal Asynchronous Receiver/Transmitter ✓Used to transmit asynchronous data format without clocking information. ✓FUNCTIONS: ✓Performs parallel to serial and serial to parallel conversion at Transmitter and Receiver respectively. ✓Perform error detection by inserting and checking parity bits at Transmitter and Receiver respectively. ✓Inserts and detects start and stop bits at Transmitter and Receiver respectively. ✓Uses a control word to accommodate options for parity, data and stop bits. ✓Control word must be programmed into UART control register prior to transmission.
  • 14. UART Control Word ✓START Bit: Always a single bit ‘0’, +ve voltage. No other option. ✓Number of Parity Bit NPB: ✓ NPB ‘1’ = No parity bit used.(RPE disable) ✓ NPB ‘0’ = One Parity bits used ✓ EVEN or ODD Parity POE: ✓ POE ‘1’ = Even Parity ✓ POE ‘0’ = ODD Parity ✓ Number of STOP Bits NSB ✓ NSB ‘1’ = 2 stop bits ✓ NSB ‘0’ = 1 stop bits
  • 15. UART Control Word ✓Number of DATA Bit NDB1, NDB2: ! ! ! ! ! ! ! ✓If NDB2-NDB1 is 11 and NSB is 1 then: ✓ NSB = 1.5 NDB2 NDB1 Bits/word 0 0 1 1 0 1 0 1 5 6 7 8
  • 16. UART Transmitter Transmit Buffer Register TD7 TD8TD5 TD6TD7 TD4 TD9 TD0 TDS Control Register NPB NSB NDB1 NDB2 CS Parity Generator Data bits, Parity bits, Stop bits Steering Logic Circuit O/P Ckt Buffer Empty Logic Circuit TEOC Timing Generator TCP Status Word Register SWE TBMT TSO Start Bit
  • 17. UART Transmitter ✓UART sends TBMT, a transmit Buffer Empty signal to DTE to indicate it is ready to receive data. ✓Sensing an active TBMT, DTE sends parallel data character to transmit data lines (TD0 - TD7). ✓It strobes them into Transmit Buffer Register using Transmit Data Strobe signal and TBMT becomes low. ✓Contents of Transmit Buffer Register are transferred to Transmit shift Register when TEOC, Transmit End of Character, goes active to indicate Transmit Shift Register is empty. ✓Parity generator generates parity as per data bits. ✓Data passes through steering logic circuit and picks Start, Stop and Parity bits as decided by Control Word in Control Register. ✓Complete word is now serially outputted on the Transmit Serial Output TSO pin with bit rate equal to Transmit Clock frequency TCP. ✓At end of last bit, it activates TEOC.
  • 18. UART Transmitter ✓When data shifts from Transfer Buffer Register to Transmit Shift Register, Buffer Empty Logic Circuit updates Status word register to activate TBMT. ✓Active TBMT signals DTE to load new word on Buffer Register. ✓ It will wait for active TEOC when last serial bit goes out and moves to shift register. ✓Process continues.
  • 19. UART Transmitter Timing Diagram Word 2 Word 3 Word 4Word 1 TSO TEOC TDS TBMT
  • 20. UART Receiver Receive Shift Register Receive Buffer Register Status Word Register Receive Timing Circuit Control Register Parity Checker Start Bit Verify RSI RCP RD7 RD0 RPE RDAR RFE RDA ROR SWE RDE RSI – Receive serial input RCP – Receive clock pulse RPE – Receive parity error RFE – Receive flag error ROE – Receive overrun RDA – Receive data available SWE – Status word enable RDAR – Receive data available reset
  • 21. UART Receiver ✓ Control word defining number of stop bits, data bits and parity information is same as used for transmitter. ✓ UART receiver ignores idle time 1s. ✓ When valid start bit is detected by start bit verification circuit, data character is serially clocked in to Receive Shift Register. ✓ If parity is used, the parity bit is checked in Parity Check Circuit. ✓ After full data character is loaded in shift register, character is parallel loaded into Receive Buffer Register. ✓ Receive Data Available (RDA) flag is set in Status Word Register. ✓ DTE monitors Status Word Register through Status Word Enable SWE’. ✓ When RDA goes high, it reads character from Receive Buffer Register using Receive Data Enable RDE’. ✓ DTE then activated RDAR’, Receive Data Available Reset, which resets RDA pin. ✓ Process continues…
  • 22. UART Receiver ✓ Status Word Register also used for diagnostic information. ✓ Receive Parity Error, RPE flag is set when received character has parity error. ✓ Receive Framing Error RFE flag is set when the character is received with improper number of stop bits. ✓ Receive Overrun, ROR flag is set when character in buffer is overwritten by another character as DTE fails to check RDA and download bits. ✓ Receive Clock for UART (RCP) is 16 times higher than receive data rate. ✓ This allows start bit verification circuit to identify valid high-to-low transition from among negative going noise spikes.
  • 23. Start Bit Verification ✓ Once a low is detected, verification circuit counts-off 7 clock pulses and samples the line. ✓ If found still low, it is a valid start bit as noise spike will not hold that long. ✓ If found high, it was a noise spike. ✓ Once a valid start bit received, verification circuit samples incoming bits once every 16 clock cycle.
  • 24. UART Receiver Timing Diagram WORD 1 WORD 2 WORD 3 RSI STATUS STATUS RDA RPE, RFE, ROR SWE RDE RDAR
  • 25. USRT Universal Synchronous Receiver/Transmitter ✓Used to transmit synchronous data format with clocking information. ✓FUNCTIONS: ✓Performs parallel to serial and serial to parallel conversion at Transmitter and Receiver respectively. ✓Perform error detection by inserting and checking parity bits at Transmitter and Receiver respectively. ✓Inserts and detects sync characters at Transmitter and Receiver respectively. ✓Uses a control word to accommodate options for parity and data bits. ✓Control word must be programmed into USRT control register prior to transmission. ✓Control word same as UART except for stop bits.
  • 26. USRT Transmitter Data Bus DB0DB1DB7 DB6 DB5 DB4 DB3 DB2 Transmit Data Register Transmit Sync Register TSS Timing and Control Transmit ! ! Control Register TCP TDS TBMT SCT NDB1 CS NDB2 POE NPB Multiplexer Transmit Shift Register TSO
  • 27. USRT Transmitter ✓Transmit clock signal (TCP) is set at desired bit rate. ✓Desired SYNC character is loaded from parallel input pins (DB0-DB7) into Transmit Sync Register by Transmit Sync Strobe TSS. ✓Data are loaded into Transmit Data Register from parallel input pins (DB0-DB7) using Transmit Data Strobe TDS. ✓NEXT character is extracted from Transmit Data Register if TDS pulse occurs during presently transmitted character. ✓Otherwise NEXT character is extracted from Transmit SYN Register and SYN Character Transmitted flag (SCT) is set. ✓Transmit Buffer Empty TBMT signal is used to request next character from DTE. ✓Serial output data appears on Transmit Serial Output TSO pin. ✓Control Register stores Control word containing number of data and parity bits per word and type of parity. ✓CS selects the USART only when active low. CS high does not mean standby, but means not selected that time.
  • 28. USRT Receiver ! ! Timing and Control Receive RR RCP SCR RPE ROR RDA RDAR RSI Receive Shift Register Receive Sync Register Comparator Receive Buffer Register RDE
  • 29. USRT Receiver ✓The Receive Clock signal (RCP) is set at desired bit rate. ✓Desired SYN character is preloaded into Receive Sync Register through (DB0-DB7) using Receive SYN Strobe RSS. ✓On high-to-low transition of Receive Rest input (RR) in Timing and Control Receive, receiver is placed into bitwise search mode - ✓to examine serially received data bit-by-bit for SYN character. ✓Data is loaded into Receive Shift Register bitwise through RSI, Receive Serial Input. ✓Comparator compares contents of Receive Shift Register with contents of Receive SYN Register. ✓On receiving SYN, SYN Character Receive (SCR) output is set. ✓SYN character is transferred to Receive Buffer Register and receiver is placed in character mode. ✓Received next data is received bitwise but examined in character mode and RDA is set.
  • 30. USRT Receiver ✓Received data is checked for receiver overrun or receive parity error and respective flags ROR or RPE are set if found with problems. ✓All control signals SCR, RDA, ROR, RPE are available in Status Word Register. ✓Correct data is outputted to DTE through pins (DB0-DB7) using Receive Data Enable strobe RDE. ✓Receive Data Available Reset RDAR is set to reset RDA pin.