topic01a introduction to microprocessors and micro controller part 1

Upload: brett-wildermoth

Post on 04-Apr-2018

232 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    1/34

    Introduction to Microprocessors

    & Micro-controllers 1A

    1

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    2/34

    What are microprocessors?What defines a microprocessor.

    A microprocessor is a single element having theability to perform a wide variety of functions.

    A microprocessor is a complex digital circuit whichis controlled by a set of instructions.

    2

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    3/34

    What are microprocessors?What defines a microprocessor.

    A microprocessor can be considered as hardwareunder the control of software.

    The processor consists of hard wired components(functional blocks) which are controlled by

    software.

    3

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    4/34

    What are microprocessors?The differences between microprocessors and micro-controllers

    CentralProcessing

    Unit

    Memory(RAM/ROM)

    I/O

    Data Bus

    Control Bus

    Address Bus

    4

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    5/34

    A Brief History of Microprocessors

    350

    million BC

    Countingdeveloped

    1000

    BC

    500

    BC

    1000

    BC

    Abacusdeveloped

    5

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    6/34

    PascalsMechanical Digital

    Calculator

    1500

    AD

    Da Vinci'sMechanicalCalculator

    1700

    AD

    1600

    AD

    NapierBones

    Slide RuleInvented

    A Brief History of Microprocessors

    6

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    7/34

    HollerithsTabulator

    1800

    AD

    Punch Cards usedto automate aweaving loom.

    1900

    AD

    Augusta Adasuggests the binarysystem for storage.

    George Booleinvents Boolean

    Logic

    Charles Babbageworks on the

    difference engine

    First commercialtype writer

    released

    A Brief History of Microprocessors

    7

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    8/34

    1900

    AD

    Vacuum Tubeinvented

    1941

    AD

    First electronicdigital computer

    First programmablecomputer (Z3)

    Teleprintersinvented

    Remotecomputing

    demonstrated

    A Brief History of Microprocessors

    8

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    9/34

    1947

    AD

    TransistorInvented

    1955

    AD

    UNIVAC inventedFirst computer

    generatedmusic

    ENIAC developedUNIVAC compiler

    created

    A Brief History of Microprocessors

    9

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    10/34

    1957

    AD

    First IntegratedCircuit

    1965

    AD

    First IBM mainframe(System/360)

    IBM developsfirst wordprocessor

    FORTRANdeveloped

    First Computerdrawing program

    A Brief History of Microprocessors

    10

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    11/34

    1970

    AD

    Intel 4004 isreleased

    2003

    AD

    Motorola releasesthe 6800

    microprocessorMotorola Splits

    Intel's 1K RAMchip

    Space Invadersreleased

    A Brief History of Microprocessors

    11

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    12/34

    12

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    13/34

    Uses of microcontrollersApplications of microcontrollers

    In the Home

    13

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    14/34

    Uses of microcontrollersApplications of microcontrollers

    In the Home (continued)

    14

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    15/34

    Uses of microcontrollersApplications of microcontrollers

    At Work

    15

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    16/34

    Uses of microcontrollersApplications of microcontrollers

    At Work (continued)

    16

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    17/34

    Uses of microcontrollersApplications of microcontrollers

    At Work (continued)

    17

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    18/34

    Uses of microcontrollersApplications of microcontrollers

    At Play

    18

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    19/34

    Uses of microcontrollersApplications of microcontrollers

    19

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    20/34

    Uses of microcontrollersThe modern trends of microcontrollers

    Greater Memory Capacity

    More On-Chip Peripherals Smaller footprint

    Lower Power Consumption

    20

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    21/34

    Microprocessors:

    Cheap

    Flexible

    Multipurpose / General

    ASIC

    Custom Design

    Expensive $$$

    FPGA Cheap

    Custom Design

    Slowish

    Types of microcontrollersWhat the future holds for microcontrollers

    21

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    22/34

    The Adapt9S12X

    22

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    23/34

    The Adapt9S12X

    23

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    24/34

    The Adapt9S12X

    H1 HeaderCable

    H2 HeaderCable

    PrimarySerial Cable

    24

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    25/34

    The Adapt9S12XH1 and H2 Header Cables

    25

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    26/34

    The Adapt9S12X

    CAN Port

    CAN PortAuxiliary

    Serial Port

    ResetButton Load / Run

    Switch

    26

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    27/34

    MC9S12XDP512Key Features

    27

    MC9S12XDP512

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    28/34

    MC9S12XDP512GPIO

    8 Bit GPIO Ports:The MC9S12XDP512 contains 12

    Parallel Ports, these are: Port A

    Port B

    Port J Port K

    Port M

    Port S

    Port T

    Port P

    Port H

    Port E

    Port AD0

    Port AD1

    All accessible through the headers

    H1 and H2 on the Adapt9S12X.

    28

    MC9S12XDP512

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    29/34

    MC9S12XDP512Serial

    Six Asynchronous SerialPorts (RS232 compatible )

    Three Serial PeripheralInterfaces (SPI)

    One I2C interface

    29

    MC9S12XDP512

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    30/34

    MC9S12XDP512Analog

    Analogue to DigitalConversion:

    Two A/D subsystems, eachwith the following

    Eight multiplexed inputchannels.

    10 bit successiveapproximation A/D

    converter. Accessible through Port

    AD0 and AD1.

    Programmable fixedduration sampling

    30

    MC9S12XDP512

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    31/34

    MC9S12XDP512Timer

    Timer Subsystem:

    A timer overflow system A Watchdog Timer

    Input / Output CaptureCompare

    Pulse Width Modulator

    Real-time interrupt PLL (for speeds up to 40MHz)

    31

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    32/34

    MC9S12XDP512

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    33/34

    MC9S12XDP512Memory

    Memory:On-chip memory includes:

    32K SRAM (paged)

    4K EEPROM

    512K FLASH (paged)

    33

    Need Further

  • 7/29/2019 Topic01A Introduction to Microprocessors and Micro Controller Part 1

    34/34

    Need Further

    Assistance?

    Ask your Demonstrator,

    Post a question on the Forum, Email the Convener, or

    Make an appointment.

    34