Microprocessor & Interfacing Techniques. HISTORY OF MICROPROCESSORS  Computers are accessible to ever-increasing sectors of the world's population. 

Slides:



Advertisements
Similar presentations
The CPU The Central Presentation Unit What is the CPU?
Advertisements

Computer Memory and Data Transfer
Session Objectives#3 COULD explain the role memory plays in computer processing SHOULD describe the purpose of a CPU and its individual components MUST.
Department of Computer Engineering
1 Microprocessor History. 2 The date is the year that the processor was first introduced. Many processors are re- introduced at higher clock speeds for.
Processor System Architecture
Instructor: Sazid Zaman Khan Lecturer, Department of Computer Science and Engineering, IIUC.
CENTRAL PROCESSING UNIT
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ input/output and clock inputs Sequence of control signal combinations.
I/O Subsystem Organization and Interfacing Cs 147 Peter Nguyen
Basic Computer Organization CH-4 Richard Gomez 6/14/01 Computer Science Quote: John Von Neumann If people do not believe that mathematics is simple, it.
1 Chapter 4 The Central Processing Unit and Memory.
Microcontroller based system design
CPU Describe the purpose of the CPU
What’s on the Motherboard? The two main parts of the CPU are the control unit and the arithmetic logic unit. The control unit retrieves instructions from.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
S3 Computer Literacy Computer Hardware. Overview of Computer Hardware Motherboard CPU RAM Harddisk CD-ROM Floppy Disk Display Card Sound Card LAN Card.
COMPONENTS OF THE SYSTEM UNIT
Processing Devices.
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 2. Computer Structure Computer Structure The traditional diagram of a computer...
Computer Processing of Data
E0001 Computers in Engineering1 The System Unit & Memory.
Introduction to Computing: Lecture 4
Microcontrollers Microcontroller (MCU) – An integrated electronic computing device that includes three major components on a single chip Microprocessor.
COMPUTER SYSTEM ARCHITECTURE By Sohaib.  The digital computer is a digital system that performs various computational tasks.  The word digital implies.
 Design model for a computer  Named after John von Neuman  Instructions that tell the computer what to do are stored in memory  Stored program Memory.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
The Central Processing Unit: What Goes on Inside the Computer
Components of a Computer Prepared by: Mrs. McCallum-Rodney.
1Copyright © Prentice Hall 2000 The Central Processing Unit Chapter 3 What Goes on Inside the Computer.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
1 Unit 2: Computer Systems Session One Part One. 2 Aims: Discussion into what will be covered in this unit. Assessment Understand the basic principles.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
General Concepts of Computer Organization Overview of Microcomputer.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Computer Organization & Assembly Language © by DR. M. Amer.
Introduction to Microprocessors
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
Electronic Analog Computer Dr. Amin Danial Asham by.
Motherboard A motherboard allows all the parts of your computer to receive power and communicate with one another.
Academic PowerPoint Computer System – Architecture.
CPU/BIOS/BUS CES Industries, Inc. Lesson 8.  Brain of the computer  It is a “Logical Child, that is brain dead”  It can only run programs, and follow.
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
The Computer System.
Computer operation is of how the different parts of a computer system work together to perform a task.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Capability of processor determine the capability of the computer system. Therefore, processor is the key element or heart of a computer system. Other.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
Computers Are Your Future Tenth Edition Inside the System Unit 1.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
Von Neumann Machines. 3 The Von Neumann Architecture Model for designing and building computers, based on the following three characteristics: 1)The.
Lecture # 10 Processors Microcomputer Processors.
MICROPROCESSOR AMARTYA ROY-72 ANGSHUMAN CHATTERJEE-80 ASHISH LOHIA-70 MOLOY CHAKRABORTY-60.
Chapter 2 content Basic organization of computer What is motherboard
COMP2121: Microprocessors and Interfacing
Computer Hardware What is a CPU.
Chapter 2.
Technology Literacy Hardware.
The Central Processing Unit
Introduction of microprocessor
Introduction to Microprocessors
Basic Computer Organization
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Number Representations and Basic Processor Architecture
Microprocessor & Assembly Language
Presentation transcript:

Microprocessor & Interfacing Techniques

HISTORY OF MICROPROCESSORS  Computers are accessible to ever-increasing sectors of the world's population.  Computing hardware has become a platform for uses other than computation, such as automation, communication, control, entertainment, and education.

Microprocessor & Interfacing Techniques Types of Computers  Mainframes  Minicomputers  Microcomputers

Microprocessor & Interfacing Techniques Mainframes:  The largest and most powerful computers are called Mainframes.  They are designed to work at a very high speeds with large data words, typically 64 bits or greater.  Examples are IBM 4381, Honeywell DPS8, Cray Y-MP/832

Microprocessor & Interfacing Techniques Minicomputers:  Scaled down version of mainframe computers are often called minicomputers.  A minicomputer runs slowly, works directly with smaller data words.  Computers of this type are used for business data processing, industrial control and scientific research.  Examples are DEC VAX-6360, Data General MV/8000II

Microprocessor & Interfacing Techniques Microcomputers:  They are the small computers.  There are wide range of microcomputers depending on their specification.  Some microcomputers have all or most of the features of earlier minicomputers.  Microcomputer consist of a CPU ( usually a single integrated circuit) called a microprocessor.  Examples are Intel single-chip controller, SDK-86, IBM PC, Apple Macintosh.

Microprocessor & Interfacing Techniques What is a Micro-processor?  A Microprocessor is used as a CPU in a microcomputer.  A semiconductor chip or chip set that forms the CPU  Controls computers input/output devices  Executes programs

Microprocessor & Interfacing Techniques Microprocessor unit (MPU)  Consists of an arithmetic logic unit (ALU), a control unit, an instruction decoder and some registers.  The MPU Works by sequentially decoding instructions and operating on data under control of a program.  The instructions and the data are stored in memory.

Microprocessor & Interfacing Techniques  The “Microprocessor” term was used by Intel to name their first CPU (4004). A 4-bit chip designed to be used in a calculator.  Architectures now have advanced to 8, 16, 32, 64- bit for general purpose CPUs, and 128/256-bit and higher for specialised microprocessors such as GPUs, DSPs.  Term now used to describe the core component of a computer, the “brains” of the system that controls all the rest of the components, the peripherals.

HISTORY OF MICROPROCESSORS

The date is the year that the processor was first introduced. Many processors are re- introduced at higher clock speeds for many years after the original release date. Transistors is the number of transistors on the chip. You can see that the number of transistors on a single chip has risen steadily over the years. Microns is the width, in microns, of the smallest wire on the chip. For comparison, a human hair is 100 microns thick. As the feature size on the chip goes down, the number of transistors rises.

HISTORY OF MICROPROCESSORS Clock speed is the maximum rate that the chip can be clocked at. Clock speed will make more sense in the next section. Data Width is the width of the ALU. An 8-bit ALU can add/subtract/multiply/etc. two 8-bit numbers, while a 32-bit ALU can manipulate 32-bit numbers. An 8-bit ALU would have to execute four instructions to add two 32-bit numbers, while a 32- bit ALU can do it in one instruction. In many cases, the external data bus is the same width as the ALU, but not always. The 8088 had a 16-bit ALU and an 8-bit bus, while the modern Pentiums fetch data 64 bits at a time for their 32-bit ALUs.

HISTORY OF MICROPROCESSORS  MIPS stands for "millions of instructions per second" and is a rough measure of the performance of a CPU. Modern CPUs can do so many different things that MIPS ratings lose a lot of their meaning, but you can get a general sense of the relative power of the CPUs from this column.

MICROPROCESSOR

Microprocessor v Microcomputer  A Microprocessor  only is a single-chip CPU  bus is available  RAM capacity, num of port is selectable  Communicate by port  A Microcomputer  contains a CPU and RAM,ROM,Peripherals, I/O port in a single IC  internal hardware is fixed  Communicate by port  ROM is larger than RAM (usually)  Small power consumption  Single chip, small board  Implementation is easy  Low cost

Microprocessor V Microcomputers  Applications  Microcomputers are suitable to control I/O devices in designs requiring a minimum component  Microprocessors are suitable for processing information in computer systems.

Microprocessor V Microcomputers  Microcomputer is easy to use and design.  Only single chip can be a complete system  interfacing to other devices, for example, motors, displays, sensors, and communicate with PC.  In contrast, similar system that builds from Microprocessor would require a lot of additional units,  such as RAM, UART, I/O, TIMER and etc.

Microprocessor V Microcomputers  Logic circuit provides limited function for one single design. In order to change circuit’s functionality, we need to redesign the circuits.  Microcomputers can reprogram and change functionality of every port, input to output or digital to analog on the fly.

The Microcomputers  All Microcomputers consist of (at least) :  Microprocessor Unit (MPU)  Program Memory (ROM)  Data Memory (RAM)  Input / Output ports  Bus System  (and Software)  MPU is the brain of microcomputer

Microcomputers  Many microcomputers are existing right now.  8051, 68HC11, MSP430, ARM series, and etc.  We may widely divide it with how it is designed  RISC/CISC architecture.  What is the main difference between RISC/CISC?  Does it make any difference to our application?

A Microcomputer

The Microprocessor (MPU)  The microprocessor is the ‘brain of the microcomputer’  Is a single chip which is capable of  processing data  controlling all of the components which make up the microcomputer system  µP used to sequence executions of instructions that is in memory  µP Fetch, Decode, and Execute the instruction  The internal architecture of the microprocessor is complex.

The Microprocessor (MPU)  Microprocessor (MPU) typically contains  Registers: Temporary storage locations for program instruction or data.  The Arithmetic Logic unit (ALU): This part of the MPU performs both arithmetic and logical operations  Timing and Control Circuits: that keep all of the other parts of system (Regs, ALU, memory & I/O) working together in the right time sequence

MICROPROCESSORS  Using its ALU (Arithmetic/Logic Unit), a microprocessor can perform mathematical operations like addition, subtraction, multiplication and division. Modern microprocessors contain complete floating point processors that can perform extremely sophisticated operations on large floating point numbers.  2. A microprocessor can move data from one memory location to another.  3. A microprocessor can make decisions and jump to a new set of instructions based on those decisions.

The Input/Output (I/O) System  I/O is the link between the MPU and the outside world.  An input port is a circuit through which an external device can send signals (data?) to the MPU.  An output port is a circuit that allows the MPU to send signals (data?) to external devices.  I/O ports connect both digital and analogue devices by DAC and ADC

BUS  A Bus is a common communications pathway used to carry information between the various elements of a computer system  The term BUS refers to a group of wires or conduction tracks on a printed circuit board (PCB) though which binary information is transferred from one part of the microcomputer to another  The individual subsystems of the digital computer are connected through an interconnecting BUS system.

Types of Buses  There are three main bus groups  ADDRESS BUS  DATA BUS  CONTROL BUS

Data Bus  The Data Bus carries the data which is transferred throughout the system. ( bi-directional)  Examples of data transfers  Program instructions being read from memory into MPU.  Data being sent from MPU to I/O port  Data being read from I/O port going to MPU  Results from MPU sent to Memory  These are called read and write operations

Address Bus  An address is a binary number that identifies a specific memory storage location or I/O port involved in a data transfer  The Address Bus is used to transmit the address of the location to the memory or the I/O port.  The Address Bus is unidirectional (one way): addresses are always issued by the MPU.

Control Bus  The Control Bus: is another group of signals whose functions are to provide synchronization ( timing control ) between the MPU and the other system components.  Control signals are unidirectional, and are mainly outputs from the MPU.  Example Control signals  RD: read signal asserted to read data into MPU  WR: write signal asserted to write data from MPU

Main Memory  The duties of the memory are :  To store programs  To provide data to the MPU on request  To accept result from the MPU for storage  Main memory Types  ROM : read only memory. Contains program (Firmware). does not lose its contents when power is removed (Non-volatile)  RAM: random access memory (read/write memory) used as variable data, loses contents when power is removed volatile. When power up will contain random data values

Read only Memory  Microprocessor can read instructions from ROM quickly  Cannot write new data to the ROM  ROM remembers the data, even after power cycled  Typically, when the power is turned on, the microprocessor will start fetching instructions from the still-remembered program in ROM (bootstrap )

Types of ROMS  Masked ROM or just ROM  PROM or programmable ROM(once only)  EPROM (erasable via ultraviolet light)  Flash (can be erased and re-written about times, usually must write a whole block not just 1 byte or 2 bytes, slow writing, fast reading)  EEPROM (electrically erasable read-only memory, also known as EEROM—both reading and writing are very slow but can program millions of times…useless for storing a program but good for say configuration information.

ROM  On a PC, the ROM is called the BIOS (Basic Input/Output System). When the microprocessor starts, it begins executing instructions it finds in the BIOS. The BIOS instructions do things like test the hardware in the machine, and then it goes to the hard disk to fetch the boot sector. This boot sector is another small program, and the BIOS stores it in RAM after reading it off the disk. The microprocessor then begins executing the boot sector's instructions from RAM. The boot sector program will tell the microprocessor to fetch something else from the hard disk into RAM, which the microprocessor then executes, and so on. This is how the microprocessor loads and executes the entire operating system.

Conclusion  You should be able to define terms microcomputer, microprocessor, computer types, memory, bus, input/output devices.