INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing

Size: px
Start display at page:

Download "INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing"

Transcription

1 UNIVERSIDADE TÉCNICA DE LISBOA INSTITUTO SUPERIOR TÉCNICO Departamento de Engenharia Informática Architectures for Embedded Computing MEIC-A, MEIC-T, MERC Lecture Slides Version English Lecture 21 Title: s and Summary: Architectures; Examples of current devices. 2010/2011 Nuno.Roma@ist.utl.pt

2 Architectures for Embedded Computing s and Prof. Nuno Roma ACE 2010/11 - DEI-IST 1 / 47 Previous Class In the previous class... Digital Signal Processors (DSP) Architectures TMS320C55 Parallelism exploitation (SIMD, VLIW) TMS320C6x DSP market and their future Prof. Nuno Roma ACE 2010/11 - DEI-IST 2 / 47

3 Road Map Prof. Nuno Roma ACE 2010/11 - DEI-IST 3 / 47 Summary Today: s & : Architectures; Examples of current devices. Prof. Nuno Roma ACE 2010/11 - DEI-IST 4 / 47

4 Prof. Nuno Roma ACE 2010/11 - DEI-IST 5 / 47 Processing unit particularly suited to the control of simple procedures or devices in embedded systems; Processor families: General Purpose Processors (GPP): transfer and data manipulation operations (MOVs); conditional execution operations (IF... ELSE...); Digital Signal Processors (DSP): mathematical computation (mainly, multiplications); s: interface with the outside world (peripherals). Common applications: control, actuators, instrumentation, etc. Prof. Nuno Roma ACE 2010/11 - DEI-IST 6 / 47

5 Application examples Personal appliances: Cellular phones; Watches; Calculators; PDAs. Computer components: Mouse; Keyboards; Modem; Fax; Battery charger. Prof. Nuno Roma ACE 2010/11 - DEI-IST 7 / 47 Application Examples Home appliances: Alarms; Thermostats; Ar conditioners; Remote controllers; Most domestic machines. Industrial applications: Industrial robots (manipulators); Belt conveyor systems; Lifts; Automatic control; Instrumentation. Prof. Nuno Roma ACE 2010/11 - DEI-IST 8 / 47

6 Application Examples Car industry: On-board computer; Controllers of traction, injection, transmission, break (ABS), etc.; Air bag; Air conditioning; Instrumentation. Entertainment: Video games; Consoles; Toys. Prof. Nuno Roma ACE 2010/11 - DEI-IST 9 / 47 GPPs versus s General Purpose Processors (GPPs): CPU, Memory and IO integrated in a single chip, board or several boards. Prof. Nuno Roma ACE 2010/11 - DEI-IST 10 / 47

7 GPPs versus s General Purpose Processors (GPPs): CPU, Memory and IO integrated in a single chip, board or several boards. s: CPU, Memory, IO and peripherals integrated in a single chip. Prof. Nuno Roma ACE 2010/11 - DEI-IST 10 / 47 GPPs versus s General Purpose Processors (GPPs): High performance CPU, in an independent chip; Absence of any RAM, ROM and IO modules in the CPU chip: The used memory space should be defined and adjusted according to each particular application; Peripherals (timer, serial port, etc.) are external to the CPU chip. Expansible, versatile and general purpose Prof. Nuno Roma ACE 2010/11 - DEI-IST 11 / 47

8 GPPs versus s s: CPU with few resources (e.g.: 8-bits); RAM, ROM and IO integrated within the CPU chip; The available memory space is fixed; Peripherals integrated within the CPU chip. Suitable for low-cost and restricted (power, HW, etc.) applications Prof. Nuno Roma ACE 2010/11 - DEI-IST 12 / 47 GPPs versus s Adopted architectures: Von Neumann architecture: Single memory shared by program and data; The processor is interconnected by a data and an address bus. Harvard architecture: Separated memories for program and data; Independent data data and address buses for each memory device. Prof. Nuno Roma ACE 2010/11 - DEI-IST 13 / 47

9 s CPU and Peripherals Simple CPU, implemented either with: Single-cycle state machine; Control unit with a state machine; Microprogrammed control unit; Very simple pipeline. On-chip peripherals: I/O ports; RAM and ROM memories; Timer; Interruptions controller; USART; Parallel port; etc. Prof. Nuno Roma ACE 2010/11 - DEI-IST 14 / 47 s Families Most manufacturers offer a wide set of devices, with different performance levels; Processing power: 4-bits, 8-bits, 16-bits, 32-bits: 8-bits microcontrollers are the most widely adopted and used by the majority of the applications; 32-bits and 64-bits are only requested by very specialized and reduced markets, with very specific requisites: Communications; Signal processing; Video processing; etc. Prof. Nuno Roma ACE 2010/11 - DEI-IST 15 / 47

10 s Families Atmel AVR ARM Intel 8-bit 8XC42 MCS48 MCS51 8xC bit MCS96 MXS296 Microchip 12-bit instruction PIC 14-bit instruction PIC PIC16F84 16-bit instruction PIC National Semiconductor COP8 NEC Motorola 8-bit 68HC05 68HC08 68HC11 16-bit 68HC12 68HC16 32-bit 683xx SGS/Thomson ST62 Texas Instruments TMS370 MSP430 Zilog Z8 Z86E02 Prof. Nuno Roma ACE 2010/11 - DEI-IST 16 / 47 s Market Market: About 16 Billions, in 2000; 8-bits microcontrollers satisfy half of the market needs! Dominant microcontrollers: Microchip 16Fxx Intel 8051 Motorola MC68HC05 National COP800 SGS/Thomson ST62 Zilog Z86Cxx Prof. Nuno Roma ACE 2010/11 - DEI-IST 17 / 47

11 s Market Prof. Nuno Roma ACE 2010/11 - DEI-IST 18 / 47 Intel MCS-51 s Family Intel 8051 microcontroller Prof. Nuno Roma ACE 2010/11 - DEI-IST 19 / 47

12 Intel MCS-51 s Family 8-bits microcontroller; Introduced in the market by Intel (8051) by the end of the 1970 s; One of the most popular microcontrollers (about 40% of the market); Today, it is produced by several manufacturers in different formats: Intel: 8751 microcontroller UV-EPROM Atmel: AT89C51, Flash (erase before write) Dallas Semiconductor: DS5000 NV-RAM, RTC Philips: 8051 AD, DA, extended I/O, OTP and flash Prof. Nuno Roma ACE 2010/11 - DEI-IST 20 / 47 Intel MCS-51 s Family CPU, RAM, ROM, I/O, interrupt logic, timer, etc. in a single chip; 8-bits data bus; 16-bits address bus: can accede 2 16 =64 kb memory positions (RAM and ROM); On-chip RAM bytes ( Data Memory ); On-chip ROM - 4 kb ( Program Memory ); 4-bytes bi-directional IO port; UART (serial port); 2 16-bit counters/timers; Interrupt controller (2 priority levels); Low-power mode. Prof. Nuno Roma ACE 2010/11 - DEI-IST 21 / 47

13 Intel MCS-51 s Family Architecture: Prof. Nuno Roma ACE 2010/11 - DEI-IST 22 / 47 Intel MCS-51 s Family Prof. Nuno Roma ACE 2010/11 - DEI-IST 23 / 47

14 Intel MCS-51 s Family Some elements of the 8051 family: Prof. Nuno Roma ACE 2010/11 - DEI-IST 24 / 47 Intel MCS-51 s Family Internal peripherals: Parallel IO ports; Clock generator; Serial port; Timers; Interrupt controller. Prof. Nuno Roma ACE 2010/11 - DEI-IST 25 / 47

15 Intel MCS-51 s Family Parallel IO ports: Each port can be configured either for input or output; The direction is defined by special registers. Prof. Nuno Roma ACE 2010/11 - DEI-IST 26 / 47 Intel MCS-51 s Family Serial port: Data is sent/received serially; The transmission rate (BAUD rate) and the transmission mode are configured with specific registers (SFR). Prof. Nuno Roma ACE 2010/11 - DEI-IST 27 / 47

16 Intel MCS-51 s Family 2 internal timer: Each timer increments the counter at each clock cycle; The count limit is configured using specific timer registers (TH0, TL0, TH1, TL1); The current count value can be read in registers TH0, TL0, TH1, TL1; At the end of the count: An interruption is generated; Dedicated bits at SFR register are activated. Prof. Nuno Roma ACE 2010/11 - DEI-IST 28 / 47 Intel MCS-51 s Family Interrupt controller: 5 types of interruption: Timer 1 Overflow; Timer 2 Overflow; External interruption 1; External interruption 2; Serial port event (buffer full, buffee empty, etc.). Interruptions are activated/inhibited using the SFR register. Prof. Nuno Roma ACE 2010/11 - DEI-IST 29 / 47

17 Microchip s PIC Family Large microcontrollers (PIC) family: Wide processing capacity offer: 8, 16 or 32 bits; Several (memory) addressing spaces available: RAM ROM EEPROM Flash Advanced communication peripherals and protocols. Prof. Nuno Roma ACE 2010/11 - DEI-IST 30 / 47 Microchip s PIC Family PIC microcontrollers family: Prof. Nuno Roma ACE 2010/11 - DEI-IST 31 / 47

18 Microchip s PIC Family Vast set of peripherals and protocols: Communication peripherals and protocols: RS232/RS485 SPI I 2 C CAN USB TCP/IP Ethernet Control and timer peripherals: Acquisition and comparison Pulse Width Modulation (PWM) Counters and timers Watchdogs Visual peripherals: LED drivers LCD drivers Analog peripherals: A/D converters up to 12-bits D/A converters Comparators and signal amplifiers Voltage detectors Temperature sensors Oscillators Voltage references Voltage regulators Prof. Nuno Roma ACE 2010/11 - DEI-IST 32 / 47 Prof. Nuno Roma ACE 2010/11 - DEI-IST 33 / 47

19 - Are they another particular application of microcontrollers? Prof. Nuno Roma ACE 2010/11 - DEI-IST 34 / 47 Appeared in the beginning of the 1970 s, but... Only by the beginning of the 1980 s were the supporting technologies developed. Two types of cards appeared: Memory card (without CPU); Card with microprocessor. Prof. Nuno Roma ACE 2010/11 - DEI-IST 35 / 47

20 Applications: Information technology: Secure access and user authentication; Storage of digital certificates and passwords; Encryption of critical data; Cellular phones (GSM) Subscriber authentication; Data storage; e-commerce: e-banking and e-payments; Identification and access control (tickets); Parking; Phone credit (decrement of a credit counter). Prof. Nuno Roma ACE 2010/11 - DEI-IST 36 / 47 WITHOUT microprocessor: They are usually based on the I 2 C bus (serial memory); Typical storage space: 256 Bytes; EEPROM memory: Non-volatile; write/erase cycles; 10ms to write a given cell or a group of cells; Low cost. Prof. Nuno Roma ACE 2010/11 - DEI-IST 37 / 47

21 WITH microprocessor Processor: Usually, MHz. E.g.: Intel s 8051; Memory: ROM (16 kbytes - 32 kbytes) for the operating system; RAM (256 Bytes Bytes) for data; EEPROM (4 kbytes - 16 kbytes) for persistent data; ROM size 4 EEPROM size 16 RAM size; File system supported on the installed memory; Small silicon area (5mm 2 ), due to space and energy restrictions. Prof. Nuno Roma ACE 2010/11 - DEI-IST 38 / 47 Communication: Contact-based; Contact-less (transmission with an antena); Serial protocol, 9600 bps. Prof. Nuno Roma ACE 2010/11 - DEI-IST 39 / 47

22 Power-supply: With battery; Without battery: the CPU is powered with an inductive circuit. Prof. Nuno Roma ACE 2010/11 - DEI-IST 40 / 47 Cipher algorithms: Public / Private key algorithms: RSA (Rivest-Shamir-Adleman): 1024 bits EC-167 (Elliptic Curve Cryptography): 167 bits Symmetric key algorithms: AES (Advanced Encryption Standard) 128/192/256 bits DES (Data Encryption Standard) 56/112 bits SG-LFSR (Shrinking Generator - Linear Feedback Shift Register) Prof. Nuno Roma ACE 2010/11 - DEI-IST 41 / 47

23 Dedicated commands to support secure / cryptography protocols: Access control: Examples: check key(), change key() Authentication: Examples: autenticate() Encryption: Examples: start encription(), stop encription() Atomic operations: Examples: exchange(), increment(), decrement() Prof. Nuno Roma ACE 2010/11 - DEI-IST 42 / 47 Other examples: Key generation to access e-banking systems: Prof. Nuno Roma ACE 2010/11 - DEI-IST 43 / 47

24 Other examples: Dallas ibutton: Applications: Access control; Storage; Security; Interface: Only two wires: Power + Data Ground Serial communication: 16kbps a 142kbps Prof. Nuno Roma ACE 2010/11 - DEI-IST 44 / 47 Other examples: Dallas ibutton: Functionality: Each unit has an unique address; When existent, the installed microprocessor has very scarce resources and is dedicated to the target application (e.g.: encryption engine). Available models: Address-only (ID only); Memory-only; Real-time clock; Authentication/encryption key; Sensor (thermometer, hydrometer); Data-logger. Prof. Nuno Roma ACE 2010/11 - DEI-IST 45 / 47

25 Prof. Nuno Roma ACE 2010/11 - DEI-IST 46 / 47 Dedicated architectures: Application Specific Instruction-set Processors (ASIPs) Architectures extensions: Instruction Set Architecture (ISA) extensions Prof. Nuno Roma ACE 2010/11 - DEI-IST 47 / 47

Embedded Systems. Computer Organization. Wednesday 25 November 15

Embedded Systems. Computer Organization. Wednesday 25 November 15 Embedded Systems Computer Organization Wednesday 25 November 15 Summary Previous Class Analog-Digital Interface Today: Embedded Systems Characteristics Architectures Complete Systems Computer Organization

More information

Basic Components of Digital Computer

Basic Components of Digital Computer Digital Integrated Circuits & Microcontrollers Sl. Mihnea UDREA, mihnea@comm.pub.ro Conf. Mihai i STANCIU, ms@elcom.pub.ro 1 Basic Components of Digital Computer CPU (Central Processing Unit) Control and

More information

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing UNIVERSIDADE TÉCNICA DE LISBOA INSTITUTO SUPERIOR TÉCNICO Departamento de Engenharia Informática for Embedded Computing MEIC-A, MEIC-T, MERC Lecture Slides Version 3.0 - English Lecture 22 Title: and Extended

More information

8051 MICROCONTROLLERS

8051 MICROCONTROLLERS 8051 MICRO The 8051 and Embedded Systems: Using Assembly and C Mazidi, Mazidi and McKinlay Chung-Ping Young 楊中平 Home Automation, Networking, and Entertainment Lab Dept. of Computer Science and Information

More information

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing UNIVERSIDADE TÉCNICA DE LISBOA INSTITUTO SUPERIOR TÉCNICO Departamento de Engenharia Informática Architectures for Embedded Computing MEIC-A, MEIC-T, MERC Lecture Slides Version 3.0 - English Lecture 16

More information

Computer Hardware Requirements for Real-Time Applications

Computer Hardware Requirements for Real-Time Applications Lecture (4) Computer Hardware Requirements for Real-Time Applications Prof. Kasim M. Al-Aubidy Computer Engineering Department Philadelphia University Real-Time Systems, Prof. Kasim Al-Aubidy 1 Lecture

More information

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Ali Karimpour Associate Professor Ferdowsi University of Mashhad AUTOMATIC CONTROL SYSTEMS Ali Karimpour Associate Professor Ferdowsi University of Mashhad Main reference: Christopher T. Kilian, (2001), Modern Control Technology: Components and Systems Publisher: Delmar

More information

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing UNIVERSIDADE TÉCNICA DE LISBOA INSTITUTO SUPERIOR TÉCNICO Departamento de Engenharia Informática Architectures for Embedded Computing MEIC-A, MEIC-T, MERC Lecture Slides Version 3.0 - English Lecture 11

More information

Lecture (01) Introducing Embedded Systems and the Microcontrollers By: Dr. Ahmed ElShafee

Lecture (01) Introducing Embedded Systems and the Microcontrollers By: Dr. Ahmed ElShafee Lecture (01) Introducing Embedded Systems and the Microcontrollers By: Dr. Ahmed ElShafee ١ Agenda What is microprocessor system? What is Microcontroller/embedded system? Definition of Embedded Systems

More information

Lecture 1. Course Overview and The 8051 Architecture

Lecture 1. Course Overview and The 8051 Architecture Lecture 1 Course Overview and The 8051 Architecture MCUniversity Program Lectures 8051 architecture t System overview of C8051F020 8051 instruction set System clock, crossbar and GPIO Assembler directives

More information

8051 Microcontroller

8051 Microcontroller 8051 Microcontroller The 8051, Motorola and PIC families are the 3 leading sellers in the microcontroller market. The 8051 microcontroller was originally developed by Intel in the late 1970 s. Today many

More information

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor 1 2 A microprocessor is a single, very-large-scale-integration (VLSI) chip that contains many digital circuits that perform arithmetic, logic, communication, and control functions. When a microprocessor

More information

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing UNIVERSIDADE TÉCNICA DE LISBOA INSTITUTO SUPERIOR TÉCNICO Departamento de Engenharia Informática Architectures for Embedded Computing MEIC-A, MEIC-T, MERC Lecture Slides Version 3.0 - English Lecture 07

More information

Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad

Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad Objectives To be familiar with microcontrollers, PIC18F4550 microcontroller. Tools PIC18F4550 Microcontroller, MPLAB software,

More information

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Ali Karimpour Associate Professor Ferdowsi University of Mashhad AUTOMATIC CONTROL SYSTEMS Ali Karimpour Associate Professor Ferdowsi University of Mashhad Main reference: Christopher T. Kilian, (2001), Modern Control Technology: Components and Systems Publisher: Delmar

More information

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers Lecture (4) Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers Prof. Kasim M. Al-Aubidy Philadelphia University-Jordan DERTS-MSc, 2015 Prof. Kasim Al-Aubidy 1 Lecture Outline:

More information

PIC Microcontroller and

PIC Microcontroller and PIC Microcontroller and Embedded d Systems Muhammad Ali Mazidi, Rolin McKinlay and Danny Causey Eng. Husam Alzaq The Islamic Uni. Of Gaza The PIC ucs 1-1 Chapter 1: The PIC Microcontrollers: History and

More information

The Microcontroller. Lecture Set 3. Major Microcontroller Families. Example Microcontroller Families Cont. Example Microcontroller Families

The Microcontroller. Lecture Set 3. Major Microcontroller Families. Example Microcontroller Families Cont. Example Microcontroller Families The Microcontroller Lecture Set 3 Architecture of the 8051 Microcontroller Microcontrollers can be considered as self-contained systems with a processor, memory and I/O ports. In most cases, all that is

More information

AVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab

AVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab AVR Training Board-I V., Konkuk Univ. Tae Pyeong Kim What is microcontroller A microcontroller is a small, low-cost computeron-a-chip which usually includes: An 8 or 16 bit microprocessor (CPU). A small

More information

VLSI Design Lab., Konkuk Univ. Yong Beom Cho LSI Design Lab

VLSI Design Lab., Konkuk Univ. Yong Beom Cho LSI Design Lab AVR Training Board-I V., Konkuk Univ. Yong Beom Cho ybcho@konkuk.ac.kr What is microcontroller A microcontroller is a small, low-cost computeron-a-chip which usually includes: An 8 or 16 bit microprocessor

More information

Embedded Systems Design (630414) Lecture 1 Introduction to Embedded Systems Prof. Kasim M. Al-Aubidy Computer Eng. Dept.

Embedded Systems Design (630414) Lecture 1 Introduction to Embedded Systems Prof. Kasim M. Al-Aubidy Computer Eng. Dept. Embedded Systems Design (630414) Lecture 1 Introduction to Embedded Systems Prof. Kasim M. Al-Aubidy Computer Eng. Dept. Definition of an E.S. It is a system whose principal function is not computational,

More information

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing UNIVERSIDADE TÉCNICA DE LISBOA INSTITUTO SUPERIOR TÉCNICO Departamento de Engenharia Informática Architectures for Embedded Computing MEIC-A, MEIC-T, MERC Lecture Slides Version 3.0 - English Lecture 14

More information

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing UNIVERSIDADE TÉCNICA DE LISBOA INSTITUTO SUPERIOR TÉCNICO Departamento de Engenharia Informática for Embedded Computing MEIC-A, MEIC-T, MERC Lecture Slides Version 3.0 - English Lecture 03 Title: Processor

More information

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems MT2 Introduction Embedded Systems MT2.1 Mechatronic systems Mechatronics is the synergistic integration of mechanical engineering, with electronics and intelligent computer control in the design and manufacturing

More information

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing UNIVERSIDADE TÉCNICA DE LISBOA INSTITUTO SUPERIOR TÉCNICO Departamento de Engenharia Informática Architectures for Embedded Computing MEIC-A, MEIC-T, MERC Lecture Slides Version 3.0 - English Lecture 05

More information

Architecture of Computers and Parallel Systems Part 6: Microcomputers

Architecture of Computers and Parallel Systems Part 6: Microcomputers Architecture of Computers and Parallel Systems Part 6: Microcomputers Ing. Petr Olivka petr.olivka@vsb.cz Department of Computer Science FEI VSB-TUO Architecture of Computers and Parallel Systems Part

More information

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing UNIVERSIDADE TÉCNICA DE LISBOA INSTITUTO SUPERIOR TÉCNICO Departamento de Engenharia Informática Architectures for Embedded Computing MEIC-A, MEIC-T, MERC Lecture Slides Version 3.0 - English Lecture 12

More information

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing UNIVERSIDADE TÉCNICA DE LISBOA INSTITUTO SUPERIOR TÉCNICO Departamento de Engenharia Informática Architectures for Embedded Computing MEIC-A, MEIC-T, MERC Lecture Slides Version 3.0 - English Lecture 06

More information

Network Embedded Systems Sensor Networks Fall Hardware. Marcus Chang,

Network Embedded Systems Sensor Networks Fall Hardware. Marcus Chang, Network Embedded Systems Sensor Networks Fall 2013 Hardware Marcus Chang, mchang@cs.jhu.edu 1 Embedded Systems Designed to do one or a few dedicated and/or specific functions Embedded as part of a complete

More information

Engr. A. N. Aniedu Electronic and Computer Engineering Nnamdi Azikiwe University, Awka

Engr. A. N. Aniedu Electronic and Computer Engineering Nnamdi Azikiwe University, Awka Engr. A. N. Aniedu Electronic and Computer Engineering Nnamdi Azikiwe University, Awka INTRODUCTION Microcontroller vs General Purpose Microprocessor General-purpose microprocessors contains No RAM No

More information

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction. AVR XMEGA TM Product Introduction 32-bit AVR UC3 AVR Flash Microcontrollers The highest performance AVR in the world 8/16-bit AVR XMEGA Peripheral Performance 8-bit megaavr The world s most successful

More information

ECE 471 Embedded Systems Lecture 2

ECE 471 Embedded Systems Lecture 2 ECE 471 Embedded Systems Lecture 2 Vince Weaver http://web.eece.maine.edu/~vweaver vincent.weaver@maine.edu 7 September 2018 Announcements Reminder: The class notes are posted to the website. HW#1 will

More information

Chapter 1. Microcontroller Overview

Chapter 1. Microcontroller Overview Chapter 1 Microcontroller Overview Lesson 2 Microcontrollers- Types and Examples Outline Microcontroller Types Examples- 8051 Series Family Members Examples- 68HC11/12 Series Family Members CPU Microcomputer

More information

ELEG3923 Microprocessor Ch.0 & Ch.1 Introduction to Microcontroller

ELEG3923 Microprocessor Ch.0 & Ch.1 Introduction to Microcontroller Department of Electrical Engineering University of Arkansas ELEG3923 Microprocessor Ch. & Ch. Introduction to Microcontroller Dr. Jingxian Wu wuj@uark.edu OUTLINE 2 What is microcontroller? (Ch..) 85 Microcontroller

More information

EMBEDDED SYSTEM BASICS AND APPLICATION

EMBEDDED SYSTEM BASICS AND APPLICATION EMBEDDED SYSTEM BASICS AND APPLICATION Dr.Syed Ajmal IIT- Robotics TOPICS TO BE DISCUSSED System Embedded System Components Classifications Processors Other Hardware Software Applications 2 INTRODUCTION

More information

AVR Microcontrollers Architecture

AVR Microcontrollers Architecture ก ก There are two fundamental architectures to access memory 1. Von Neumann Architecture 2. Harvard Architecture 2 1 Harvard Architecture The term originated from the Harvard Mark 1 relay-based computer,

More information

Infineon C167CR microcontroller, 256 kb external. RAM and 256 kb external (Flash) EEPROM. - Small single-board computer (SBC) with an

Infineon C167CR microcontroller, 256 kb external. RAM and 256 kb external (Flash) EEPROM. - Small single-board computer (SBC) with an Microcontroller Basics MP2-1 week lecture topics 2 Microcontroller basics - Clock generation, PLL - Address space, addressing modes - Central Processing Unit (CPU) - General Purpose Input/Output (GPIO)

More information

Microprocessors/Microcontrollers

Microprocessors/Microcontrollers Microprocessors/Microcontrollers A central processing unit (CPU) fabricated on one or more chips, containing the basic arithmetic, logic, and control elements of a computer that are required for processing

More information

EE 308: Microcontrollers

EE 308: Microcontrollers EE 308: Microcontrollers AVR Architecture Aly El-Osery Electrical Engineering Department New Mexico Institute of Mining and Technology Socorro, New Mexico, USA January 23, 2018 Aly El-Osery (NMT) EE 308:

More information

Microcontrollers. Microcontroller

Microcontrollers. Microcontroller Microcontrollers Microcontroller A microprocessor on a single integrated circuit intended to operate as an embedded system. As well as a CPU, a microcontroller typically includes small amounts of RAM and

More information

Introduction to Microcontrollers

Introduction to Microcontrollers Introduction to Microcontrollers Embedded Controller Simply an embedded controller is a controller that is embedded in a greater system. One can define an embedded controller as a controller (or computer)

More information

Introduction to ARM LPC2148 Microcontroller

Introduction to ARM LPC2148 Microcontroller Introduction to ARM LPC2148 Microcontroller Dr.R.Sundaramurthy Department of EIE Pondicherry Engineering College Features of LPC2148 in a Nut Shell CPU = ARM 7 Core Word Length = 32 Bit ROM = 512 KB RAM

More information

1 Introduction to Microcontrollers

1 Introduction to Microcontrollers 1 Introduction to Microcontrollers EE445 - Microcontrollers and Embedded Systems Chapter 1: Introduction to Microcontro EE445 Microcontrollers and Emb and and Embedded Embedded Microcontrollers EE445 -

More information

Embedded Systems. Software Development & Education Center. (Design & Development with Various µc)

Embedded Systems. Software Development & Education Center. (Design & Development with Various µc) Software Development & Education Center Embedded Systems (Design & Development with Various µc) Module 1: Embedded C Programming INTRODUCTION TO EMBEDDED SYSTEM History & need of Embedded System Basic

More information

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors COMP2121: Microprocessors and Interfacing Introduction to Microprocessors http://www.cse.unsw.edu.au/~cs2121 Lecturer: Hui Wu Session 2, 2017 1 1 Contents Processor architectures Bus Memory hierarchy 2

More information

Lecture Objectives. Introduction to Computing Chapter 0. Topics. Numbering Systems 04/09/2017

Lecture Objectives. Introduction to Computing Chapter 0. Topics. Numbering Systems 04/09/2017 Lecture Objectives Introduction to Computing Chapter The AVR microcontroller and embedded systems using assembly and c Students should be able to: Convert between base and. Explain the difference between

More information

ATmega128. Introduction

ATmega128. Introduction ATmega128 Introduction AVR Microcontroller 8-bit microcontroller released in 1997 by Atmel which was founded in 1984. The AVR architecture was conceived by two students (Alf-Egil Bogen, Vergard-Wollen)

More information

ARDUINO MEGA INTRODUCTION

ARDUINO MEGA INTRODUCTION ARDUINO MEGA INTRODUCTION The Arduino MEGA 2560 is designed for projects that require more I/O llines, more sketch memory and more RAM. With 54 digital I/O pins, 16 analog inputs so it is suitable for

More information

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing UNIVERSIDADE TÉCNICA DE LISBOA INSTITUTO SUPERIOR TÉCNICO Departamento de Engenharia Informática Architectures for Embedded Computing MEIC-A, MEIC-T, MERC Lecture Slides Version 3.0 - English Lecture 17

More information

MECE336 Microprocessors I

MECE336 Microprocessors I MECE336 Microprocessors I Lecture 1 Introduction and Background Associate Prof. Dr. Klaus Werner Schmidt of Mechatronics Engineering Çankaya University Compulsory Course in Mechatronics Engineering Credits

More information

Department of Electronics and Instrumentation Engineering Question Bank

Department of Electronics and Instrumentation Engineering Question Bank www.examquestionpaper.in Department of Electronics and Instrumentation Engineering Question Bank SUBJECT CODE / NAME: ET7102 / MICROCONTROLLER BASED SYSTEM DESIGN BRANCH : M.E. (C&I) YEAR / SEM : I / I

More information

ME 515 Mechatronics. A microprocessor

ME 515 Mechatronics. A microprocessor ME 515 Mechatronics Microcontroller Based Control of Mechanical Systems Asanga Ratnaweera Department of Faculty of Engineering University of Peradeniya Tel: 081239 (3627) Email: asangar@pdn.ac.lk A microprocessor

More information

ELC4438: Embedded System Design Embedded Processor

ELC4438: Embedded System Design Embedded Processor ELC4438: Embedded System Design Embedded Processor Liang Dong Electrical and Computer Engineering Baylor University 1. Processor Architecture General PC Von Neumann Architecture a.k.a. Princeton Architecture

More information

Figure 1.1: Some embedded device. In this course we shall learn microcontroller and FPGA based embedded system.

Figure 1.1: Some embedded device. In this course we shall learn microcontroller and FPGA based embedded system. Course Code: EEE 4846 International Islamic University Chittagong (IIUC) Department of Electrical and Electronic Engineering (EEE) Course Title: Embedded System Sessional Exp. 1: Familiarization with necessary

More information

INDUSTRIAL TRAINING:6 MONTHS PROGRAM TEVATRON TECHNOLOGIES PVT LTD

INDUSTRIAL TRAINING:6 MONTHS PROGRAM TEVATRON TECHNOLOGIES PVT LTD MODULE-1 C Programming Language Introduction to C Objectives of C Applications of C Relational and logical operators Bit wise operators The assignment statement Intermixing of data types type conversion

More information

PIC Microcontroller Introduction

PIC Microcontroller Introduction PIC Microcontroller Introduction The real name of this microcontroller is PICmicro (Peripheral Interface Controller), but it is better known as PIC. Its first ancestor was designed in 1975 by General Instruments.

More information

ELCT708 MicroLab Session #1 Introduction to Embedded Systems and Microcontrollers. Eng. Salma Hesham

ELCT708 MicroLab Session #1 Introduction to Embedded Systems and Microcontrollers. Eng. Salma Hesham ELCT708 MicroLab Session #1 Introduction to Embedded Systems and Microcontrollers What is common between these systems? What is common between these systems? Each consists of an internal smart computer

More information

ENE 334 Microprocessors

ENE 334 Microprocessors Page 1 ENE 334 Microprocessors Lecture 7: MCS-51 Architecture I : Dejwoot KHAWPARISUTH http://webstaff.kmutt.ac.th/~dejwoot.kha/ ENE 334 MCS-51 Architecture I Page 2 Outlines: 8051 Microcontroller Hardware

More information

Microcontrollers. Principles and Applications. Ajit Pal +5 V 2K 8. 8 bit dip switch. P2 8 Reset switch Microcontroller AT89S52 100E +5 V. 2.

Microcontrollers. Principles and Applications. Ajit Pal +5 V 2K 8. 8 bit dip switch. P2 8 Reset switch Microcontroller AT89S52 100E +5 V. 2. Ajit Pal Microcontrollers Principles and Applications +5 V 2K 8 8 bit dip switch P2 8 Reset switch Microcontroller AT89S52 100E +5 V +5 V 2.2K 10 uf RST 7 Segment common anode LEDs P1(0-6) & P3(0-6) 7

More information

Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform.

Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform. Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform www.sierraradio.net www.hamstack.com Topics Introduction Hardware options Software development HamStack project

More information

FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100)

FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100) (Revision-10) FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100) PART-A (Maximum marks : 10) I. Answer all

More information

Somes French translations :

Somes French translations : 1 RB - EPFL/IC/LAP - A2012 Embedded systems Somes French translations : Systèmes embarqués Systèmes enrobés Systèmes enfouis Embedded systems, definition There is no formal definition of an embedded system,

More information

CS-424/580A Microcontrollers and Robotics

CS-424/580A Microcontrollers and Robotics CS-424/580A Microcontrollers and Robotics CS-424/580A Microcontrollers & Robotics Professor Richard R. Eckert EB-N6, 777-4365 Office hours: W 10-11:30 A.M., R 1-2:30 P.M. Email: reckert@binghamton.edu

More information

Embedded Systems: Hardware Components (part I) Todor Stefanov

Embedded Systems: Hardware Components (part I) Todor Stefanov Embedded Systems: Hardware Components (part I) Todor Stefanov Leiden Embedded Research Center Leiden Institute of Advanced Computer Science Leiden University, The Netherlands Outline Generic Embedded System

More information

Embedded Systems. PIC16F84A Internal Architecture. Eng. Anis Nazer First Semester

Embedded Systems. PIC16F84A Internal Architecture. Eng. Anis Nazer First Semester Embedded Systems PIC16F84A Internal Architecture Eng. Anis Nazer First Semester 2017-2018 Review Computer system basic components? CPU? Memory? I/O? buses? Instruction? Program? Instruction set? CISC,

More information

Introducing Microcontrollers System Design

Introducing Microcontrollers System Design Introducing Microcontrollers System Design Eng. Ahmed S. Afifi 1 What is a Microcontroller? Mini-Computer CPU (Brain) 1. Arithmetic Logic Unit (ALU) 2. Control Unit 3. Register Program/ Data Memory Peripherals

More information

Microprocessors, Lecture 1: Introduction to Microprocessors

Microprocessors, Lecture 1: Introduction to Microprocessors Microprocessors, Lecture 1: Introduction to Microprocessors Computing Systems General-purpose standalone systems (سيستم ھای نھفته ( systems Embedded 2 General-purpose standalone systems Stand-alone computer

More information

MICROPROCESSOR BASED SYSTEM DESIGN

MICROPROCESSOR BASED SYSTEM DESIGN MICROPROCESSOR BASED SYSTEM DESIGN Lecture 5 Xmega 128 B1: Architecture MUHAMMAD AMIR YOUSAF VON NEUMAN ARCHITECTURE CPU Memory Execution unit ALU Registers Both data and instructions at the same system

More information

Module I. Microcontroller can be classified on the basis of their bits processed like 8bit MC, 16bit MC.

Module I. Microcontroller can be classified on the basis of their bits processed like 8bit MC, 16bit MC. MICROCONTROLLERS AND APPLICATIONS 1 Module 1 Module I Introduction to Microcontrollers: Comparison with Microprocessors Harvard and Von Neumann Architectures - 80C51 microcontroller features - internal

More information

PIC32&Overview& E155&

PIC32&Overview& E155& PIC32&Overview& E155& Outline PIC 32 Architecture MIPS M4K Core PIC 32 Peripherals PIC 32 Basic Operations Clock 2 Microcontroller Approximately $16B of microcontrollers were sold in 2011, and the market

More information

Embedded Systems. Read pages

Embedded Systems. Read pages Embedded Systems Read pages 385-417 Definition of Embedded Systems Embedded systems Computer dedicated to serve specific purposes Many physical systems today use computer for powerful and intelligent applications

More information

DERTS Design Requirements (1): Microcontroller Architecture & Programming

DERTS Design Requirements (1): Microcontroller Architecture & Programming Lecture (5) DERTS Design Requirements (1): Microcontroller Architecture & Programming Prof. Kasim M. Al-Aubidy Philadelphia University 1 Lecture Outline: Features of microcomputers and microcontrollers.

More information

Microprocessors And Microcontroller

Microprocessors And Microcontroller Microprocessors And Microcontroller Semester : 4 th, 5 th (TL, ES) Course Code : ES256, ES313 By: Dr. Attiya Baqai Assistant Professor, Department of Electronics, MUET. Internal block diagram of CPU Internal

More information

TMS320C3X Floating Point DSP

TMS320C3X Floating Point DSP TMS320C3X Floating Point DSP Microcontrollers & Microprocessors Undergraduate Course Isfahan University of Technology Oct 2010 By : Mohammad 1 DSP DSP : Digital Signal Processor Why A DSP? Example Voice

More information

ECE 471 Embedded Systems Lecture 2

ECE 471 Embedded Systems Lecture 2 ECE 471 Embedded Systems Lecture 2 Vince Weaver http://www.eece.maine.edu/~vweaver vincent.weaver@maine.edu 3 September 2015 Announcements HW#1 will be posted today, due next Thursday. I will send out

More information

Introduction to general architectures of 8 and 16 bit micro-processor and micro-controllers

Introduction to general architectures of 8 and 16 bit micro-processor and micro-controllers Introduction to general architectures of 8 and 16 bit micro-processor and micro-controllers A microcontroller is a microprocessor with inbuilt peripherals.a microcontroller can also be compared with a

More information

Lecture (02) PIC16F84 (I)

Lecture (02) PIC16F84 (I) Lecture (02) PIC16F84 (I) By: Dr. Ahmed ElShafee ١ Review of Memory Technologies The PIC 16 Series PIC 16F84A The PIC 16F84A Memory The Oscillator Instruction Cycle Power up and Reset Parallel ports Technical

More information

UNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS. 3.Give any two differences between microprocessor and micro controller.

UNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS. 3.Give any two differences between microprocessor and micro controller. UNIT V -8051 MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS 1. What is micro controller? Micro controller is a microprocessor with limited number of RAM, ROM, I/O ports and timer on a single chip

More information

ELCT 912: Advanced Embedded Systems

ELCT 912: Advanced Embedded Systems ELCT 912: Advanced Embedded Systems Lecture 2-3: Embedded System Hardware Dr. Mohamed Abd El Ghany, Department of Electronics and Electrical Engineering Embedded System Hardware Used for processing of

More information

Alireza Mousavi Brunel University

Alireza Mousavi Brunel University Alireza Mousavi Brunel University 1 Two Distinct Section» Real-Time Control and Embedded Systems» Systems Theory» Modern Real-Time Control based on Event Modelling 2 Objectives of using computer control»

More information

Chapter 1 Microprocessor architecture ECE 3120 Dr. Mohamed Mahmoud http://iweb.tntech.edu/mmahmoud/ mmahmoud@tntech.edu Outline 1.1 Computer hardware organization 1.1.1 Number System 1.1.2 Computer hardware

More information

3.1 Description of Microprocessor. 3.2 History of Microprocessor

3.1 Description of Microprocessor. 3.2 History of Microprocessor 3.0 MAIN CONTENT 3.1 Description of Microprocessor The brain or engine of the PC is the processor (sometimes called microprocessor), or central processing unit (CPU). The CPU performs the system s calculating

More information

AT90SO36 Summary Datasheet

AT90SO36 Summary Datasheet AT90SO Summary Datasheet Features General High-performance, Low-power -/-bit Enhanced RISC Architecture Microcontroller - Powerful Instructions (Most Executed in a Single Clock Cycle) Low Power Idle and

More information

BASIC INTERFACING CONCEPTS

BASIC INTERFACING CONCEPTS Contents i SYLLABUS UNIT - I 8085 ARCHITECTURE Introduction to Microprocessors and Microcontrollers, 8085 Processor Architecture, Internal Operations, Instructions and Timings, Programming the 8085-Introduction

More information

Lecture 14. Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Lecture 14. Ali Karimpour Associate Professor Ferdowsi University of Mashhad Lecture 14 AUTOMATIC CONTROL SYSTEMS Ali Karimpour Associate Professor Ferdowsi University of Mashhad Lecture 4 The AVR Microcontroller Introduction to AVR CISC (Complex Instruction Set Computer) Put as

More information

EE4380 Microprocessor Design Project

EE4380 Microprocessor Design Project EE4380 Microprocessor Design Project Fall 2002 Class 1 Pari vallal Kannan Center for Integrated Circuits and Systems University of Texas at Dallas Introduction What is a Microcontroller? Microcontroller

More information

About the Presentations

About the Presentations About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning of each presentation. You may customize the presentations

More information

Introduction. Chapter 1

Introduction. Chapter 1 Introduction Chapter 1 The Digital Computer Machine to carry out instructions A program Instructions are simple Add numbers Check if a number is zero Copy data between memory locations Primitive instructions

More information

To be familiar with the USART (RS-232) protocol. To be familiar with one type of internal storage system in PIC (EEPROM).

To be familiar with the USART (RS-232) protocol. To be familiar with one type of internal storage system in PIC (EEPROM). Lab # 6 Serial communications & EEPROM Objectives To be familiar with the USART (RS-232) protocol. To be familiar with one type of internal storage system in PIC (EEPROM). Serial Communications Serial

More information

ECED3204: Microprocessor Part I--Introduction

ECED3204: Microprocessor Part I--Introduction ECED3204: Microprocessor Part I--Introduction Jason J. Gu Department of 1 Outline i. Computer ii. Processor iii. Embedded System iv. Memory v. Program Execution VI. VII. VIII. IX. AVR AVR Memory AVR CPU

More information

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text In this lecture the detailed architecture of 8051 controller, register bank,

More information

Calendar Description

Calendar Description ECE212 B1: Introduction to Microprocessors Lecture 1 Calendar Description Microcomputer architecture, assembly language programming, memory and input/output system, interrupts All the instructions are

More information

A+ Guide to Hardware: Managing, Maintaining, and Troubleshooting, 5e. Chapter 1 Introducing Hardware

A+ Guide to Hardware: Managing, Maintaining, and Troubleshooting, 5e. Chapter 1 Introducing Hardware : Managing, Maintaining, and Troubleshooting, 5e Chapter 1 Introducing Hardware Objectives Learn that a computer requires both hardware and software to work Learn about the many different hardware components

More information

DEPARTMENT OF ELECTRONICS & INSTRUMENTATION

DEPARTMENT OF ELECTRONICS & INSTRUMENTATION DEPARTMENT OF ELECTRONICS & INSTRUMENTATION Question Bank : CS 2361 EMBEDDED SYSTEM 1. Define Embedded Systems. An embedded system is one that has computer hardware with software embedded on it as one

More information

Fig 1. Block diagram of a microcomputer

Fig 1. Block diagram of a microcomputer Computer: A computer is a multipurpose programmable machine that reads binary instructions from its memory, accepts binary data as input,processes the data according to those instructions and provides

More information

Overview of Microcontroller and Embedded Systems

Overview of Microcontroller and Embedded Systems UNIT-III Overview of Microcontroller and Embedded Systems Embedded Hardware and Various Building Blocks: The basic hardware components of an embedded system shown in a block diagram in below figure. These

More information

Microcontroller: CPU and Memory

Microcontroller: CPU and Memory Microcontroller: CPU and Memory Amarjeet Singh January 15, 2013 Partly adopted from EE202A, UCLA Slides by Mani Srivastava Logistics Programming EVK1100 Guidelines for programming using AVR32 Studio on

More information

Z8 Encore! XP F1680 Series 8-Bit Flash Solution with Extended Peripherals

Z8 Encore! XP F1680 Series 8-Bit Flash Solution with Extended Peripherals Embedded Flash Solutions Z8 Encore! XP F1680 Series High-performance 8-bit Flash MCU F1680 advantage low power - 1.8 V highly integrated peripherals flexible memory options optimized cost/performance target

More information

8051 Microcontroller memory Organization and its Applications

8051 Microcontroller memory Organization and its Applications 8051 Microcontroller memory Organization and its Applications Memory mapping in 8051 ROM memory map in 8051 family 0000H 4k 0000H 8k 0000H 32k 0FFFH DS5000-32 8051 1FFFH 8752 7FFFH from Atmel Corporation

More information

Microprocessors And Microcontrollers (Practical)

Microprocessors And Microcontrollers (Practical) Microprocessors And Microcontrollers (Practical) Semester : 4 th, 5 th (TL, ES) Course Code : ES256, ES313 By: Dr. Attiya Baqai Assistant Professor, Department of Electronics, MUET. 3 Introduction to Programming

More information