SlideShare a Scribd company logo
1 of 37
Microprocessors
Microcontroller
Fundamentals
Presented By-
Diwaker Pant
Assistant Professor
ECE Department
7/16/2015 1By, Diwaker Pant
 Introduction
 Evolution of Microprocessor
 Block diagram & Architecture of Microprocessor
 Microcontroller Fundamentals
 Applications of Microprocessor and Microcontroller
 Manufacturers of Microprocessor and Microcontrollers
 Questions in Competitive examinations
 Conclusion
 References
7/16/2015 2By, Diwaker Pant
 Microprocessor :
o It is a clock driven
o Register based digital device
o Which takes binary instructions from the memory
o Takes the data from memory or input devices
o Process the data according to the instructions
o Save the result into memory or give it to some output devices.
 It is a silicon chip which is used for performing arithmetic and logical
operations.
7/16/2015 3By, Diwaker Pant
In the late 1960’s, processors were built using discrete elements like
vacuum tubes
These devices performed the required operation, but were too large and too
slow
In the early 1970’s the microchip was invented
All of the components that made up the processor were now placed on a
single piece of silicon IC
The size became several thousand times smaller and the speed became
several hundred times faster
The Micro-Processor was “born”
7/16/2015 4By, Diwaker Pant
 Fairchild Semiconductors (founded in 1957) invented the first IC in 1959.
 In 1968, Robert Noyce, Gordan Moore, Andrew Grove resigned from
Fairchild Semiconductors.
 They founded their own company Intel (Integrated Electronics).
 Intel grown from 3 man start-up in 1968 to industrial giant by 1981.
 The first microprocessor was 4 bit microprocessor manufactured by Intel.
 It was Intel’s 4004, capable of performing simple operations.
 At the same time some other organizations like Motorola , Hitachi and
National semiconductors introduces their microprocessors.
7/16/2015 5By, Diwaker Pant
Fig.1. Evolution of Microprocessors
/ 8085/ 8086
7/16/2015 6By, Diwaker Pant
 Advanced Microprocessor like
o Dual Core
o Core 2 Duo (8500, E6850)
o Core 2 Quad
o Core 2 Extreme (X6800)
o Quad Core Processors
o I Series processors
o Octa Core Processors
o Microcontrollers / PIC / DSP Processors
o Embedded versions of Xeon and Multicore Xeon Processors
o Embedded Versions of Pentium Processors Family.
o Intel’s i960 processor family
7/16/2015 7By, Diwaker Pant
Fig.2. Block diagram of Microprocessor
7/16/2015 8By, Diwaker Pant
 CPU: A central processing unit (CPU), is the hardware within a computer system
which carries out the instructions of a computer program
 ALU: In computing, an arithmetic and logic unit (ALU) is a digital circuit that
performs arithmetic and logical operations , also ALU is a fundamental building
block of the central processing unit of a computer, and even the simplest
microprocessors
 Memory: In computing, memory refers to the physical devices used to store
programs (sequences of instructions) or data (e.g. program state information) on a
temporary or permanent basis for use in a computer or other digital electronic
device
 When we hear the word “Microprocessor”, what comes in our mind is small
IC (Integrated Circuit) that processes data.
Fig.3. Integrated Circuit
7/16/2015 9By, Diwaker Pant
INPUT
OPERANDS
OUTPUT
OPERANDS
OPCODE
Fig.4. ALU(Arithmetic Logic Unit)
7/16/2015 10By, Diwaker Pant
Definitions
 Opcode: A binary code, that indicates the operation to be performed
 Operands: The data on which the operation is to be performed are termed as
operands
 Instruction: The combination of opcode and an operand, that can be used to
instruct a system, is called as an instruction
 Instruction Set: A list of all the instruction that can be issued to a system, is
called as instruction set of that system
 Program/Subroutine/Routine: A set of instruction written in a particular
sequence, so as to implement a given task, a subroutine in assembly
7/16/2015 11By, Diwaker Pant
Accumulator ALU Working Registers
Timing and
clock
Stack
Pointer
Program
Counter
Interrupt
Circuit
Fig.5. General Architecture of Microprocessor
7/16/2015 12By, Diwaker Pant
 Accumulator: In a computer's central processing unit (CPU), an
accumulator is a register in which intermediate arithmetic and logic
results are stored
 ALU: In computing, an arithmetic and logic unit (ALU) is a digital
circuit that performs integer arithmetic and logical operation
 Working Registers: In computer architecture, a register is a small amount
of storage available as part of a CPU or other digital processor
 Clock signal: In electronics and especially synchronous digital circuits, a
clock signal is a particular type of signal that oscillates between a high and
a low state, microprocessor speed depends on the clock
 Interrupt Circuit: This block accepts different interrupt request
inputs
7/16/2015 13By, Diwaker Pant
 Stack Pointer: In a microprocessor, the stack can be used for both user
data (such as local variables and passed parameters) and CPU data (such as
return addresses when calling subroutines)
 The stack pointer stores the address of the most recent entry that was
pushed onto the stack
 To push a value onto the stack, the stack pointer is incremented to point to
the next physical memory address, and the new value is copied to that
address in memory
 When a valid interrupt request is present it informs control logic to take
action in response to each signal
7/16/2015 14By, Diwaker Pant
 Address Bus :
 The bus over which the CPU sends out the address of memory location is
called as Address Bus
 The address may be consist of 16, 20, 24 or 32 parallel signal lines
 If there are N address lines, then it can directly address 2N memory
locations
 Data Bus :
 The data bus consists of 8, 16 or 32 parallel lines
 The data bus is a bi-directional bus , that means the data can get
transferred from CPU to memory and vice-versa
 The data bus also connects the I/O ports and CPU
 The number of data lines used in the data bus is equal to the size of data
word that can be written or read
7/16/2015 15By, Diwaker Pant
 Control Bus :
 It is used for sending control signals to memory and I/O devices
 Some of the control bus signals are as follows:
a. Memory read
b. Memory write
c. I/O read
d. I/O write
7/16/2015 16By, Diwaker Pant
Fig.6. Interfacing Buses & Computer System
7/16/2015 17By, Diwaker Pant
Fig.7. Types of Memories
7/16/2015 18By, Diwaker Pant
 Primary Memory :
 Primary memory is computer memory that is directly
accessible to the CPU of a computer without the use of
computer's input/output channels
 Primary storage is used to store data that is likely to be in
active use
 Examples are RAM, ROM.
7/16/2015 19By, Diwaker Pant
 Read-only memory (ROM) is a
class of storage media used in
computers
 Data stored in ROM cannot be
modified
 ROM is a non-volatile storage.
Data remains unchanged even
after switching off the computer.
(Wikipedia, 2007n)
E.g. EPROM, EEPROM
Fig.8. An EPROM
7/16/2015 20
 Random access memory (RAM)
is a type of data storage used in
computers
 It takes the form of integrated
circuits that allow the stored data
to be accessed in any order
(random)
 Data stored in RAM can be
modified
 RAM is a volatile storage. Data
will lose after switching off the
computer Fig.9. Two 512 MB RAM
7/16/2015 21
 Secondary memory is computer memory that is not directly accessible to
the CPU of a computer
 It is used to store data that is NOT in active use
 It is usually slower than primary storage but it always has higher storage
capacity
 It is non-volatile. Data remains unchanged even after switching off the
computer
7/16/2015 22By, Diwaker Pant
Fig.10. Secondary Memory
7/16/2015 23By, Diwaker Pant
Fig.11. Microcontroller Chip
7/16/2015 24By, Diwaker Pant
Fig.12. Microcontroller block diagram
7/16/2015 25By, Diwaker Pant
 PIC(Peripheral Interface Controller ) is family of low cost , high
performance CMOS , fully-static microcontroller
 They use Harvard Architecture which are high performance RISC
processors
Fig.13. Harvard Vs Von-Neumann architectures
7/16/2015 26By, Diwaker Pant
Fig.14. Types of Microcontroller
7/16/2015 27By, Diwaker Pant
Working
Register (W)
ALU
Status (Flag)
Register
Flash
ROM
Program
Memory
8192*14
bits
Program counter
Stack 13
bits*8
Levels
RAM File
Registers 368
* 8 Bits
Instruction Register
EEPROM 256 BytesInstruction Decode & CPU
Control
Ports , Timers,
ADC, Serial I/O
Timing Control
File Select Register
CLK Reset
Addr
Instructions File Addr
Prog Addr
Data
Bus
Fig. 15. PIC16F877 MCU Block Diagram
7/16/2015 28By, Diwaker Pant
They are used in industrial control applications , calculators, commercial
appliances
It is used in CPU of a computer for controlling I/P , O/P and other devices
of a computer
They are used for database management, storing information
They are used as controller for appliances and in automobiles
They are used in computers for railway, air-ticket reservations etc..
They are used to measure and control the temperature of a furnace, the
pressure of boiler etc…
7/16/2015 29By, Diwaker Pant
 Automotive air bag systems, Remote control, Handheld tools
 Appliances – coffee pot, mixer, stove, refrigerator, dish washer, dryer
 Major home systems heating/cooling, TV, DVD player/recorder, Sound
system
 Cordless phones and cell phones Security systems
7/16/2015 30By, Diwaker Pant
 Fairchild Semiconductors
 Freescale Semiconductors
 National Semiconductors, Hewlett-Packard
 Hitachi Corporations
 Intel
 Motorola Corporations
 LG, Samsung, IBM, Intersil, MIPS Technologies
 MOS technology, OpenCore, Renesas Electronics
 Texas Instuments, Zilog, Inmos Etc.
7/16/2015 31By, Diwaker Pant
7/16/2015 32By, Diwaker Pant
7/16/2015 33By, Diwaker Pant
7/16/2015 34By, Diwaker Pant
 Microprocessor and Microcontrollers are brain of all modern electronic
system.
 Microprocessors are generally used for general purpose systems while
microcontrollers are used for applications specific systems.
 If anything is automatic it must have a part of microprocessor in it.
 Modern embedded systems have microcontroller in it.
7/16/2015 35By, Diwaker Pant
 Microprocessor Architecture, Programming, and Applications with the
8085 by R. Gaonkar.
 Microprocessors: Principles and Applications by A. Pal.
 The 8051 Microcontroller and Embedded Systems : Using Assembly and C
by Muhammad Ali Mazidi.
 Advanced Microprocessors and Peripherals by A.K.Ray and
K.M.Bhurchandi.
 Microprocessors and Microcontrollers images: Contents available at
akihil.jain.worlspress.com
7/16/2015 36By, Diwaker Pant
7/16/2015 37By, Diwaker Pant

More Related Content

What's hot

What's hot (20)

8086 modes
8086 modes8086 modes
8086 modes
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
 
Chapter 1 microprocessor introduction
Chapter 1 microprocessor introductionChapter 1 microprocessor introduction
Chapter 1 microprocessor introduction
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
 
Introduction to Microprocessor
Introduction to MicroprocessorIntroduction to Microprocessor
Introduction to Microprocessor
 
80486 microprocessor
80486 microprocessor80486 microprocessor
80486 microprocessor
 
8085 MICROPROCESSOR
8085 MICROPROCESSOR 8085 MICROPROCESSOR
8085 MICROPROCESSOR
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller
 
Architecture of 80286 microprocessor
Architecture of 80286 microprocessorArchitecture of 80286 microprocessor
Architecture of 80286 microprocessor
 
Difference between 8085 and 8086 microprocessor Architecture
Difference between 8085 and 8086 microprocessor ArchitectureDifference between 8085 and 8086 microprocessor Architecture
Difference between 8085 and 8086 microprocessor Architecture
 
8086 memory segmentation
8086 memory segmentation8086 memory segmentation
8086 memory segmentation
 
LPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLERLPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLER
 
Motorola microprocessor
Motorola microprocessorMotorola microprocessor
Motorola microprocessor
 
Programming with 8085
Programming with 8085Programming with 8085
Programming with 8085
 
Math Co-processor 8087
Math Co-processor 8087Math Co-processor 8087
Math Co-processor 8087
 
Module 1 8086
Module 1 8086Module 1 8086
Module 1 8086
 
Difference b/w 8085 & 8086
Difference b/w 8085 & 8086Difference b/w 8085 & 8086
Difference b/w 8085 & 8086
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
 
Lect 2 ARM processor architecture
Lect 2 ARM processor architectureLect 2 ARM processor architecture
Lect 2 ARM processor architecture
 
Microprocessor ppt
Microprocessor pptMicroprocessor ppt
Microprocessor ppt
 

Viewers also liked

N3275466 - Final Presentation Advance network (1)
N3275466 - Final Presentation  Advance network (1)N3275466 - Final Presentation  Advance network (1)
N3275466 - Final Presentation Advance network (1)
Christopher Lisasi
 
Fundamentals of Microprocessor Based Relays
Fundamentals of Microprocessor Based RelaysFundamentals of Microprocessor Based Relays
Fundamentals of Microprocessor Based Relays
michaeljmack
 
5.6 Basic computer structure microprocessors
5.6 Basic computer structure   microprocessors5.6 Basic computer structure   microprocessors
5.6 Basic computer structure microprocessors
lpapadop
 
microprocessor
microprocessormicroprocessor
microprocessor
illpa
 
Microprocessor and Application (8085)
Microprocessor and Application (8085)Microprocessor and Application (8085)
Microprocessor and Application (8085)
ufaq kk
 
Snapdragon processors
Snapdragon processorsSnapdragon processors
Snapdragon processors
Deepak Mathew
 

Viewers also liked (20)

satellite Communication
 satellite Communication satellite Communication
satellite Communication
 
Introduction to Microprocessors
Introduction to MicroprocessorsIntroduction to Microprocessors
Introduction to Microprocessors
 
Evolution Of Microprocessor
Evolution Of MicroprocessorEvolution Of Microprocessor
Evolution Of Microprocessor
 
330 01
330 01330 01
330 01
 
.........
..................
.........
 
N3275466 - Final Presentation Advance network (1)
N3275466 - Final Presentation  Advance network (1)N3275466 - Final Presentation  Advance network (1)
N3275466 - Final Presentation Advance network (1)
 
Alido5
Alido5Alido5
Alido5
 
SoC based smartphone processors
SoC based smartphone processorsSoC based smartphone processors
SoC based smartphone processors
 
Fundamentals of Microprocessor Based Relays
Fundamentals of Microprocessor Based RelaysFundamentals of Microprocessor Based Relays
Fundamentals of Microprocessor Based Relays
 
Microprocessors
MicroprocessorsMicroprocessors
Microprocessors
 
5.6 Basic computer structure microprocessors
5.6 Basic computer structure   microprocessors5.6 Basic computer structure   microprocessors
5.6 Basic computer structure microprocessors
 
microprocessor
microprocessormicroprocessor
microprocessor
 
Multiprocessor architecture and programming
Multiprocessor architecture and programmingMultiprocessor architecture and programming
Multiprocessor architecture and programming
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
 
Introduction for microprocessor
Introduction for microprocessorIntroduction for microprocessor
Introduction for microprocessor
 
Audio visual system principles #1
Audio visual system principles #1Audio visual system principles #1
Audio visual system principles #1
 
Qualcomm Snapdragon Processor
Qualcomm Snapdragon ProcessorQualcomm Snapdragon Processor
Qualcomm Snapdragon Processor
 
Microprocessor and Application (8085)
Microprocessor and Application (8085)Microprocessor and Application (8085)
Microprocessor and Application (8085)
 
Snapdragon processors
Snapdragon processorsSnapdragon processors
Snapdragon processors
 
Electronic mail
Electronic mailElectronic mail
Electronic mail
 

Similar to Microprocessor Fundamentals

Microprocessors and-microcontrollers (1)
Microprocessors and-microcontrollers (1)Microprocessors and-microcontrollers (1)
Microprocessors and-microcontrollers (1)
Nagarjun singh
 
Computer_Architecture&O_ECEG_3163_02_computer_evolution_performance.pptx
Computer_Architecture&O_ECEG_3163_02_computer_evolution_performance.pptxComputer_Architecture&O_ECEG_3163_02_computer_evolution_performance.pptx
Computer_Architecture&O_ECEG_3163_02_computer_evolution_performance.pptx
solomonlemma14
 

Similar to Microprocessor Fundamentals (20)

Introduction to 8085 Microprocessor.pptx
Introduction to 8085 Microprocessor.pptxIntroduction to 8085 Microprocessor.pptx
Introduction to 8085 Microprocessor.pptx
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
 
VTU University Micro Controllers-06ES42 lecturer Notes
VTU University Micro Controllers-06ES42 lecturer NotesVTU University Micro Controllers-06ES42 lecturer Notes
VTU University Micro Controllers-06ES42 lecturer Notes
 
M.sc I-sem-8086 notes
M.sc  I-sem-8086 notesM.sc  I-sem-8086 notes
M.sc I-sem-8086 notes
 
M.sc I-sem-8086 notes
M.sc  I-sem-8086 notesM.sc  I-sem-8086 notes
M.sc I-sem-8086 notes
 
Computer engineering - overview of microprocessors
Computer engineering - overview of microprocessorsComputer engineering - overview of microprocessors
Computer engineering - overview of microprocessors
 
lecture 2 coal assembly language lecture
lecture 2 coal assembly language lecturelecture 2 coal assembly language lecture
lecture 2 coal assembly language lecture
 
Micro controller
Micro controllerMicro controller
Micro controller
 
Microprocessors and-microcontrollers (1)
Microprocessors and-microcontrollers (1)Microprocessors and-microcontrollers (1)
Microprocessors and-microcontrollers (1)
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
 
Microprocessor note
Microprocessor noteMicroprocessor note
Microprocessor note
 
U proc ovw
U proc ovwU proc ovw
U proc ovw
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessor
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessor
 
Microprocessors evolution introduction to microprocessor
Microprocessors  evolution introduction to microprocessorMicroprocessors  evolution introduction to microprocessor
Microprocessors evolution introduction to microprocessor
 
4CS3-MPI-Unit-1.pptx
4CS3-MPI-Unit-1.pptx4CS3-MPI-Unit-1.pptx
4CS3-MPI-Unit-1.pptx
 
Computer_Architecture&O_ECEG_3163_02_computer_evolution_performance.pptx
Computer_Architecture&O_ECEG_3163_02_computer_evolution_performance.pptxComputer_Architecture&O_ECEG_3163_02_computer_evolution_performance.pptx
Computer_Architecture&O_ECEG_3163_02_computer_evolution_performance.pptx
 
Bindura university of science education
Bindura university of science educationBindura university of science education
Bindura university of science education
 
Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor
 
Microprocessor 8085
Microprocessor 8085Microprocessor 8085
Microprocessor 8085
 

More from Diwaker Pant (8)

Interfacing methods of microcontroller
Interfacing methods of microcontrollerInterfacing methods of microcontroller
Interfacing methods of microcontroller
 
Diversity Techniques in mobile communications
Diversity Techniques in mobile communicationsDiversity Techniques in mobile communications
Diversity Techniques in mobile communications
 
Pass Transistor Logic
Pass Transistor LogicPass Transistor Logic
Pass Transistor Logic
 
Frequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesFrequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement Techniques
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Interfacing methods of microcontroller
Interfacing methods of microcontrollerInterfacing methods of microcontroller
Interfacing methods of microcontroller
 
Bartlett's method pp ts
Bartlett's method pp tsBartlett's method pp ts
Bartlett's method pp ts
 
Drive circuitry for LEDs and LASER
Drive circuitry for LEDs and LASERDrive circuitry for LEDs and LASER
Drive circuitry for LEDs and LASER
 

Recently uploaded

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
AldoGarca30
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
chumtiyababu
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 

Recently uploaded (20)

Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
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
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 

Microprocessor Fundamentals

  • 1. Microprocessors Microcontroller Fundamentals Presented By- Diwaker Pant Assistant Professor ECE Department 7/16/2015 1By, Diwaker Pant
  • 2.  Introduction  Evolution of Microprocessor  Block diagram & Architecture of Microprocessor  Microcontroller Fundamentals  Applications of Microprocessor and Microcontroller  Manufacturers of Microprocessor and Microcontrollers  Questions in Competitive examinations  Conclusion  References 7/16/2015 2By, Diwaker Pant
  • 3.  Microprocessor : o It is a clock driven o Register based digital device o Which takes binary instructions from the memory o Takes the data from memory or input devices o Process the data according to the instructions o Save the result into memory or give it to some output devices.  It is a silicon chip which is used for performing arithmetic and logical operations. 7/16/2015 3By, Diwaker Pant
  • 4. In the late 1960’s, processors were built using discrete elements like vacuum tubes These devices performed the required operation, but were too large and too slow In the early 1970’s the microchip was invented All of the components that made up the processor were now placed on a single piece of silicon IC The size became several thousand times smaller and the speed became several hundred times faster The Micro-Processor was “born” 7/16/2015 4By, Diwaker Pant
  • 5.  Fairchild Semiconductors (founded in 1957) invented the first IC in 1959.  In 1968, Robert Noyce, Gordan Moore, Andrew Grove resigned from Fairchild Semiconductors.  They founded their own company Intel (Integrated Electronics).  Intel grown from 3 man start-up in 1968 to industrial giant by 1981.  The first microprocessor was 4 bit microprocessor manufactured by Intel.  It was Intel’s 4004, capable of performing simple operations.  At the same time some other organizations like Motorola , Hitachi and National semiconductors introduces their microprocessors. 7/16/2015 5By, Diwaker Pant
  • 6. Fig.1. Evolution of Microprocessors / 8085/ 8086 7/16/2015 6By, Diwaker Pant
  • 7.  Advanced Microprocessor like o Dual Core o Core 2 Duo (8500, E6850) o Core 2 Quad o Core 2 Extreme (X6800) o Quad Core Processors o I Series processors o Octa Core Processors o Microcontrollers / PIC / DSP Processors o Embedded versions of Xeon and Multicore Xeon Processors o Embedded Versions of Pentium Processors Family. o Intel’s i960 processor family 7/16/2015 7By, Diwaker Pant
  • 8. Fig.2. Block diagram of Microprocessor 7/16/2015 8By, Diwaker Pant
  • 9.  CPU: A central processing unit (CPU), is the hardware within a computer system which carries out the instructions of a computer program  ALU: In computing, an arithmetic and logic unit (ALU) is a digital circuit that performs arithmetic and logical operations , also ALU is a fundamental building block of the central processing unit of a computer, and even the simplest microprocessors  Memory: In computing, memory refers to the physical devices used to store programs (sequences of instructions) or data (e.g. program state information) on a temporary or permanent basis for use in a computer or other digital electronic device  When we hear the word “Microprocessor”, what comes in our mind is small IC (Integrated Circuit) that processes data. Fig.3. Integrated Circuit 7/16/2015 9By, Diwaker Pant
  • 11. Definitions  Opcode: A binary code, that indicates the operation to be performed  Operands: The data on which the operation is to be performed are termed as operands  Instruction: The combination of opcode and an operand, that can be used to instruct a system, is called as an instruction  Instruction Set: A list of all the instruction that can be issued to a system, is called as instruction set of that system  Program/Subroutine/Routine: A set of instruction written in a particular sequence, so as to implement a given task, a subroutine in assembly 7/16/2015 11By, Diwaker Pant
  • 12. Accumulator ALU Working Registers Timing and clock Stack Pointer Program Counter Interrupt Circuit Fig.5. General Architecture of Microprocessor 7/16/2015 12By, Diwaker Pant
  • 13.  Accumulator: In a computer's central processing unit (CPU), an accumulator is a register in which intermediate arithmetic and logic results are stored  ALU: In computing, an arithmetic and logic unit (ALU) is a digital circuit that performs integer arithmetic and logical operation  Working Registers: In computer architecture, a register is a small amount of storage available as part of a CPU or other digital processor  Clock signal: In electronics and especially synchronous digital circuits, a clock signal is a particular type of signal that oscillates between a high and a low state, microprocessor speed depends on the clock  Interrupt Circuit: This block accepts different interrupt request inputs 7/16/2015 13By, Diwaker Pant
  • 14.  Stack Pointer: In a microprocessor, the stack can be used for both user data (such as local variables and passed parameters) and CPU data (such as return addresses when calling subroutines)  The stack pointer stores the address of the most recent entry that was pushed onto the stack  To push a value onto the stack, the stack pointer is incremented to point to the next physical memory address, and the new value is copied to that address in memory  When a valid interrupt request is present it informs control logic to take action in response to each signal 7/16/2015 14By, Diwaker Pant
  • 15.  Address Bus :  The bus over which the CPU sends out the address of memory location is called as Address Bus  The address may be consist of 16, 20, 24 or 32 parallel signal lines  If there are N address lines, then it can directly address 2N memory locations  Data Bus :  The data bus consists of 8, 16 or 32 parallel lines  The data bus is a bi-directional bus , that means the data can get transferred from CPU to memory and vice-versa  The data bus also connects the I/O ports and CPU  The number of data lines used in the data bus is equal to the size of data word that can be written or read 7/16/2015 15By, Diwaker Pant
  • 16.  Control Bus :  It is used for sending control signals to memory and I/O devices  Some of the control bus signals are as follows: a. Memory read b. Memory write c. I/O read d. I/O write 7/16/2015 16By, Diwaker Pant
  • 17. Fig.6. Interfacing Buses & Computer System 7/16/2015 17By, Diwaker Pant
  • 18. Fig.7. Types of Memories 7/16/2015 18By, Diwaker Pant
  • 19.  Primary Memory :  Primary memory is computer memory that is directly accessible to the CPU of a computer without the use of computer's input/output channels  Primary storage is used to store data that is likely to be in active use  Examples are RAM, ROM. 7/16/2015 19By, Diwaker Pant
  • 20.  Read-only memory (ROM) is a class of storage media used in computers  Data stored in ROM cannot be modified  ROM is a non-volatile storage. Data remains unchanged even after switching off the computer. (Wikipedia, 2007n) E.g. EPROM, EEPROM Fig.8. An EPROM 7/16/2015 20
  • 21.  Random access memory (RAM) is a type of data storage used in computers  It takes the form of integrated circuits that allow the stored data to be accessed in any order (random)  Data stored in RAM can be modified  RAM is a volatile storage. Data will lose after switching off the computer Fig.9. Two 512 MB RAM 7/16/2015 21
  • 22.  Secondary memory is computer memory that is not directly accessible to the CPU of a computer  It is used to store data that is NOT in active use  It is usually slower than primary storage but it always has higher storage capacity  It is non-volatile. Data remains unchanged even after switching off the computer 7/16/2015 22By, Diwaker Pant
  • 25. Fig.12. Microcontroller block diagram 7/16/2015 25By, Diwaker Pant
  • 26.  PIC(Peripheral Interface Controller ) is family of low cost , high performance CMOS , fully-static microcontroller  They use Harvard Architecture which are high performance RISC processors Fig.13. Harvard Vs Von-Neumann architectures 7/16/2015 26By, Diwaker Pant
  • 27. Fig.14. Types of Microcontroller 7/16/2015 27By, Diwaker Pant
  • 28. Working Register (W) ALU Status (Flag) Register Flash ROM Program Memory 8192*14 bits Program counter Stack 13 bits*8 Levels RAM File Registers 368 * 8 Bits Instruction Register EEPROM 256 BytesInstruction Decode & CPU Control Ports , Timers, ADC, Serial I/O Timing Control File Select Register CLK Reset Addr Instructions File Addr Prog Addr Data Bus Fig. 15. PIC16F877 MCU Block Diagram 7/16/2015 28By, Diwaker Pant
  • 29. They are used in industrial control applications , calculators, commercial appliances It is used in CPU of a computer for controlling I/P , O/P and other devices of a computer They are used for database management, storing information They are used as controller for appliances and in automobiles They are used in computers for railway, air-ticket reservations etc.. They are used to measure and control the temperature of a furnace, the pressure of boiler etc… 7/16/2015 29By, Diwaker Pant
  • 30.  Automotive air bag systems, Remote control, Handheld tools  Appliances – coffee pot, mixer, stove, refrigerator, dish washer, dryer  Major home systems heating/cooling, TV, DVD player/recorder, Sound system  Cordless phones and cell phones Security systems 7/16/2015 30By, Diwaker Pant
  • 31.  Fairchild Semiconductors  Freescale Semiconductors  National Semiconductors, Hewlett-Packard  Hitachi Corporations  Intel  Motorola Corporations  LG, Samsung, IBM, Intersil, MIPS Technologies  MOS technology, OpenCore, Renesas Electronics  Texas Instuments, Zilog, Inmos Etc. 7/16/2015 31By, Diwaker Pant
  • 35.  Microprocessor and Microcontrollers are brain of all modern electronic system.  Microprocessors are generally used for general purpose systems while microcontrollers are used for applications specific systems.  If anything is automatic it must have a part of microprocessor in it.  Modern embedded systems have microcontroller in it. 7/16/2015 35By, Diwaker Pant
  • 36.  Microprocessor Architecture, Programming, and Applications with the 8085 by R. Gaonkar.  Microprocessors: Principles and Applications by A. Pal.  The 8051 Microcontroller and Embedded Systems : Using Assembly and C by Muhammad Ali Mazidi.  Advanced Microprocessors and Peripherals by A.K.Ray and K.M.Bhurchandi.  Microprocessors and Microcontrollers images: Contents available at akihil.jain.worlspress.com 7/16/2015 36By, Diwaker Pant