Вы находитесь на странице: 1из 25

Chapter 1

Microcontroller Overview
Lesson 1

CPU, Microcomputer and


Microcontroller

Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
Outline
• CPU and Buses
• Microcomputer chip
• Computer System
• Microcontroller
• Embedded Processor and
Microcontrollers

Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
CPU
Program-flow control Section
Fetch Unit
Control
unit
Internal Buses

Instruction Execution Section


∗, ÷
+,-,∗ Arithmetic
Rotate
and Logic
XOR, OR, Unit Shift
AND,NOT
Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
Internal bus

Fetch IR
Decode ID
Control
Execution
and
Sequencer
Circuits

A CPU
Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
CPU and Buses
Memory IO Devices
Fetch Unit
Control
unit
Program
Counter

Control Data
Arithmetic Bus Bus
and Logic
Unit Address
Bus
Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
Microprocessor - Chip or VLSI Section

Cache

Reset
circuit
CPU
Registers
Clock
circuit Stack

Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
Outline
• CPU and Buses
• Microcomputer chip
• Computer System
• Microcontroller
• Embedded Processor and
Microcontrollers

Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
Microcomputer Chip or VLSI Section
Microprocessor Memory Interrupt Timing
Handler Unit
unit

IO Devices Data
Control Bus
Bus
Address
Bus
Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
Outline
• CPU and Buses
• Microcomputer chip
• Computer System
• Microcontroller
• Embedded Processor and
Microcontrollers

Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
Microprocessor Micro- Ports
Memory computer CD
Interrupt Handler unit drive
Timing Unit Hard Disk
Keyboard Peripherals

Computer System

Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
Outline
• CPU and Buses
• Microcomputer chip
• Computer System
• Microcontroller
• Embedded Processor and
Microcontrollers

Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
CPU Micro- Ports
Memory computer
Interrupt Handler unit Serial
Devices
Timing Devices
Watchdog Timer
Application
specific Devices PWM ADC

Microcontroller Chip or VLSI Section


Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
Outline
• CPU and Buses
• Microcomputer chip
• Computer System
• Microcontroller
• Embedded Processor and
Microcontrollers

Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
Embedded processor - Chip or VLSI
Section
Cache

Reset
circuit
CPU
Large register sets
Clock fast context switching
circuit
registers based ALU

Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
Embedded Microcontroller

Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
CPU Micro- Ports
Memory computer
Interrupt Handler unit Serial
Devices
Timing Devices
Application Watchdog Timer
specific Devices PWM ADC
No external memory or devices based
system

Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
External Memory Expanded
Microcontroller

Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
CPU Micro- Ports
Memory computer
Interrupt Handler unit Internal
Devices
Timing Devices

External memory or devices based


system

External Ports External


RAM/ROM
Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
Summary

Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
• Microprocessor - CPU with
program flow control unit and
execution unit

Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
• Microcomputer - Microprocessor
with timing unit, interrupt
handling unit and memory

Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
• Microcontrollers - CPU with on-
chip Ports, Memory, Special
Function Registers, timers and
other registers, serial interface,
ADC,PWM and application
specific devices,

Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
End of Lesson 1 on
CPU, Microcomputer and
Microcontroller

Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005
THANK YOU

Ch01L1-"Microcontrollers....", Raj
Kamal, from Pearson Education,
2005

Вам также может понравиться