Dec Hex Bin 1 1 00000001 Prof. Sari Kulthm. MICROPROCESSORS – CET2123C Lecture 2 – HCS History and Features.

Slides:



Advertisements
Similar presentations
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc.
Advertisements

Microcontroller – 3 PIC.
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
Course Overview and The 8051 Architecture
The 8051 Microcontroller and Embedded Systems
Chapter 1 The 8051 Microcontroller
CHAPTER 1 THE 8051 MICROCONTROLLERS. Microcontroller vs. General- Purpose Microprocessor General-purpose microprocessors have ◦ No RAM ◦ No ROM ◦ No I/O.
Tuan Tran. What is CISC? CISC stands for Complex Instruction Set Computer. CISC are chips that are easy to program and which make efficient use of memory.
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
 CPU: Central Processing Unit  I/O: Input /Output  Bus: Address bus & Data bus  Memory: RAM & ROM  Timer  Interrupt  Serial Port  Parallel Port.
Microcontroller – PIC – 4 PIC types PIC architecture
STUDY OF THE ARIZONA MICROCHIP MICRO CONTROLLERS MOSTEFA GHASSOUL DAMMAM TECHNICAL COLLEGE
The 8051 Microcontroller Architecture
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
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.
Khaled A. Al-Utaibi  Microprocessors  Microcontrollers  Embedded Systems.
1 The 8051 Microcontroller and Embedded Systems CHAPTER INTERFACING TO EXTERNAL MEMORY.
ATMEL AVR 8 bit RISC MICROCONTROLLERS
Introduction to Microcontrollers Dr. Konstantinos Tatas
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.
MICROCONTROLLERS. What is a microcontroller? A microcontroller is a nifty little gadget that houses a microprocessor, ROM (Read Only Memory), RAM (Random.
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
ECE Lecture 1 1 Introduction to Microcontrolllers Department of Electrical and Computer Engineering The Ohio State University ECE 2560.
Your Interactive Guide to the Digital World Discovering Computers 2012 Lecture -1.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
The 8051 Microcontroller and Embedded Systems
ECE Lecture 1 Microcontroller Concepts. Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device Data.
1 The /27/ Today over fifty companies produce variations of the Several of these companies have over fifty versions of the 8051.
ATMEL AVR 8 bit RISC MICROCONTROLLERS a general comparison.
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.
The AVR Microcontroller: History and Features
Introduction to Microprocessors
ARM Assembly Language Programming by Mazidi et al
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:
This course is designed by Dr. Khaled A. Al-Utaibi.
What is a Microprocessor ? A microprocessor consists of an ALU to perform arithmetic and logic manipulations, registers, and a control unit Its has some.
Presented by Sadhish Prabhu
Lecture 7: Overview Microprocessors / microcontrollers.
Components of a typical full-featured microcontroller.
AHMEDABAD INSTITUTE OF TECHNOLOGY
THE PPT OF THE FINAL YEAR PROJECT OF B-TECH ECE (4-TH YEAR) UNDER THE GUIDANCE OF SWARASATI SAHA,LECTURER OF DEPARTMENT OF ECE IS SUBMITTED BY- ARIJIT.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
Embedded Systems. What is Embedded Systems?  Embedded reflects the facts that they are an integral.
ALPHA COLLEGE OF ENGINEERING & TECHNOLOGY Introduction to AVR ATMega32 Architecture PREPARED BY SHWETA ( ) BHOOMI ( ) YOGEN ( )
Introduction to Microcontrollers
INTRODUCTION TO AVRASSEMBLY PROGRAMMING
The 8051 Microcontroller architecture
Popular Microcontrollers and their Selection by Lachit Dutta
Hoda Roodaki AVR Family Overview Hoda Roodaki
Government Engg College Bhuj E. C. Engg. Department
ATMEL AVR 8 bit RISC MICROCONTROLLERS
Microprocessors and Programming Department of Mechatronics Engineering
Microcontroller Based Digital Code Lock
MCU – Microcontroller Unit – 2
AVR Microcontrollers Prepared By: Disha Ruparelia ( )
Why microcontrollers in embedded systems?
Chapter 1: The 8051 Microcontrollers
Introduction to Microprocessors and Microcontrollers
Lecture 3 - Instruction Set - Al
EE Embedded Systems Fall 2015
Central Processing Unit
CISC AND RISC SYSTEM Based on instruction set, we broadly classify Computer/microprocessor/microcontroller into CISC and RISC. CISC SYSTEM: COMPLEX INSTRUCTION.
Microcontroller – 2 PIC.
CHAPTER 1 THE 8051 MICROCONTROLLERS
Microprocessors and Programming Department of Mechatronics Engineering
Presentation transcript:

Dec Hex Bin Prof. Sari Kulthm. MICROPROCESSORS – CET2123C Lecture 2 – HCS History and Features

Compare and contrast microprocessors and microcontrollers. Describe the advantages of microcontrollers for some applications. Explain the concept of embedded systems. Discuss criteria for considering a microcontroller. Explain the variations of speed, packaging, memory. Understand cost per unit and how these affect choosing a microcontroller. OBJECTIVES this chapter enables the student to:

Explain the evolution of 68xx microcontrollers. Compare and contrast the various members of the HCS12 family. Give the history and features of HCS12/9S12 microcontrollers. OBJECTIVES this chapter enables the student to: (cont)

By microprocessor we mean the general-purpose microprocessors such as Intel’s x86 family.  8086, 80286, 80386, 80486, Pentium  or Motorola’s PowerPC family These microprocessors contain no RAM, no ROM, and no I/O ports on the chip itself. For this reason, they are commonly referred to as general-purpose microprocessors.  see fig Microcontrollers and Embedded Processors - descriptions/differences

A microcontroller has a CPU, a fixed amount of RAM & ROM, I/O ports & timer all on a single chip. 1.1Microcontrollers and Embedded Processors - descriptions/differences Figure 1-1 Microprocessor System Contrasted with Microcontroller System The design makes them ideal for applications in which cost and space are critical.

An embedded product is controlled by its own internal microprocessor (or microcontroller) as opposed to an external controller.  typically the microcontroller’s ROM is burned with a purpose for specific functions needed for the system A printer is an embedded system because the processor inside performs one task only.  namely, getting the data and printing it Contrast this with any x86 IBM-compatible PC, which can be used for any number of applications. 1.1Microcontrollers and Embedded Processors - embedded systems

Table 1-1 lists some embedded products. 1.1Microcontrollers and Embedded Processors - embedded systems

Sometimes a microcontroller is inadequate for the task. Manufacturers such as Intel, Freescale Semiconductor, and AMD have targeted their microprocessor for the high end of the embedded market. These processors are often called high-end embedded processors. Very often the terms embedded processor and microcontroller are used interchangeably. 1.1Microcontrollers and Embedded Processors - embedded applications

A critical need of an embedded system is to decrease power consumption and space.  trend is to integrate more & more functions on the CPU and let designers decide which features to use Many companies have a chip that contains the entire CPU and all the supporting logic and memory, except for DRAM.  the entire computer on a single chip Due to Linux, MS-DOS & Windows standardization, many embedded systems use x86 PCs. 1.1Microcontrollers and Embedded Processors - embedded applications

There are five major 8-bit microcontrollers. Freescale Semiconductor (formerly Motorola) 68HC08/68HC11/12 Intel 8051 Atmel AVR Zilog Z8 PIC from Microchip Technology. Each has a unique instruction set and register set.  therefore, they are not compatible with each other 1.1Microcontrollers and Embedded Processors - choosing microcontrollers

Three criteria for choosing microcontrollers: Meeting the computing needs of the task at hand.  efficiently and cost effectively 8-, 16-, 32-bit? Other considerations…  highest speed the microcontroller supports?  chip packaging; power consumption  amount of RAM and ROM on the chip  number of I/O pins and the timer on the chip  ease of upgrade to higher-performance versions  cost per unit 1.1Microcontrollers and Embedded Processors - criteria for choosing

Availability of software/hardware development tools.  assembler, debugger, a code-efficient C language compiler, emulator, tools, technical support, and both in-house and outside expertise Third-party vendor support for a chip can be as good as, if not better than, support from the chip manufacturer. 1.1Microcontrollers and Embedded Processors - criteria for choosing

For some designers, ready availability in needed quantities both now and in the future is even more important than the first two criteria. The 8051 family has the largest number of diversified (multiple source) suppliers.  over fifty companies currently produce the 8051 Freescale, Atmel, Zilog, and Microchip Technology have all dedicated massive resources to ensure their products are stable, mature, and single sourced. 1.1Microcontrollers and Embedded Processors - criteria for choosing

The microcontroller is playing a major role in an emerging field called mechatronics. Mechatronic systems involves finding an optimal balance between the basic mechanical structure, sensor and actuator implementation, automatic digital information processing and overall control. Requires multi disciplinary expertise across a range of disciplines, such as: mechanical engineering, electronics, information technology, and decision making theories. 1.1Microcontrollers and Embedded Processors - mechatronics

In 1974, Motorola introduced the 8-bit 6800 microprocessor.  3 years after Intel had introduced the 4004 In the 80s, the Intel 8085 and 68xx from Motorola dominated the 8-bit microprocessor market.  eventually both companies introduced microcontrollers Intel used a whole new architecture called  not based on Overview of the CPU12 and CPU08 brief history of the 68xx microprocessor

80’s microcontrollers had small amounts of RAM, a few Kbytes of ROM for the program, a couple of timers, and many pins for I/O ports.  on a single 40-pin chip 1.2Overview of the CPU12 and CPU08 brief history of the 68xx microprocessor Figure 1-2Simplified View of a Microcontroller This changed in the 90s with PIC microcontrollers from Microchip.

To increase performance of 68HC11, Motorola introduced the 16-bit 68HC12 in  the term CPU12 refers to the 16-bit architecture of the 68HC12 CPU12 instructions are a superset of the 68HC11 instruction set  code written for 68HC11 can be run on a CPU12 For those who have mastered one family, understanding the other family is easy.  since the CPU08 is a subset of the CPU12 1.2Overview of the CPU12 and CPU08 brief history of the 68xx microprocessor

In 2004, the semiconductor division of Motorola became a separate and independent entity called Freescale Semiconductor.  put massive efforts and resources into revamping the microcontroller products The goal is “easy migration between Freescale's 8-bit family and 32-bit ColdFire devices. Designers can develop new applications using the same software and hardware development tools for both 8-bit and 32-bit MCUs. 1.2Overview of the CPU12 and CPU08 Motorola to Freescale

HCS and RS chips - advances in chip design led to more power-efficient CMOS technology.  HC (high-density CMOS) in the Freescale products The HCS08/HCS12 and RS08/S12 series increase performance and the features of microcontrollers while keeping the power consumption low. The HCS08/HCS12 and RS08/S12 series have been the answers to these challenges. See the Freescale website for more information Overview of the CPU12 and CPU08

CPU08 and CPU12 features - on-chip program (code) ROM, data RAM, timers, ADC, and USART (Universal Synchronous Asynchronous Receiver Transmitter) and I/O ports.  all have peripherals such as timers, ADC (analog-to-digital converter), and USART Microcontroller program ROM type - program ROM size can vary from a few kilobytes to several megabytes, depending on the family member.  available in Flash, OTP, and masked 1.2Overview of the CPU12 and CPU08

Microcontroller with UV-EPROM - some of the microcontrollers used UV-EPROM for on-chip program ROM.  requires a PROM burner and a UV-EPROM eraser Microcontrollers with Flash - is ideal for fast development and used in place of the UV-EPROM.  a separate eraser is not needed OTP version of the microcontroller - one-time- programmable versions of the microcontroller are also available from manufacturers. 1.2Overview of the CPU12 and CPU08

Masked version of microcontroller - send in your program, a chipmaker will burn the program into the chip during the fabrication process of the chip.  cheapest of all types, if unit numbers are high enough  there is a minimum order for the masked version of the microcontrollers Microcontroller peripherals - ADC (analog-to- digital converter), timers, and USART are standard peripherals.  including the CPU08 and CPU12 family members 1.2Overview of the CPU12 and CPU08

1.2Overview of the CPU12 and CPU08 Freescale chip identification Figure 1-6Freescale Chip Identification Scheme

Microcontroller data RAM and EEPROM - RAM space from a few hundred bytes to several kilobytes.  EEPROM is optional, mainly for storage of critical data Microcontroller I/O pins - 8 to 100 pins dedicated for I/O.  depends on number of pins in the package, varies widely BDM (background debug mode) - allows us to examine contents of the CPU such as RAM, ROM, and registers as we trace and debug the program. 1.2Overview of the CPU12 and CPU08

Other microcontrollers - include the 8051, PIC18, AVR, and Z8. 1.2Overview of the CPU12 and CPU08 other companies and controllers AVR is made by Atmel Corp. Microchip makes the PIC18F/PIC16F. Zilog produces the Z8 microcontroller.

END ;Chapter One Dec Hex Bin The HCS12/9S12 Microcontroller: History and Features