Prepared by
Dr Manjusha
Microprocessor & Peripheral
Interfacing Devices
8254 Programmable
Interval Timer
Dr Manjusha Deshmukh
PhD ( Elect. & Tele. Comm. )
MBA ( Finance & Marketing)
Dr Manjusha
Prepared by
Dr Manjusha
8254 PIT
Applications –
• To generate accurate
time delay
• As an event counter
• Square wave
generator
• Rate generator
Prepared by
Dr Manjusha
Size of each counter is 16 bit.
It has 3 independent counters,
Each capable of handling clock inputs up to
10 MHz
Prepared by
Dr Manjusha
Counter
0
Depending upon the value of
CS, A1 and A0 we can
C0unter determine addresses of
8086010 1 selected counter.
Microprocessor
0101
CS A1 A0 SELECETION
00
0 0 0 C0
Control 0 0 1 C1
Counter
Word
2
reg 0 1 0 C2
Control
0 1 1
Register
Prepared by
Dr Manjusha
WR
• It stands for write. This control
signal enables the write
operation. When this signal goes
low, the microprocessor writes
into counter or control register.
RD
• It stands for Read. This control
signal enables the Read
operation. When the signal is
low, the microprocessor reads
the data from the selected
counter.
Prepared by
Data Bus Buffer Dr Manjusha
8086
00001111
Data Bus Buffer
Register It is 8-bit buffer, which
11101111 is used to interface the
microprocessor to the
system data bus.
Data is transmitted or
received by the buffer
as per the instructions
by the CPU.
Prepared by
Dr Manjusha
8086
C0unter
1 1 1
03 0 01
02
00
Depending upon the value of CS, A1
and A0 we can determine addresses
1 of selected counter.
Gate is used to enable or disable
counting.
When any value of count is loaded
and value of gate is set(1), after every
step value of count is decremented
by 1 until it becomes zero.
Prepared by
Dr Manjusha
Thank You