SlideShare a Scribd company logo
3
Most read
4
Most read
5
Most read
PROGRAMMABLE INTERVAL TIMER
8253
Md. Fazle Rabbi
ID:16CSE057
CONTENTS
 Block Diagram of the 8253System
 Interfacing of the 8253Interfacing the
 8253 to the 8086 Processor
 Programming the 8253
 Operating Modes of the 8253
WHAT IS 8253?
 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 counters: – Counters 0, 1, 2
BLOCK DIAGRAM OF 8253
o Each counter in the
block diagram has 3
lines connected to it.
Two of these lines,
clock and gate, are
inputs. The third,
labeled OUT is an
output.
o The function of these
lines changes and
depends on how the
device is initialized or
programmed.
BLOCK DIAGRAM OF 8253
 Data Bus Buffer : The 3-state, bi-directional, 8-bit buffer is
used to interface the 8253 to the system data bus.
 Data is transmitted or received by the buffer upon execution
of IN or OUT CPU instructions.
 The Data Bus Buffer has three basic functions :
(1) Programming the MODES of the 8253.
(2) Loading the count registers.
(3) Reading the count values.
Read/Write Logic
 The Read/Write Logic accepts inputs from the sys- tem bus and
in turn generates control signals for overall device operation.
 It is enabled or disabled by CS’ so that no operation can occur
to change the function unless the device has been selected by
the system logic.
Control Word Register:
 The Control Word Register is selected when A0A1 = 11.
 It then accepts information from the data bus buffer and stores it
in a register.
 The information stored in this register controls the operation
MODE of each counter, selection of binary or BCD counting
and the loading of each count register.
 The Control Word Register can only be written into; no read
operation of its contents is available.
COUNTER 0, COUNTER 1, COUNTER 2:
 These three functional blocks are identical in operation so only a single
counter will be described.
 Each Counter consists of a single, 16-bit, pre-settable, DOWN counter.
 The counter can operate in either binary or BCD and its input, gate and
output are configured by the selection of MODES stored in the Control
Word Register.
 The counters are fully independent and each can have separate MODE
configuration and counting operation, binary or BCD.
 Also, there are special features in the control word that handle the loading
of the count value so that software overhead can be minimized for these
functions.
 The reading of the contents of each counter is available to the programmer
with simple READ operations for event counting applications and special
commands and logic are included in the 8253 so that the contents of each
counter can be read "on the fly" without having to inhibit the clock input.
 Types of Robots
1) Mobile robots.
2) Industrial robots
3) Autonomous robots
4) Remote-controlled robots.
5) Virtual robots.
BASIC OPERATIONS OF THE 8253
PIN CONFIGURATION OF THE 8253
PIN DESCRIPTION OF THE 8253.
MODES OF OPERATION OF 8253
There are 6 modes of operation of 8253
o Differences in modes are: – “OUT” signal in
different shapes like low-high or high- low, periodic
or non-periodic – How to trigger/start the counter
o Mode 0 and 1 are same in shape (non-periodic)
o Mode 4 and 5 are same in shape (non-periodic)
o Mode 2 and 3 are almost same in shape (periodic)
MODES OF OPERATION OF 8253
 Mode 0: Set Output Bit when timer done. The
output will start off zero. The count is loaded and
the timer will start to count down. When the count
has reached zero the output will be set high, and
remain high until the next count has been reloaded.
 Mode 1: Programmable One-Shot. The output will
go low following the rising edge of the gate input.
The counter will count and the output will go high
once the counter has reached zero.
MODES OF OPERATION OF 8253
 Mode 2: Rate Generator. The counter will
continually count down, when the count reaches
zero, the output will pulse low and the counter will
be reloaded.
 Mode 3: Square Wave Generator. This mode is
similar to Mode 2 except the output remains low for
half of the timer period and high for the other half of
the period.
MODES OF OPERATION OF 8253
 Mode 4: Software Triggered Pulse. The output will
remain high untill the timer has counted to zero, at
which point the output will pulse low and then go
high again.
 Mode 5: Hardware Triggered Pulse. The counter
will start counting once the gate input goes high,
when the counter reaches zero the output will pulse
low and then go high again.
MODES OF OPERATION OF 8253
 If 6 is loaded in the counter then it will start count
down from 6 0. After reaching 0, change the OUT
signal like from Lo Hi. • First 2 MSBs select the
counter. Addresses for 3 counters in flight board’s
8253 are:
MODES OF OPERATION OF 8253
 If 6 is loaded in the counter then it will start count
down from 6 0. After reaching 0, change the OUT
signal like from Lo Hi. • First 2 MSBs select the
counter. Addresses for 3 counters in flight board’s
8253 are:
THE END

More Related Content

PPTX
4.programmable dma controller 8257
PPT
8051 block diagram
PDF
PPTX
IC 8253 - Microprocessor
PPT
UNIT III PROGRAMMABLE PERIPHERAL INTERFACE
PDF
lesson2 - Nodemcu course - NodeMCU dev Board
PPTX
Interfacing with peripherals: analog to digital converters and digital to ana...
PPT
8051 Addressing Modes
4.programmable dma controller 8257
8051 block diagram
IC 8253 - Microprocessor
UNIT III PROGRAMMABLE PERIPHERAL INTERFACE
lesson2 - Nodemcu course - NodeMCU dev Board
Interfacing with peripherals: analog to digital converters and digital to ana...
8051 Addressing Modes

What's hot (20)

PPTX
8251 USART
PPTX
8255 Programmable parallel I/O
PPTX
8257 DMA Controller
PPTX
Semiconductor Memories
PPTX
8051 Architecture
PPTX
3.programmable interrupt controller 8259
PDF
8259 Programmable Interrupt Controller
PPTX
Minimum mode and Maximum mode Configuration in 8086
PPTX
8255 PPI
PPT
Memory & I/O interfacing
PPT
Architecture of 8086 Microprocessor
PPTX
I/O port programming in 8051
PPT
8255 presentaion.ppt
PPTX
Presentation on 8086 Microprocessor
PDF
8051 interfacing
PPTX
ARM Processors
PPT
8051 Microcontroller
PPTX
8051 MICROCONTROLLER ARCHITECTURE.pptx
PPTX
SRAM DRAM
PPT
8051 instruction set
8251 USART
8255 Programmable parallel I/O
8257 DMA Controller
Semiconductor Memories
8051 Architecture
3.programmable interrupt controller 8259
8259 Programmable Interrupt Controller
Minimum mode and Maximum mode Configuration in 8086
8255 PPI
Memory & I/O interfacing
Architecture of 8086 Microprocessor
I/O port programming in 8051
8255 presentaion.ppt
Presentation on 8086 Microprocessor
8051 interfacing
ARM Processors
8051 Microcontroller
8051 MICROCONTROLLER ARCHITECTURE.pptx
SRAM DRAM
8051 instruction set
Ad

Similar to 5.programmable interval timer 8253 (20)

PPT
8255-PPI MPMC text book for engineering.ppt
PPTX
unit 2 lect 6 AND 7 8254.pptx
PPT
8254-timer.ppt
PPTX
Timer
PPT
8254 timer - Microprocessor and interfacing
PPTX
8254 Programmable Interval Timer by vijay
PPT
8254 PIT
PPTX
8254.pptx
PDF
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
PDF
8255.pdf
PPT
PPTX
Interfacing with Timer IC.pptx interfacing with timer ic
PPT
PPTX
8051 training an interactive tutorial
PDF
DOCX
Peripheral 8245,16550&8237 dma controller
PDF
Interfacing Analog to Digital Data Converters ee3404.pdf
8255-PPI MPMC text book for engineering.ppt
unit 2 lect 6 AND 7 8254.pptx
8254-timer.ppt
Timer
8254 timer - Microprocessor and interfacing
8254 Programmable Interval Timer by vijay
8254 PIT
8254.pptx
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
8255.pdf
Interfacing with Timer IC.pptx interfacing with timer ic
8051 training an interactive tutorial
Peripheral 8245,16550&8237 dma controller
Interfacing Analog to Digital Data Converters ee3404.pdf
Ad

More from MdFazleRabbi18 (20)

PPTX
1.ppi 8255
PPTX
Topic4 data encryption standard(des)
PPTX
Topic3 playfain
PPTX
Topic2 caser hill_cripto
PPTX
Topic5 advanced encryption standard (aes)
PPTX
Topic1 substitution transposition-techniques
PPTX
11. lzw coding
PPTX
9. hofman coding in DIP
PPTX
7. image enhancement using spatial filtering
PPTX
5. gray level transformation
PPTX
1. steps in image processing
PPTX
5. convolution and correlation of discrete time signals
PPTX
4. operations of signals
PPTX
3. systems
PPTX
2. classification of signals
PPTX
1. elementary signals
PPTX
4. random number and it's generating techniques
PPTX
3. different types of simulations for appropriate systems
PPTX
2. steps in a simulation study
PPTX
1. the main idea of simulation and it’s appropriateness in real world (when a...
1.ppi 8255
Topic4 data encryption standard(des)
Topic3 playfain
Topic2 caser hill_cripto
Topic5 advanced encryption standard (aes)
Topic1 substitution transposition-techniques
11. lzw coding
9. hofman coding in DIP
7. image enhancement using spatial filtering
5. gray level transformation
1. steps in image processing
5. convolution and correlation of discrete time signals
4. operations of signals
3. systems
2. classification of signals
1. elementary signals
4. random number and it's generating techniques
3. different types of simulations for appropriate systems
2. steps in a simulation study
1. the main idea of simulation and it’s appropriateness in real world (when a...

Recently uploaded (20)

PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Cell Structure & Organelles in detailed.
PDF
Pre independence Education in Inndia.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PDF
Classroom Observation Tools for Teachers
PDF
Insiders guide to clinical Medicine.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Institutional Correction lecture only . . .
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Pharma ospi slides which help in ospi learning
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
01-Introduction-to-Information-Management.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
Microbial disease of the cardiovascular and lymphatic systems
Cell Structure & Organelles in detailed.
Pre independence Education in Inndia.pdf
GDM (1) (1).pptx small presentation for students
Classroom Observation Tools for Teachers
Insiders guide to clinical Medicine.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Institutional Correction lecture only . . .
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
TR - Agricultural Crops Production NC III.pdf
Computing-Curriculum for Schools in Ghana
Pharma ospi slides which help in ospi learning
Module 4: Burden of Disease Tutorial Slides S2 2025
Supply Chain Operations Speaking Notes -ICLT Program
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
01-Introduction-to-Information-Management.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Microbial diseases, their pathogenesis and prophylaxis

5.programmable interval timer 8253

  • 1. PROGRAMMABLE INTERVAL TIMER 8253 Md. Fazle Rabbi ID:16CSE057
  • 2. CONTENTS  Block Diagram of the 8253System  Interfacing of the 8253Interfacing the  8253 to the 8086 Processor  Programming the 8253  Operating Modes of the 8253
  • 3. WHAT IS 8253?  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 counters: – Counters 0, 1, 2
  • 4. BLOCK DIAGRAM OF 8253 o Each counter in the block diagram has 3 lines connected to it. Two of these lines, clock and gate, are inputs. The third, labeled OUT is an output. o The function of these lines changes and depends on how the device is initialized or programmed.
  • 5. BLOCK DIAGRAM OF 8253  Data Bus Buffer : The 3-state, bi-directional, 8-bit buffer is used to interface the 8253 to the system data bus.  Data is transmitted or received by the buffer upon execution of IN or OUT CPU instructions.  The Data Bus Buffer has three basic functions : (1) Programming the MODES of the 8253. (2) Loading the count registers. (3) Reading the count values.
  • 6. Read/Write Logic  The Read/Write Logic accepts inputs from the sys- tem bus and in turn generates control signals for overall device operation.  It is enabled or disabled by CS’ so that no operation can occur to change the function unless the device has been selected by the system logic. Control Word Register:  The Control Word Register is selected when A0A1 = 11.  It then accepts information from the data bus buffer and stores it in a register.  The information stored in this register controls the operation MODE of each counter, selection of binary or BCD counting and the loading of each count register.  The Control Word Register can only be written into; no read operation of its contents is available.
  • 7. COUNTER 0, COUNTER 1, COUNTER 2:  These three functional blocks are identical in operation so only a single counter will be described.  Each Counter consists of a single, 16-bit, pre-settable, DOWN counter.  The counter can operate in either binary or BCD and its input, gate and output are configured by the selection of MODES stored in the Control Word Register.  The counters are fully independent and each can have separate MODE configuration and counting operation, binary or BCD.  Also, there are special features in the control word that handle the loading of the count value so that software overhead can be minimized for these functions.  The reading of the contents of each counter is available to the programmer with simple READ operations for event counting applications and special commands and logic are included in the 8253 so that the contents of each counter can be read "on the fly" without having to inhibit the clock input.
  • 8.  Types of Robots 1) Mobile robots. 2) Industrial robots 3) Autonomous robots 4) Remote-controlled robots. 5) Virtual robots. BASIC OPERATIONS OF THE 8253
  • 10. PIN DESCRIPTION OF THE 8253.
  • 11. MODES OF OPERATION OF 8253 There are 6 modes of operation of 8253 o Differences in modes are: – “OUT” signal in different shapes like low-high or high- low, periodic or non-periodic – How to trigger/start the counter o Mode 0 and 1 are same in shape (non-periodic) o Mode 4 and 5 are same in shape (non-periodic) o Mode 2 and 3 are almost same in shape (periodic)
  • 12. MODES OF OPERATION OF 8253  Mode 0: Set Output Bit when timer done. The output will start off zero. The count is loaded and the timer will start to count down. When the count has reached zero the output will be set high, and remain high until the next count has been reloaded.  Mode 1: Programmable One-Shot. The output will go low following the rising edge of the gate input. The counter will count and the output will go high once the counter has reached zero.
  • 13. MODES OF OPERATION OF 8253  Mode 2: Rate Generator. The counter will continually count down, when the count reaches zero, the output will pulse low and the counter will be reloaded.  Mode 3: Square Wave Generator. This mode is similar to Mode 2 except the output remains low for half of the timer period and high for the other half of the period.
  • 14. MODES OF OPERATION OF 8253  Mode 4: Software Triggered Pulse. The output will remain high untill the timer has counted to zero, at which point the output will pulse low and then go high again.  Mode 5: Hardware Triggered Pulse. The counter will start counting once the gate input goes high, when the counter reaches zero the output will pulse low and then go high again.
  • 15. MODES OF OPERATION OF 8253  If 6 is loaded in the counter then it will start count down from 6 0. After reaching 0, change the OUT signal like from Lo Hi. • First 2 MSBs select the counter. Addresses for 3 counters in flight board’s 8253 are:
  • 16. MODES OF OPERATION OF 8253  If 6 is loaded in the counter then it will start count down from 6 0. After reaching 0, change the OUT signal like from Lo Hi. • First 2 MSBs select the counter. Addresses for 3 counters in flight board’s 8253 are: