Chapter 9. Embedded Systems: Computer Organization
Chapter 9. Embedded Systems: Computer Organization
Embedded
Systems
Computer Organization
Embedded System Overview
Computing systems are everywhere
Most of us think of “desktop” computers
- PC’s
- Laptops
- Servers
But there is another type of computing
system
- Far more common…
Embedded System Overview
What is an embedded system?
A physical system that employs computer control for a specific purpose,
rather than for general-purpose computation.
A “Short List” of Embedded
Systems
Anti-lock brakes Fingerprint identifiers
Auto-focus cameras Home security systems
Automatic teller machine Medical testing systems
Automatic toll systems Modems
Automatic transmission MPEG decoders
Avionic systems Network cards
Battery chargers Network switches/routers
Camcorders Pagers
Cell phones Photocopiers
Cell-phone base stations Printers
Cordless phones Scanners
Cruise control Stereo systems
Digital cameras TV
Disk drives VCR
Electronic card readers Video game controllers
Electronic toys/games Video phones
Fax machines Washers and dryers
Embedded Systems
Embedded systems
information processing systems
embedded into a larger product
Two types of computing
Desktop – produced
millions/year
Embedded – billions/year
Non-Embedded Systems
PCs, servers, and notebooks
The future of computing!
Automobiles, entertainment,
communication, aviation,
handheld devices, military and
medical equipments.
Components of Embedded
Systems
Memory Controllers Interface
Software
Processor
Coprocessors
ASIC
Converters
Bus
Input Output
interface interface
Displays Light
Speaker
Figure 9.1. A block diagram of a micro wave oven.
Figure 9.1. A block diagram of a microwave oven
Embedded System Example –
Digital Camera
Lens Optical
sensors
A/D
conversion
Motor
User System
switches controller
Flash
unit
Cable to PC
Figure 9.2. A simplified block diagram of a digital camera.
Figure 9.2. A simplified block diagram of a digital camera.
Block Diagram of an
Embedded Processor
Parallel
To external Processor I/O ports
memory core
Serial
I/O ports
Internal
memory
Counter/Timer
AtoD conversion DtoA conversion
Figure 9.3. A block diagram of an embedded processor.
A Simple Microcontroller
Address Port A
Parallel I/O
Processor
Data Port B
core
Control
Receive data
Serial I/O
Transmit data
Internal Counter_in
memory Counter/Timer
Timer_out
Figure 9.4. An example microcontroller.
Access to Parallel Port
Read_Port
Di PA i
Output data
D Q
Write_Port Q
D Q
Write_DIR Q
Data direction
Figure 9.5. Access to one bit in Port A in Figure 9.4.
Access the Serial Interface
Receive shift register Serial input
Recei ve buffer
D7
D0
Transmit buffer
Transmit shift register Serial output