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.

Slides:



Advertisements
Similar presentations
MC68HC11 System Overview. System block diagram (A8 version)
Advertisements

Processor System Architecture
© 2010 Kettering University, All rights reserved..
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
Lecture 3: TI MSP430 Introduction
STUDY OF THE ARIZONA MICROCHIP MICRO CONTROLLERS MOSTEFA GHASSOUL DAMMAM TECHNICAL COLLEGE
1-1 Microprocessor Engineering Microprocessor Systems Microcontrollers Infineon 16-bit Processor Family  specifically 167CS microcontroller C Programming.
Computer Hardware Processing and Internal Memory.
Introduction to Microprocessors Number Systems and Conversions No /6/00 Chapter 1: Introduction to 68HC11 The 68HC11 Microcontroller.
CMPE 118 MECHATRONICS CMPE 118/L Introduction to Mechatronics Tu-Th 4:00-5:45pm, Jack Baskin Engineering 372 Lab: Jack Baskin Engineering 150, 24/7 Instructor:
Micro-controller or embedded controller
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
The 8051 Microcontroller Architecture
Microcontroller based system design
B.RAMAMURTHY UNIVERSITY AT BUFFALO Introduction to Hardware (& Software) 5/30/2013 Amrita-UB-MSES-CSE
Microcontroller: Introduction
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
MCU – Microcontroller Unit – 1 MCU  1 cip or VLSI core – application-specific.
INTRODUCTION TO MICROCONTROLLER. What is a Microcontroller A microcontroller is a complete microprocessor system, consisting of microprocessor, limited.
1 © Unitec New Zealand Embedded Hardware ETEC 6416 Date: - 10 Aug,2011.
CS-280 Dr. Mark L. Hornick 1 Parts of a GP Computer (Microcomputer) Contains separate Microprocessor chip Memory/Memory controller MB control chips Peripheral.
ECE 447: Lecture 1 Microcontroller Concepts. ECE 447: Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device.
The Components of the system unit Created By: N.AlJaffan Modified By:S.Abudawood Chapter 4.
E0001 Computers in Engineering1 The System Unit & Memory.
Introduction to Computing: Lecture 4
66 CHAPTER THE SYSTEM UNIT. 2 System Units in Microcomputers System Units (system cabinet):container that contain the electronic components of computer.
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
Microcontrollers Microcontroller (MCU) – An integrated electronic computing device that includes three major components on a single chip Microprocessor.
©2008 The McGraw-Hill Companies, Inc. All rights reserved. Digital Electronics Principles & Applications Seventh Edition Chapter 13 Computer Systems Roger.
ECE Lecture 1 1 Introduction to Microcontrolllers Department of Electrical and Computer Engineering The Ohio State University ECE 2560.
1 CS503: Operating Systems Spring 2014 Dongyan Xu Department of Computer Science Purdue University.
Created By: N.AlJaffan Modified By:S.Abudawood & Tr.Asma Aleisa Chapter 4.
November SSI Small Scale Integration Up to 12 equivalent gate circuits on a single chip Includes basic gates and flip-flops.
Computing and the Web Computer Hardware Components.
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
Components of a Computer Prepared by: Mrs. McCallum-Rodney.
Internal Input/Output Devices (I/O Subsystems)
ECE Lecture 13 Motorola 68HC11. Resources 68HC11 E-series Reference Guide and if necessary 68HC11 E-series Technical Data 68HC11 Reference Manual.
Microprocessor & Interfacing Techniques. HISTORY OF MICROPROCESSORS  Computers are accessible to ever-increasing sectors of the world's population. 
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
General Concepts of Computer Organization Overview of Microcomputer.
ECE 265 – LECTURE 3 68HC11 Address Space, Memory, Registers, and data transfers 3/29/ ECE265.
Microprocessors For a microprocessor to give a working microcomputer system, which can be used for control tasks, additional chips are necessary, e.g.
Computer Organization & Assembly Language © by DR. M. Amer.
Computer System Internal components - The processor - Main memory - I / O controllers - Buses External components (peripherals). These include: - keyboard.
 Introduction to Micro processor Introduction to Micro processor  Microprocessor instruction and opcodes Microprocessor instruction and opcodes  Mnemonics.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
MICROOCESSORS AND MICROCONTROLLER:
1 Introduction to Microcontroller Microcontroller Fundamentals & Programming.
What is a Microprocessor ? A microprocessor consists of an ALU to perform arithmetic and logic manipulations, registers, and a control unit Its has some.
بسم الله الرحمن الرحيم MEMORY AND I/O.
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.
ECE 447: Lecture 2 Internal Input/Output Devices A/D Converter.
Embedded Systems Introduction. Microprocessor building blocks 1. ALU (Arithmetic Logic Unit): The ALU is a sequential logic circuitry that is intended.
SEPTEMBER 8, 2015 Computer Hardware 1-1. HARDWARE TERMS CPU — Central Processing Unit RAM — Random-Access Memory  “random-access” means the CPU can read.
15: Microprocessor and microcontroller
ECE 447: Lecture 3 Microcontroller Programming in C.
نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Introduction :: Computer Organization and Architecture Computer.
COMP2121: Microprocessors and Interfacing
Introduction to Microcontroller Technology
Microcontrollers & GPIO
Lecture 3: TI MSP430 Introduction
UNIT – Microcontroller.
Introduction of microprocessor
Introduction to Microprocessors and Microcontrollers
Introduction to Computing Chapter 0
By Prof .A. ARPUTHARAJ Department of Electronics St. Josephs college
Introduction to Hardware
Presentation transcript:

ECE 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

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 1x 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

consumer electronics - automatic camera - TV set - compact disc players - telephone Selected applications of microcontrollers (2) computer peripherals - keyboard - mouse - printer - scanner - hard disk drive controller robots

Architecture vs. organization vs. realization Architecture - instruction set and input/output capabilities available to the programmer Organization is the implementation of the architecture in the block diagram form Realization - actual implementation of the organization in a given technology, e.g., CMOS

CPU RAM ROM EEPROM TIMER A/D SPI SCI PORT APORT BPORT CPORT DPORT E Organization of MC68HC11 in the Single-Chip Mode 88 (4)

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  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 10,000- 1,000,000 1  100,000   70 ns 3-10 ms  50 ms  100 ns  100 ms N/A  1, 700  m 2  400  m 2  200  m 2  100  m 2  200  m 2

Memory map of MC68HC11E1 $0000 $1000 $B600 $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 3–––83–––8 38–––38––– 2–86–2–86– Timer High Order Address Low Order Address and Data Bus SCI and SPI A/D Converter

CPU RAM ROM EEPROM TIMER A/D SPI SCI PORT A PORT DPORT E Organization of MC68HC11 in the Expanded Bus Mode 8 (4) EXTERNAL RAM EXTERNAL ROM EXTERNAL EPROM EXTERNAL I/O

Memory map of MC68HC11E1 $0000 $1000 $B600 $FFFF $0000 $1000 $B600 $FFFF EXT $0000-$01FF 512 bytes RAM $1000-$103F 64 bytes I/O registers $B600-$B7FF 512 bytes EEPROM Single-chip modeExpanded bus mode

Evaluation Board Configuration 68HC11E9 68HC24 - Port Replacement Unit RAM (e.g. 5164) ROM (e.g., 2764) 50 kB $2000-$B5FF 12 kB $D000-$FFFF Program & data Buffalo monitor B C B C A DE RAM 512B EEPROM 512B

Memory map of MC68HC11E9 with an external RAM $0000 $1000 $B600 $FFFF $0000-$01FF 512 bytes RAM $1000-$103F 64 bytes I/O registers $B600-$B7FF 512 bytes EEPROM Expanded bus mode $D000 $0000-$B5ff 32 kbytes RAM $D000-$FFFF 12 kbytes ROM $A5ff