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
2/4/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.
2/4/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.
2/4/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.
2/4/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
MPMC SYLLABUS
5 2/4/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 2/4/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 2/4/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
Microprocessor and microcontroller
Dr. Susanta Kumar Rout
FUNCTIONAL BLOCK DIAGRAM OF 8085
8 2/4/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
Functional Block Diagram of 8085
9 2/4/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
Functional Block Diagram of 8085
10 2/4/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
DATA BUS
A. The data bus is a group of eight lines used for data flow.
B. These lines are bi-directional data flow in both directions between the
microprocessor and memory and peripheral devices.
C. The microprocessor uses the data bus to perform the second function i.e.
transferring binary information.
D. The largest number that can appear on the data bus is 11111111B.
Bus Structure
11 2/4/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
ADDRESS BUS
A. The address bus is a group of 16 lines generally identified as A0 to A15.
B. The address bus is unidirectional: bits flow in one direction-from the MPU to
peripheral devices.
C. The MPU uses the address bus to perform the function is identifying a peripheral or
a memory location.
CONTROL BUS
A. The control bus carries synchronization signals and providing timing signals.
B. The MPU generates specific control signals for every operation it performs. These
signals are used to identify a device type with which the MPU wants to
communicate.
Bus Structure (Cont...)
12 2/4/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
A. The 8085 microprocessor have
six general-purpose registers to
store 8-bit data during program
execution.
B. These registers are identified as
B, C, D, E, H and L.
C. They can be combined as
register pair- BC, DE and HL to
perform some 16-bit operation.
Register of 8085 Microprocessor
13 2/4/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
Accumulator
A. The accumulator is an 8-bit register that is part of the arithmetic/logic unit (ALU).
B. It is extensively used in arithmetical, logical, load and store operation as well as in ,
input/output instruction.
C. It used to hold one of the operands of an arithmetic or logical operation. It serves as
one input to the ALU. The other operand for an arithmetic or logical operation may
be stored in memory or in one of the general purpose registers.
ARITHMETIC AND LOGIC UNIT (ALU)
A. It is used to perform the arithmetic operations like addition, subtraction,
multiplication, division, increment and decrement and logical operations like AND,
OR and EX-OR.
B. It receives the data from accumulator and registers.
C. According to the result it set or reset the flags.
14 2/4/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
Flag Register
A. The INTEL 8085 microprocessor contains five flip-flop to serve as status flag.
B. The microprocessor uses the 8-bit flag register for testing the data condition.
PSW
D0 : CARRY FLAG (CY)
A. After the execution of an arithmetic and logical instruction if a carry is produce, the
carry flag is set to 1,otherwise it is 0.
B. Also in case of subtraction, if any borrow occurs then the carry flag is set to 1.
D4 : AUXILIARY CARRY FLAG (AC)
A. The auxiliary carry flag hold carry out of the bit number 3 to the bit number 4
resulting from the execution of an arithmetic and logical operation.
B. If D3 generates any carry when doing any arithmetic and logical operation, this
flag is set otherwise it is reset.
15 2/4/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
D2 : PARITY FLAG (P)
A. It defined by the number of 1-bits present in the accumulator.
B. For EVEN parity, P= 1.
C. For ODD parity, P= 0.
D6 : ZERO FLAG (Z)
A. The zero status flag Z is set to 1, if the result of an arithmetic or logical operation is
zero.
B. For non-zero result it is reset i.e. value = 0.
Flag Register (Cont…)
16 2/4/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
D7: SIGN FLAGS (S) (-128 to +127)
A. This flag is set to 1 (for negative), if the 7th bit (MSB) of the result of an arithmetic
or logical operation is 1 and 0 (for positive), if the 7th bit of the result of an
arithmetic or logical operation is 0.
B. After execution of any arithmetic and logical operation, if D7 of the result is 1, the
sign flag is set. Otherwise it is reset.
C. D7 is reserved for indicating the sign; the remaining is the magnitude of number.
D. If D7 is 1, the number will be viewed as negative number. If D7 is 0, the number
will be viewed as positive number.
Flag Register (Cont…)
17 2/4/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
A. This is a 16-bit register which is known as memory pointer.
B. The program counter is a special purpose register in which at a particular time it
stores the address of the next instruction to be executed.
or
The program counter point/contain that address of memory location from which the
next byte is to be fetched.
C. For one-byte instruction it updates the PC by one.
For two-byte instruction it updates the PC by two.
D. PC is update by the processor and always contain 16-bit address of memory
location.
Program Counter (PC)
18 2/4/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout
A. It is a 16-bit special function register.
B. Any portion of the memory can be used as a stack. So stack is an area of the RAM
(read-write memory) in which temporary information is stored on FIRST-IN-
LAST-OUT (FILO) basis.
C. The SP register ordinarily hold the address of the last byte written onto the stack.
This is also called TOP of stack or simply STACK TOP.
Instruction Register And Decoder
 After fetching an instruction from the memory, the processor loads it in the
instruction register. This instruction is decodes by decoder and the processor then
executes the instruction.
Stack Pointer (SP)
19 2/4/2023
ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout

More Related Content

Similar to Lec_3_MPMC.pdf

Introduction to 8085 Microprocessor.pptx
Introduction to 8085 Microprocessor.pptxIntroduction to 8085 Microprocessor.pptx
Introduction to 8085 Microprocessor.pptx
VishalGaur54
 
8085 Architecture.pptx420.pptx
8085 Architecture.pptx420.pptx8085 Architecture.pptx420.pptx
8085 Architecture.pptx420.pptx
kratika64
 
8085 microprocessor
8085 microprocessor8085 microprocessor
EE8551 MPMC
EE8551  MPMCEE8551  MPMC
EE8551 MPMC
rmkceteee
 
Mpmc unit 1 notes
Mpmc unit 1 notesMpmc unit 1 notes
Mpmc unit 1 notes
pavihari
 
Bca examination 2015 csa
Bca examination 2015 csaBca examination 2015 csa
Bca examination 2015 csa
Anjaan Gajendra
 
CS6303 Computer Architecture.pdf
CS6303 Computer Architecture.pdfCS6303 Computer Architecture.pdf
CS6303 Computer Architecture.pdf
187SayanBhattacharje
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
Anuja Gunale
 
U proc ovw
U proc ovwU proc ovw
U proc ovw
Brit4
 
8085 Architecture.pptx420.pptx
8085 Architecture.pptx420.pptx8085 Architecture.pptx420.pptx
8085 Architecture.pptx420.pptx
RiazAhmad521284
 
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
 
IMPLEMENTATION OF SOC CORE FOR IOT ENGINE
IMPLEMENTATION OF SOC CORE FOR IOT ENGINEIMPLEMENTATION OF SOC CORE FOR IOT ENGINE
IMPLEMENTATION OF SOC CORE FOR IOT ENGINE
ijistjournal
 
MICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSMICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSSabin Gautam
 
Microprocessor application (Introduction)
Microprocessor application (Introduction)Microprocessor application (Introduction)
Microprocessor application (Introduction)
Ismail Mukiibi
 
PPC 750
PPC 750PPC 750
PPC 750
Raviraj Kaur
 
Microprocessor 8085 architecture ppt. april 2013
Microprocessor 8085 architecture ppt. april 2013Microprocessor 8085 architecture ppt. april 2013
Microprocessor 8085 architecture ppt. april 2013
harshalata
 
Pin Diagram and block diagram 8085 .pptx
Pin Diagram and block diagram 8085 .pptxPin Diagram and block diagram 8085 .pptx
Pin Diagram and block diagram 8085 .pptx
YashArya40
 
Architecture OF 8085
Architecture OF 8085Architecture OF 8085
Architecture OF 8085
muneer.k
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
gohanraw
 

Similar to Lec_3_MPMC.pdf (20)

Introduction to 8085 Microprocessor.pptx
Introduction to 8085 Microprocessor.pptxIntroduction to 8085 Microprocessor.pptx
Introduction to 8085 Microprocessor.pptx
 
8085 Architecture.pptx420.pptx
8085 Architecture.pptx420.pptx8085 Architecture.pptx420.pptx
8085 Architecture.pptx420.pptx
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
EE8551 MPMC
EE8551  MPMCEE8551  MPMC
EE8551 MPMC
 
Mpmc unit 1 notes
Mpmc unit 1 notesMpmc unit 1 notes
Mpmc unit 1 notes
 
Bca examination 2015 csa
Bca examination 2015 csaBca examination 2015 csa
Bca examination 2015 csa
 
CS6303 Computer Architecture.pdf
CS6303 Computer Architecture.pdfCS6303 Computer Architecture.pdf
CS6303 Computer Architecture.pdf
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
U proc ovw
U proc ovwU proc ovw
U proc ovw
 
8085 Architecture.pptx420.pptx
8085 Architecture.pptx420.pptx8085 Architecture.pptx420.pptx
8085 Architecture.pptx420.pptx
 
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...
 
IMPLEMENTATION OF SOC CORE FOR IOT ENGINE
IMPLEMENTATION OF SOC CORE FOR IOT ENGINEIMPLEMENTATION OF SOC CORE FOR IOT ENGINE
IMPLEMENTATION OF SOC CORE FOR IOT ENGINE
 
MICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSMICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMS
 
Microprocessor application (Introduction)
Microprocessor application (Introduction)Microprocessor application (Introduction)
Microprocessor application (Introduction)
 
PPC 750
PPC 750PPC 750
PPC 750
 
Microprocessor 8085 architecture ppt. april 2013
Microprocessor 8085 architecture ppt. april 2013Microprocessor 8085 architecture ppt. april 2013
Microprocessor 8085 architecture ppt. april 2013
 
Pin Diagram and block diagram 8085 .pptx
Pin Diagram and block diagram 8085 .pptxPin Diagram and block diagram 8085 .pptx
Pin Diagram and block diagram 8085 .pptx
 
Architecture OF 8085
Architecture OF 8085Architecture OF 8085
Architecture OF 8085
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
8085
80858085
8085
 

Recently uploaded

Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
dxobcob
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
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
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
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
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 
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
 
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
 
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
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
zwunae
 
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
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
Kamal Acharya
 

Recently uploaded (20)

Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
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
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
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...
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 
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
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
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
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
 

Lec_3_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 2/4/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. 2/4/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. 2/4/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. 2/4/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout MPMC SYLLABUS
  • 5. 5 2/4/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 2/4/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. 7 2/4/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout Microprocessor and microcontroller Dr. Susanta Kumar Rout FUNCTIONAL BLOCK DIAGRAM OF 8085
  • 8. 8 2/4/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout Functional Block Diagram of 8085
  • 9. 9 2/4/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout Functional Block Diagram of 8085
  • 10. 10 2/4/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout DATA BUS A. The data bus is a group of eight lines used for data flow. B. These lines are bi-directional data flow in both directions between the microprocessor and memory and peripheral devices. C. The microprocessor uses the data bus to perform the second function i.e. transferring binary information. D. The largest number that can appear on the data bus is 11111111B. Bus Structure
  • 11. 11 2/4/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout ADDRESS BUS A. The address bus is a group of 16 lines generally identified as A0 to A15. B. The address bus is unidirectional: bits flow in one direction-from the MPU to peripheral devices. C. The MPU uses the address bus to perform the function is identifying a peripheral or a memory location. CONTROL BUS A. The control bus carries synchronization signals and providing timing signals. B. The MPU generates specific control signals for every operation it performs. These signals are used to identify a device type with which the MPU wants to communicate. Bus Structure (Cont...)
  • 12. 12 2/4/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout A. The 8085 microprocessor have six general-purpose registers to store 8-bit data during program execution. B. These registers are identified as B, C, D, E, H and L. C. They can be combined as register pair- BC, DE and HL to perform some 16-bit operation. Register of 8085 Microprocessor
  • 13. 13 2/4/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout Accumulator A. The accumulator is an 8-bit register that is part of the arithmetic/logic unit (ALU). B. It is extensively used in arithmetical, logical, load and store operation as well as in , input/output instruction. C. It used to hold one of the operands of an arithmetic or logical operation. It serves as one input to the ALU. The other operand for an arithmetic or logical operation may be stored in memory or in one of the general purpose registers. ARITHMETIC AND LOGIC UNIT (ALU) A. It is used to perform the arithmetic operations like addition, subtraction, multiplication, division, increment and decrement and logical operations like AND, OR and EX-OR. B. It receives the data from accumulator and registers. C. According to the result it set or reset the flags.
  • 14. 14 2/4/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout Flag Register A. The INTEL 8085 microprocessor contains five flip-flop to serve as status flag. B. The microprocessor uses the 8-bit flag register for testing the data condition. PSW D0 : CARRY FLAG (CY) A. After the execution of an arithmetic and logical instruction if a carry is produce, the carry flag is set to 1,otherwise it is 0. B. Also in case of subtraction, if any borrow occurs then the carry flag is set to 1. D4 : AUXILIARY CARRY FLAG (AC) A. The auxiliary carry flag hold carry out of the bit number 3 to the bit number 4 resulting from the execution of an arithmetic and logical operation. B. If D3 generates any carry when doing any arithmetic and logical operation, this flag is set otherwise it is reset.
  • 15. 15 2/4/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout D2 : PARITY FLAG (P) A. It defined by the number of 1-bits present in the accumulator. B. For EVEN parity, P= 1. C. For ODD parity, P= 0. D6 : ZERO FLAG (Z) A. The zero status flag Z is set to 1, if the result of an arithmetic or logical operation is zero. B. For non-zero result it is reset i.e. value = 0. Flag Register (Cont…)
  • 16. 16 2/4/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout D7: SIGN FLAGS (S) (-128 to +127) A. This flag is set to 1 (for negative), if the 7th bit (MSB) of the result of an arithmetic or logical operation is 1 and 0 (for positive), if the 7th bit of the result of an arithmetic or logical operation is 0. B. After execution of any arithmetic and logical operation, if D7 of the result is 1, the sign flag is set. Otherwise it is reset. C. D7 is reserved for indicating the sign; the remaining is the magnitude of number. D. If D7 is 1, the number will be viewed as negative number. If D7 is 0, the number will be viewed as positive number. Flag Register (Cont…)
  • 17. 17 2/4/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout A. This is a 16-bit register which is known as memory pointer. B. The program counter is a special purpose register in which at a particular time it stores the address of the next instruction to be executed. or The program counter point/contain that address of memory location from which the next byte is to be fetched. C. For one-byte instruction it updates the PC by one. For two-byte instruction it updates the PC by two. D. PC is update by the processor and always contain 16-bit address of memory location. Program Counter (PC)
  • 18. 18 2/4/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout A. It is a 16-bit special function register. B. Any portion of the memory can be used as a stack. So stack is an area of the RAM (read-write memory) in which temporary information is stored on FIRST-IN- LAST-OUT (FILO) basis. C. The SP register ordinarily hold the address of the last byte written onto the stack. This is also called TOP of stack or simply STACK TOP. Instruction Register And Decoder  After fetching an instruction from the memory, the processor loads it in the instruction register. This instruction is decodes by decoder and the processor then executes the instruction. Stack Pointer (SP)
  • 19. 19 2/4/2023 ADYPU, Pune, Maharashtra, India Dr. Susanta kumar Rout