TOPICS: SIGNALS OF 8251A, SECTIONS OF 8251A,
VA R I O U S R E G I S T E R S
Signals of
SUBMITTED B Y
8251A
ASIFUR RAHMAN (CE20009)
S OYA I B H O SS E N S H A N T O ( C E 2 0 0 1 0 ) Sections of
NAHIDA AKTER JOTY (CE20012)
MD ARIFUL ISLAM (CE20013) 8251A
HOSNA BANO BRISTY (CE20014)
SUBMITTED TO
Various
Registers
M O H D . S U LTA N A H A M M A D
A SS I S TA N T P R O F E SS O R ,
D E PA RT M E N T O F C S E ,
MBSTU
SIGNAL OF 8251
Cs-Chip Select: When Signal goes low ,the 8251A is
selected by the MPU for communication.
C/d-Control/Data: When signal is high ,the control
or status register is addressed;When it is low , data buffer is
addressed.
Write(wr): When signal is low ,the MPU either writes in
the control register or sends output to the data buffer.
SIGNAL OF 8251
The RxRDY output of the 8251A will go
high when:
The data in-buffer register is full and is ready to be read by
the CPU.
The receive enable (RxE) bit of the 8251A’s command word
is set.
SECTIONS OF 8251
Modem Control:
DSR – Data Set Ready: Checks if the Data Set is ready
when communicating with a modem.
DTR – Data Terminal Ready: Indicates that the device is
ready to accept data when the 8251 is communicating with a
modem.
CTS – Clear to Send: If its low, the 8251A is enabled to
transmit the serial data provided the enable bit in the
command byte is set to ‘1’.
RTS – Request to Send Data: Low signal indicates the
modem that the receiver is ready to receive a data byte from
the modem.
SECTIONS OF 8251
4. Transmitter section
Accepts parallel data from MPU & converts them into serial
data.
Has two registers:
Buffer register: To hold eight bits
Output register: To convert eight bits into a stream of serial
bits.
The MPU writes a byte in the buffer register.
Whenever the output register is empty; the contents of
buffer register are transferred to output register.
SECTIONS OF 8251
Transmitter section consists of three output and
one input signals:
oTxD - Transmitted Data Output: Output signal to transmit the data to
peripherals
oTxC - Transmitter Clock Input: Input signal, controls the rate of
transmission.
oTxRDY - Transmitter Ready: Output signal, indicates the buffer
register is empty and the USART is ready to accept the next data byte.
oTxE - Transmitter Empty: Output signal to indicate the output register
is empty and the USART is ready to accept the next data byte.
SECTIONS OF 8251
Receiver Section:
receives serial data on RxD(Transmission data output)
converts serial data on Parallel
transfer data to microprocessor
SECTIONS OF 8251
RxRDY : An input signal indicates that it is ready to
receive the data. It goes high when the USART
has a character in the buffer register & ready to
transfer it to the MPU.
RxD: Bits are received serially on this lins and
converted into a parallel byte in the receiver input
register.
RxC: An active low input signal which controls the
data transmission rate of received data.
VARIOUS REGISTERS
Control Register:
16-bit register for a control word consist of two independent
bytes:
Mode word: It specifies the general characteristics of
operation. Like baud,parity,number of bits etc.
Command word: It enables the data transmission and
reception.
When the control or data pin is high, register can be
accessed as an output port.
Status Register:
It checks the ready status of the peripheral.
Status word in the status register provides the information
concerning register status and transmission errors.
VARIOUS REGISTERS
Data Register:
It is used as an input and output port when the C/D is low.