+ All Categories
Home > Documents > MicroC2ECH01L02CPUMCU

MicroC2ECH01L02CPUMCU

Date post: 02-Apr-2018
Category:
Upload: amitk25
View: 216 times
Download: 0 times
Share this document with a friend

of 18

Transcript
  • 7/27/2019 MicroC2ECH01L02CPUMCU

    1/18

    Chapter 1

    Types, Selection, andApplications of

    Microcontrollers

  • 7/27/2019 MicroC2ECH01L02CPUMCU

    2/18

    2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 2

    Lesson 2

    CPU, Microcomputer and

    Microcontroller

  • 7/27/2019 MicroC2ECH01L02CPUMCU

    3/18

    2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 3

    Instruction Execution Section

    CPUCPU

    Program-flow control Section

    Arithmetic

    and LogicUnit

    Fetch Unit

    Control unit

    Internal Buses

    +,-,,

    XOR, OR,AND,NOT

    Rotate

    Shift

  • 7/27/2019 MicroC2ECH01L02CPUMCU

    4/18

    2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 4

    CPU

    Internal bus

    Execution

    IRID

    FetchDecode

    Control

    and

    Sequencer

    Circuits

  • 7/27/2019 MicroC2ECH01L02CPUMCU

    5/18

    2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 5

    CPU and BusesCPU and Buses

    Arithmeticand LogicUnit

    Fetch Unit

    Control

    unitProgramCounter

    IO DevicesMemory

    ControlBus

    AddressBus

    DataBus

  • 7/27/2019 MicroC2ECH01L02CPUMCU

    6/18

    2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 6

    MicroprocessorMicroprocessor

    --

    Chip or VLSI SectionChip or VLSI Section

    Registers

    Stack

    CPUReset

    circuit

    Clock

    circuit

    Cache

  • 7/27/2019 MicroC2ECH01L02CPUMCU

    7/18

    2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 7

    Microprocessor

    Microcomputer Chip or VLSI CoreChip or VLSI Core

    Interrupt

    Handler

    unit

    MemoryTiming

    Unit

    IO DevicesControl

    BusAddressBus

    DataBus

  • 7/27/2019 MicroC2ECH01L02CPUMCU

    8/18

    2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 8

    Microprocessor

    Memory

    Interrupt Handler unit

    Timing Unit

    Computer System

    PortsMicro-computer

    Peripherals

    Hard Disk

    CDdrive

    Keyboard

  • 7/27/2019 MicroC2ECH01L02CPUMCU

    9/18

    2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 9

    CPUMemory

    Interrupt Handler unit

    Timing Devices

    Microcontroller Chip or VLSI Core

    PortsMicro-computer

    PWM

    Watchdog Timer

    Serial

    Devices

    ADCApplicationspecific Devices

  • 7/27/2019 MicroC2ECH01L02CPUMCU

    10/18

    2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 10

    Embedded processorEmbedded processor

    --

    Chip or VLSI CoreChip or VLSI Core

    Large register sets

    CPUReset

    circuit

    Clock

    circuit

    Cache

    Fast context switching

    Registers based ALU

  • 7/27/2019 MicroC2ECH01L02CPUMCU

    11/18

    2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 11

    Embedded MicrocontrollerEmbedded Microcontroller

  • 7/27/2019 MicroC2ECH01L02CPUMCU

    12/18

    2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 12

    CPUMemory

    Interrupt Handler unit

    Timing Devices

    No external memory or devices based

    system

    PortsMicro-computer

    PWM

    Watchdog Timer

    Serial

    Devices

    ADC

    Application

    specific Devices

    Embedded MicrocontrollerEmbedded Microcontroller

  • 7/27/2019 MicroC2ECH01L02CPUMCU

    13/18

    2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 13

    External Memory ExpandedExternal Memory Expanded

    MicrocontrollerMicrocontroller

  • 7/27/2019 MicroC2ECH01L02CPUMCU

    14/18

    2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 14

    CPUMemory

    Interrupt Handler unit

    Timing Devices

    External memory or devices based

    system

    PortsMicro-computer

    External Ports

    Internal

    Devices

    ExternalRAM/ROM

  • 7/27/2019 MicroC2ECH01L02CPUMCU

    15/18

    2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 15

    Summary

  • 7/27/2019 MicroC2ECH01L02CPUMCU

    16/18

    2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 16

    Microprocessor CPU withprogram flow control unit and

    execution unit

    We learntWe learnt

  • 7/27/2019 MicroC2ECH01L02CPUMCU

    17/18

    2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 17

    Microcomputer AMicroprocessor with timing unit,interrupt handling unit and

    memory

    We learntWe learnt

  • 7/27/2019 MicroC2ECH01L02CPUMCU

    18/18

    2011 Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 18

    Microcontrollers A CPU withon-chip Ports, Memory, Special

    Function Registers, timers andother registers, serial interface,

    ADC, PWM and application

    specific devices

    We learntWe learnt