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.

Slides:



Advertisements
Similar presentations
Introduction to PIC Microcontrollers
Advertisements

Developing an AVR Microcontroller System
Chapter 5 Computing Components. 2 Chapter Goals Read an ad for a computer and understand the jargon List the components and their function in a von Neumann.
CPU Review and Programming Models CT101 – Computing Systems.
ECP2036 Microprocessor and Interfacing
1-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL
The Central Processing Unit: What Goes on Inside the Computer.
Computer Architecture Abhinav Agarwal Veeramani V.
CHAPTER 1 THE 8051 MICROCONTROLLERS. Microcontroller vs. General- Purpose Microprocessor General-purpose microprocessors have ◦ No RAM ◦ No ROM ◦ No I/O.
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
Chapter 5 Computing Components. The (META) BIG IDEA Cool, idea but maybe too big DATA – Must be stored somewhere in a storage device PROCESSING – Data.
Embedded Systems Programming
1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006.
The 8051 Microcontroller Architecture
0 What is a computer?  Simply put, a computer is a sophisticated electronic calculating machine that:  Accepts input information,  Processes the information.
© 2009 Acehub Vista Sdn. Bhd Introduction to ARM ® Processors.
Computer Organization and Assembly language
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Micro controllers A self-contained system in which a processor, support, memory, and input/output (I/O) are all contained in a single package.
ATMEL AVR 8 bit RISC MICROCONTROLLERS
MCU – Microcontroller Unit – 1 MCU  1 cip or VLSI core – application-specific.
Introduction to Microcontrollers Dr. Konstantinos Tatas
INTRODUCTION TO MICROCONTROLLER. What is a Microcontroller A microcontroller is a complete microprocessor system, consisting of microprocessor, limited.
Computer Architecture CST 250 INTEL PENTIUM PROCESSOR Prepared by:Omar Hirzallah.
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
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.
Part 1.  Intel x86/Pentium family  32-bit CISC processor  SUN SPARC and UltraSPARC  32- and 64-bit RISC processors  Java  C  C++  Java  Why Java?
Stuart Cunningham - Computer Platforms COMPUTER PLATFORMS Input, Output, and Storage & Introduction to Basic Computer Architecture Week 2.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
Computer Processing of Data
Computer architecture Microprocessor based computers.
Random access memory.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
Part 1.  Intel x86/Pentium family  32-bit CISC processor  SUN SPARC and UltraSPARC  32- and 64-bit RISC processors  Java  C  C++  Java  Why Java?
Microcontroller System Design Introduction- 1  Seattle Pacific University Take a microprocessor/ microcontroller chip How to Succeed in Life – The micro.
The AVR Microcontroller: History and Features
 Introduction to SUN SPARC  What is CISC?  History: CISC  Advantages of CISC  Disadvantages of CISC  RISC vs CISC  Features of SUN SPARC  Architecture.
HOW a Computer Works ? Anatomy of Microprocessor.
THE BRIEF HISTORY OF 8085 MICROPROCESSOR & THEIR APPLICATIONS
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:
Academic PowerPoint Computer System – Architecture.
Mikrodenetleyiciler/Mikrokontrol örler (Microcontrollers) Bu Sunu Adresindeki Video İçeriği Kullanılarak Hazırlanmıştır.
Lecture 7: Overview Microprocessors / microcontrollers.
Department of Electronic & Electrical Engineering Introduction to microcontrollers A microcontroller is a small computer on a single integrated circuit.
Capability of processor determine the capability of the computer system. Therefore, processor is the key element or heart of a computer system. Other.
Lecture # 10 Processors Microcomputer Processors.
Know Difference Between Microprocessors and Microcontrollers.
Hardware Architecture
Chapter 2 content Basic organization of computer What is motherboard
Mikrodenetleyiciler/Mikrokontrolörler (Microcontrollers)
Popular Microcontrollers and their Selection by Lachit Dutta
MICROCONTROLLER ARCHITECTURE & ASSEMBLY LANGUAGE PROGRAMMING
What is a computer? Simply put, a computer is a sophisticated electronic calculating machine that: Accepts input information, Processes the information.
Microcontroller Based Digital Code Lock
5 - How Computers Calculate - the ALU
AVR Microcontrollers Prepared By: Disha Ruparelia ( )
Introduction to Microprocessors
Why microcontrollers in embedded systems?
عمارة الحاسب.
Tiny Computers, Hidden Control
EE Embedded Systems Fall 2015
CISC AND RISC SYSTEM Based on instruction set, we broadly classify Computer/microprocessor/microcontroller into CISC and RISC. CISC SYSTEM: COMPLEX INSTRUCTION.
What is Computer Architecture?
Introduction to Computer Architecture
What is Computer Architecture?
What is Computer Architecture?
CHAPTER 1 THE 8051 MICROCONTROLLERS
CSE378 Introduction to Machine Organization
Presentation transcript:

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 portion of total computer use. Think how many computers you have at home Digital cameras, video cameras, TVs, mobile phones, calculators, micro-wave ovens etc all contain processors.

Numbers of machines You might have 1 or 2 Pentium class chips at home. (Each PC will also contain several embedded processors) You will have perhaps 10 to 20 other embeded computers in other devices. If you think of childrens toys, the numbers grow even higher.

Characteristics Embedded computers have to be very low cost, simple and reliable. They can not use any moving parts (disk drives) because: 1. These are power hungry 2. They are bulky 3. They are expensive

Features Program in Read Only Memory – ROM Limited RAM storage – variables only not code Built in I/O devices Use very little power

Families Zilog Z8 series Intel 8051 series Arm 32 bit microcontrollers MicroChip – PIC microcontrollers

Zilog This company did more than any other to spread use of microprocessors in the 1970s and early 80s with their Z80 micro. This was the mainstay of early personal computers.

Current Z80e has eZ80® core operating at speeds up to 50MHz-Achieves high performance On-chip 10/100BaseT Ethernet MAC (eZ80F91 only) -Enables low-cost network applications Up to 256KB on-chip Flash memory Up to 16KB on-chip SRAM This is a relatively high end micro controller

Intel 8051 This was one of the first microcontrollers to integrate ROM, RAM and I/O on one chip. Made by many other companies still, Amtel, Texas instruments etc.

8051Internal design

ARM series One of the first RISC processors 32 Bit architecture Low transitor count compared to conventional processors Very low power consumption Used in digital Phones and PDAs. At the top end of the micro-controller performance spectrum.

PIC Range of low end 8 bit microcontrollers. smallest have only 8 pins, largest 40 pins. Typical chip is an 18 pin one. Very cheap, you can pick them up at less than £1 each. Targeted at consumer products, burglar alarms etc.

Harvard architecture Like many micros the PIC is a Harvard not a von-Neumann machine This is simpler and faster

comparison

Advantages of Harvard model An add operation of the form a:=b+c must fetch 2 operands from memory and write 1 operand to memory. In addition it is likely to have to fetch 3 instructions from memory. With a single memory this will take 6 cycles. With 2 memories, we can fetch the instructions in parallel with the data and do it in 3 cycles. We have different word lengths for instructions and data – 8 bit data and perhaps 12 bit instructions.

Add const to W path φ 1

Add constants Constants can only be added to W reg since the same bits in the instruction are used to encode register addresses as are used to encode constants

phase1 reg[f]=reg[f]+w register address F contents of reg[f]

write result reg[f]=reg[f]+w

Destinations Look at the output of the ALU, it can go either to reg[f] or to W register. Either can be the destination of a calculation. By understanding the bus structure of a CPU you can see what sort of instructions are possible.