Docsity

Microcontroller Concepts - Lecture Slides | ECE 447, Study notes of Electrical and Electronics Engineering

Toggle sidebar
bg1
1
ECE447- Lecture1
Microcontroller
Concepts
BasicComputerSystem
CPU Memory
Program
+Data
I/OInterface
Parallel
I/ODevice Serial
I/ODevice
DataBus
AddressBus
ControlBus
Parallel
Data Serial
Data
Microprocessor - usuallymemoryoff-chipandonlybasic
I/Ointerfaceonchip
e.g.,Intel8008,8080,8086,80286,Pentium
Single-chipmicrocomputer - CPU,memory,I/Ointerface,
andsimpleI/OdevicesononeLSIchip
e.g.,Intel8048,8051,Motorola68HC11,68HC16
pf3
pf4
pf5

Partial preview of the text

Download Microcontroller Concepts - Lecture Slides | ECE 447 and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

ECE 447 - Lecture 1

Microcontroller

Concepts

Basic Computer System

CPU

Memory Program

  • Data

I/O Interface

Parallel I/O Device

Serial I/O Device

Data Bus

Address Bus

Control Bus

Parallel Data

Serial Data

Microprocessor - usually memory off-chip and only basic I/O interface on chip

e.g ., Intel 8008, 8080, 8086, 80286, Pentium

Single-chip microcomputer - CPU, memory, I/O interface, and simple I/O devices on one LSI chip

e.g ., Intel 8048, 8051, Motorola 68HC11, 68HC

Microcontroller : I/O oriented single-chip microcomputer

Microcontroler vs. other single-chip microcomputers:

  • Extended I/O capabilities

synchronous and asynchronous communication devices, A/D and D/A converters, timers, counters, watchdogs

  • Interrupt handling increased ability to prioritize levels of interrupts and mask individual interrupts
  • Instruction set instructions oriented toward bit manipulation, operations on single bits of memory words or I/O ports

Early microcroprocessors

performance integration

General-purpose

microprocessors

Single-chip

microcomputers

  • small price
  • low power consumption
  • built-in memory
  • built-in I/O devices
  • high speed
  • long word size

volume sold (^) x 1 x 10

( e.g., Pentium, Alpha, Power PC) (^) ( e.g. , MC68HC11, 8051)

(8080, 6800, Z80)

Selected applications of microcontrollers (1)

  • cars
    • engine fuel injection
    • transmission control
    • suspension and ride control
    • instrument display
    • breaking system
  • house utilities
  • washing machine
  • microwave oven
  • refrigerator
  • sport equipment
  • exercise machine
  • ski bindings

Abbreviations CPU - Central Processing Unit := ALU (Arithmetic Logic Unit) + Control

RAM - Random Access Memory := Read/Write Memory

ROM - Read Only Memory (non-volatile)

EPROM - Erasable Programmable ROM

EEPROM - Electrically Erasable ROM

SCI - Serial Communication Interface ( asynchronous serial communication interface)

SPI - Serial Peripheral Interface ( synchronous serial communication interface)

A/D - analog-to-digital converter

Memory types

volatile non-volatile

ROM

PROM

EPROM

EEPROM

Flash EEPROM

FRAM

RAM

Area required for a single bit cell 0.8 μm technology

20 μ 10 μ 14 μ 14 μ^14 μ 20 μ 40 μ

human hair ROM^

EPROM

Flash EPROM FRAM^ EEPROM^ RAM

Features of various memory types

Type Number of

write/erase

cycles

Writing

time

Typical cell size

in 0.8 μμμμ m

technology

RAM

EEPROM

EPROM

Flash EPROM

FRAM

PROM

ROM

unlimited

≈ 70 ns

3-10 ms

≈ 50 ms

≈ 50 ms

≈ 100 ns

≈ 100 ms

N/A

≈ 1, 700 μm^2

≈ 400 μm^2

≈ 200 μm^2

≈ 200 μm^2

≈ 100 μm^2

≈ 200 μm^2

≈ 200 μm^2

Memory map of MC68HC11E

$

$

$B

$FFFF

$0000-$01FF 512 bytes RAM $1000-$103F 64 bytes I/O registers

$B600-$B7FF 512 bytes EEPROM

Single-chip mode

Input/Output Ports

Port Input Pins

Output Pins

Bidirectional Pins

Shared Functions

Port A

Port B

Port C

Port D

Port E

Timer

High Order Address

Low Order Address and Data Bus

SCI and SPI

A/D Converter

Memory map of MC68HC11E1 with an external RAM and EPROM

$

$

$B

$FFFF

$0000-$01FF 512 bytes RAM $1000-$103F 64 bytes I/O registers

$B600-$B7FF 512 bytes EEPROM

Expanded bus mode

$C

$E

$C000-$DFFF 8 kbytes RAM

$E000-$FFFF 8 kbytes EPROM