MCU – Microcontroller Unit – 2

Slides:



Advertisements
Similar presentations
MICROPROCESSORS AND MICROCONTROLLERS
Advertisements

Microcontroller – 2 - internal archi. - Memory
Autumn 2012C.-S. Shieh, EC, KUAS, Taiwan1 The 8051 Family Microcontroller Chin-Shiuh Shieh Department of Electronic Engineering.
Microcontroller – 3 PIC.
8051 Core Specification.
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
Microprocessor 8085/8086 Lecturer M A Rahim Khan Computer Engineering and Networks Deptt.
Course Overview and The 8051 Architecture
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
Engr. M.K.Debnath1 Microcontroller and PLC Eng. ISRAFIL KHAN. DIPLOMA IN ELECTRONIC.
Microcontroller – PIC – 4 PIC types PIC architecture
Railway Foundation Electronic, Electrical and Processor Engineering.
Micro-controller or embedded controller
16.317: Microprocessor System Design I Instructor: Dr. Michael Geiger Spring 2012 Lecture 29: Microcontroller intro.
Railway Foundation Electronic, Electrical and Processor Engineering.
The 8051 Microcontroller Architecture
Microcontroller 8051.
The 8051 Microcontroller architecture
Micro controllers A self-contained system in which a processor, support, memory, and input/output (I/O) are all contained in a single package.
MCU – Microcontroller Unit – 1 MCU  1 cip or VLSI core – application-specific.
INTRODUCTION TO MICROCONTROLLER. What is a Microcontroller A microcontroller is a complete microprocessor system, consisting of microprocessor, limited.
ECE/CS-352: Embedded Microcontroller Systems Embedded Microcontroller Systems.
Chapter 2 Introducing the PIC Mid-Range Family and the 16F84A The aims of this chapter are to introduce: The PIC mid-range family, in overview The overall.
Microcontrollers Class : 4th Semister E&C and EEE Subject Code: 06ES42
 Historical view:  1940’s-Vacuum tubes  1947-Transistors invented by willliam shockely & team  1959-Integrated chips invented by Texas Instrument.
Intel 8051 Another family of microcontroller is the Intel 8051 family. The basic 8051 microcontroller has four parallel input/output ports, port 0, 1,
INTRODUCTION TO PIC MICROCONTROLLER. Overview and Features The term PIC stands for Peripheral Interface Controller. Microchip Technology, USA. Basically.
MICROOCESSORS AND MICROCONTROLLER:
What is a Microprocessor ? A microprocessor consists of an ALU to perform arithmetic and logic manipulations, registers, and a control unit Its has some.
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
Presented by Sadhish Prabhu
Chapter Microcontroller
Kustanto,S.T.,M.EngECE/CS-352: Embedded Microcontroller Systems Embedded Systems By: Kustanto,S.T.,M.Eng.
Submitted by:.  Project overview  Block diagram  Power supply  Microcontroller  MAX232 & DB9 Connector  Relay  Relay driver  Software requirements.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
HJD Institute of Technical Education & Research- Kera(Kutch) The 8051 Microcontroller architecture PREPARED BY: RAYMA SOHIL( )
DEPARTMENT OF ELECTRONICS ENGINEERING V-SEMESTER MICROPROCESSOR & MICROCONTROLLER 1 CHAPTER NO microcontroller & programming.
EMBEDDED SYSTEM An embedded system is a special-purpose computer system and a combination of software and hardware designed to perform specific task. It.
Embedded Microcontroller Systems
MCU – Microcontroller Unit – 1
The 8051 Microcontroller architecture
MICROCONTROLLER ARCHITECTURE & ASSEMBLY LANGUAGE PROGRAMMING
Microprocessor and Microcontroller Fundamentals
Processor/Memory Chapter 3
Embedded Microcontroller Systems
PC Mouse operated Electrical Load Control Using VB Application
Microprocessor Systems Design I
UNIT – Microcontroller.
MCU – Microcontroller Unit – 2
Microprocessor Systems Design I
Hardware Source: ttp:// under
BVM Engineering College Electrical Engineering Department : Microprocessor and Microcontroller Interfacing Interrupts of 8051 Prepared by:
Course Overview and The 8051 Architecture
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Microcontroller Intel 8051
Memory organization On- chip memory Off-chip memory
The 8051 Microcontroller (8 bit )
Introducing the PIC Mid-Range Family and the 16F84A
Unit – Microcontroller Tutorial Class - 2 ANITS College
8051 Microcontroller.
Today’s agenda Hardware architecture and runtime system
Hardware Source: ttp:// under
Important 8051 Features On chip oscillator 4K bytes ROM 128 bytes RAM
UNIT-VIII 8051 Microcontroller Architecture Register set of 8051
8051 Micro Controller.
The 8051 Microcontroller (8 bit )
EECE.3170 Microprocessor Systems Design I
Microcontroller – 2 PIC.
Compiled by Dr. N.Shanmugasundaram, HOD, ECE Dept, SECE.
Presentation transcript:

MCU – Microcontroller Unit – 2 Md. Atiqur Rahman Ahad

Mechatronics ~ area of mechanical and electrical engineering – having integration of mechanics with electronics & information processing. The integration – between hardware & software  results an integrated system called mechatronic system. Microcontroller plays a major role in mechatronics

Selection of MCU Checklist 8/16/32 bit ALU Max. power dissipation Clock speed needed Instructions set  RISC/CISC

Selection of MCU… Checklist – Memory architecture Memory size Cache, memory management unit, DSP calculations Internal PROM/… I/O ports Cost

Selection of MCU… Additional checklists Cost when single chip and when MCU interfaces to circuit with some features Major building blocks of hardware cost and availability Major building blocks of software cost and availability Ease of integration Design team expertise Manpower

Internal structure of a MC

At times, a microcontroller can have external memory also (if there is no internal memory or extra memory interface is required). Most modern microcontrollers are manufactured with CMOS technology, which leads to reduction in size and power loss.

Harvard vs. Princeton Architecture In the late 1940's, the US Government asked Harvard and Princeton universities to come up with a computer architecture to be used in defense apps. Princeton suggested computer architecture with a single memory interface. Princeton architecture was accepted for simplicity and ease of implementation

Harvard suggested a computer with two different memory interfaces, one for the data / variables and the other for program / instructions. Harvard architecture became popular later, due to the parallelism of instruction execution.

Von Neumann architecture? Von Neumann architecture  after the name of the chief scientist of the project in Princeton University John Von Neumann (1903 - 1957 Born in Budapest, Hungary). How to remember? PN [junction!]  Princeton Neumann

Princeton /single mem interface

Harvard architecture

8051 microcontroller

8051 8051 employs Harvard [2] architecture. 8-bit CPU. 16-bit Program Counter 8-bit Processor Status Word (PSW) 8-bit Stack Pointer Internal RAM of 128bytes

8051… Special Function Registers (SFRs) of 128 bytes 32 I/O pins arranged as four 8-bit ports (P0 - P3) Two 16-bit timer/counters : T0 and T1 Two external and three internal vectored interrupts One full duplex [i.e., it can transmit and receive simultaneously] serial I/O has about 111 instructions

Intel 8051/8031 architecture CPU has the control and sequencing logic circuits, ALU, Flags, clock Program mem - ROM Interrupt control ckt Internal timing devices – timer Serial interface Data mem - RAM

Intel 8051/8031… Special function registers Ports Register banks – 4 set of registers RST – reset pin INT – interrupt pins VCC – voltage supply pin GND

Intel 8051/8031 architecture CPU has the control and sequencing logic circuits, ALU, Flags, clock Program mem - ROM Interrupt control ckt Internal timing devices – timer Serial interface Data mem – RAM See – http://www.sonoma.eduusersffarahmansonomacourseses310es310_s10.htm

Intel 8051/8031… Special function registers Ports Register banks – 4 set of registers RST – reset pin INT – interrupt pins VCC – voltage supply pin GND Courtesy – http://nptel.iitm.ac.in/courses/Webcourse-contents/IIT-KANPUR/microcontrollers/micro/ui/Course_home5_37.htm ‘PIC Microcontroller and Embedded Systems, by MA Mazidi et al., Pearson, 2012