Docsity

Lecture Slides on Microprocessor Fundamentals | ETEE 2213, Study notes of Microprocessors

Partial preview of the text

Download Lecture Slides on Microprocessor Fundamentals | ETEE 2213 and more Study notes Microprocessors in PDF only on Docsity!

Introduction to Microprocessors

Topic 1

Microprocessor Fundamentals

1/15/2009 2

Objectives

  • Understand the difference between

microprocessors, microcontrollers, and

microcomputers

  • Review of number systems and conversions
  • Understand the development process
  • Understand the numbering system and selection

of various AVR ICs

  • Examine some Internet resources

1/15/2009 4

Microcomputer

  • A Microcomputer is an integrated system of computer components typically containing data storage ICs, mass storage elements, and standard I/O devices, capable of a wide variety of applications. Microcomputers contain a microprocessor at the heart of the system, controlling data flow, manipulating data, and executing instructions.
  • Data storage ICs: RAM, ROM, and I/O
  • Mass storage elements: External Drives, Hard Drives, CD-ROM Drives
  • Standard I/O devices: High resolution monitor, keyboard, mouse, printer, etc.

1/15/2009 5

Microcontroller

  • A Microcontroller is also a single integrated circuit that accepts and executes coded instructions for the purpose of manipulating data and controlling a digital system similar to a microprocessor.
  • The difference between a microcontroller and a microprocessor is that the microcontroller also contains RAM, ROM, and I/O circuitry in that single IC package.
  • This allows miniaturization of single application, microprocessor controlled, digital systems because the required associated circuitry is contained within the integrated circuit of a microcontroller.

A “short list” of embedded systems

And the list goes on and on

7

Anti-lock brakes Auto-focus cameras Automatic teller machines Automatic toll systems Automatic transmission Avionic systems Battery chargers Camcorders Cell phones Cell-phone base stations Cordless phones Cruise control Curbside check-in systems Digital cameras Disk drives Electronic card readers Electronic instruments Electronic toys/games Factory control Fax machines Fingerprint identifiers Home security systems Life-support systems Medical testing systems

Modems MPEG decoders Network cards Network switches/routers On-board navigation Pagers Photocopiers Point-of-sale systems Portable video games Printers Satellite phones Scanners Smart ovens/dishwashers Speech recognizers Stereo systems Teleconferencing systems Televisions Temperature controllers Theft tracking systems TV set-top boxes VCR’s, DVD players Video game consoles Video phones Washers and dryers

Embedded systems are everywhere

8

  • In 2000, more than a quarter billion, 8-bit

embedded processors were being sold each

month ( http://www.extremetech.com/article2/0,3973,18917,00.asp )

Embedded systems are everywhere

10

  • There's a microprocessor in your:
    • An automatic garage door opener (and each remote control) also contains a microprocessor
    • The average new car has a dozen
      • BMW 7-series has 63
      • Mercedes S-class has 65
    • Every modern car has electronic ignition
      • Ford, Jaguars and Volvos, use a PowerPC to control the engine
    • Automatic transmissions and Antilock brakes are microprocessor controlled as well

Embedded systems are everywhere

11

  • Got a Volvo?
    • The processor in its automatic transmission communicates with the processors behind each side-view mirror.
    • Allows the outside mirrors to automatically tilt down and inward whenever you put car into reverse gear, the better to see the back end of the car

Common characteristics of embedded systems

  • Single-functioned
    • Executes a single program, repeatedly
  • Tightly-constrained
    • Low cost, low power, small, fast, etc.
  • Reactive and real-time
    • Continually reacts to changes in the system’s environment
    • Must compute certain results in real-time without delay
  • Programmed in C or Java

13

NUMBER SYSTEMS

1/15/2009 14

1/15/2009 16

Number Systems

Hexadecimal 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11

Decimal 0 1 2 3 4 5 6 7 8 9

10 11 12 13 14 15 16 17

Binary 00000000 00000001 00000010 00000011 00000100 00000101 00000110 00000111 00001000 00001001 00001010 00001011 00001100 00001101 00001110 00001111 00010000 00010001

Octal 000 001 002 003 004 005 006 007 010 011 012 013 014 015 016 017 020 021

1/15/2009 17

Conversions

  • Decimal to Hexadecimal:

Ex: convert 40 10 to hex:

We only need a 2 digit number to express 40 in hex: 40 16 = 2.5 or 2 r8 2- 8 is too small to be divided by 16: 28

1/15/2009 19

Conversions

  • Decimal to Hexadecimal:

Ex: convert 210 10 to hex:

We only need a 2 digit number to express 210 in hex: 210 16 = 13.125 or 13 r (13 in decimal is D in hex) D- 2 is too small to be divided by 16: D

1/15/2009 20

Conversions

  • Hexadecimal to Decimal :

Ex: convert E7 to decimal:

E * 16^1 + 7 * 16^0 =

14 * 16^1 + 7 * 16^0 =