H/W 5: STUDY OF
8251 USART
Introduction:
8251 popularly known as USART (Universal Synchronous
Asynchronous Receiver and Transmitter) is designed for serial data
communication. It can be interfaced to uP on one side and Modem on other side
which in turn is connected to telephone lines.
Sr.No. |
Register |
Address for Periware |
Address for Classik |
1. |
Command,Mode and Status |
F1 |
29 |
2. |
Data |
F0 |
28 |
A toggle switch is provided to execute the programs in '
free run ' or 'single step' mode. The single step key has double function. It
single steps the kits software and also provides clock pulses to Transmitter and
Receiver. 1 bit data is shifted out or in with each press of the 'single step’
key.
Problems:
- Study the circuit
of the periware provided in the manual and observe the placement of various
tags and LEDs.
- Execute the
programs for Asynchronous and Synchronous modes given in the manual and
verify the tables. Observe how various signals are generated during single
stepping.
- Write a program to
transmit one byte between two kits in Asynchronous mode using add-on (Periware)
kits.
4. Repeat Part 3 with the kits connected using
RS232 connector on the kits ( Classik).