Vous êtes sur la page 1sur 18

Chapter 1

Types, Selection, and Applications of Microcontrollers

Lesson 2
CPU, Microcomputer and Microcontroller

2011

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

CPU Program-flow control Section


Fetch Unit Control unit Internal Buses

Instruction Execution Section Arithmetic +,-,, Rotate


XOR, OR, AND,NOT
2011

and Logic Unit

Shift
3

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

Internal bus

Fetch Decode
Execution

IR ID
Control and Sequencer Circuits

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

CPU and Buses


Fetch Unit Control unit Program
Counter

Memory

IO Devices

Arithmetic and Logic Unit

Control Bus

Data Bus Address Bus

2011

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

Microprocessor - Chip or VLSI Section Cache


Reset circuit Clock circuit

CPU
Registers Stack

2011

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

Microcomputer Chip or VLSI Core


Microprocessor Memory Interrupt Handler unit Timing Unit

Control Bus

IO Devices

Data Bus Address Bus

2011

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

Computer System
Microprocessor Microcomputer Memory Interrupt Handler unit Timing Unit Keyboard Ports CD drive Hard Disk Peripherals

2011

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

Microcontroller Chip or VLSI Core


CPU MicroPorts computer Memory Serial Interrupt Handler unit Devices Timing Devices Watchdog Timer

Application specific Devices

PWM

ADC

2011

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

Embedded processor - Chip or VLSI Core Cache


Reset circuit Clock circuit

CPU
Large register sets
Fast context switching Registers based ALU

2011

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

10

Embedded Microcontroller

2011

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

11

Embedded Microcontroller CPU MicroPorts computer Memory Serial Interrupt Handler unit Devices Timing Devices Watchdog Timer Application PWM specific Devices ADC

No external memory or devices based system

2011

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

12

External Memory Expanded Microcontroller

2011

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

13

CPU MicroPorts computer Memory Internal Interrupt Handler unit Devices Timing Devices

External memory or devices based system


External Ports
2011

External RAM/ROM
14

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

Summary

2011

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

15

We learnt

Microprocessor CPU with program flow control unit and execution unit

2011

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

16

We learnt

Microcomputer A Microprocessor with timing unit, interrupt handling unit and memory

2011

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

17

We learnt

Microcontrollers A CPU with on-chip Ports, Memory, Special Function Registers, timers and other registers, serial interface, ADC, PWM and application specific devices
Microcontrollers-... 2nd Ed. Raj Kamal Pearson Education 18

2011

Vous aimerez peut-être aussi