SlideShare a Scribd company logo
1 of 24
Download to read offline
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/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
2
1.Course number and name : MTE301-Microprocessor & Microcontroller
2.Credits and contact hours : 3-Credits and 3-hours/week
3.Instructor’s or course coordinator’s name: Dr. Susanta Kumar Rout
4.Text book, title, and author
A. The 8051 Microcontroller and Embedded Systems using Assembly and C,
MuhammasMazidi, Janice Mazidi and RolinMcKinlay, Pearson Education, 2nd
edition.
B. The 8051 Microcontroller, Kenneth J. Ayala, Cengage Learning.
5. Reference book, title, and author
A. Microcontrollers Theory and Applications, Ajay Deshmukh, TATA McGraw Hill.
B. Embedded Systems and Robots- Projects using the 8051 Microcontroller, Subrata
Ghoshal, Cengage Learning.
1/30/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 of performance 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/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
4
3. Addressing Mode and Instruction Set of 8051
 8051 Addressing modes, 8051 Instruction set, Microcontroller Application Development
tools- Simulator, Emulator, In-circuit Emulator (ICE), Logic Analyzer, ISP, Cross
assembler, Introduction to Embedded C programming.
4. Real World Interfacing
 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,
Interfacing ADC, DAC, memory, RTC with 8051 using I2C bus.
5. Case Study: Data Acquisition System Design
 Designing microcontroller-based Data Acquisition System. Design of sensor interfacing,
signal conditioning of input stage, selection of ADC, selection of output drivers. Writing
efficient programs using Assembly language or Embedded C.
1/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
MPMC SYLLABUS
5 1/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
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 of performance of microprocessor.
Microprocessor & Microcontroller-MTE301
6 1/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
8085-Microprocessor
Here, we will discuss about,
1. Feature of 8085.
2. Pin Configuration of 8085.
3. Architecture of 8085.
4. Register Structure of 8085.
5. Bus Organisation of 8085.
6. Timing, control, and instruction set of 8085 microprocessor.
8085 PIN CONFIGURATION
Microprocessor and microcontroller
Dr. Susanta Kumar Rout
7 1/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
8085 PIN CONFIGURATION
8 1/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
Cont…
9 1/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
1. Intel 8085 is an 8-bit microprocessor introduced in 1977.
2. 8085 requires only a +5 volt power supply.
3. 8085 is a 40 pin IC, DIP package. The signals from the pins can be grouped as
follows.
A. Power supply and clock signals.
B. Address bus.
C. Control and status signals.
D. Interrupt control signals.
E. Serial I/O control ports signal.
10 1/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
PIN DESCRIPTION
PIN-1 [X1] and PIN-2 [X2]
These are terminals to be connected to an external crystal oscillator (R-C N/W
connection or L-C N/W connections) to set the frequency of internal clock
generator, which is suitable for the operation of microprocessor.
The frequency is internally divided by two. Since the basic operating timing
frequency is 3MHz (3.125 MHz), a 6MHz crystal is connected externally. The
minimum operating timing frequency is 500KHz.
PIN-3 [RESET OUT]
It indicates CPU is being reset.
It is used to reset all the connected devices when the microprocessor is reset.
Cont…
11 1/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
PIN-4 [SOD]
It is a serial output data line.
It is for single bit serial communication output port.
PIN-5 [SID]
It is a serial input data line.
It is for single bit serial communication input port.
12 1/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
Cont…
Q: What is an interrupt?
Interrupt is a signal that inform to CPU to perform a specific task.
Q: Mention the interrupt pins of 8085 microprocessor.
There are five interrupt pins from pin-6 to pin-10.
These are TRAP, RST7.5, RST 6.5, RST 5.5 and INTR respectively.
Q: What is maskable and non-maskable interrupt?
The interrupt which can be disabled by software means, is called a maskable interrupt
otherwise non-maskable interrupt.
INTERRUPT
13 1/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
Q: What is mean by priority of an interrupt?
If 8085 is interrupted by more than one interrupt at the same time, the one which
have highest priority will serve first and so on.
Interrupt priority Address location
TRAP Highest (1) 0024H
RST 7.5 2 003CH
RST 6.5 3 0034H
RST 5.5 4 002CH
INTR LOWEST (5) Non-vector
PRIORITY
14 1/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
PIN-11 [ ]
Interrupt acknowledge is used after an INTR is accepted.
Q: What is mean by the statement that 8085 microprocessor is a 8-bit
microprocessor?
A microprocessor which has n-data lines is called an n-bit microprocessor i.e. the
width of data-bus determines the size of the microprocessor.
Hence, an 8-bit microprocessor like 8085 can handle 8-bit of data at a time.
PIN DESCRIPTION (Cont…)
15 1/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
Q: What is mean by bus in MPMC?
A bus is a bunch of wires through which data or address or control signal flow.
Q: What is the distinguishing feature of data bus (DB) and address bus (AB)?
Microprocessor can import or export data through data bus. So in 8085
microprocessor data bus are bidirectional in nature.
Microprocessor can address/communicate with peripheral through the address bus.
Hence it is unidirectional.
BUSES
16 1/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
Q: What is the addressing capability of 8085 microprocessor?
In 8085 microprocessor have16 address line. So it can address maximum of 216
different address location. But in 8085 microprocessor each memory location is 8-bit
(1 byte) i.e. it can hold 8-bit data in each memory location.
Hence the maximum address capability of 8085 is 216 × 1 byte = 64 KB.
The addressing range is 0000H–FFFFH (0 D-65,535 D).
Addressing Capability
17 1/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
PIN 12-19 [AD0-AD7]
Multiplexed A/D bus i.e. these multiplexed set of lines (8) used to carry the lower
order 8-bit address as well as data bus.
PIN-20 [Vss/GND]
Ground reference (0 volt)
PIN 21-28 [A8–A15]
Output pins.
These are higher 8-bit address bus that means it carries the most significant 8-bit of
the memory address or the 8-bits of the I/O address.
PIN DESCRIPTION (Cont…)
18 1/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
PIN-29 and PIN-33 [S0 & S1]
It shows the status of data bus.
S1 S0 Operation
0 0 Halt
0 1 Write
1 0 Read
1 1 Fetch
PIN DESCRIPTION (Cont…)
19 1/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
Q: What is the function of ALE in 8085?
Pin 30 is the ALE (i.e, Address Latch Enable) pin which stands for address latch
enable. It is used to de-multiplex the lower order AD bus pin (12 to 19).
ALE = 1 ; It activate A0-A7 i.e. lower 8-bit address bus.
= 0 ; It activate D0-D7 i.e. lower 8-bit data bus.
PIN-31 [WR]
 It is an active low, out-put pin.
 It is a signal to control write operation.
 When it goes low, the data on the data bus is written into the selected memory
location or I/O device.
PIN-32 [ RD ]
 It is an active low, out-put pin.
 It is a signal to control read operation.
 When it goes low, the data bus ready to accept data from the memory location or
I/O device.
PIN DESCRIPTION (Cont…)
20 1/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
PIN-34 [ IO / M ]
 It is a status signal indicates that the read/write operation relates to whether the
memory or I/O device.
 P 34 = 1 (high) , then the address bus is for I/O device.
= 0 (low) , then the address on the address bus is for the memory.
PIN-35 [Ready]
 It indicates the peripheral is ready to transfer data or not.
 P35 = 1 ; Ready to use.
= 0 ; wait till it goes high.
That means the microprocessor enter into wait state while the ready pin is disable.
Q: What is program counter?
The program counter is a special-purpose register in which at a particular time it stores
the address of the nest instruction to be executed.
PIN DESCRIPTION (Cont…)
21 1/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
PIN-36 [RESETIN]
 It reset the program counter to zero.
 It also reset interrupt enable and HLDA flip-flop. It does not affect any other flag or
register except instruction register.
PIN-37 [CLOCKOUT]
 Clock-out is used as the system clock for peripherals and devices interfaced with
the microprocessor.
 It is a clock output for user, which can be used for other digital ICs.
PIN-38 [HLDA]
 It is a signal for hold acknowledgement.
 P38 = 1 ; It indicates that the HOLD request has been received. After the removal
of a HOLD request the HLDA goes low.
PIN DESCRIPTION (Cont…)
22 1/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
PIN-39 [HOLD]
P39 = 1 ; It suspends normal operation of microprocessor,
that means the device is requesting the use of the address and data bus.
NOTE:
HOLD signal is generated by the DMA controller circuit. On receipt of this signal, the
microprocessor acknowledges the request by sending out HLDA signal and leaves out
the control of the buses. After the HLDA signal the DMA controller starts the direct
transfer of data.
PIN-40 [Vcc]
8085 operates on a +5v power supply, with the +5v line connected to Vcc.
PIN DESCRIPTION (Cont…)
23 1/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
24 1/30/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout

More Related Content

Similar to Lec_2_MPMC.pdf

Pin diagram 8085 and explanation of 8085 microprocessor.
Pin diagram 8085 and explanation of 8085 microprocessor.Pin diagram 8085 and explanation of 8085 microprocessor.
Pin diagram 8085 and explanation of 8085 microprocessor.Mr. Sk Habibur Rahaman
 
GSM Based Device Controlling and Fault Detection
GSM Based Device Controlling and Fault DetectionGSM Based Device Controlling and Fault Detection
GSM Based Device Controlling and Fault DetectionIJCERT
 
Implementation of Universal Asynchronous Receiver and Transmitter
Implementation of Universal Asynchronous Receiver and TransmitterImplementation of Universal Asynchronous Receiver and Transmitter
Implementation of Universal Asynchronous Receiver and TransmitterIJERA Editor
 
FPGA Verilog Processor Design
FPGA Verilog Processor DesignFPGA Verilog Processor Design
FPGA Verilog Processor DesignArchana Udaranga
 
Microprocessor-Architecture [8085]
Microprocessor-Architecture [8085]Microprocessor-Architecture [8085]
Microprocessor-Architecture [8085]GIARINDIA
 
Design and Implementation of a Stand-Alone Remote Terminal Unit
Design and Implementation of a Stand-Alone Remote Terminal UnitDesign and Implementation of a Stand-Alone Remote Terminal Unit
Design and Implementation of a Stand-Alone Remote Terminal UnitIOSR Journals
 
Computer engineering - overview of microprocessors
Computer engineering - overview of microprocessorsComputer engineering - overview of microprocessors
Computer engineering - overview of microprocessorsEkeedaPvtLtd
 
Wireless data transmission through uart port using arm & rf transceiver
Wireless data transmission through uart port using arm & rf transceiverWireless data transmission through uart port using arm & rf transceiver
Wireless data transmission through uart port using arm & rf transceivereSAT Publishing House
 
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 uvmeSAT Publishing House
 
VERIFICATION OF FOUR PORT ROUTER FOR NETWORK ON CHIP
VERIFICATION OF FOUR PORT ROUTER FOR NETWORK ON CHIPVERIFICATION OF FOUR PORT ROUTER FOR NETWORK ON CHIP
VERIFICATION OF FOUR PORT ROUTER FOR NETWORK ON CHIPEditor IJMTER
 
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
 
Bidirectional visitor counter & home automation by Jitendra Dhaka
Bidirectional visitor counter & home automation by Jitendra DhakaBidirectional visitor counter & home automation by Jitendra Dhaka
Bidirectional visitor counter & home automation by Jitendra DhakaNIT srinagar
 
EXIDE PPT TEMPLATE.pptx
EXIDE PPT TEMPLATE.pptxEXIDE PPT TEMPLATE.pptx
EXIDE PPT TEMPLATE.pptxNaveenK365392
 

Similar to Lec_2_MPMC.pdf (20)

Pin diagram 8085 and explanation of 8085 microprocessor.
Pin diagram 8085 and explanation of 8085 microprocessor.Pin diagram 8085 and explanation of 8085 microprocessor.
Pin diagram 8085 and explanation of 8085 microprocessor.
 
Micro unit 6
Micro unit 6Micro unit 6
Micro unit 6
 
8051 dev board guide
8051 dev board guide8051 dev board guide
8051 dev board guide
 
GSM Based Device Controlling and Fault Detection
GSM Based Device Controlling and Fault DetectionGSM Based Device Controlling and Fault Detection
GSM Based Device Controlling and Fault Detection
 
Implementation of Universal Asynchronous Receiver and Transmitter
Implementation of Universal Asynchronous Receiver and TransmitterImplementation of Universal Asynchronous Receiver and Transmitter
Implementation of Universal Asynchronous Receiver and Transmitter
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
FPGA Verilog Processor Design
FPGA Verilog Processor DesignFPGA Verilog Processor Design
FPGA Verilog Processor Design
 
Microprocessor-Architecture [8085]
Microprocessor-Architecture [8085]Microprocessor-Architecture [8085]
Microprocessor-Architecture [8085]
 
Design and Implementation of a Stand-Alone Remote Terminal Unit
Design and Implementation of a Stand-Alone Remote Terminal UnitDesign and Implementation of a Stand-Alone Remote Terminal Unit
Design and Implementation of a Stand-Alone Remote Terminal Unit
 
Computer engineering - overview of microprocessors
Computer engineering - overview of microprocessorsComputer engineering - overview of microprocessors
Computer engineering - overview of microprocessors
 
Wireless data transmission through uart port using arm & rf transceiver
Wireless data transmission through uart port using arm & rf transceiverWireless data transmission through uart port using arm & rf transceiver
Wireless data transmission through uart port using arm & rf transceiver
 
Cd36479483
Cd36479483Cd36479483
Cd36479483
 
Jy3717961800
Jy3717961800Jy3717961800
Jy3717961800
 
Pin diagram 8085
Pin diagram 8085 Pin diagram 8085
Pin diagram 8085
 
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
 
VERIFICATION OF FOUR PORT ROUTER FOR NETWORK ON CHIP
VERIFICATION OF FOUR PORT ROUTER FOR NETWORK ON CHIPVERIFICATION OF FOUR PORT ROUTER FOR NETWORK ON CHIP
VERIFICATION OF FOUR PORT ROUTER FOR NETWORK ON CHIP
 
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
 
Iot Workshop NITT 2015
Iot Workshop NITT 2015Iot Workshop NITT 2015
Iot Workshop NITT 2015
 
Bidirectional visitor counter & home automation by Jitendra Dhaka
Bidirectional visitor counter & home automation by Jitendra DhakaBidirectional visitor counter & home automation by Jitendra Dhaka
Bidirectional visitor counter & home automation by Jitendra Dhaka
 
EXIDE PPT TEMPLATE.pptx
EXIDE PPT TEMPLATE.pptxEXIDE PPT TEMPLATE.pptx
EXIDE PPT TEMPLATE.pptx
 

Recently uploaded

Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesChandrakantDivate1
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdfAlexander Litvinenko
 
Scouring of cotton and wool fabric with effective scouring method
Scouring of cotton and wool fabric with effective scouring methodScouring of cotton and wool fabric with effective scouring method
Scouring of cotton and wool fabric with effective scouring methodvimal412355
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxMustafa Ahmed
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)ChandrakantDivate1
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...josephjonse
 
Dr Mrs A A Miraje C Programming PPT.pptx
Dr Mrs A A Miraje C Programming PPT.pptxDr Mrs A A Miraje C Programming PPT.pptx
Dr Mrs A A Miraje C Programming PPT.pptxProfAAMiraje
 
Lect.1: Getting Started (CS771: Machine Learning by Prof. Purushottam Kar, II...
Lect.1: Getting Started (CS771: Machine Learning by Prof. Purushottam Kar, II...Lect.1: Getting Started (CS771: Machine Learning by Prof. Purushottam Kar, II...
Lect.1: Getting Started (CS771: Machine Learning by Prof. Purushottam Kar, II...singhalabhi53
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
Adsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptAdsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptjigup7320
 
TMU_GDSC_20240509.pdfTMU_GDSC_20240509.pdf
TMU_GDSC_20240509.pdfTMU_GDSC_20240509.pdfTMU_GDSC_20240509.pdfTMU_GDSC_20240509.pdf
TMU_GDSC_20240509.pdfTMU_GDSC_20240509.pdfssuserded2d4
 
Passive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptPassive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptamrabdallah9
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...ssuserdfc773
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...HenryBriggs2
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxMustafa Ahmed
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxhublikarsn
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelDrAjayKumarYadav4
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information SystemsAnge Felix NSANZIYERA
 
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)

Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
 
Scouring of cotton and wool fabric with effective scouring method
Scouring of cotton and wool fabric with effective scouring methodScouring of cotton and wool fabric with effective scouring method
Scouring of cotton and wool fabric with effective scouring method
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptx
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
Dr Mrs A A Miraje C Programming PPT.pptx
Dr Mrs A A Miraje C Programming PPT.pptxDr Mrs A A Miraje C Programming PPT.pptx
Dr Mrs A A Miraje C Programming PPT.pptx
 
Lect.1: Getting Started (CS771: Machine Learning by Prof. Purushottam Kar, II...
Lect.1: Getting Started (CS771: Machine Learning by Prof. Purushottam Kar, II...Lect.1: Getting Started (CS771: Machine Learning by Prof. Purushottam Kar, II...
Lect.1: Getting Started (CS771: Machine Learning by Prof. Purushottam Kar, II...
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Adsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptAdsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) ppt
 
TMU_GDSC_20240509.pdfTMU_GDSC_20240509.pdf
TMU_GDSC_20240509.pdfTMU_GDSC_20240509.pdfTMU_GDSC_20240509.pdfTMU_GDSC_20240509.pdf
TMU_GDSC_20240509.pdfTMU_GDSC_20240509.pdf
 
Passive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptPassive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.ppt
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptx
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata Model
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information Systems
 
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
 

Lec_2_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/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 2. 2 1.Course number and name : MTE301-Microprocessor & Microcontroller 2.Credits and contact hours : 3-Credits and 3-hours/week 3.Instructor’s or course coordinator’s name: Dr. Susanta Kumar Rout 4.Text book, title, and author A. The 8051 Microcontroller and Embedded Systems using Assembly and C, MuhammasMazidi, Janice Mazidi and RolinMcKinlay, Pearson Education, 2nd edition. B. The 8051 Microcontroller, Kenneth J. Ayala, Cengage Learning. 5. Reference book, title, and author A. Microcontrollers Theory and Applications, Ajay Deshmukh, TATA McGraw Hill. B. Embedded Systems and Robots- Projects using the 8051 Microcontroller, Subrata Ghoshal, Cengage Learning. 1/30/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 of performance 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/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 4. 4 3. Addressing Mode and Instruction Set of 8051  8051 Addressing modes, 8051 Instruction set, Microcontroller Application Development tools- Simulator, Emulator, In-circuit Emulator (ICE), Logic Analyzer, ISP, Cross assembler, Introduction to Embedded C programming. 4. Real World Interfacing  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, Interfacing ADC, DAC, memory, RTC with 8051 using I2C bus. 5. Case Study: Data Acquisition System Design  Designing microcontroller-based Data Acquisition System. Design of sensor interfacing, signal conditioning of input stage, selection of ADC, selection of output drivers. Writing efficient programs using Assembly language or Embedded C. 1/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout MPMC SYLLABUS
  • 5. 5 1/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout 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 of performance of microprocessor. Microprocessor & Microcontroller-MTE301
  • 6. 6 1/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout 8085-Microprocessor Here, we will discuss about, 1. Feature of 8085. 2. Pin Configuration of 8085. 3. Architecture of 8085. 4. Register Structure of 8085. 5. Bus Organisation of 8085. 6. Timing, control, and instruction set of 8085 microprocessor.
  • 7. 8085 PIN CONFIGURATION Microprocessor and microcontroller Dr. Susanta Kumar Rout 7 1/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 8. 8085 PIN CONFIGURATION 8 1/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 9. Cont… 9 1/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 10. 1. Intel 8085 is an 8-bit microprocessor introduced in 1977. 2. 8085 requires only a +5 volt power supply. 3. 8085 is a 40 pin IC, DIP package. The signals from the pins can be grouped as follows. A. Power supply and clock signals. B. Address bus. C. Control and status signals. D. Interrupt control signals. E. Serial I/O control ports signal. 10 1/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout PIN DESCRIPTION
  • 11. PIN-1 [X1] and PIN-2 [X2] These are terminals to be connected to an external crystal oscillator (R-C N/W connection or L-C N/W connections) to set the frequency of internal clock generator, which is suitable for the operation of microprocessor. The frequency is internally divided by two. Since the basic operating timing frequency is 3MHz (3.125 MHz), a 6MHz crystal is connected externally. The minimum operating timing frequency is 500KHz. PIN-3 [RESET OUT] It indicates CPU is being reset. It is used to reset all the connected devices when the microprocessor is reset. Cont… 11 1/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 12. PIN-4 [SOD] It is a serial output data line. It is for single bit serial communication output port. PIN-5 [SID] It is a serial input data line. It is for single bit serial communication input port. 12 1/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout Cont…
  • 13. Q: What is an interrupt? Interrupt is a signal that inform to CPU to perform a specific task. Q: Mention the interrupt pins of 8085 microprocessor. There are five interrupt pins from pin-6 to pin-10. These are TRAP, RST7.5, RST 6.5, RST 5.5 and INTR respectively. Q: What is maskable and non-maskable interrupt? The interrupt which can be disabled by software means, is called a maskable interrupt otherwise non-maskable interrupt. INTERRUPT 13 1/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 14. Q: What is mean by priority of an interrupt? If 8085 is interrupted by more than one interrupt at the same time, the one which have highest priority will serve first and so on. Interrupt priority Address location TRAP Highest (1) 0024H RST 7.5 2 003CH RST 6.5 3 0034H RST 5.5 4 002CH INTR LOWEST (5) Non-vector PRIORITY 14 1/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 15. PIN-11 [ ] Interrupt acknowledge is used after an INTR is accepted. Q: What is mean by the statement that 8085 microprocessor is a 8-bit microprocessor? A microprocessor which has n-data lines is called an n-bit microprocessor i.e. the width of data-bus determines the size of the microprocessor. Hence, an 8-bit microprocessor like 8085 can handle 8-bit of data at a time. PIN DESCRIPTION (Cont…) 15 1/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 16. Q: What is mean by bus in MPMC? A bus is a bunch of wires through which data or address or control signal flow. Q: What is the distinguishing feature of data bus (DB) and address bus (AB)? Microprocessor can import or export data through data bus. So in 8085 microprocessor data bus are bidirectional in nature. Microprocessor can address/communicate with peripheral through the address bus. Hence it is unidirectional. BUSES 16 1/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 17. Q: What is the addressing capability of 8085 microprocessor? In 8085 microprocessor have16 address line. So it can address maximum of 216 different address location. But in 8085 microprocessor each memory location is 8-bit (1 byte) i.e. it can hold 8-bit data in each memory location. Hence the maximum address capability of 8085 is 216 × 1 byte = 64 KB. The addressing range is 0000H–FFFFH (0 D-65,535 D). Addressing Capability 17 1/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 18. PIN 12-19 [AD0-AD7] Multiplexed A/D bus i.e. these multiplexed set of lines (8) used to carry the lower order 8-bit address as well as data bus. PIN-20 [Vss/GND] Ground reference (0 volt) PIN 21-28 [A8–A15] Output pins. These are higher 8-bit address bus that means it carries the most significant 8-bit of the memory address or the 8-bits of the I/O address. PIN DESCRIPTION (Cont…) 18 1/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 19. PIN-29 and PIN-33 [S0 & S1] It shows the status of data bus. S1 S0 Operation 0 0 Halt 0 1 Write 1 0 Read 1 1 Fetch PIN DESCRIPTION (Cont…) 19 1/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout Q: What is the function of ALE in 8085? Pin 30 is the ALE (i.e, Address Latch Enable) pin which stands for address latch enable. It is used to de-multiplex the lower order AD bus pin (12 to 19). ALE = 1 ; It activate A0-A7 i.e. lower 8-bit address bus. = 0 ; It activate D0-D7 i.e. lower 8-bit data bus.
  • 20. PIN-31 [WR]  It is an active low, out-put pin.  It is a signal to control write operation.  When it goes low, the data on the data bus is written into the selected memory location or I/O device. PIN-32 [ RD ]  It is an active low, out-put pin.  It is a signal to control read operation.  When it goes low, the data bus ready to accept data from the memory location or I/O device. PIN DESCRIPTION (Cont…) 20 1/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 21. PIN-34 [ IO / M ]  It is a status signal indicates that the read/write operation relates to whether the memory or I/O device.  P 34 = 1 (high) , then the address bus is for I/O device. = 0 (low) , then the address on the address bus is for the memory. PIN-35 [Ready]  It indicates the peripheral is ready to transfer data or not.  P35 = 1 ; Ready to use. = 0 ; wait till it goes high. That means the microprocessor enter into wait state while the ready pin is disable. Q: What is program counter? The program counter is a special-purpose register in which at a particular time it stores the address of the nest instruction to be executed. PIN DESCRIPTION (Cont…) 21 1/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 22. PIN-36 [RESETIN]  It reset the program counter to zero.  It also reset interrupt enable and HLDA flip-flop. It does not affect any other flag or register except instruction register. PIN-37 [CLOCKOUT]  Clock-out is used as the system clock for peripherals and devices interfaced with the microprocessor.  It is a clock output for user, which can be used for other digital ICs. PIN-38 [HLDA]  It is a signal for hold acknowledgement.  P38 = 1 ; It indicates that the HOLD request has been received. After the removal of a HOLD request the HLDA goes low. PIN DESCRIPTION (Cont…) 22 1/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 23. PIN-39 [HOLD] P39 = 1 ; It suspends normal operation of microprocessor, that means the device is requesting the use of the address and data bus. NOTE: HOLD signal is generated by the DMA controller circuit. On receipt of this signal, the microprocessor acknowledges the request by sending out HLDA signal and leaves out the control of the buses. After the HLDA signal the DMA controller starts the direct transfer of data. PIN-40 [Vcc] 8085 operates on a +5v power supply, with the +5v line connected to Vcc. PIN DESCRIPTION (Cont…) 23 1/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
  • 24. 24 1/30/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout