SlideShare a Scribd company logo
3
Most read
4
Most read
17
Most read
8251 USART
8251
• The 8251A is a programmable serial
communication interface chip designed for
synchronous and asynchronous serial
data communication.
• It supports the serial transmission of data.
• It is packed in a 28 pin DIP.
Pin details
Architecture
Arch - details
• The functional block diagram of 825 1A
consists five sections.
They are:
• Read/Write control logic
• Transmitter
• Receiver
• Data bus buffer
• Modem control.
Read/Write control logic
• The Read/Write Control logic interfaces the
8251A with CPU, determines the functions of the
8251A according to the control word written into
its control register.
• It monitors the data flow.
• This section has three registers and they are
control register, status register and data buffer.
• The active low signals RD, WR, CS and
C/D(Low) are used for read/write operations with
these three registers.
Read/Write control logic
• When C/D(low) is high, the control register is
selected for writing control word or reading
status word.
• When C/D(low) is low, the data buffer is selected
for read/write operation.
• When the reset is high, it forces 8251A into the
idle mode.
• The clock input is necessary for 8251A for
communication with CPU and this clock does not
control either the serial transmission or the
reception rate.
Transmitter
• The transmitter section accepts parallel data
from CPU and converts them into serial data.
• The transmitter section is double buffered, i.e., it
has a buffer register to hold an 8-bit parallel data
and another register called output register to
convert the parallel data into serial bits.
• When output register is empty, the data is
transferred from buffer to output register. Now
the processor can again load another data in
buffer register.
Transmitter
• If buffer register is empty, then TxRDY is goes to
high.
• If output register is empty then TxEMPTY goes to
high.
• The clock signal, TxC (low) controls the rate at
which the bits are transmitted by the USART.
• The clock frequency can be 1,16 or 64 times the
baud rate.
Receiver
• The receiver section accepts serial data and
convert them into parallel data
• The receiver section is double buffered, i.e., it
has an input register to receive serial data and
convert to parallel, and a buffer register to hold
the parallel data.
• When the RxD line goes low, the control logic
assumes it as a START bit, waits for half a bit
time and samples the line again.
• If the line is still low, then the input register
accepts the following bits, forms a character and
loads it into the buffer register.
Receiver
• The CPU reads the parallel data from the buffer register.
• When the input register loads a parallel data to buffer
register, the RxRDY line goes high.
• The clock signal RxC (low) controls the rate at which bits
are received by the USART.
• During asynchronous mode, the signal
SYNDET/BRKDET will indicate the break in the data
transmission.
• During synchronous mode, the signal SYNDET/BRKDET
will indicate the reception of synchronous character.
Modem control
• The MODEM control unit allows to interface a MODEM to 8251A
and to establish data communication through MODEM over
telephone lines.
• This unit takes care of handshake signals for MODEM interface.
• The 825 1A can be either memory mapped or I/O mapped in the
system.
• 8251A in I/O mapped in the system is shown in the figure.
• Using a 3-to-8 decoder generates the chip select signals for I/O
mapped devices.
• The address lines A4, A5 and A6 are decoded to generate eight chip
select signals (IOCS-0 to IOCS-7) and in this, the chip select signal
IOCS-2 is used to select 8251A.
• The address line A7 and the control signal IO / M(low) are used as
enable for decoder.
• The address line A0 of 8085 is connected to C/D(low) of 8251A to
provide the internal addresses.
Modem control
• The data lines D0 - D7 are connected to D0 - D7 of the
processor to achieve parallel data transfer.
• The RESET and clock signals are supplied by the
processor. Here the processor clock is directly
connected to 8251A. This clock controls the parallel data
transfer between the processor and 8251A.
• The output clock signal of 8085 is divided by suitable
clock dividers like programmable timer 8254 and then
used as clock for serial transmission and reception.
Modem control
• The TTL logic levels of the serial data lines and the
control signals necessary for serial transmission and
reception are converted to RS232 logic levels using
MAX232 and then terminated on a standard 9-pin D-
.type connector.
• In 8251A the transmission and reception baud rates can
be different or same.
• The device which requires serial communication with
processor can be connected to this 9-pin D-type
connector using 9-core cable
• The signals TxEMPTY, TxRDY and RxRDY can be used
as interrupt signals to initiate interrupt driven data
transfer scheme between processor and 8251
Modem control
• The CPU reads the parallel data from the buffer register.
• When the input register loads a parallel data to buffer
register, the RxRDY line goes high.
• The clock signal RxC (low) controls the rate at which bits
are received by the USART.
• During asynchronous mode, the signal
SYNDET/BRKDET will indicate the break in the data
transmission.
• During synchronous mode, the signal SYNDET/BRKDET
will indicate the reception of synchronous character.
8251 mode register
7 6 5 4 3 2 1 0 Mode register
Number of
Stop bits
00: invalid
01: 1 bit
10: 1.5 bits
11: 2 bits
Parity
0: odd
1: even
Parity enable
0: disable
1: enable
Character length
00: 5 bits
01: 6 bits
10: 7 bits
11: 8 bits
Baud Rate
00: Syn. Mode
01: x1 clock
10: x16 clock
11: x64 clock
8251 command register
TxE: transmit enable
DTR: data terminal ready
RxE: receiver enable
SBPRK:send break character
ER: error reset
RTS: request to send
IR: internal reset
EH: enter hunt mode
TxE
DTR
RxE
SBRK
ER
RTS
EH IR
8251 status register
DSR SYNDET FE OE PE TxEMPTY RxRDY TxRDY
TxRDY: transmit ready
RxRDY: receiver ready
TxEMPTY: transmitter empty
PE: parity error
OE: overrun error
FE: framing error
SYNDET: sync. character detected
DSR: data set ready
8251 interfaced with 8085

More Related Content

What's hot (20)

PPTX
8251 USART
ShivamSood22
 
PDF
ADC and DAC interfacing.pdf
VikasMahor3
 
PPTX
Interrupts in 8085
Hetauda City College
 
PPTX
8237 dma controller
Tech_MX
 
PPTX
8051 timer counter
vishalgohel12195
 
PPTX
Register of 80386
aviban
 
PPTX
Addressing modes of 8086
saurav kumar
 
PPT
8086 pin details
AJAL A J
 
PPT
pin-diagram-details-of-8086-microprocessor
barsharoy19
 
PPTX
Branching instructions in 8086 microprocessor
Rabin BK
 
PPTX
8254 Programmable Interval Timer by vijay
Vijay Kumar
 
PPT
Architecture of 8051 microcontroller))
Ganesh Ram
 
PPTX
Direct memory access (dma) with 8257 DMA Controller
Muhammed Afsal Villan
 
PPT
8086 micro processor
Poojith Chowdhary
 
PPTX
PROGRAMMABLE KEYBOARD AND DISPLAY INTERFACE(8279).pptx
SanjayV73
 
PPTX
Addressing Modes Of 8086
Ikhlas Rahman
 
PPTX
8051 Microcontroller PPT's By Er. Swapnil Kaware
Prof. Swapnil V. Kaware
 
PDF
Unit 3 mpmc
tamilnesaner
 
PPT
Adc interfacing
Monica Gunjal
 
PDF
Unit 5
tamilnesaner
 
8251 USART
ShivamSood22
 
ADC and DAC interfacing.pdf
VikasMahor3
 
Interrupts in 8085
Hetauda City College
 
8237 dma controller
Tech_MX
 
8051 timer counter
vishalgohel12195
 
Register of 80386
aviban
 
Addressing modes of 8086
saurav kumar
 
8086 pin details
AJAL A J
 
pin-diagram-details-of-8086-microprocessor
barsharoy19
 
Branching instructions in 8086 microprocessor
Rabin BK
 
8254 Programmable Interval Timer by vijay
Vijay Kumar
 
Architecture of 8051 microcontroller))
Ganesh Ram
 
Direct memory access (dma) with 8257 DMA Controller
Muhammed Afsal Villan
 
8086 micro processor
Poojith Chowdhary
 
PROGRAMMABLE KEYBOARD AND DISPLAY INTERFACE(8279).pptx
SanjayV73
 
Addressing Modes Of 8086
Ikhlas Rahman
 
8051 Microcontroller PPT's By Er. Swapnil Kaware
Prof. Swapnil V. Kaware
 
Unit 3 mpmc
tamilnesaner
 
Adc interfacing
Monica Gunjal
 
Unit 5
tamilnesaner
 

Similar to 8251 universal synchronous asynchronous receiver transmitter (20)

PPTX
8251 -USART.pptx
VikasMahor3
 
PPT
8251 a usart programmable communication interface(1)
divyangpit
 
PPTX
Usart 8251
saravanamanikandan02
 
PPTX
Chapter5
Bisrat Girma
 
PDF
INTERFACING WITH INTEL 8251A (USART)
Prof Ansari
 
PDF
INTERFACING WITH INTEL 8251A (USART)
Prof Ansari
 
PPTX
UNIT- 3.pptx
BASKARS53
 
PPTX
Microprocessor and Assembly Language - 9.pptx
SwarnimBajra
 
PPTX
28. 8251 programmable communication interface
sandip das
 
PPTX
MicroProcessors and MicroControllersUnit3
deepakdmaat
 
PPTX
8086 microprocessor -Input/Output INTERFACING
C.Helen Sulochana
 
PPTX
IO INTERFACING in unit 2 8086 Microprocessor
tamil arasan
 
PPTX
Pci
Iama Marsian
 
PPT
8255-PPI MPMC text book for engineering.ppt
khushiduppala
 
PPTX
8251 IC.pptx
Arikesari
 
PPTX
DMA controller intel 8257
Daniel Ilunga
 
PPTX
8251A INTEL Universal Synchronous Asynchronous Receiver Transmitter..pptx
AyushChoudhary215905
 
PPTX
UNIT 2.pptx
BASKARS53
 
PPTX
8251 USART
coolsdhanesh
 
8251 -USART.pptx
VikasMahor3
 
8251 a usart programmable communication interface(1)
divyangpit
 
Chapter5
Bisrat Girma
 
INTERFACING WITH INTEL 8251A (USART)
Prof Ansari
 
INTERFACING WITH INTEL 8251A (USART)
Prof Ansari
 
UNIT- 3.pptx
BASKARS53
 
Microprocessor and Assembly Language - 9.pptx
SwarnimBajra
 
28. 8251 programmable communication interface
sandip das
 
MicroProcessors and MicroControllersUnit3
deepakdmaat
 
8086 microprocessor -Input/Output INTERFACING
C.Helen Sulochana
 
IO INTERFACING in unit 2 8086 Microprocessor
tamil arasan
 
8255-PPI MPMC text book for engineering.ppt
khushiduppala
 
8251 IC.pptx
Arikesari
 
DMA controller intel 8257
Daniel Ilunga
 
8251A INTEL Universal Synchronous Asynchronous Receiver Transmitter..pptx
AyushChoudhary215905
 
UNIT 2.pptx
BASKARS53
 
8251 USART
coolsdhanesh
 
Ad

Recently uploaded (20)

PPTX
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
PPTX
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
PPTX
Element 7. CHEMICAL AND BIOLOGICAL AGENT.pptx
merrandomohandas
 
PDF
Book.pdf01_Intro.ppt algorithm for preperation stu used
archu26
 
PPTX
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
PPTX
UNIT DAA PPT cover all topics 2021 regulation
archu26
 
PPTX
Server Side Web Development Unit 1 of Nodejs.pptx
sneha852132
 
PDF
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
DOCX
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
PPT
PPT2_Metal formingMECHANICALENGINEEIRNG .ppt
Praveen Kumar
 
PDF
6th International Conference on Machine Learning Techniques and Data Science ...
ijistjournal
 
PPTX
Day2 B2 Best.pptx
helenjenefa1
 
PPTX
Introduction to Design of Machine Elements
PradeepKumarS27
 
PDF
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
PPTX
Arduino Based Gas Leakage Detector Project
CircuitDigest
 
PDF
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
PDF
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
DOCX
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
PPTX
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
PDF
Zilliz Cloud Demo for performance and scale
Zilliz
 
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
Element 7. CHEMICAL AND BIOLOGICAL AGENT.pptx
merrandomohandas
 
Book.pdf01_Intro.ppt algorithm for preperation stu used
archu26
 
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
UNIT DAA PPT cover all topics 2021 regulation
archu26
 
Server Side Web Development Unit 1 of Nodejs.pptx
sneha852132
 
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
PPT2_Metal formingMECHANICALENGINEEIRNG .ppt
Praveen Kumar
 
6th International Conference on Machine Learning Techniques and Data Science ...
ijistjournal
 
Day2 B2 Best.pptx
helenjenefa1
 
Introduction to Design of Machine Elements
PradeepKumarS27
 
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
Arduino Based Gas Leakage Detector Project
CircuitDigest
 
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
Zilliz Cloud Demo for performance and scale
Zilliz
 
Ad

8251 universal synchronous asynchronous receiver transmitter

  • 2. 8251 • The 8251A is a programmable serial communication interface chip designed for synchronous and asynchronous serial data communication. • It supports the serial transmission of data. • It is packed in a 28 pin DIP.
  • 5. Arch - details • The functional block diagram of 825 1A consists five sections. They are: • Read/Write control logic • Transmitter • Receiver • Data bus buffer • Modem control.
  • 6. Read/Write control logic • The Read/Write Control logic interfaces the 8251A with CPU, determines the functions of the 8251A according to the control word written into its control register. • It monitors the data flow. • This section has three registers and they are control register, status register and data buffer. • The active low signals RD, WR, CS and C/D(Low) are used for read/write operations with these three registers.
  • 7. Read/Write control logic • When C/D(low) is high, the control register is selected for writing control word or reading status word. • When C/D(low) is low, the data buffer is selected for read/write operation. • When the reset is high, it forces 8251A into the idle mode. • The clock input is necessary for 8251A for communication with CPU and this clock does not control either the serial transmission or the reception rate.
  • 8. Transmitter • The transmitter section accepts parallel data from CPU and converts them into serial data. • The transmitter section is double buffered, i.e., it has a buffer register to hold an 8-bit parallel data and another register called output register to convert the parallel data into serial bits. • When output register is empty, the data is transferred from buffer to output register. Now the processor can again load another data in buffer register.
  • 9. Transmitter • If buffer register is empty, then TxRDY is goes to high. • If output register is empty then TxEMPTY goes to high. • The clock signal, TxC (low) controls the rate at which the bits are transmitted by the USART. • The clock frequency can be 1,16 or 64 times the baud rate.
  • 10. Receiver • The receiver section accepts serial data and convert them into parallel data • The receiver section is double buffered, i.e., it has an input register to receive serial data and convert to parallel, and a buffer register to hold the parallel data. • When the RxD line goes low, the control logic assumes it as a START bit, waits for half a bit time and samples the line again. • If the line is still low, then the input register accepts the following bits, forms a character and loads it into the buffer register.
  • 11. Receiver • The CPU reads the parallel data from the buffer register. • When the input register loads a parallel data to buffer register, the RxRDY line goes high. • The clock signal RxC (low) controls the rate at which bits are received by the USART. • During asynchronous mode, the signal SYNDET/BRKDET will indicate the break in the data transmission. • During synchronous mode, the signal SYNDET/BRKDET will indicate the reception of synchronous character.
  • 12. Modem control • The MODEM control unit allows to interface a MODEM to 8251A and to establish data communication through MODEM over telephone lines. • This unit takes care of handshake signals for MODEM interface. • The 825 1A can be either memory mapped or I/O mapped in the system. • 8251A in I/O mapped in the system is shown in the figure. • Using a 3-to-8 decoder generates the chip select signals for I/O mapped devices. • The address lines A4, A5 and A6 are decoded to generate eight chip select signals (IOCS-0 to IOCS-7) and in this, the chip select signal IOCS-2 is used to select 8251A. • The address line A7 and the control signal IO / M(low) are used as enable for decoder. • The address line A0 of 8085 is connected to C/D(low) of 8251A to provide the internal addresses.
  • 13. Modem control • The data lines D0 - D7 are connected to D0 - D7 of the processor to achieve parallel data transfer. • The RESET and clock signals are supplied by the processor. Here the processor clock is directly connected to 8251A. This clock controls the parallel data transfer between the processor and 8251A. • The output clock signal of 8085 is divided by suitable clock dividers like programmable timer 8254 and then used as clock for serial transmission and reception.
  • 14. Modem control • The TTL logic levels of the serial data lines and the control signals necessary for serial transmission and reception are converted to RS232 logic levels using MAX232 and then terminated on a standard 9-pin D- .type connector. • In 8251A the transmission and reception baud rates can be different or same. • The device which requires serial communication with processor can be connected to this 9-pin D-type connector using 9-core cable • The signals TxEMPTY, TxRDY and RxRDY can be used as interrupt signals to initiate interrupt driven data transfer scheme between processor and 8251
  • 15. Modem control • The CPU reads the parallel data from the buffer register. • When the input register loads a parallel data to buffer register, the RxRDY line goes high. • The clock signal RxC (low) controls the rate at which bits are received by the USART. • During asynchronous mode, the signal SYNDET/BRKDET will indicate the break in the data transmission. • During synchronous mode, the signal SYNDET/BRKDET will indicate the reception of synchronous character.
  • 16. 8251 mode register 7 6 5 4 3 2 1 0 Mode register Number of Stop bits 00: invalid 01: 1 bit 10: 1.5 bits 11: 2 bits Parity 0: odd 1: even Parity enable 0: disable 1: enable Character length 00: 5 bits 01: 6 bits 10: 7 bits 11: 8 bits Baud Rate 00: Syn. Mode 01: x1 clock 10: x16 clock 11: x64 clock
  • 17. 8251 command register TxE: transmit enable DTR: data terminal ready RxE: receiver enable SBPRK:send break character ER: error reset RTS: request to send IR: internal reset EH: enter hunt mode TxE DTR RxE SBRK ER RTS EH IR
  • 18. 8251 status register DSR SYNDET FE OE PE TxEMPTY RxRDY TxRDY TxRDY: transmit ready RxRDY: receiver ready TxEMPTY: transmitter empty PE: parity error OE: overrun error FE: framing error SYNDET: sync. character detected DSR: data set ready