SlideShare a Scribd company logo
1 of 18
Microprocessor & 
Interfacing 
THE 8253 IC 
(PIT) 
Vatsal N Shah – IU1241090055 
Electronics and Communication Engineering Dept. 
Indus University 
1
What is 
8253? 
Contents 
PIN-DIAGRAM 
OF 8253 
ARCHITECTUR 
E OF 8253 
MODES OF 
8253 
Interfacing 
with 8085 
References 
2
What is 8253? 
• The Intel 8253 is a programmable counter. 
• It includes 3 identical 16 bit counters. 
• It is packaged in a 24-pin DIP. 
• Six programmable modes. 
• Gate is used to enable or disable the counter. 
3
ARCHITECTURE OF 8253 
D7-D0 
RD 
WR 
A0 
A1 
CS 
DATA 
BUS 
BUFFER 
READ/ 
WRITE 
LOGIC 
CONTROL 
WORD 
REGISTER 
COUNTER 
0 
COUNTER 
1 
COUNTER 
2 
CLK 0 
GATE 0 
OUT 0 
CLK 1 
GATE 1 
OUT 1 
CLK 2 
GATE 2 
OUT 2 
4
D7 
D6 
D5 
D4 
D3 
D2 
D1 
D0 
CLK 0 
OUT 0 
GATE 0 
GND 
8253 
VCC 
WR 
RD 
CS 
A1 
A0 
CLK 2 
OUT 2 
GATE 2 
CLK 1 
OUT 1 
GATE 1 
PIN DIAGRAM OF 8253 
5
Data Bus Buffer: 
• This block contains the logic to buffer the data bus to the 
microprocessor and to the internal registers. It has 8 input 
pins, usually labelled as D7..D0, where D7 is the MSB. 
Control Logic: 
• The control section has five signals: Read, Write, Chip select 
and the address lines A0 and A1. 
• In peripheral I/O mode read and write signals are connected 
to IOR and IOW while in memory mapped these are 
connected to MEMR and MEMW. 
6
• The control word register and counters are selected according to signals 
on lines A0 and A1 as shown below: 
CS A1 A0 Select 
0 0 0 Counter 0 
0 0 1 Counter 1 
0 1 0 Counter 2 
0 1 1 Control Reg. 
Control word Register: 
• This register is accessed when lines A0 and A1 are at logic 
1. 
• It is used to write command word which specifies the 
counter to be used, its mode and either read or write 
format. 
7
8253 Timer 
8
MODES OF 8253 
MODE 0: Interrupt on terminal count. 
MODE 1: Programmable 1 shot. 
MODE 2: Rate generator. 
MODE 3: Square wave generator. 
MODE 4: Software triggered strobe. 
MODE 5: Hardware triggered strobe. 
9
Mode 0: Interrupt on Terminal Count 
• 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. 
• This can be used as an interrupt. 
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. 
10
Mode 2: Rate Generator 
• This mode is used to generate a pulse equal to the clock 
period at a given interval. 
• When count is loaded the OUT stays high until the count 
reaches 1 and the the OUT goes low for one clock period. 
• The count is reloaded automatically and the pulse is 
generated continuously. 
Mode 3: Square Wave Generator 
• This mode is similar to mode 2. However, the duration of the 
high and low clock pulses of the output will be different from 
mode 2. 
11
• Suppose n is the number loaded into the counter (the COUNT 
message), the output will be: 
• high for n/2 counts, and low for n/2 counts, if n is even. 
• high for (n+1)/2 counts, and low (n-1)/2 for counts, if n is odd 
Mode 4: Software Triggered Pulse. 
• The output will remain high until the timer has counted to 
zero, at which point the output will pulse low and then go 
high again. 
12
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. 
13
Modes of Operation of 8253 
14
8253 Example
References 
• http://www.circuitstoday.com/ 
• http://www.ti.com/lit/an/slyt145/slyt145.pdf 
• http://8085projects.info/page/free-programs-for- 
8085-microprocessor.html 
• http://www.learnabout-electronics. 
org/index.php 
• https://www.youtube.com/watch?v=nxAQ1PFE 
d5U 
16
17
18

More Related Content

What's hot

Interrupts on 8086 microprocessor by vijay kumar.k
Interrupts on 8086 microprocessor by vijay kumar.kInterrupts on 8086 microprocessor by vijay kumar.k
Interrupts on 8086 microprocessor by vijay kumar.kVijay Kumar
 
Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1deval patel
 
Microprocessor 8085 complete
Microprocessor 8085 completeMicroprocessor 8085 complete
Microprocessor 8085 completeShubham Singh
 
4.programmable dma controller 8257
4.programmable dma controller 82574.programmable dma controller 8257
4.programmable dma controller 8257MdFazleRabbi18
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086saurav kumar
 
Internal architecture-of-8086
Internal architecture-of-8086Internal architecture-of-8086
Internal architecture-of-8086Estiak Khan
 
8086 in minimum mode
8086 in minimum mode8086 in minimum mode
8086 in minimum modeSridari Iyer
 
8051 Addressing Modes
8051 Addressing Modes8051 Addressing Modes
8051 Addressing ModesSenthil Kumar
 
Instruction sets of 8086
Instruction sets of 8086Instruction sets of 8086
Instruction sets of 8086Mahalakshmiv11
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controllerabhikalmegh
 
Addressing modes of 8051
Addressing modes of 8051Addressing modes of 8051
Addressing modes of 8051SARITHA REDDY
 
Computer registers
Computer registersComputer registers
Computer registersDeepikaT13
 
Programmable peripheral interface 8255
Programmable peripheral interface 8255Programmable peripheral interface 8255
Programmable peripheral interface 8255Marajulislam3
 

What's hot (20)

Programmable Timer 8253/8254
Programmable Timer 8253/8254Programmable Timer 8253/8254
Programmable Timer 8253/8254
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
 
Interrupts on 8086 microprocessor by vijay kumar.k
Interrupts on 8086 microprocessor by vijay kumar.kInterrupts on 8086 microprocessor by vijay kumar.k
Interrupts on 8086 microprocessor by vijay kumar.k
 
Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1
 
Microprocessor 8085 complete
Microprocessor 8085 completeMicroprocessor 8085 complete
Microprocessor 8085 complete
 
4.programmable dma controller 8257
4.programmable dma controller 82574.programmable dma controller 8257
4.programmable dma controller 8257
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
 
8086 memory segmentation
8086 memory segmentation8086 memory segmentation
8086 memory segmentation
 
Pin diagram 8085
Pin diagram 8085 Pin diagram 8085
Pin diagram 8085
 
Internal architecture-of-8086
Internal architecture-of-8086Internal architecture-of-8086
Internal architecture-of-8086
 
8086 in minimum mode
8086 in minimum mode8086 in minimum mode
8086 in minimum mode
 
8051 Addressing Modes
8051 Addressing Modes8051 Addressing Modes
8051 Addressing Modes
 
Instruction sets of 8086
Instruction sets of 8086Instruction sets of 8086
Instruction sets of 8086
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller
 
8155 PPI
8155 PPI8155 PPI
8155 PPI
 
Interfacing Stepper motor with 8051
Interfacing Stepper motor with 8051Interfacing Stepper motor with 8051
Interfacing Stepper motor with 8051
 
Addressing modes of 8051
Addressing modes of 8051Addressing modes of 8051
Addressing modes of 8051
 
Computer registers
Computer registersComputer registers
Computer registers
 
Unit 2 mpmc
Unit 2 mpmcUnit 2 mpmc
Unit 2 mpmc
 
Programmable peripheral interface 8255
Programmable peripheral interface 8255Programmable peripheral interface 8255
Programmable peripheral interface 8255
 

Similar to 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.pptxDrVikasMahor
 
8254 Programmable Interval Timer by vijay
8254 Programmable Interval Timer by vijay8254 Programmable Interval Timer by vijay
8254 Programmable Interval Timer by vijayVijay Kumar
 
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 icSunilAcharya37
 
5.programmable interval timer 8253
5.programmable interval timer 82535.programmable interval timer 8253
5.programmable interval timer 8253MdFazleRabbi18
 
8254 timer - Microprocessor and interfacing
8254 timer - Microprocessor and interfacing8254 timer - Microprocessor and interfacing
8254 timer - Microprocessor and interfacingAmitabh Shukla
 
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. KawareProf. Swapnil V. Kaware
 
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.pptkhushiduppala
 
Timer
TimerTimer
TimerAisu
 
Training Report on embedded Systems and Robotics
Training Report on embedded  Systems and RoboticsTraining Report on embedded  Systems and Robotics
Training Report on embedded Systems and RoboticsNIT Raipur
 
digitalvoltmeterusing805112b2-170214173216 (1).pdf
digitalvoltmeterusing805112b2-170214173216 (1).pdfdigitalvoltmeterusing805112b2-170214173216 (1).pdf
digitalvoltmeterusing805112b2-170214173216 (1).pdfsatyamsinha37
 
DIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLERDIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLERChirag Lakhani
 
Industrial training report of embedded system and robotics
Industrial training report of embedded system and roboticsIndustrial training report of embedded system and robotics
Industrial training report of embedded system and roboticsPallavi Bharti
 

Similar to IC 8253 - Microprocessor (20)

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
 
8254 Programmable Interval Timer by vijay
8254 Programmable Interval Timer by vijay8254 Programmable Interval Timer by vijay
8254 Programmable Interval Timer by vijay
 
8253ppt
8253ppt8253ppt
8253ppt
 
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
 
5.programmable interval timer 8253
5.programmable interval timer 82535.programmable interval timer 8253
5.programmable interval timer 8253
 
8254.pptx
8254.pptx8254.pptx
8254.pptx
 
8254 timer - Microprocessor and interfacing
8254 timer - Microprocessor and interfacing8254 timer - Microprocessor and interfacing
8254 timer - Microprocessor and interfacing
 
8254 PIT
8254 PIT8254 PIT
8254 PIT
 
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
 
3942936.ppt
3942936.ppt3942936.ppt
3942936.ppt
 
8253
82538253
8253
 
8255.pdf
8255.pdf8255.pdf
8255.pdf
 
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
 
Timer
TimerTimer
Timer
 
Training Report on embedded Systems and Robotics
Training Report on embedded  Systems and RoboticsTraining Report on embedded  Systems and Robotics
Training Report on embedded Systems and Robotics
 
digitalvoltmeterusing805112b2-170214173216 (1).pdf
digitalvoltmeterusing805112b2-170214173216 (1).pdfdigitalvoltmeterusing805112b2-170214173216 (1).pdf
digitalvoltmeterusing805112b2-170214173216 (1).pdf
 
DIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLERDIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLER
 
Industrial training report of embedded system and robotics
Industrial training report of embedded system and roboticsIndustrial training report of embedded system and robotics
Industrial training report of embedded system and robotics
 
8254 presentation
8254 presentation8254 presentation
8254 presentation
 
8254 presentation
8254 presentation8254 presentation
8254 presentation
 

More from Vatsal N Shah

Machine Learning Project - Default credit card clients
Machine Learning Project - Default credit card clients Machine Learning Project - Default credit card clients
Machine Learning Project - Default credit card clients Vatsal N Shah
 
I am sharing my journey with Indus University and Indus Family. Read Page No:...
I am sharing my journey with Indus University and Indus Family. Read Page No:...I am sharing my journey with Indus University and Indus Family. Read Page No:...
I am sharing my journey with Indus University and Indus Family. Read Page No:...Vatsal N Shah
 
Floor cleaning robot(autonomus mannual) vatsal shah-ec_4th year
Floor cleaning robot(autonomus mannual)  vatsal shah-ec_4th yearFloor cleaning robot(autonomus mannual)  vatsal shah-ec_4th year
Floor cleaning robot(autonomus mannual) vatsal shah-ec_4th yearVatsal N Shah
 
Presentation IOT Robot
Presentation IOT RobotPresentation IOT Robot
Presentation IOT RobotVatsal N Shah
 
Poster IOTROBOT vatsalnshah_ec_indusuniversity
Poster IOTROBOT vatsalnshah_ec_indusuniversityPoster IOTROBOT vatsalnshah_ec_indusuniversity
Poster IOTROBOT vatsalnshah_ec_indusuniversityVatsal N Shah
 
Project ideas ece students
Project ideas ece studentsProject ideas ece students
Project ideas ece studentsVatsal N Shah
 
Raspbeery Pi : An Introduction
Raspbeery Pi : An IntroductionRaspbeery Pi : An Introduction
Raspbeery Pi : An IntroductionVatsal N Shah
 
Report Remote communication of Robotic module using lifa
Report Remote communication of Robotic module using lifaReport Remote communication of Robotic module using lifa
Report Remote communication of Robotic module using lifaVatsal N Shah
 
Floor cleaning robot report vatsal shah_ec_7th sem
Floor cleaning robot report vatsal shah_ec_7th semFloor cleaning robot report vatsal shah_ec_7th sem
Floor cleaning robot report vatsal shah_ec_7th semVatsal N Shah
 
IRC Magazine Issue_1
IRC Magazine Issue_1IRC Magazine Issue_1
IRC Magazine Issue_1Vatsal N Shah
 
Advanced wheel chair vatsal shah
Advanced wheel chair   vatsal shah Advanced wheel chair   vatsal shah
Advanced wheel chair vatsal shah Vatsal N Shah
 
Configuring lifa for remote communication using web architecture
Configuring lifa for remote communication using web architectureConfiguring lifa for remote communication using web architecture
Configuring lifa for remote communication using web architectureVatsal N Shah
 
Control robotic module using LIFA
Control robotic module using LIFAControl robotic module using LIFA
Control robotic module using LIFAVatsal N Shah
 

More from Vatsal N Shah (20)

Machine Learning Project - Default credit card clients
Machine Learning Project - Default credit card clients Machine Learning Project - Default credit card clients
Machine Learning Project - Default credit card clients
 
Nodejs vatsal shah
Nodejs vatsal shahNodejs vatsal shah
Nodejs vatsal shah
 
Search and rescue
Search and rescueSearch and rescue
Search and rescue
 
Am fm transmitter
Am fm transmitterAm fm transmitter
Am fm transmitter
 
I am sharing my journey with Indus University and Indus Family. Read Page No:...
I am sharing my journey with Indus University and Indus Family. Read Page No:...I am sharing my journey with Indus University and Indus Family. Read Page No:...
I am sharing my journey with Indus University and Indus Family. Read Page No:...
 
Floor cleaning robot(autonomus mannual) vatsal shah-ec_4th year
Floor cleaning robot(autonomus mannual)  vatsal shah-ec_4th yearFloor cleaning robot(autonomus mannual)  vatsal shah-ec_4th year
Floor cleaning robot(autonomus mannual) vatsal shah-ec_4th year
 
Report IOT Robot
Report IOT RobotReport IOT Robot
Report IOT Robot
 
Presentation IOT Robot
Presentation IOT RobotPresentation IOT Robot
Presentation IOT Robot
 
Poster IOTROBOT vatsalnshah_ec_indusuniversity
Poster IOTROBOT vatsalnshah_ec_indusuniversityPoster IOTROBOT vatsalnshah_ec_indusuniversity
Poster IOTROBOT vatsalnshah_ec_indusuniversity
 
Project ideas ece students
Project ideas ece studentsProject ideas ece students
Project ideas ece students
 
Projects
ProjectsProjects
Projects
 
Raspbeery Pi : An Introduction
Raspbeery Pi : An IntroductionRaspbeery Pi : An Introduction
Raspbeery Pi : An Introduction
 
Report Remote communication of Robotic module using lifa
Report Remote communication of Robotic module using lifaReport Remote communication of Robotic module using lifa
Report Remote communication of Robotic module using lifa
 
Floor cleaning robot report vatsal shah_ec_7th sem
Floor cleaning robot report vatsal shah_ec_7th semFloor cleaning robot report vatsal shah_ec_7th sem
Floor cleaning robot report vatsal shah_ec_7th sem
 
IRC Magazine Issue_1
IRC Magazine Issue_1IRC Magazine Issue_1
IRC Magazine Issue_1
 
Advanced wheel chair vatsal shah
Advanced wheel chair   vatsal shah Advanced wheel chair   vatsal shah
Advanced wheel chair vatsal shah
 
Configuring lifa for remote communication using web architecture
Configuring lifa for remote communication using web architectureConfiguring lifa for remote communication using web architecture
Configuring lifa for remote communication using web architecture
 
Control robotic module using LIFA
Control robotic module using LIFAControl robotic module using LIFA
Control robotic module using LIFA
 
Trapatt diode
Trapatt diode Trapatt diode
Trapatt diode
 
Telemedicine
Telemedicine Telemedicine
Telemedicine
 

Recently uploaded

A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersMairaAshraf6
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 

Recently uploaded (20)

A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 

IC 8253 - Microprocessor

  • 1. Microprocessor & Interfacing THE 8253 IC (PIT) Vatsal N Shah – IU1241090055 Electronics and Communication Engineering Dept. Indus University 1
  • 2. What is 8253? Contents PIN-DIAGRAM OF 8253 ARCHITECTUR E OF 8253 MODES OF 8253 Interfacing with 8085 References 2
  • 3. What is 8253? • The Intel 8253 is a programmable counter. • It includes 3 identical 16 bit counters. • It is packaged in a 24-pin DIP. • Six programmable modes. • Gate is used to enable or disable the counter. 3
  • 4. ARCHITECTURE OF 8253 D7-D0 RD WR A0 A1 CS DATA BUS BUFFER READ/ WRITE LOGIC CONTROL WORD REGISTER COUNTER 0 COUNTER 1 COUNTER 2 CLK 0 GATE 0 OUT 0 CLK 1 GATE 1 OUT 1 CLK 2 GATE 2 OUT 2 4
  • 5. D7 D6 D5 D4 D3 D2 D1 D0 CLK 0 OUT 0 GATE 0 GND 8253 VCC WR RD CS A1 A0 CLK 2 OUT 2 GATE 2 CLK 1 OUT 1 GATE 1 PIN DIAGRAM OF 8253 5
  • 6. Data Bus Buffer: • This block contains the logic to buffer the data bus to the microprocessor and to the internal registers. It has 8 input pins, usually labelled as D7..D0, where D7 is the MSB. Control Logic: • The control section has five signals: Read, Write, Chip select and the address lines A0 and A1. • In peripheral I/O mode read and write signals are connected to IOR and IOW while in memory mapped these are connected to MEMR and MEMW. 6
  • 7. • The control word register and counters are selected according to signals on lines A0 and A1 as shown below: CS A1 A0 Select 0 0 0 Counter 0 0 0 1 Counter 1 0 1 0 Counter 2 0 1 1 Control Reg. Control word Register: • This register is accessed when lines A0 and A1 are at logic 1. • It is used to write command word which specifies the counter to be used, its mode and either read or write format. 7
  • 9. MODES OF 8253 MODE 0: Interrupt on terminal count. MODE 1: Programmable 1 shot. MODE 2: Rate generator. MODE 3: Square wave generator. MODE 4: Software triggered strobe. MODE 5: Hardware triggered strobe. 9
  • 10. Mode 0: Interrupt on Terminal Count • 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. • This can be used as an interrupt. 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. 10
  • 11. Mode 2: Rate Generator • This mode is used to generate a pulse equal to the clock period at a given interval. • When count is loaded the OUT stays high until the count reaches 1 and the the OUT goes low for one clock period. • The count is reloaded automatically and the pulse is generated continuously. Mode 3: Square Wave Generator • This mode is similar to mode 2. However, the duration of the high and low clock pulses of the output will be different from mode 2. 11
  • 12. • Suppose n is the number loaded into the counter (the COUNT message), the output will be: • high for n/2 counts, and low for n/2 counts, if n is even. • high for (n+1)/2 counts, and low (n-1)/2 for counts, if n is odd Mode 4: Software Triggered Pulse. • The output will remain high until the timer has counted to zero, at which point the output will pulse low and then go high again. 12
  • 13. 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. 13
  • 14. Modes of Operation of 8253 14
  • 16. References • http://www.circuitstoday.com/ • http://www.ti.com/lit/an/slyt145/slyt145.pdf • http://8085projects.info/page/free-programs-for- 8085-microprocessor.html • http://www.learnabout-electronics. org/index.php • https://www.youtube.com/watch?v=nxAQ1PFE d5U 16
  • 17. 17
  • 18. 18