Introduction and Motivation Microcontrollers vs. microprocessors uC: A complete computer system optimized for h/w control that encapsulates processor,

Slides:



Advertisements
Similar presentations
Developing an AVR Microcontroller System
Advertisements

Computer Memory and Data Transfer
ECP2036 Microprocessor and Interfacing
Microprocessors. Von Neumann architecture Data and instructions in single read/write memory Contents of memory addressable by location, independent of.
Microcontroller – PIC – 4 PIC types PIC architecture
1-1 Microprocessor Engineering Microprocessor Systems Microcontrollers Infineon 16-bit Processor Family  specifically 167CS microcontroller C Programming.
COMP3221: Microprocessors and Embedded Systems Lecture 2: Instruction Set Architecture (ISA) Lecturer: Hui Wu Session.
Read Chapter 3 (David E. Simon, An Embedded Software Primer)
Smarter systems and the PIC® 18FXX2 Chapter One 12.1 – 12.5 Dr. Gheith Abandah1.
The 8051 Microcontroller Architecture
Microcontroller based system design
Computer Organization and Assembly language
Embedded System Spring, 2011 Lecture 3: The PIC Microcontrollers Eng. Wazen M. Shbair.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
ATMEL AVR 8 bit RISC MICROCONTROLLERS
Introduction to Microcontrollers Dr. Konstantinos Tatas
1 © Unitec New Zealand Embedded Hardware ETEC 6416 Date: - 10 Aug,2011.
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
AVR Microcontrollers.
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
Lecture 8 Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
1 AVR Session 2 Master : Dr.jafari Authors: M.H Edrisi, hadi.edrisi yyyy aaaa hhhh oooo oooo.... cccc oooo mmmm.
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.
EGRE 6311 Midsize Microcontrollers and Microprocessors The 8051 is an example of a small inexpensive microcontroller intended for simple applications.
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
Basic information. * Microcontrollers incorporate the microprocessor, memory and input/output interfaces all on one chip * Microcontrollers have a separate.
ATMEL AVR 8 bit RISC MICROCONTROLLERS a general comparison.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Introduction to Microprocessors
Embedded System. What is an Embedded System? Computing systems embedded within electronic devices Hard to define – Nearly any computing system other than.
MICROOCESSORS AND MICROCONTROLLER:
Lecture 7: Overview Microprocessors / microcontrollers.
Department of Electronic & Electrical Engineering Introduction to microcontrollers A microcontroller is a small computer on a single integrated circuit.
The Evolution of the Intel 80x86 Architecture Chad Derrenbacker Chris Garvey Manpreet Hundal Tom Opfer CS 350 December 9, 1998.
Components of a typical full-featured microcontroller.
Embedded Systems Overview Prepared by Nisha Sinsinbar Subject: Microcontoller & Interfacing Sub code: EC Department.
Modified Harvard architecture 8-bit RISC single chip microcontroller Complete System-on-a-chip On Board Memory (FLASH, SRAM & EEPROM) On Board Peripherals.
Know Difference Between Microprocessors and Microcontrollers.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
ALPHA COLLEGE OF ENGINEERING & TECHNOLOGY Introduction to AVR ATMega32 Architecture PREPARED BY SHWETA ( ) BHOOMI ( ) YOGEN ( )
Overview AvrEmbedded128_Pro RTLab. 김태현. Atmega128 Features High-performance, Low-power AVR® 8-bit Microcontroller advanced RISC Architecture – 133 Powerful.
STUDY OF PIC MICROCONTROLLERS.. Design Flow C CODE Hex File Assembly Code Compiler Assembler Chip Programming.
Popular Microcontrollers and their Selection by Lachit Dutta
SHRI S’AD VIDYA MANDAL INSTITUTE OF TECHNOLOGY
PROGRAMMABLE LOGIC CONTROLLERS SINGLE CHIP COMPUTER
Government Engg College Bhuj E. C. Engg. Department
ATMEL AVR 8 bit RISC MICROCONTROLLERS
MICROCONTROLLER ARCHITECTURE & ASSEMBLY LANGUAGE PROGRAMMING
AVR ATMEGA 8 MICRO-CONTROLLER
MCI PPT AVR MICROCONTROLLER Mayuri Patel EC-1 5th sem
MCU – Microcontroller Unit – 2
BITS EDU. CAMPUS , VARNAMA
Modified Harvard Architectures
Lecture on Microcomputer
AVR Microcontrollers Prepared By: Disha Ruparelia ( )
The Arduino Microcontroller: Atmel AVR Atmega 328
عمارة الحاسب.
Introduction to Microprocessors and Microcontrollers
میکرو کنترلر های AVR مدرس: مسعود بهمن پور
ریز پردازنده. ریز پردازنده مراجع درس میکروکنترلرهای AVR برنامه نویسی اسمبلی و C محمدعلی مزیدی، سپهر نعیمی و سرمد نعیمی مرجع کامل میکروکنترلرهای AVR.
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Architectural Overview
מבנה בסיסי של מיקרו בקר מבוא למיקרו מבנה בסיסי דיאגרמת מלבנים
Lecturer: Reza Arjmandi Autumn 2015
Computers: Tools for an Information Age
Manual Robotics ..
Introduction to Microprocessor Programming
Microcontroller – 2 PIC.
Computers: Tools for an Information Age
Presentation transcript:

Introduction and Motivation Microcontrollers vs. microprocessors uC: A complete computer system optimized for h/w control that encapsulates processor, memory, i/o on a single chip. A uC is a uP with peripherals and memory. uP: Z80, 8088, 68040, 68HC09, Pentium4 uC: 8051, AVR, PIC, Rabbit Microcontrollers as: -logic devices -reusable hardware RISC vs CISC....whats the difference?

Introduction and Motivation Microcontrollers vs. microprocessors Microprocessors can be fairly straightforward..... program counter register file accumulator decode/control AL U address data

Introduction and Motivation Microcontrollers vs. microprocessors While microcontrollers have many different specialized internal units..... program counter register file accumulator decode/control AL U usart0 usart1 tcnt0 tcnt1 tcnt2 tcnt3 adc usb twi watchdog oscillator async oscillator i/o port A i/o port G i/o port C i/o port D i/o port E i/o port F i/o port B program memory data memory EEPROM

Introduction and Motivation Microcontrollers vs. microprocessors Microcontrollers usually lack cache memory – Why? Microcontrollers are usually very RISC-like - Why? Microcontrollers don't have very high clock rates – Why? Microcontrollers have separate program and data memory – Why? Microcontrollers have limited stack depth – Why? Microcontrollers have a different instruction set – Why? Microcontrollers have flash program memory – Why? Microcontrollers typically have internal EEPROM - Why?

Introduction and Motivation Microcontrollers change the way of solving hardware problems. With so much built-in peripheral logic included on a uC, we can think of them as complex logic chips. Suppose you want to design a 4-digit digital voltmeter with LED display. Do a quick back of the envelope design. (10min)

Introduction and Motivation Microcontrollers change the way of solving hardware problems How many chips did your discrete voltmeter take? At $.075/chip what was the part cost? How many wires did it take? How big a PCB would it take? What if you needed it to be IR remote controlled and have a LCD display. Would you need to start on a new design?

Microcontrollers change the way of solving hardware problems Either design, and 100's of others could be done with a single uC. Add a pushbutton and it could be a frequency counter. Add a shaft encoder and it can be a audio frequency generator Add a RF transceiver and it could be a Mars rover! Introduction and Motivation

What microcontrollers are out there? the grandpa of uCs -20+ years old and going strong -installed code base very large -12 cycles/instruction, some now run at 4 cycles/instruction -clock frequencies up to 50Mhz -dog ugly architecture (but so is x86!) PIC -cockroach of uC's (16F84, 16F628) -low power, medium speed, -very large product family, many variations -ugly architecture / register banks, single accumulator Introduction and Motivation

What microcontrollers are out there? AVR -includes ATtiny, AT23xx through Mega series -modern RISC architecture, mostly single cycle instruction -optimized for C execution -reasonably fast with emphasis on low power operation -clock frequencies up to 16Mhz -clean architecture (looks like a crippled MIPS uP) Rabbit Semiconductor Z8 Encore! (Zilog Z80/Z8 derivatives) Hitachi H8 Motorola HC908, Coldfire (68k derivatives) Many others Introduction and Motivation