0% found this document useful (0 votes)
1K views2 pages

Expt-9 Interfacing of 8253 With 8086

This document provides instructions for interfacing an 8253 Programmable Interval Timer (PIT) chip with an 8086 microprocessor and studying two of its operating modes. The aims are to interface the PIT in mode 0, where it generates an interrupt on terminal count, and mode 3, where it generates a square wave. The requirements are a Dyna-8086 kit with power supply and a PIT 8253 chip. The laboratory exercise procedures guide connecting the chips and running programs to configure the PIT in the two modes and observe the outputs. Questions are also provided to test understanding of the PIT's capabilities.

Uploaded by

Yash Desai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views2 pages

Expt-9 Interfacing of 8253 With 8086

This document provides instructions for interfacing an 8253 Programmable Interval Timer (PIT) chip with an 8086 microprocessor and studying two of its operating modes. The aims are to interface the PIT in mode 0, where it generates an interrupt on terminal count, and mode 3, where it generates a square wave. The requirements are a Dyna-8086 kit with power supply and a PIT 8253 chip. The laboratory exercise procedures guide connecting the chips and running programs to configure the PIT in the two modes and observe the outputs. Questions are also provided to test understanding of the PIT's capabilities.

Uploaded by

Yash Desai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Microprocessor & Peripheral Interfacing TE/EXTC/V/2019-20

Experiment – : Interfacing of 8253 with 8086

Date: _________
1. Aim
To interface PIT 8253/8254 with 8086 and to study
i mode 0 – Interrupt on terminal count and
ii mode 3 – Square wave generation of operation of 8253/54

2. Requirements
Dyna-8086 kit with power supply, study card PIT 8253 with connecting wires

3. Pre-Experiment Exercise
Brief Theory:
The Intel 8253 is a programmable counter/timer chip designed for use as an Intel microcomputer
peripheral. The 8253/54 solves one of most common problem in any microcomputer system, the
generation of accurate time delays under software control. Instead of setting up timing loops in
system software, the programmer configures the 8253/54 to match his requirements, initializes
one of the counters of the 8253/54 with the desired quantity, then upon command the 8253/54
will count out the delay and interrupt the CPU when it has completed its tasks. It is easy to see
that the software overhead is minimum and that multiple delays can be easily be maintained by
assignment of priority levels.
The 8253/54 includes three identical 16-bit counters that can operate independently. To operate
a counter, a 16-bit count is loaded in its register and, on command; it begins to decrement the
count until it reaches 0. At the end of the count, it generates a pulse that can be used to interrupt
the CPU. The counter can count either in binary or BCD. In addition, a count can be read by the
CPU while the counter is decrementing.

4. Laboratory Exercise
4.1 Procedure
i Mode-0 Interrupt on terminal count
a) Make the necessary connections for the set up.
b) Enter the program for configuring 8253 in mode 0.
c) Execute the program and observe the output.

ii. Mode-3 Square wave generator mode


a) Make the necessary connections for the set up.
b) Enter the program for configuring 8253 in mode 3.
c) Execute the program for even and odd count values and observe the output.
d) Draw the output waveform on graph paper.
Microprocessor & Peripheral Interfacing TE/EXTC/V/2019-20
5. Post-Experiment Exercise
5.1 Conclusion/Comments

5.2 Questions/Exercise

a) What is the difference between 8253 and 8254?


b) List other operating modes of 8253.
c) Explain mode 2 operation of PIT with timing diagram.

You might also like