SlideShare a Scribd company logo
1 of 17
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

What's hot

8051 MICROCONTROLLER ARCHITECTURE.pptx
 8051 MICROCONTROLLER ARCHITECTURE.pptx 8051 MICROCONTROLLER ARCHITECTURE.pptx
8051 MICROCONTROLLER ARCHITECTURE.pptxMemonaMemon1
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction SetDr. Pankaj Zope
 
Combinational Circuits & Sequential Circuits
Combinational Circuits & Sequential CircuitsCombinational Circuits & Sequential Circuits
Combinational Circuits & Sequential Circuitsgourav kottawar
 
Serial Communication
Serial CommunicationSerial Communication
Serial CommunicationUshaRani289
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architectureprasadpawaskar
 
Minimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 MicroprocessorMinimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 MicroprocessorNikhil Kumar
 
Microprocessor 80386
Microprocessor 80386Microprocessor 80386
Microprocessor 80386yash sawarkar
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsVinoth Loganathan
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controllerabhikalmegh
 
Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Suchismita Paul
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controllerTech_MX
 

What's hot (20)

8051 MICROCONTROLLER ARCHITECTURE.pptx
 8051 MICROCONTROLLER ARCHITECTURE.pptx 8051 MICROCONTROLLER ARCHITECTURE.pptx
8051 MICROCONTROLLER ARCHITECTURE.pptx
 
8251 USART
8251 USART8251 USART
8251 USART
 
8255 Programmable parallel I/O
8255 Programmable parallel I/O 8255 Programmable parallel I/O
8255 Programmable parallel I/O
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
 
Combinational Circuits & Sequential Circuits
Combinational Circuits & Sequential CircuitsCombinational Circuits & Sequential Circuits
Combinational Circuits & Sequential Circuits
 
Serial Communication
Serial CommunicationSerial Communication
Serial Communication
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
 
Pentium processor
Pentium processorPentium processor
Pentium processor
 
UART
UARTUART
UART
 
Minimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 MicroprocessorMinimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 Microprocessor
 
Avr microcontroller
Avr microcontrollerAvr microcontroller
Avr microcontroller
 
ARM Processors
ARM ProcessorsARM Processors
ARM Processors
 
Microprocessor 80386
Microprocessor 80386Microprocessor 80386
Microprocessor 80386
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital Electronics
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller
 
Presentation1
Presentation1Presentation1
Presentation1
 
Intel 80486 Microprocessor
Intel 80486 MicroprocessorIntel 80486 Microprocessor
Intel 80486 Microprocessor
 
Sap 1
Sap 1Sap 1
Sap 1
 
Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Architecture and pin diagram of 8085
Architecture and pin diagram of 8085
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
 

Similar to 5.programmable interval timer 8253 (20)

8254 presentation
8254 presentation8254 presentation
8254 presentation
 
8254 presentation
8254 presentation8254 presentation
8254 presentation
 
8254 presentation
8254 presentation8254 presentation
8254 presentation
 
IC 8253 - Microprocessor
IC 8253 - Microprocessor IC 8253 - Microprocessor
IC 8253 - Microprocessor
 
unit 2 lect 6 AND 7 8254.pptx
unit 2 lect 6 AND 7 8254.pptxunit 2 lect 6 AND 7 8254.pptx
unit 2 lect 6 AND 7 8254.pptx
 
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. KawareMicroprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
 
8253ppt
8253ppt8253ppt
8253ppt
 
8254 Programmable Interval Timer by vijay
8254 Programmable Interval Timer by vijay8254 Programmable Interval Timer by vijay
8254 Programmable Interval Timer by vijay
 
8255-PPI MPMC text book for engineering.ppt
8255-PPI MPMC text book for engineering.ppt8255-PPI MPMC text book for engineering.ppt
8255-PPI MPMC text book for engineering.ppt
 
3942936.ppt
3942936.ppt3942936.ppt
3942936.ppt
 
8254.pptx
8254.pptx8254.pptx
8254.pptx
 
8254 PIT
8254 PIT8254 PIT
8254 PIT
 
8255.pdf
8255.pdf8255.pdf
8255.pdf
 
Interfacing with Timer IC.pptx interfacing with timer ic
Interfacing with Timer IC.pptx interfacing with timer icInterfacing with Timer IC.pptx interfacing with timer ic
Interfacing with Timer IC.pptx interfacing with timer ic
 
8254 timer - Microprocessor and interfacing
8254 timer - Microprocessor and interfacing8254 timer - Microprocessor and interfacing
8254 timer - Microprocessor and interfacing
 
8085 (1)
8085 (1)8085 (1)
8085 (1)
 
System Connection Of 8254 and Its Port Selection
System Connection Of 8254 and Its Port SelectionSystem Connection Of 8254 and Its Port Selection
System Connection Of 8254 and Its Port Selection
 
002079
002079002079
002079
 
architect.ppt
architect.pptarchitect.ppt
architect.ppt
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 

More from MdFazleRabbi18

4.programmable dma controller 8257
4.programmable dma controller 82574.programmable dma controller 8257
4.programmable dma controller 8257MdFazleRabbi18
 
3.programmable interrupt controller 8259
3.programmable interrupt controller 82593.programmable interrupt controller 8259
3.programmable interrupt controller 8259MdFazleRabbi18
 
Topic4 data encryption standard(des)
Topic4 data encryption standard(des)Topic4 data encryption standard(des)
Topic4 data encryption standard(des)MdFazleRabbi18
 
Topic2 caser hill_cripto
Topic2 caser hill_criptoTopic2 caser hill_cripto
Topic2 caser hill_criptoMdFazleRabbi18
 
Topic5 advanced encryption standard (aes)
Topic5 advanced encryption standard (aes)Topic5 advanced encryption standard (aes)
Topic5 advanced encryption standard (aes)MdFazleRabbi18
 
Topic1 substitution transposition-techniques
Topic1 substitution transposition-techniquesTopic1 substitution transposition-techniques
Topic1 substitution transposition-techniquesMdFazleRabbi18
 
9. hofman coding in DIP
9. hofman coding in DIP9. hofman coding in DIP
9. hofman coding in DIPMdFazleRabbi18
 
7. image enhancement using spatial filtering
7. image enhancement using spatial filtering7. image enhancement using spatial filtering
7. image enhancement using spatial filteringMdFazleRabbi18
 
5. gray level transformation
5. gray level transformation5. gray level transformation
5. gray level transformationMdFazleRabbi18
 
1. steps in image processing
1. steps in image processing1. steps in image processing
1. steps in image processingMdFazleRabbi18
 
5. convolution and correlation of discrete time signals
5. convolution and correlation of discrete time signals 5. convolution and correlation of discrete time signals
5. convolution and correlation of discrete time signals MdFazleRabbi18
 
4. operations of signals
4. operations of signals 4. operations of signals
4. operations of signals MdFazleRabbi18
 
2. classification of signals
2. classification of signals 2. classification of signals
2. classification of signals MdFazleRabbi18
 
1. elementary signals
1. elementary signals 1. elementary signals
1. elementary signals MdFazleRabbi18
 
4. random number and it's generating techniques
4. random number and it's generating techniques 4. random number and it's generating techniques
4. random number and it's generating techniques MdFazleRabbi18
 
3. different types of simulations for appropriate systems
3. different types of simulations for appropriate systems 3. different types of simulations for appropriate systems
3. different types of simulations for appropriate systems MdFazleRabbi18
 

More from MdFazleRabbi18 (20)

4.programmable dma controller 8257
4.programmable dma controller 82574.programmable dma controller 8257
4.programmable dma controller 8257
 
3.programmable interrupt controller 8259
3.programmable interrupt controller 82593.programmable interrupt controller 8259
3.programmable interrupt controller 8259
 
1.ppi 8255
1.ppi 8255 1.ppi 8255
1.ppi 8255
 
Topic4 data encryption standard(des)
Topic4 data encryption standard(des)Topic4 data encryption standard(des)
Topic4 data encryption standard(des)
 
Topic3 playfain
Topic3 playfainTopic3 playfain
Topic3 playfain
 
Topic2 caser hill_cripto
Topic2 caser hill_criptoTopic2 caser hill_cripto
Topic2 caser hill_cripto
 
Topic5 advanced encryption standard (aes)
Topic5 advanced encryption standard (aes)Topic5 advanced encryption standard (aes)
Topic5 advanced encryption standard (aes)
 
Topic1 substitution transposition-techniques
Topic1 substitution transposition-techniquesTopic1 substitution transposition-techniques
Topic1 substitution transposition-techniques
 
11. lzw coding
11. lzw coding11. lzw coding
11. lzw coding
 
9. hofman coding in DIP
9. hofman coding in DIP9. hofman coding in DIP
9. hofman coding in DIP
 
7. image enhancement using spatial filtering
7. image enhancement using spatial filtering7. image enhancement using spatial filtering
7. image enhancement using spatial filtering
 
5. gray level transformation
5. gray level transformation5. gray level transformation
5. gray level transformation
 
1. steps in image processing
1. steps in image processing1. steps in image processing
1. steps in image processing
 
5. convolution and correlation of discrete time signals
5. convolution and correlation of discrete time signals 5. convolution and correlation of discrete time signals
5. convolution and correlation of discrete time signals
 
4. operations of signals
4. operations of signals 4. operations of signals
4. operations of signals
 
3. systems
3. systems 3. systems
3. systems
 
2. classification of signals
2. classification of signals 2. classification of signals
2. classification of signals
 
1. elementary signals
1. elementary signals 1. elementary signals
1. elementary signals
 
4. random number and it's generating techniques
4. random number and it's generating techniques 4. random number and it's generating techniques
4. random number and it's generating techniques
 
3. different types of simulations for appropriate systems
3. different types of simulations for appropriate systems 3. different types of simulations for appropriate systems
3. different types of simulations for appropriate systems
 

Recently uploaded

EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationAadityaSharma884161
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxLigayaBacuel1
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 

Recently uploaded (20)

EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint Presentation
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 

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: