Microprocessor and Microcontroller Fundamentals

Slides:



Advertisements
Similar presentations
Input/Output Ports and Interfacing ELEC 330 Digital Systems Engineering Dr. Ron Hayne Images Courtesy of Ramesh Gaonkar and Delmar Learning.
Advertisements

Microprocessor and Microcontroller Fundamentals
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
Microprocessors. Microprocessor Buses Address Bus Address Bus One way street over which microprocessor sends an address code to memory or other external.
1.21 Introduction to microprocessors KUEU 2135 / KBEB 2193 Mikropemproses dan Sistemnya.
TK 2633 Microprocessor & Interfacing Lecture 3: Introduction to 8085 Assembly Language Programming (2) 1 Prepared By: Associate Prof. Dr Masri Ayob.
Introduction to Microprocessors Number Systems and Conversions No /6/00 Chapter 1: Introduction to 68HC11 The 68HC11 Microcontroller.
Room: E-3-31 Phone: Dr Masri Ayob TK 2633 Microprocessor & Interfacing Lecture 1: Introduction to 8085 Assembly Language.
Read Chapter 3 (David E. Simon, An Embedded Software Primer)
Railway Foundation Electronic, Electrical and Processor Engineering.
Railway Foundation Electronic, Electrical and Processor Engineering.
ASPPRATECH.
Microcontroller based system design
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
Microcontroller Architecture PIC18F Family
The 8051 Microcontroller and Embedded Systems
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
Microcontrollers Microcontroller (MCU) – An integrated electronic computing device that includes three major components on a single chip Microprocessor.
General Computer Science for Engineers CISC 106 Lecture 02 Dr. John Cavazos Computer and Information Sciences 09/03/2010.
Microprocessors and Microcontrollers. An Introduction to Microprocessors and Microcontrollers.
Input/Output Ports and Interfacing
Programming and Problem Solving ELEC 330 Digital Systems Engineering Dr. Ron Hayne Images Courtesy of Ramesh Gaonkar and Delmar Learning.
Computer Fundamentals ELEC 330 Digital Systems Engineering Dr. Ron Hayne.
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
Application Programs ELEC 330 Digital Systems Engineering Dr. Ron Hayne Images Courtesy of Ramesh Gaonkar and Delmar Learning.
Number Systems ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
 Introduction to Micro processor Introduction to Micro processor  Microprocessor instruction and opcodes Microprocessor instruction and opcodes  Mnemonics.
MICROOCESSORS AND MICROCONTROLLER:
Introduction ELEC 330 Digital Systems Engineering Dr. Ron Hayne.
Department of Electronic & Electrical Engineering Introduction to microcontrollers A microcontroller is a small computer on a single integrated circuit.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
MICROPROCESSOR AMARTYA ROY-72 ANGSHUMAN CHATTERJEE-80 ASHISH LOHIA-70 MOLOY CHAKRABORTY-60.
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ read/write and clock inputs Sequence of control signal combinations.
Computer Hardware. 7/23/2016M. Eyadat2 Objectives –Explain why most computers are digital –Describe the role of the ALU –List factors that affect performance.
A LECTURE NOTE. Introduction to Programming languages.
Computer Organization and Design
Unit Microprocessor.
Embedded Microcontroller Systems
MICROCONTROLLER ARCHITECTURE & ASSEMBLY LANGUAGE PROGRAMMING
COURSE OUTCOMES OF Microprocessor and programming
Microprocessor and Microcontroller Fundamentals
MCU – Microcontroller Unit – 1
ES C263 Microprocessor Programming and Interfacing
Input/Output Ports and Interfacing
Introduction to Microprocessors
Gunjeet Kaur Dronacharya Group of institutions
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
Microprocessor Systems Design I
Microprocessors and Programming Department of Mechatronics Engineering
UNIT – Microcontroller.
Microprocessor Systems Design I
IPCOWALA INSTITUTE OF ENGINEERING & TECHNOLOGY-DHARMAJ
INTRODUCTION TO MICROPROCESSORS
Principles & Applications
Introduction to Microprocessors
INTRODUCTION TO MICROPROCESSORS
CS703 - Advanced Operating Systems
INTRODUCTION TO MICROPROCESSORS
Introduction to Microprocessors and Microcontrollers
Number Representations and Basic Processor Architecture
ریز پردازنده. ریز پردازنده مراجع درس میکروکنترلرهای AVR برنامه نویسی اسمبلی و C محمدعلی مزیدی، سپهر نعیمی و سرمد نعیمی مرجع کامل میکروکنترلرهای AVR.
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Introduction to Microprocessor Programming
Microprocessor Architecture
Networks & I/O Devices.
Microprocessors and Programming Department of Mechatronics Engineering
Presentation transcript:

Microprocessor and Microcontroller Fundamentals ELEC 330 Digital Systems Engineering Dr. Ron Hayne Images Courtesy of Ramesh Gaonkar and Delmar Learning ELEC 330

Admin Course materials available online http://ece.citadel.edu/hayne/ Students are encouraged to print lecture slides in advance and use them to take notes in class 330_01 ELEC 330

Microcontrollers Embedded Systems Microcontroller (MCU) Operations managed behind the scenes by a microcontroller Microcontroller (MCU) An integrated electronic computing device that includes three major components on a single chip Microprocessor (MPU) Memory I/O (Input/Output) ports 330_01

Microcontrollers Support Devices Common communication lines Timers A/D converter Serial I/O Common communication lines System Bus 330_01

Block Diagram 330_01 ELEC 330

Microprocessor (MPU) MPU (CPU) Read instructions Process binary data 330_01

Memory Storage Device Major Categories Read/Write Memory (R/W) Addresses Registers Major Categories Read/Write Memory (R/W) Read-only-Memory (ROM) D7 D0 330_01

Input/Output (I/O) Input Devices Output devices Switches and Keypads Provide binary information to the MPU Output devices LEDs and LCDs Receive binary information from the MPU 330_01

Microprocessor-Based Systems 330_01

Microprocessor Architecture The MPU communicates with Memory and I/O using the System Bus Address bus Unidirectional Memory and I/O Addresses Data bus Bidirectional Transfers Binary Data and Instructions Control lines Read and Write timing signals 330_01

Microprocessor-Based System 330_01

Example Microprocessor System 330_01

Software Machine Language Binary Instructions Difficult to decipher and write Error-prone All programs converted into machine language for execution Instruction Hex Mnemonic Description Processor 10000000 80 ADD B Add reg B to Acc Intel 8085 00101000 28 ADD A, R0 Add Reg R0 to Acc Intel 8051 00011011 1B ABA Add Acc A and B Motorola 6811 330_01

Software Assembly Language Machine instructions represented in mnemonics One-to-one correspondence Efficient execution and use of memory Machine-specific 330_01

Software High-Level Languages BASIC, C, and C++ Written in statements of spoken languages Machine independent Easy to write and troubleshoot Larger memory and less efficient execution 330_01

Data Format (8-bit) Unsigned Integers All eight bits represent the magnitude of a number Bit7 to Bit0 Range 00H to FFH (010 to 25510) 330_01

Data Format (8-bit) Signed Integers 2's Complement Bit 7 is sign bit Positive numbers: 00H to 7FH (010 to 12710) Negative numbers: 80H to FFH (-110 to -12810) 330_01

Data Format (8-bit) Binary Coded Decimal Numbers (BCD) 8 bits of a number divided into groups of four Each group represents a decimal digit from 0 to 9 AH through FH are invalid Example: 0010 0101BCD = 2510 330_01

Data Format (8-bit) American Standard Code for Information Interchange (ASCII) Seven-bit alphanumeric code with 128 combinations (00H to 7FH) Represents English alphabet, decimal digits from 0 to 9, symbols, and commands 330_01

MPU-Based Systems System hardware System software Discrete components Microprocessor, Memory, and I/O Components connected by buses Address, Data, and Control System software A group of programs that monitors the functions of the entire system 330_01

MPU-Based Time and Temperature System 330_01

MCU-Based Systems Includes microprocessor, memory, I/O ports, and support devices (such as timers) on a single semiconductor chip Buses are generally not available to a system designer I/O ports are generally multiplexed and can be programmed to perform different functions 330_01

MCU-Based Time and Temperature System 330_01

Computer Architectures Princeton versus Harvard Architecture CISC versus RISC processors Microprocessors and Microcontrollers 330_01 ELEC 330