Revised: Aug 1, 20141 ECE 263 Embedded System Design Lesson 1 68HC12 Overview.

Slides:



Advertisements
Similar presentations
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
Advertisements

Lecture 01: Introduction to Microcomputer & Embedded Systems.
© 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.
Lecture 3: TI MSP430 Introduction
Technology Component: Computer Hardware – Part 2 Basic Components Dr. V.T. Raja Oregon State University.
Introduction to Microprocessors Number Systems and Conversions No /6/00 Chapter 1: Introduction to 68HC11 The 68HC11 Microcontroller.
The CPU - Outline. Components of CPU Englander p
University College Cork IRELAND Hardware Concepts An understanding of computer hardware is a vital prerequisite for the study of operating systems.
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
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:
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Micro-controller or embedded controller
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
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.
Microcontroller based system design
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
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.
C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill.
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 2. Computer Structure Computer Structure The traditional diagram of a computer...
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
Internal hardware and external components of a computer Three-box Model  Processor The brain of the system Executes programs A big finite state machine.
Computer Processing of Data
E0001 Computers in Engineering1 The System Unit & Memory.
Introduction to Computing: Lecture 4
Computer architecture Microprocessor based computers.
GRAP 3175 Computer Applications for Drafting Unit II Computer Hardware.
November SSI Small Scale Integration Up to 12 equivalent gate circuits on a single chip Includes basic gates and flip-flops.
Basic Architecture Lecture 15. In general, if the number of bits is n, then the number of different combinations of 0s and 1s that can be made is 2 n.
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.
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
Internal Input/Output Devices (I/O Subsystems)
ECE Lecture 1 Microcontroller Concepts. Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device Data.
Microprocessor-based Systems
General Concepts of Computer Organization Overview of Microcomputer.
Microprocessors For a microprocessor to give a working microcomputer system, which can be used for control tasks, additional chips are necessary, e.g.
Computer System Internal components - The processor - Main memory - I / O controllers - Buses External components (peripherals). These include: - keyboard.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
 Introduction to Micro processor Introduction to Micro processor  Microprocessor instruction and opcodes Microprocessor instruction and opcodes  Mnemonics.
Introduction to Microprocessors
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Intel 8051 Another family of microcontroller is the Intel 8051 family. The basic 8051 microcontroller has four parallel input/output ports, port 0, 1,
MICROOCESSORS AND MICROCONTROLLER:
Computer and Information Sciences College / Computer Science Department CS 206 D Computer Organization and Assembly Language.
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
Overview von Neumann Architecture Computer component Computer function
The Computer System.
Computer operation is of how the different parts of a computer system work together to perform a task.
ECE 371 Microprocessor Interfacing
Architectural Considerations A Review of Some Architectural Concepts.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
MICROPROCESSOR AMARTYA ROY-72 ANGSHUMAN CHATTERJEE-80 ASHISH LOHIA-70 MOLOY CHAKRABORTY-60.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
Internal hardware of a computer Learning Objectives Learn how the processor works Learn about the different types of memory and what memory is used for.
Introduction to Microcontroller Technology
Microprocessor and Microcontroller Fundamentals
Processor/Memory Chapter 3
Lecture 3: TI MSP430 Introduction
UNIT – Microcontroller.
IPCOWALA INSTITUTE OF ENGINEERING & TECHNOLOGY-DHARMAJ
Memory Units Memories store data in units from one to eight bits. The most common unit is the byte, which by definition is 8 bits. Computer memories are.
Introduction to Microprocessors and Microcontrollers
Subject Name: Embedded system Design Subject Code: 10EC74
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Register sets The register section/array consists completely of circuitry used to temporarily store data or program codes until they are sent to the.
Presentation transcript:

Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview

2 Overview Computers and Embedded Controllers 68HC12 Overview

3 Computers and Embedded Controllers All computers contain four hardware modules –central processing unit (CPU) –memory –input/output devices –buses Reference Figure 1.1, pg 5

4 Central Processing Unit Governs order of instruction execution Controls access to memory and I/O devices Performs arithmetic and logical operations Handles interrupt services Contains: ALU,control unit, internal registers, timers, buses Speed based on clock speed

5 Memory Contains instructions and data von Neumann architecture -- instructions and data stored in the same memory Memory technologies: –RAM –ROM

6 I/O Devices Input/Output devices:

7 Buses Pathways connecting computer components –address: specify address locations where data and instructions reside in memory –data: carries instructions and data to and from memory –control: sends and receives control commands among system components

8 Terminology Microprocessor: CPU units packaged in a single chip Microcomputer: computer that uses the microprocessor as its CPU (e.g. PC) Microcontrollers (a.k.a. embedded controllers): all computer components in a single VLSI (Very Large Scale Integration) chip

9 Applications How many embedded controllers have you used today?

10 68HC12 Overview Introduced by Motorola 1997 Instruction Set –209 instructions –multiple addressing modes (where’s the data!) CPU12 –16 bit processor –variants: “A4” : expanded mode, 8 MHz “B32”: single chip mode, 8 MHz HCS12 series: larger onboard memory, 25 MHz Clock speed: 16 MHz crystal, divide by 2 for 8 MHz system clock –clock generated by crystal or ceramic resonator

11 Memory Concepts - Review Width: M bits, number of data lines, determines size of operand Length: number of separately addressable locations, 2 #addr lines = #memory locations m addr lines N data lines memory

12 Memory Concepts - Review RAM –read/write –volatile –faster access time –variants SRAM DRAM –applications variables dynamic memory allocation –heaps, stacks ROM –read only –non-volatile –slower –variants ROM, PROM, EPROM, EEPROM (byte-addressable, FLASH) –applications programs constants, codes, etc.

13 Memory Concepts - Review 2 10 = _ _ $ binary hex Other common conversions: 2 8 = 256 = $ = 1024 = $400 approximately 1K 2 12 = 4096 = $1000 approximately 4K

14 68HC12 Overview (cont) Memory: 1K-byte RAM, 4K-bytes EEPROM, expandable to 5M-bytes Serial communications: SCI and SPI –asynchronous vs. synchronous communication –SCI: communications - asynchronous –SPI: extend features of 68HC12 - synchronous 8 channel analog-to-digital converter 8 channel timer –input capture, output compare, pulse accumulation Background Debug Mode (BDM) - troubleshooting Memory-mapped input/output

15 "Copyright of Motorola, Used by Permission"

16