SlideShare a Scribd company logo
1
MICROPROCESSOR & MICROCONTROLLER-MTE301
Dr. Susanta Kumar Rout
School of Engineering
Ajeenkya D Y Patil University,
Pune, Maharashtra, India
Email: susanta.rout@adypu.edu.in
Cont.No:7978072036, 9937681996
1/24/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
2
1.Coursenumberand name : MTE301-Microprocessor& Microcontroller
2.Credits andcontact hours : 3-Credits and 3-hours/week
3.Instructor’sor coursecoordinator’s name: Dr. SusantaKumarRout
4.Textbook, title, and author
A. The 8051 Microcontroller and Embedded Systems using Assembly and C,
MuhammasMazidi, Janice Mazidi and RolinMcKinlay, Pearson Education, 2nd
edition.
B. The8051 Microcontroller, KennethJ. Ayala, CengageLearning.
5. Referencebook, title, and author
A. Microcontrollers Theoryand Applications, AjayDeshmukh, TATAMcGraw Hill.
B. Embedded Systems and Robots- Projects using the 8051 Microcontroller, Subrata
Ghoshal,CengageLearning.
1/24/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
Microprocessor & Microcontroller-MTE301
3
MPMC SYLLABUS
1. Introduction to Microprocessors
 Study of Microprocessor architecture with suitable examples, Study of Von
Newman and Harvard architecture, comparison of CISC and RISC Processors,
Study of microcontroller architecture and special features and its advantages,
Memory interfacing with microprocessors and microcontrollers. Memory
mapped and IO mapped interfacing. Clock frequency and speed of instruction
execution. Measurement ofperformance of microprocessor.
2. Architecture of 8051 Microcontroller
 8051 architecture, Pin description, Internal and external memories, timing
diagrams for memory interfacing, Counters and Timers, Serial communication,
Stack and Stack Pointer, Port Structure and Interrupts.
1/24/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
4
3. Addressing Modeand InstructionSet of 8051
 8051 Addressing modes, 8051 Instruction set, Microcontroller Application
Development tools Simulator, Emulator, In-circuit Emulator (ICE), Logic Analyzer,
ISP, Cross assembler, Introductionto Embedded C programming.
4. Real WorldInterfacing
 Interfacing 8051/89C51 to LED with and without interrupt, ADC, DAC, LCD and
keypad (consider debounce), Stepper motor, SPI bus. RS 232, RS 485, I2C bus
standard, InterfacingADC, DAC, memory, RTC with 8051 using I2C bus.
5. CaseStudy: Data AcquisitionSystem Design
 Designing microcontroller-based Data Acquisition System. Design of sensor
interfacing, signal conditioning of input stage, selection of ADC, selection of output
drivers.WritingefficientprogramsusingAssemblylanguageorEmbedded C.
1/24/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
MPMC SYLLABUS
5 1/24/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
1. Introduction to Microprocessors
 Study of Microprocessor architecture with suitable examples.
 Study ofVon-Newmanand Harvard architecture.
 Comparisonof CISC and RISC Processors.
 Study of microcontroller architecture and special features and its advantages.
 Memory interfacingwith microprocessorsand microcontrollers.
 Memory mapped and IO mapped interfacing.
 Clock frequency and speed of instructionexecution.
 Measurement ofperformance of microprocessor.
Microprocessor & Microcontroller-MTE301
Q: What is Microcomputer?
The term microcomputer is generally synonymous with personal computer, or a
computerthat depends on a microprocessor.
A microcomputer contains a central processing unit (CPU) on a microchip (the
microprocessor), a memory system (typically ROM and RAM), a bus system and I/O
ports.
Q: What is Microprocessor?
Micro-processoris a silicon chip around which a microcomputeris built.
 It includes ALU, registercircuits, and control circuits.
Q: What is Microcontroller?
It is Silicon chip which includesmicroprocessor,memory, and I/O in a singlechip.
Microprocessor and Microcomputer
6 1/24/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
Microprocessor chronology
Year Name Developer Max clock (first version) Size (bits)
1971 4004 Intel 740 kHz 4
1972 8008 Intel 500kHz 8
1974 8080 Intel 2 MHz 8
1974 IMP-4 National 500 kHz 4
1974 4040 Intel 740 kHz 4
1974 6800 Motorola 1 MHz 8
1974 TMS 1000 Texas Instruments 400 kHz 4
1977 8085 Intel 3.0 MHz 8
1978 6809 Motorola 1 MHz 8
1978 8086 Intel 5 MHz 16
1979 8088 Intel 5 MHz 8/16
1982 80186 Intel 6 MHz 16
1985 80386 Intel 16-40 MHz 32
7 1/24/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
Year Name Developer Max clock (first version) Size (bits)
1989 80486 Intel 25 MHz 32
1993 Pentium Intel 60-66 MHz 32
1995 Pentium Pro Intel 150-200 MHz 32
1997 Pentium II Intel 233-300 MHz 32
1999 Pentium III Intel 450-600 MHz 32
2000 Pentium 4 Intel 1.3-2 GHz
2003 Pentium M Intel 0.9-1.7 GHz
2006 Core Duo Intel 1.1-2.33 GHz
2006 Core 2 Intel 1.06-2.67 GHz
2008 Atom Intel 0.8-1.6 GHz
2012 Core i7 Intel 2.5-3.7 GHz
Cont…
8 1/24/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
Microprocessor/Microcontroller
Microcontroller Microprocessor
It is a singlechip consistsof It is a CPU.
1. Microprocessor,
2. Memory, and
3. I/O in a singlechip.
Memory, I/O Ports to be connected
externally.
9 1/24/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
10 1/24/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
8085-Microprocessor
Here, we will discuss about,
1. Featureof 8085.
2. Pin Configurationof 8085.
3. Architectureof8085.
4. RegisterStructureof8085.
5. Bus Organisationof 8085.
6. Timing, control, and instructionset of 8085 microprocessor.
11 1/24/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
The Feature of 8085-Microprocessor
1. It is an 8-bit microprocessor i.e. it can accept, process, or provide 8-bit data
simultaneously.
2. It operates on a single +5 V power supply connected at VDD ; power supply ground
is connected to VSS.
3. It operates on clock cycle with 50% duty cycle.
4. It has on chip clock generator. This internal clock generator requires tuned circuit
like RC, LC or crystal. The internal clock generator divides oscillator frequency
by 2 and generates clock signal, which can be used for synchronizing external
devices.
5. It can operate with a 3 MHz clock frequency. The 8085A-2 version can operate at
themaximumfrequency of 5 MHz.
6. It has 16 address lines; henceit can access (216 = 65,536)64 Kbytes of memory.
12 1/24/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
Cont…
7. It provided 8-bit I/O addresses to access (28) 256 I/O ports.
8. In 8085, the lower 8-bit address bus (A0-A7) and data bus (D0-D7) are
multiplexed to reduce number of external pins. But due to this, external hardware
(latch)is required to separateaddress lines and data lines.
Q. What is Address Bus:
 Theaddress bus is actually givingaddress to the memory.
 memory is a collectionofset of locationswherethe values are stored.
 So, whenever we are talking about memory we have to tell which location we
want to access.
 If I consider memory as a container like this. It has got several slots in it so, I have
to tell which slot am I referring to. This is actually given in the address bus. So,
processorgivetheaddress on the address bus.
13 1/24/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
Q. What is Data Bus:
The processor as part of execution will try to write something onto the memory or it
will try to read something from the memory. Same is true for the IO, the processor may
try to read something from the peripheral device or it may try to write on to the
peripheral device.
So, this data bus contains the data coming from the processor or it can it can contains
thedata coming from the peripheral.
The direction is from the processor towards the memory or peripheral data bus is bi-
directional, because I can have this data transferred from the processor to the memory
or from memory to the processor.
Cont…
14 1/24/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
Q. What is Control Bus:
The control bus is again the collection of lines that sense control signals to the
memory and control signalsto the processorto the peripheral.
So, these control lines are also coming from the CPU or the processor where it will
givethe control signalsto these modules.
Cont…
15 1/24/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
Cont…
9. 8085 microprocessorsupports74 instructionswith thefollowing addressingmodes:
i) Immediateaddressing mode.
ii) Registeraddressingmode.
iii)Direct addressingmode.
iv) Indirect addressingmode.
v) Implied addressing mode.
10. TheArithmeticLogicUnit (ALU) of 8085 performs:
a) 8-bit binary addition with orwithoutcarry.
b) 16-bit binary addition.
c) 2 digit BCD addition.
d) 8-bit logical AND, OR, EX-OR, complement(NOT), and bit shift operations.
16 1/24/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
Cont…
11. It has 8-bit accumulator, flag register, instruction register, six 8-bit general purpose
register (B, C, D, E, H, and L) and two 16-bit registers (SP and PC). Getting the
operand from the general purpose registers is more faster than from memory. Hence,
skilled programmers always prefer general purpose registers to store program variables
than memory.
12. It providesfivehardwareinterrupts:TRAP, RST 7.5, RST 6.5, RST 5.5 and INTR.
13. It has serial I/O control which allows serial communication.
14. It provides control signals (IO/M, RD, WR) to control the bus cycles, and hence
external bus controlleris not required.
15. The external hardware (another microprocessor or equivalent master) can detect
which machinecyclemicroprocessoris executing usingstatus(IO/M, S0, S1).
17 1/24/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
This feature is very useful when more than one processors are using common system
resources(memory and I/O devices).
16. It has a mechanism by which it is possible to increase its interrupt handling
capacity.
17. The 8085 has an ability to share system bus Direct Memory Access (DMA)
controller. This feature allows to transfer large amount of data from I/O device to
memory or from memory to I/O devicewith high speeds.
18. It can be used to implement three microcomputer with supporting I/O device like
IC 8155 and IC 8355.
Cont…
18 1/24/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout

More Related Content

Similar to Lec_1_MPMC.pdf

Verification of uart ip core using uvm
Verification of uart ip core using uvmVerification of uart ip core using uvm
Verification of uart ip core using uvm
eSAT Publishing House
 
Eee iv-microcontrollers [10 es42]-notes
Eee iv-microcontrollers [10 es42]-notesEee iv-microcontrollers [10 es42]-notes
Eee iv-microcontrollers [10 es42]-notes
Gopinath.B.L Naidu
 
Design and Implementation of Pipelined 8-Bit RISC Processor using Verilog HDL...
Design and Implementation of Pipelined 8-Bit RISC Processor using Verilog HDL...Design and Implementation of Pipelined 8-Bit RISC Processor using Verilog HDL...
Design and Implementation of Pipelined 8-Bit RISC Processor using Verilog HDL...
IRJET Journal
 
Bca examination 2015 csa
Bca examination 2015 csaBca examination 2015 csa
Bca examination 2015 csa
Anjaan Gajendra
 
Realization of high performance run time loadable mips soft-core processor
Realization of high performance run time loadable mips soft-core processorRealization of high performance run time loadable mips soft-core processor
Realization of high performance run time loadable mips soft-core processor
eSAT Publishing House
 
Multiprocessing operating systems
Multiprocessing operating systemsMultiprocessing operating systems
Multiprocessing operating systems
Chathurangi Shyalika
 
Microcontrollers 8051 MSP430 notes
Microcontrollers 8051 MSP430 notesMicrocontrollers 8051 MSP430 notes
Microcontrollers 8051 MSP430 notes
Niteesh Shanbog
 
3160712_MPI_GTU_Study_Material_e-Notes_Introduction-to-Microprocessor_1305202...
3160712_MPI_GTU_Study_Material_e-Notes_Introduction-to-Microprocessor_1305202...3160712_MPI_GTU_Study_Material_e-Notes_Introduction-to-Microprocessor_1305202...
3160712_MPI_GTU_Study_Material_e-Notes_Introduction-to-Microprocessor_1305202...
ssuserecee86
 
Project report on embedded system using 8051 microcontroller
Project  report on embedded system using 8051 microcontrollerProject  report on embedded system using 8051 microcontroller
Project report on embedded system using 8051 microcontrollerVandna Sambyal
 
Designing of telecommand system using system on chip soc for spacecraft contr...
Designing of telecommand system using system on chip soc for spacecraft contr...Designing of telecommand system using system on chip soc for spacecraft contr...
Designing of telecommand system using system on chip soc for spacecraft contr...
IAEME Publication
 
Designing of telecommand system using system on chip soc for spacecraft contr...
Designing of telecommand system using system on chip soc for spacecraft contr...Designing of telecommand system using system on chip soc for spacecraft contr...
Designing of telecommand system using system on chip soc for spacecraft contr...
IAEME Publication
 
Motorola 68hc11
Motorola 68hc11Motorola 68hc11
Motorola 68hc11
gajani121
 
Lecture notes on microprocessor and microcomputer
Lecture notes on microprocessor and microcomputerLecture notes on microprocessor and microcomputer
Lecture notes on microprocessor and microcomputer
EkeedaPvtLtd
 
Microprocessors & Microcomputers Lecture Notes
Microprocessors & Microcomputers Lecture NotesMicroprocessors & Microcomputers Lecture Notes
Microprocessors & Microcomputers Lecture Notes
FellowBuddy.com
 
Microprocessor & microcontroller
Microprocessor & microcontroller Microprocessor & microcontroller
Microprocessor & microcontroller Nitesh Kumar
 
Chapter 4 Microprocessor CPU
Chapter 4 Microprocessor CPUChapter 4 Microprocessor CPU
Chapter 4 Microprocessor CPUaskme
 
Design of 16 bit low power processor using clock gating technique 2-3
Design of 16 bit low power processor using clock gating technique 2-3Design of 16 bit low power processor using clock gating technique 2-3
Design of 16 bit low power processor using clock gating technique 2-3IAEME Publication
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
Adarsh Barnwal
 
microprocessormicrocontrollerbysanat-140107013112-phpapp02.pdf
microprocessormicrocontrollerbysanat-140107013112-phpapp02.pdfmicroprocessormicrocontrollerbysanat-140107013112-phpapp02.pdf
microprocessormicrocontrollerbysanat-140107013112-phpapp02.pdf
MECHANICALENGINEERIN19
 

Similar to Lec_1_MPMC.pdf (20)

Verification of uart ip core using uvm
Verification of uart ip core using uvmVerification of uart ip core using uvm
Verification of uart ip core using uvm
 
Eee iv-microcontrollers [10 es42]-notes
Eee iv-microcontrollers [10 es42]-notesEee iv-microcontrollers [10 es42]-notes
Eee iv-microcontrollers [10 es42]-notes
 
Design and Implementation of Pipelined 8-Bit RISC Processor using Verilog HDL...
Design and Implementation of Pipelined 8-Bit RISC Processor using Verilog HDL...Design and Implementation of Pipelined 8-Bit RISC Processor using Verilog HDL...
Design and Implementation of Pipelined 8-Bit RISC Processor using Verilog HDL...
 
Bca examination 2015 csa
Bca examination 2015 csaBca examination 2015 csa
Bca examination 2015 csa
 
Realization of high performance run time loadable mips soft-core processor
Realization of high performance run time loadable mips soft-core processorRealization of high performance run time loadable mips soft-core processor
Realization of high performance run time loadable mips soft-core processor
 
Multiprocessing operating systems
Multiprocessing operating systemsMultiprocessing operating systems
Multiprocessing operating systems
 
Microcontrollers 8051 MSP430 notes
Microcontrollers 8051 MSP430 notesMicrocontrollers 8051 MSP430 notes
Microcontrollers 8051 MSP430 notes
 
Mpmc
MpmcMpmc
Mpmc
 
3160712_MPI_GTU_Study_Material_e-Notes_Introduction-to-Microprocessor_1305202...
3160712_MPI_GTU_Study_Material_e-Notes_Introduction-to-Microprocessor_1305202...3160712_MPI_GTU_Study_Material_e-Notes_Introduction-to-Microprocessor_1305202...
3160712_MPI_GTU_Study_Material_e-Notes_Introduction-to-Microprocessor_1305202...
 
Project report on embedded system using 8051 microcontroller
Project  report on embedded system using 8051 microcontrollerProject  report on embedded system using 8051 microcontroller
Project report on embedded system using 8051 microcontroller
 
Designing of telecommand system using system on chip soc for spacecraft contr...
Designing of telecommand system using system on chip soc for spacecraft contr...Designing of telecommand system using system on chip soc for spacecraft contr...
Designing of telecommand system using system on chip soc for spacecraft contr...
 
Designing of telecommand system using system on chip soc for spacecraft contr...
Designing of telecommand system using system on chip soc for spacecraft contr...Designing of telecommand system using system on chip soc for spacecraft contr...
Designing of telecommand system using system on chip soc for spacecraft contr...
 
Motorola 68hc11
Motorola 68hc11Motorola 68hc11
Motorola 68hc11
 
Lecture notes on microprocessor and microcomputer
Lecture notes on microprocessor and microcomputerLecture notes on microprocessor and microcomputer
Lecture notes on microprocessor and microcomputer
 
Microprocessors & Microcomputers Lecture Notes
Microprocessors & Microcomputers Lecture NotesMicroprocessors & Microcomputers Lecture Notes
Microprocessors & Microcomputers Lecture Notes
 
Microprocessor & microcontroller
Microprocessor & microcontroller Microprocessor & microcontroller
Microprocessor & microcontroller
 
Chapter 4 Microprocessor CPU
Chapter 4 Microprocessor CPUChapter 4 Microprocessor CPU
Chapter 4 Microprocessor CPU
 
Design of 16 bit low power processor using clock gating technique 2-3
Design of 16 bit low power processor using clock gating technique 2-3Design of 16 bit low power processor using clock gating technique 2-3
Design of 16 bit low power processor using clock gating technique 2-3
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
microprocessormicrocontrollerbysanat-140107013112-phpapp02.pdf
microprocessormicrocontrollerbysanat-140107013112-phpapp02.pdfmicroprocessormicrocontrollerbysanat-140107013112-phpapp02.pdf
microprocessormicrocontrollerbysanat-140107013112-phpapp02.pdf
 

Recently uploaded

Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
anoopmanoharan2
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
Kamal Acharya
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
An Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering TechniquesAn Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering Techniques
ambekarshweta25
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 

Recently uploaded (20)

Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
An Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering TechniquesAn Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering Techniques
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 

Lec_1_MPMC.pdf

  • 1. 1 MICROPROCESSOR & MICROCONTROLLER-MTE301 Dr. Susanta Kumar Rout School of Engineering Ajeenkya D Y Patil University, Pune, Maharashtra, India Email: susanta.rout@adypu.edu.in Cont.No:7978072036, 9937681996 1/24/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 2. 2 1.Coursenumberand name : MTE301-Microprocessor& Microcontroller 2.Credits andcontact hours : 3-Credits and 3-hours/week 3.Instructor’sor coursecoordinator’s name: Dr. SusantaKumarRout 4.Textbook, title, and author A. The 8051 Microcontroller and Embedded Systems using Assembly and C, MuhammasMazidi, Janice Mazidi and RolinMcKinlay, Pearson Education, 2nd edition. B. The8051 Microcontroller, KennethJ. Ayala, CengageLearning. 5. Referencebook, title, and author A. Microcontrollers Theoryand Applications, AjayDeshmukh, TATAMcGraw Hill. B. Embedded Systems and Robots- Projects using the 8051 Microcontroller, Subrata Ghoshal,CengageLearning. 1/24/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout Microprocessor & Microcontroller-MTE301
  • 3. 3 MPMC SYLLABUS 1. Introduction to Microprocessors  Study of Microprocessor architecture with suitable examples, Study of Von Newman and Harvard architecture, comparison of CISC and RISC Processors, Study of microcontroller architecture and special features and its advantages, Memory interfacing with microprocessors and microcontrollers. Memory mapped and IO mapped interfacing. Clock frequency and speed of instruction execution. Measurement ofperformance of microprocessor. 2. Architecture of 8051 Microcontroller  8051 architecture, Pin description, Internal and external memories, timing diagrams for memory interfacing, Counters and Timers, Serial communication, Stack and Stack Pointer, Port Structure and Interrupts. 1/24/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 4. 4 3. Addressing Modeand InstructionSet of 8051  8051 Addressing modes, 8051 Instruction set, Microcontroller Application Development tools Simulator, Emulator, In-circuit Emulator (ICE), Logic Analyzer, ISP, Cross assembler, Introductionto Embedded C programming. 4. Real WorldInterfacing  Interfacing 8051/89C51 to LED with and without interrupt, ADC, DAC, LCD and keypad (consider debounce), Stepper motor, SPI bus. RS 232, RS 485, I2C bus standard, InterfacingADC, DAC, memory, RTC with 8051 using I2C bus. 5. CaseStudy: Data AcquisitionSystem Design  Designing microcontroller-based Data Acquisition System. Design of sensor interfacing, signal conditioning of input stage, selection of ADC, selection of output drivers.WritingefficientprogramsusingAssemblylanguageorEmbedded C. 1/24/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout MPMC SYLLABUS
  • 5. 5 1/24/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout 1. Introduction to Microprocessors  Study of Microprocessor architecture with suitable examples.  Study ofVon-Newmanand Harvard architecture.  Comparisonof CISC and RISC Processors.  Study of microcontroller architecture and special features and its advantages.  Memory interfacingwith microprocessorsand microcontrollers.  Memory mapped and IO mapped interfacing.  Clock frequency and speed of instructionexecution.  Measurement ofperformance of microprocessor. Microprocessor & Microcontroller-MTE301
  • 6. Q: What is Microcomputer? The term microcomputer is generally synonymous with personal computer, or a computerthat depends on a microprocessor. A microcomputer contains a central processing unit (CPU) on a microchip (the microprocessor), a memory system (typically ROM and RAM), a bus system and I/O ports. Q: What is Microprocessor? Micro-processoris a silicon chip around which a microcomputeris built.  It includes ALU, registercircuits, and control circuits. Q: What is Microcontroller? It is Silicon chip which includesmicroprocessor,memory, and I/O in a singlechip. Microprocessor and Microcomputer 6 1/24/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 7. Microprocessor chronology Year Name Developer Max clock (first version) Size (bits) 1971 4004 Intel 740 kHz 4 1972 8008 Intel 500kHz 8 1974 8080 Intel 2 MHz 8 1974 IMP-4 National 500 kHz 4 1974 4040 Intel 740 kHz 4 1974 6800 Motorola 1 MHz 8 1974 TMS 1000 Texas Instruments 400 kHz 4 1977 8085 Intel 3.0 MHz 8 1978 6809 Motorola 1 MHz 8 1978 8086 Intel 5 MHz 16 1979 8088 Intel 5 MHz 8/16 1982 80186 Intel 6 MHz 16 1985 80386 Intel 16-40 MHz 32 7 1/24/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 8. Year Name Developer Max clock (first version) Size (bits) 1989 80486 Intel 25 MHz 32 1993 Pentium Intel 60-66 MHz 32 1995 Pentium Pro Intel 150-200 MHz 32 1997 Pentium II Intel 233-300 MHz 32 1999 Pentium III Intel 450-600 MHz 32 2000 Pentium 4 Intel 1.3-2 GHz 2003 Pentium M Intel 0.9-1.7 GHz 2006 Core Duo Intel 1.1-2.33 GHz 2006 Core 2 Intel 1.06-2.67 GHz 2008 Atom Intel 0.8-1.6 GHz 2012 Core i7 Intel 2.5-3.7 GHz Cont… 8 1/24/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 9. Microprocessor/Microcontroller Microcontroller Microprocessor It is a singlechip consistsof It is a CPU. 1. Microprocessor, 2. Memory, and 3. I/O in a singlechip. Memory, I/O Ports to be connected externally. 9 1/24/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 10. 10 1/24/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout 8085-Microprocessor Here, we will discuss about, 1. Featureof 8085. 2. Pin Configurationof 8085. 3. Architectureof8085. 4. RegisterStructureof8085. 5. Bus Organisationof 8085. 6. Timing, control, and instructionset of 8085 microprocessor.
  • 11. 11 1/24/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout The Feature of 8085-Microprocessor 1. It is an 8-bit microprocessor i.e. it can accept, process, or provide 8-bit data simultaneously. 2. It operates on a single +5 V power supply connected at VDD ; power supply ground is connected to VSS. 3. It operates on clock cycle with 50% duty cycle. 4. It has on chip clock generator. This internal clock generator requires tuned circuit like RC, LC or crystal. The internal clock generator divides oscillator frequency by 2 and generates clock signal, which can be used for synchronizing external devices. 5. It can operate with a 3 MHz clock frequency. The 8085A-2 version can operate at themaximumfrequency of 5 MHz. 6. It has 16 address lines; henceit can access (216 = 65,536)64 Kbytes of memory.
  • 12. 12 1/24/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout Cont… 7. It provided 8-bit I/O addresses to access (28) 256 I/O ports. 8. In 8085, the lower 8-bit address bus (A0-A7) and data bus (D0-D7) are multiplexed to reduce number of external pins. But due to this, external hardware (latch)is required to separateaddress lines and data lines. Q. What is Address Bus:  Theaddress bus is actually givingaddress to the memory.  memory is a collectionofset of locationswherethe values are stored.  So, whenever we are talking about memory we have to tell which location we want to access.  If I consider memory as a container like this. It has got several slots in it so, I have to tell which slot am I referring to. This is actually given in the address bus. So, processorgivetheaddress on the address bus.
  • 13. 13 1/24/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout Q. What is Data Bus: The processor as part of execution will try to write something onto the memory or it will try to read something from the memory. Same is true for the IO, the processor may try to read something from the peripheral device or it may try to write on to the peripheral device. So, this data bus contains the data coming from the processor or it can it can contains thedata coming from the peripheral. The direction is from the processor towards the memory or peripheral data bus is bi- directional, because I can have this data transferred from the processor to the memory or from memory to the processor. Cont…
  • 14. 14 1/24/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout Q. What is Control Bus: The control bus is again the collection of lines that sense control signals to the memory and control signalsto the processorto the peripheral. So, these control lines are also coming from the CPU or the processor where it will givethe control signalsto these modules. Cont…
  • 15. 15 1/24/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout Cont… 9. 8085 microprocessorsupports74 instructionswith thefollowing addressingmodes: i) Immediateaddressing mode. ii) Registeraddressingmode. iii)Direct addressingmode. iv) Indirect addressingmode. v) Implied addressing mode. 10. TheArithmeticLogicUnit (ALU) of 8085 performs: a) 8-bit binary addition with orwithoutcarry. b) 16-bit binary addition. c) 2 digit BCD addition. d) 8-bit logical AND, OR, EX-OR, complement(NOT), and bit shift operations.
  • 16. 16 1/24/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout Cont… 11. It has 8-bit accumulator, flag register, instruction register, six 8-bit general purpose register (B, C, D, E, H, and L) and two 16-bit registers (SP and PC). Getting the operand from the general purpose registers is more faster than from memory. Hence, skilled programmers always prefer general purpose registers to store program variables than memory. 12. It providesfivehardwareinterrupts:TRAP, RST 7.5, RST 6.5, RST 5.5 and INTR. 13. It has serial I/O control which allows serial communication. 14. It provides control signals (IO/M, RD, WR) to control the bus cycles, and hence external bus controlleris not required. 15. The external hardware (another microprocessor or equivalent master) can detect which machinecyclemicroprocessoris executing usingstatus(IO/M, S0, S1).
  • 17. 17 1/24/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout This feature is very useful when more than one processors are using common system resources(memory and I/O devices). 16. It has a mechanism by which it is possible to increase its interrupt handling capacity. 17. The 8085 has an ability to share system bus Direct Memory Access (DMA) controller. This feature allows to transfer large amount of data from I/O device to memory or from memory to I/O devicewith high speeds. 18. It can be used to implement three microcomputer with supporting I/O device like IC 8155 and IC 8355. Cont…
  • 18. 18 1/24/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout