Notes developed by Jason Long www.engenuics.com/mpghome.php Slides developed by Erin Johnston as an accompaniment to notes Delivered Oct. 17 th, 2011 –

Slides:



Advertisements
Similar presentations
Introduction to PIC Microcontrollers
Advertisements

ECE 353 Introduction to Microprocessor Systems
Micro controllers introduction. Areas of use You are used to chips like the Pentium and the Athlon, but in terms of installed machines these are a small.
Computing Systems Organization
9/20/6Lecture 3 - Instruction Set - Al1 The Hardware Interface.
Course Overview and The 8051 Architecture
 2002 Prentice Hall Hardware Basics: Inside The Box Chapter 2.
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.
The 8051 Microcontroller Architecture
Microcontroller: Introduction
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
MCU – Microcontroller Unit – 1 MCU  1 cip or VLSI core – application-specific.
Microprocessor Block Diagram
1 © Unitec New Zealand Embedded Hardware ETEC 6416 Date: - 10 Aug,2011.
Your Interactive Guide to the Digital World Discovering Computers 2012.
Objectives How Microcontroller works
Computer Systems 1 Fundamentals of Computing Von Neumann & Fetch Execute Cycle.
Introduction to Computing: Lecture 4
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
GRAP 3175 Computer Applications for Drafting Unit II Computer Hardware.
Random access memory.
Chapter Two Hardware Basics: Inside the Box. ©1999 Addison Wesley Longman2.2 Chapter Outline What Computers Do A Bit About Bits The Computer’s Core: CPU.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
Memory Interface A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
I T Essentials I Chapter 1 JEOPARDY HardwareConnector/CablesMemoryAcronymsPotpourri
1 The /27/ Today over fifty companies produce variations of the Several of these companies have over fifty versions of the 8051.
Chapter 2 Introducing the PIC Mid-Range Family and the 16F84A The aims of this chapter are to introduce: The PIC mid-range family, in overview The overall.
1 © Unitec New Zealand Interrupt Lecture 6 Date: - 20 Sept, 2011 Embedded Hardware ETEC 6416.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
TI MSP430 MICROCONTROLLERS BY ADITYA PATHAK. THE MSP FAMILY Ultra-low power; mixed signal processors Widely used in battery operated applications Uses.
Academic PowerPoint Computer System – Architecture.
Computer Architecture2  Computers are comprised of three things  The physical computer  The operating system  The user and programs running on the.
I NTRODUCTION TO PIC PROGRAMMING By : S HERIF H ARHASH.
CPU/BIOS/BUS CES Industries, Inc. Lesson 8.  Brain of the computer  It is a “Logical Child, that is brain dead”  It can only run programs, and follow.
Microprocessor Fundamentals Week 3 Mount Druitt College of TAFE Dept. Electrical Engineering 2008.
Presented by Sadhish Prabhu
Computer operation is of how the different parts of a computer system work together to perform a task.
ECE 353 Introduction to Microprocessor Systems Michael J. Schulte Week 8.
Architectural Considerations A Review of Some Architectural Concepts.
Group 1 chapter 3 Alex Francisco Mario Palomino Mohammed Ur-Rehman Maria Lopez.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
Computers Are Your Future Tenth Edition Inside the System Unit 1.
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
HOME AUTOMATION USING PC DONE BY RAJESHKUMAR S SRI HARSHA D.
Components of a typical full-featured microcontroller.
15: Microprocessor and microcontroller
발표자 : 이재신 발표 일시 : Chapter 2 Hardware Fundamentals for the Software Engineer The embedded-systems software engineer must often understand.
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.
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
CORDLESS MOUSE FEATURES BY TV REMOTE USING PIC MICROCONTROLLER
Chapter 2 content Basic organization of computer What is motherboard
GCSE Computer Science - Revision
CPU Lesson 2.
Popular Microcontrollers and their Selection by Lachit Dutta
Microcontrollers & GPIO
Processor/Memory Chapter 3
UNIT – Microcontroller.
Microcontroller Based Digital Code Lock
Discovering Computers 2011: Living in a Digital World Chapter 4
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.
Programming Microcontroller
Introduction to Microprocessors and Microcontrollers
Introduction to Computing Chapter 0
Introducing the PIC Mid-Range Family and the 16F84A
MICROPROCESSOR MEMORY ORGANIZATION
Overview 1. Inside a PC 2. The Motherboard 3. RAM the 'brains' 4. ROM
Wireless Embedded Systems
Computer Memory.
Presentation transcript:

Notes developed by Jason Long Slides developed by Erin Johnston as an accompaniment to notes Delivered Oct. 17 th, 2011 – UBC Okanagan

 Getting Set Up  Microprocessor vs Microcontroller  The 32-bit Processor  The Clock  Microcontroller Programs ◦ Interrupts  Development Tools 2

3  Order your hardware now! ◦ Order the “MPG Remote MPG Level 1 ARM7 Razor Development Board Completed” ◦ Should come out to $47.25 with GST and no shipping charges ◦ Make sure to create an Engenuics account so orders get matched up with people and schools

4  Start installing your software ◦ IAR may not work properly (should install fine though)  ‘Like’ Engenuics on Facebook!  Bookmark the MPG home page

5

6 Microprocessor RAM Video card Disk drives Sound card

7 Microcontroller Timers, Communications hardware, etc

 LPC2142 from NXP Semiconductors  ARM7TDMI processor core ◦ Original iPod ◦ PSP ◦ Nintendo DS ◦ Cell phone 8

 Communicates via 32-bit wide “bus”  Harvard architecture ◦ Single bus for instructions and data  Von Neumann ◦ Separate buses for instruction and data ◦ ARM7TDMI 8-bit data bus: 255 bytes of memory addressed 32-bit data bus: 4GB+ of memory addressed 9

10 Op Code travels on local bus Fetch Data retrieved from memory Decode Logic moves through functions Execute

11

12  Maximum clock speed: ◦ Max propagation delay = 1us ◦ Max clock speed = 1/1us = 1MHz  Propagation delay calculated at extremes ◦ Min supply voltage ◦ Max temperature ◦ Poorest conductor quality

13  Crystal oscillator ◦ Expensive, 2 carefully selected capacitors ◦ Precise, no drift over power supply ranges, temperature, etc  Resistor-capacitor (RC) oscillator ◦ Imprecise, depends on temperature, supply voltage, etc Speed example: 20 k ohm resistor, 100 pF capacitor Speed = 1/(RC) = 500kHz

14  Is 60 MHz really that slow? 1 MHz clock 1 Million cycles per second T = 1/f T = 1/1MHz T = 1us per instruction cycle 8 to 10 cycles per evaluation 1us x 10 cycles = 10us 10us for something useful!!

15 C CodeAssemblyMachine

16  Flash Memory ◦ Non-volatile: retained when no power is applied  Electrically Erasable and Programmable Read Only Memory (EEPROM) ◦ Electrically readable and writeable  One-Time Programmable (OTP) Memory ◦ One shot to program  EPROM ◦ Erased by shining UV light on chips

17 0x0 add R1, R2, R3 0x04 mov 5, R4 0x08 and R4, R3, R4 PC

18  Interrupts take control of the system and force a special function  Interrupt Service Routine (ISR) ◦ Not called by a line of code, initiated by event ◦ Regular program resumes from where it left off

19  Interrupt sources include input pins, on- board peripherals, core  Interrupt enable bit tells processor to activate or ignore the interrupt  Interrupt flag tells when interrupt event has occurred  Global interrupt enable (GIE) disables all interrupts simultaneously

20  Interrupt sources include input pins, on- board peripherals, core  Interrupt enable bit tells processor to activate or ignore the interrupt  Interrupt flag tells when interrupt event has occurred  Global interrupt enable (GIE) disables all interrupts simultaneously

21  IAR development system tools  Integrated development environment (IDE)  Embedded Workbench (EW)