Professional Documents
Culture Documents
Kuliah 5
Kuliah 5
Systems
Microprocessor Systems
Definition: A complete electronic system built
around the microprocessor to support the
microprocessor operation.
May consist of CPU, memory, I/O (disk drives,
keyboard, mouse), system bus, and supporting
circuitry.
CPU as the “brain” – controls actions of all
components.
Microprocessor System - PC
Supporting
CD-ROM CPU Circuitry
Memory
Keypad
System Bus
A µP-based system consists of many
components:
CPU.
Memory.
I/O:disk drives, keyboard, mouse.
System Bus.
Supporting circuitry.
All components communicate using System Bus.
System Bus
Communication “highway” for all
components.
Contains:
Data lines.
Address lines.
Control lines: regulate information transfer,
interrupts, error signals.
Block Diagram
Interrupt
Parallel I/O Serial I/O
Circuit
System Bus
processor status.
Memory Memory
EEPROM Programmer
EPROM
Quartz Window
NVM
Non-Volatile Memory
Contents can be read and written.
Contents stay without power (non-volatile).
Advantages:
Keeps memory even with no power.
Data is protected against blackouts.
Rewriteable.
Disadvantages:
Slower than RAM.
RAM
Random Access Memory.
Contents can be read and written.
Loses data without electrical power (volatile).
Advantages:
Programs can be loaded and reloaded.
Larger capacity.
Disadvantages:
Requires power, refresh cycles.
RAM vs. ROM
CPU loads
instructions
from ROM.
RAM vs. ROM
Equivalent Circuit
Sample
Clock Signal
T T T
Clock Signal vs. Processing Speed
Serial Port
1011011010101010011010101010100011101100101 Receive/Transmit
1011011010101010011010101010100011101100101 Receive/Transmit
1011011010101010011010101010100011101100101 Receive/Transmit
.
.
Parallel Port
UART
1
From Device 1001 0 To System Bus
UART
0
1
1
To Device 1001 0 From System Bus
UART
0
1
Interrupt Circuit Interrupt
Circuit