The 8253
The 8253
The 8253
PROGRAMMABLE COUNTER/
INTERVAL TIMER
MPMC
Features
• The Intel 8253 is a programmable counter/
timer chip designed for use as an Intel
microcomputer peripheral.
• It is packaged in a 24-pin plastic DIP.
• Six programmable timer modes allow the
8253 to be used as an event counter, elapsed
time indicator, programmable one-shot, and
in many other applications e.g., to create
different intervals.
• It has 3 identical 16-bit counters
– Counters 0, 1, 2
Cont…
• To operate a counter, a 16-bit count is loaded in its
register and, on command (Gate), 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.
• Compatible with all Intel and most other
microprocessors
• 8254 (8-10MHz) and 8253 (2MHz)
Pin Diagram
CW= 1 0 1 1 0 0 0 0 =B0h
Assume address for
control register = 0BH,
MVI A, 14
OUT 83
MVI A, C8
OUT 80
HLT
Address Map
Chip Select
Interfacing
END OF SLIDES