8051 Microcontroller
|
|
- Edith Armstrong
- 6 years ago
- Views:
Transcription
1 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 other companies manufacture the 8051 and it s derivatives e.g. Philips, Atmel, Dallas, Infineon, Analog Devices These derivatives support the standard 8051 architecture along with some additional features e.g. Faster instruction execution times More data and program memory Additional timers On-chip EEPROM memory On-chip ADC and DAC On-chip real time clock Support of I2C and SPI serial interfaces 3V power supply for lower power consumption Computer Engineering Architecture
2 8051 Features 8 bit CPU All data is stored as 8 bits, data is moved 8 bits at a time 4Kbytes of on chip program memory This is where the application code and constants are stored 128 bytes of on chip data memory Variables and stack are stored here 32 input output pins arranged as 4 8-bit ports P0 to P3 Used to interface to external devices 2 16-bit timers/counters Serial data communication - Full duplex UART 5 source interrupt structure 16 bytes of bit addressable RAM 64K bytes external program memory space 64K bytes external data memory space On chip oscillator Boolean processor Computer Engineering Architecture
3 8051 Architecture Source : Philips 80C51 Family Architecture Computer Engineering Architecture
4 8051 Pin-out 8051 is a 40 pin device Apply 5V to VCC Crystal connects to XTAL1, XTAL2 Need external reset circuit EA tied high for internal program memory, low for external memory ALE and PSEN only used for external memory P1.0 P1.1 P1.2 P1.3 P1.4 P1.5 P1.6 P1.7 P3.0 P3.1 P3.2 P3.3 P3.4 P3.5 P3.6 P3.7 VCC P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7 P2.0 P2.1 P2.2 P2.3 P2.4 P2.5 P2.6 P2.7 XTAL1 XTAL2 RESET GND EA ALE PSEN Computer Engineering Architecture
5 8051 Clock The 8051 requires an external clock source Usually a crystal oscillator is used Connected to the XTAL1 and XTAL2 pins A 33pF capacitor must also be tied from each pin to ground All operations performed by the 8051 take 1 or more machine cycles to execute. A machine cycle is 12 clock periods All 8051 instructions take 1, 2 or 4 machine cycles to execute If the 8051 is operating off a 12MHz crystal, What is the maximum number of instructions that can execute in 1 second? Computer Engineering Architecture
6 8051 Reset On power-up a reset signal must be applied to the 8051 reset pin The 8051 reset input is active high Resetting the 8051 will load the Program Counter register (PC) with 0 and force the 8051 to start program execution from address 0 in program memory The reset pin must be brought low before program execution can begin. An external circuit must be used to apply the reset pulse. 5V 10uF 10K Reset 8051 Computer Engineering Architecture
7 Minimum 8051 Circuit 5V power supply Crystal defines code execution speed connects to X1, X2 pins RC circuit supplies a positive reset pulse on power-up EA pin tied high to use internal program memory for code execution Computer Engineering Architecture
8 8051 I/O Ports 32 of the 8051 s pins are dedicated as I/O lines The 8051 has 4 I/O ports labelled P0, P1, P2, P3 Each port is 8 bits wide A port s pins are labelled 0 to 7 P0.0 is pin 0 of port 0, P0.7 is pin 7 All port pins may be used as inputs or outputs Note: -If using Port 0 as an output pull-up resistors must be used Some port pins have alternate uses (see next slide) The 8051 is a CMOS device i.e. it cannot interface directly to large current loads IOL max. per pin is 10mA IOL max. for Port 0 is 26mA IOL max. for the other 3 ports is 15mA IOL max. for device is 71mA e.g. an LED circuit sinks 7mA into an 8051 pin Can only connect 2 LED circuits to Port 1 Computer Engineering Architecture
9 8051 LED Circuit The circuit below shows how to connect an LED to an 8051 I/O pin The resistor value must be chosen to ensure that the maximum sink current into pin P1.0 is 10mA. Do we need to output a logic 0 or 1 to turn on the LED? V P R Computer Engineering Architecture
10 The 8051 is an 8-bit device 8051 Features The internal and external 8051 data buses are 8-bits wide i.e. all data transfers can move a maximum of 1 byte of information All registers with 2 exceptions are 8-bits wide While the 8051 can operate quickly with 8-bit variables (chars), operation with larger variables (e.g. ints) can be quite slow as the variables need to be broken into 8-bit sub-units Computer Engineering Architecture
11 8051 has 3 types of memory Program (Code) Memory On-chip memory External data memory (RAM) 8051 Memory Organisation 8051 µcontroller Internal RAM SFRs Code Memory External Data Memory External Program Memory Computer Engineering Architecture
12 8051 Program Memory Used to store application code and constants Limited to 64KBytes maximum 8051 has 4KBytes of program memory on-chip On-chip program memory may be ROM, EPROM or Flash Code may be programmed onto the 8051 using a PROM programmer Some 8051 derivatives are In-System Programmable (ISP) i.e. they may be programmed in-circuit using the serial port Program memory may be expanded by adding external memory chips Computer Engineering Architecture
13 8051 External Data Memory 8051 has only 128 Bytes of internal data memory This may not be sufficient to hold the variables used in some applications An external RAM chip may be connected to the 8051 to increase data memory capacity 8051 can support up to 64KBytes of external data memory Computer Engineering Architecture
14 8051 Internal Memory The 8051 microcontroller contains 128 Bytes of data memory (RAM) This memory may be used for variable storage or for the stack Address range is 00H to 7FH The 8051 also contains 128 Bytes of memory area assigned to SFRs (Special Function Registers) Address range 80H to FFH FFH 80H Special Function Registers Used for 8051 peripheral configuration and status info 7FH 30H 2FH 20H 1FH 18H 17H 10H 0FH 08H 07H 00H User RAM & Stack Bit-Addressable Memory Register Bank 3 Register Bank 2 Register Bank 1 Register Bank 0 Used for storing Bit variables 4 banks of 8 registers Labelled R0 to R7 Computer Engineering Architecture
15 8051 Register Banks The lower 32 bytes of internal data memory is divided into 4 register banks Each register bank contains 8 registers labelled R0 to R7 These registers are used by many of the 8051 instructions On power-up the 8051 defaults to using register bank 0 Bank switching may be used to improve the efficiency of applications that use interrupts. Bank switching will not be covered in this course. Register banks 1,2 and 3 will be used for variable storage Computer Engineering Architecture
16 Bit Addressable Memory 16 bytes of internal data memory may be accessed at the bit level This is useful for applications that use flags to reflect the status of certain events This saves memory space as a flag can be declared as a single bit rather than using a full byte of memory A single memory location can be used to store 8 flags The bit addressable area of memory can also be used to store byte wide (or larger) variables Computer Engineering Architecture
17 The Stack The stack is an area of internal data memory that is used for:- Storage of return addresses for function calls Backup of memory locations that may be altered by an interrupt service routine (ISR) The stack pointer (SP) SFR points to the top of the stack. When a function is called in a C program, the microcontroller needs to remember the return address from the function i.e. what is the next instruction to be executed when the function is complete As the PC register contains the address of the next instruction to be executed, the contents of the PC register (2 Bytes) is pushed onto the stack When the function is complete the return address is popped off the stack and the microcontroller will execute the next instruction after the function call Computer Engineering Architecture
18 Special Function Registers (SFRs) The SFRs are registers in internal data memory that allow control of the 8051 µcontroller functionality SFRs P0 to P3 allow access to the 8051 s I/O pins e.g. P1 = 0xFF //write all 1 s to the 8 Port 1 pins The SFRs shown in blue are used to configure the 8051 timers, serial port and interrupts The remaining SFRs can be used for arithmetic/logic operations (ACC and B registers), control or status. All SFRs whose address is divisible by 8 are bit addressable. Computer Engineering Architecture
19 Special Function Registers (SFRs) 80H P0 SP DPL DPH PCON 88H TCON TMOD TL0 TL1 TH0 TH1 90H P1 98H SCON SBUF A0H P2 A8H IE B0H P3 B8H IP C0H C8H D0H PSW D8H E0H ACC E8H F0H B F8H Computer Engineering Architecture
20 8051 Memory Quiz How many register banks does the 8051 have? How much internal program memory does an 8051 contain? Where is the 8051 stack located? What is the function of the stack? How much external data memory may be connected to the 8051? Computer Engineering Architecture
21 8051 Timers The 8051 has 2 internal 16-bit timers named Timer 0 and Timer 1 The timers have 2 modes of operation Timer mode allows the timer to count internal clock pulses The timer register is updated every machine cycle (12 oscillator clocks) Applications include delays, real time clocks etc In counter mode the timer can be used to count external events The timer register is incremented every time an external timer pin goes high to low Applications include pulse width and frequency measurement Computer Engineering Architecture
22 8051 Serial Port The 8051 has an on-board UART that may be used to provide a serial interface to external devices Example serial devices are GPS receivers, GSM MODEMs 2 Port 3 pins (TXD and RXD) provide the external interface The Baud rate can be programmed using timer 1 Computer Engineering Architecture
23 The 8051 has 5 interrupt sources 2 external interrupt pins 8051 Interrupt Structure An interrupt is generated when the pin goes low These pins may be used to allow an external device to interrupt the 8051 e.g. keypad, analog to digital converter 2 timer interrupts 8051 is interrupted when a timer register overflows Serial port interrupt Interrupt occurs when a character has been transmitted or received over the serial port Interrupts may be individually enabled or disabled Interrupts may be prioritised Computer Engineering Architecture
8051 Microcontroller
8051 Microcontroller 1 Salient Features (1). 8 bit microcontroller originally developed by Intel in 1980. (2). High-performance CMOS Technology. (3). Contains Total 40 pins. (4). Address bus is of 16 bit
More informationEEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture
Department of Electrical Engineering Lecture 4 The 8051 Architecture 1 In this Lecture Overview General physical & operational features Block diagram Pin assignments Logic symbol Hardware description Pin
More informationThe 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 information8-bit Microcontroller with 8K Bytes In-System Programmable Flash AT89S52
Features Compatible with MCS -51 Products 8K Bytes of In-System Programmable (ISP) Flash Memory Endurance: 10,000 Write/Erase Cycles 4.0V to 5.5V Operating Range Fully Static Operation: 0 Hz to 33 MHz
More informationUNIT IV MICROCONTROLLER
UNIT IV 8051- MICROCONTROLLER Prepared by R. Kavitha Page 1 Application Prepared by R. Kavitha Page 2 Pin Description of the 8051 UNIT IV- 8051 MICROCONTROLLER P1.0 P1.1 P1.2 P1.3 P1.4 P1.5 P1.6 P1.7 RST
More informationLecture 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 informationThree criteria in Choosing a Microcontroller
The 8051 Microcontroller architecture Contents: Introduction Block Diagram and Pin Description of the 8051 Registers Some Simple Instructions Structure of Assembly language and Running an 8051 program
More informatione-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 informationModule 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 informationUnderstanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,
Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices, CISC and RISC processors etc. Knows the architecture and
More information8051 Microcontrollers
8051 Microcontrollers Richa Upadhyay Prabhu NMIMS s MPSTME richa.upadhyay@nmims.edu March 8, 2016 Controller vs Processor Controller vs Processor Introduction to 8051 Micro-controller In 1981,Intel corporation
More informationIntroduction To MCS-51
Introduction To MCS-51 By Charoen Vongchumyen Department of Computer Engineering Faculty of Engineering KMITLadkrabang 8051 Hardware Basic Content Overview Architechture Memory map Register Interrupt Timer/Counter
More informationMICROPROCESSORS AND MICROCONTROLLERS MATERIAL. Features of 8051:
DEPARTMENT OF ECE MICROPROCESSORS AND MICROCONTROLLERS MATERIAL UNIT V 8051 MICROCONTROLLERS To make a complete microcomputer system, only microprocessor is not sufficient. It is necessary to add other
More information8051 MICROCONTROLLER
What is a Microcontroller? UNIT 5 8051 MICROCONTROLLER A Microcontroller is a programmable digital processor with necessary peripherals. Both microcontrollers and microprocessors are complex sequential
More information8051 MICROCONTROLLER
8051 MICROCONTROLLER Mr.Darshan Patel M.Tech (Power Electronics & Drives) Assistant Professor Department of Electrical Engineering Sankalchand Patel College of Engineering-Visnagar WHY DO WE NEED TO LEARN
More informationPGT302 Embedded Software Technology. PGT302 Embedded Software Technology
PGT302 Embedded Software Technology 1 PART 4 Hardware Platform 2 2 Objectives for Part 4 Need to DISCUSS and ANALYZE the following topics: Board (GTUC51B001) specifications startup sequence, bootloader
More informationEmbedded World Television, Radio, CD player, Washing Machine Microwave Oven Card readers, Palm devices
A presentation on INTRODUCTION We are living in the Embedded World. We are surrounded with many embedded products and our daily life largely depends on the proper functioning of these gadgets. Television,
More informationCPEG300 Embedded System Design. Lecture 3 Memory
CPEG300 Embedded System Design Lecture 3 Memory Hamad Bin Khalifa University, Spring 2018 Review Von Neumann vs. Harvard architecture? System on Board, system on chip? Generic Hardware Architecture of
More informationCHAPTER 1 MICROCOMPUTER SYSTEMS. 1.1 Introduction. 1.2 Microcontroller Evolution
CHAPTER 1 MICROCOMPUTER SYSTEMS 1.1 Introduction The term microcomputer is used to describe a system that includes a microprocessor, program memory, data memory, and an input/output (I/O). Some microcomputer
More informationENE 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 informationISSI. IS89C51 CMOS SINGLE CHIP 8-BIT MICROCONTROLLER with 4-Kbytes of FLASH ISSI IS89C51 NOVEMBER 1998 FEATURES GENERAL DESCRIPTION
IS89C51 CMOS SINGLE CHIP 8-BIT MICROCONTROLLER with 4-Kbytes of FLASH NOVEMBER 1998 FEATURES 80C51 based architecture 4-Kbytes of on-chip Reprogrammable Flash Memory 128 x 8 RAM Two 16-bit Timer/Counters
More informationFig 1. Block diagram of a microcomputer
MICRO CONTROLLERS www.bookspar.com VTU NOTES QUESTION PAPERS UNIT - 1 Computer: A computer is a multipurpose programmable machine that reads binary instructions from its memory, accepts binary data as
More informationCS 320. Computer Architecture Core Architecture
CS 320 Computer Architecture 8051 Core Architecture Evan Hallam 19 April 2006 Abstract The 8051 is an 8-bit microprocessor designed originally in the 1980 s by the Intel Corporation. This inexpensive and
More informationMicrocontrollers. Fig. 1 gives a comparison of a microprocessor system and a microcontroller system.
Syllabus: : Introduction to, 8051 Microcontroller Architecture and an example of Microcontroller based stepper motor control system (only Block Diagram approach). (5 Hours) Introduction to A microcontroller
More information8051 microcontrollers
8051 microcontrollers Presented by: Deepak Kumar Rout Synergy Institute of Engineering and Technology, Dhenkanal Chapter 2 Introduction Intel MCS-51 family of microcontrollers consists of various devices
More information8051 Peripherals. On-Chip Memory Timers Serial Port Interrupts. Computer Engineering Timers
8051 Peripherals On-Chip Memory Timers Serial Port Interrupts Computer Engineering 2 2-1 8051 Timers 8051 Timers The 8051 has 2 internal 16-bit timers named Timer 0 and Timer 1 Each timer is a 16-bit counter
More information1. Attempt any three of the following: 15
(2½ hours) Total Marks: 75 N. B.: (1) All questions are compulsory. (2) Make suitable assumptions wherever necessary and state the assumptions made. (3) Answers to the same question must be written together.
More informationSYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET
1 SYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET Intel 8086/8088 Architecture Segmented Memory, Minimum and Maximum Modes of Operation, Timing Diagram, Addressing Modes, Instruction Set,
More informationChapter 09. Programming in Assembly
Chapter 09 Programming in Assembly Lesson 03 Programming Approach for Main and Interrupt Service Routines in 8051 Program Approach for programming Main Program Instructions 3 Main program initial instructions
More information8051 Memory Organization BY D. BALAKRISHNA, Research Assistant, IIIT-H Chapter 1: Memory Organization There are 2 types of memories available in 8051 microcontroller. Program memory/c code memory (ROM)
More informationSH57K12. High Performance 8031 Microcontroller. Preliminary. Features. General Description
Preliminary Features 8031 MCU core embedded DC to 24 MHz operating frequency EV: ROM-less 16 KB MASK ROM for program storage 384 bytes on-chip data RAM: 256 bytes accessed as in the 8031 128 bytes accessed
More informationRev. No. History Issue Date Remark
Preliminary Bar Code Reader Document Title Bar Code Reader Revision History Rev. No. History Issue Date Remark 0.0 Initial issue June 5, 2000 Preliminary 0.1 Change document title from Bar Code Reader
More informationUnit I. Introduction Microcontrollers and Embedded processors Overview of the 8051 Inside the 8051 Addressing Modes
Unit I Introduction Microcontrollers and Embedded processors Overview of the 8051 Inside the 8051 Addressing Modes 1.1.1. Basic Introduction 1.1.1. Basic Introduction (contd.) 1.1.1. Basic Introduction
More informationEE6502- MICROPROCESSOR AND MICROCONTROLLER
. EE6502- MICROPROCESSOR AND MICROCONTROLLER UNIT III - 8051 MICROCONTROLLER PART - A 1. What is Microcontroller? A device which contains the microprocessor with integrated peripherals like memory, serial
More informationDepartment 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 informationSANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR. ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1
SANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1 Subject: Microcontroller and Interfacing (151001) Class: B.E.Sem V (EC-I & II) Q-1 Explain RISC
More informationMAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT- IV
UNIT- IV PART A (2 MARK QUESTIONS) 1. What is the need for de-bouncing the keyboard? (AUC NOV 2012) Debouncing is any kind of hardware device or software that ensures that only a single signal will be
More information3. (a) Explain the steps involved in the Interfacing of an I/O device (b) Explain various methods of interfacing of I/O devices.
Code No: R05320202 Set No. 1 1. (a) Discuss the minimum mode memory control signals of 8086? (b) Explain the write cycle operation of the microprocessor with a neat timing diagram in maximum mode. [8+8]
More informationMoodle WILLINGDON COLLEGE SANGLI (B. SC.-II) Digital Electronics
Moodle 4 WILLINGDON COLLEGE SANGLI (B. SC.-II) Digital Electronics Advanced Microprocessors and Introduction to Microcontroller Moodle developed By Dr. S. R. Kumbhar Department of Electronics Willingdon
More informationMAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI
MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI-621213. QUESTION BANK DEPARTMENT: EEE SUB CODE: EE2324 YR/ SEM:III/ VI SUB NAME: MICROPROCESSORS & MICROCONTROLLERS UNIT 4-8051 MICROCONTROLLER PART A (2
More informationAT89S4D12. 8-Bit Microcontroller with 132K Bytes Flash Data Memory AT89S4D12. Features. Description. Pin Configurations
Features Compatible with MCS-51 Products 128K Bytes of In-System Reprogrammable Flash data memory and 4K Bytes of Downloadable Flash Program Memory Endurance: 1,000 Write/Erase Cycles per Sector Data Retention:
More informationMCS-51 Serial Port A T 8 9 C 5 2 1
MCS-51 Serial Port AT89C52 1 Introduction to Serial Communications Serial vs. Parallel transfer of data Simplex, Duplex and half-duplex modes Synchronous, Asynchronous UART Universal Asynchronous Receiver/Transmitter.
More informationMaxim > Design Support > Technical Documents > Application Notes > Microcontrollers > APP 4199
Maxim > Design Support > Technical Documents > Application Notes > Microcontrollers > APP 4199 Keywords: 8051,single-cycle,upgrade,flash,high speed,performance APPLICATION NOTE 4199 Porting Applications
More information8XC51RA RB RC Hardware Description
8XC51RA RB RC Hardware Description February 1995 Order Number 272668-001 Information in this document is provided in connection with Intel products Intel assumes no liability whatsoever including infringement
More informationMODULE-1. Short Answer Questions
MODULE-1 Short Answer Questions 1. Give the comparison between microprocessor and microcontroller. It is very clear from figure that in microprocessor we have to interface additional circuitry for providing
More information8051 Microcontroller Interrupts
8051 Microcontroller Interrupts There are five interrupt sources for the 8051, which means that they can recognize 5 different events that can interrupt regular program execution. Each interrupt can be
More informationMICROCONTROLLER UNIT 1
MICROCONTROLLER UNIT 1 OUTLINE INTRODUCTION MICROCONTROLLERS AND EMBEDDED PROCESSORS OVERVIEW OF THE 8051 8051 MICTROCONTROLLER HARDWARE ADDRESSING MODES INTRODUCTION The first task to use a new computer
More information8-Bit Microcontroller with 2K Bytes Flash AT89C2051. Features. Description. Pin Configuration
Features Compatible with MCS-51 Products 2K Bytes of Reprogrammable Flash Memory Endurance: 1,000 Write/Erase Cycles 2.7V to 6V Operating Range Fully Static Operation: 0 Hz to 24 MHz Two-Level Program
More information8-Bit Microcontroller with 1K Bytes Flash. AT89C1051U Preliminary. Features. Description. Pin Configuration
Features Compatible with MCS-51 Products 1K Bytes of Reprogrammable Flash Memory Endurance: 1,000 Write/Erase Cycles 2.7V to 6V Operating Range Fully Static Operation: 0 Hz to 24 MHz Two-Level Program
More informationAT Bit Spread- Spectrum Microcontroller. Preliminary. Features. Description. Pin Configuration
Features Compatible with MCS-51 Products 8K bytes of On-Board Program Memory Fully Static Operation: 0 Hz to 16 MHz 256 x 8 Bit Internal RAM 32 Programmable I/O Lines Three 16 Bit Timer/Counters Eight
More informationMicrocontroller and Embedded Systems:
Microcontroller and Embedded Systems: Branches: 1. Electronics & Telecommunication Engineering 2. Electrical & Electronics Engineering Semester: 6 th Semester / 7 th Semester 1. Explain the differences
More informationChapter C2051 Architecture and Serial Communication Link
Chapter- 2 89C2051 Architecture and Serial Communication Link ABSTRACT This chapter provides the details of 89C2051 microcontroller and description on Serial Communication Facility presented by 89C2051
More information8051 Timers and Serial Port
8051 Timers and Serial Port EE4380 Fall 2001 Class 10 Pari vallal Kannan Center for Integrated Circuits and Systems University of Texas at Dallas Timer: Mode 1 Operation (recap) 16 bit counter. Load the
More informationHandshake Solutions. HT80C51 User Manual
HT8C5 User Manual HT8C5 User Manual Document Information Document Information Document Title Date of Creation 27/6/25 Date of last change 27/6/25 File name Status Version Number.7 Client / Target Audience
More informationIntel 8051 Family Standard PODs
Intel 8051 Family Standard PODs All 8051 family PODs are 8-bit PODs that can be used on ic181, ic1000 and the PowerEmulator unit with the exception of a few PODs, that can not be used on the ic181 unit.
More informationDATA SHEET. P80CL31; P80CL51 Low voltage 8-bit microcontrollers with UART INTEGRATED CIRCUITS Apr 15
INTEGRATED CIRCUITS DATA SHEET Low voltage 8-bit microcontrollers with Supersedes data of January 1995 File under Integrated circuits, IC20 1997 Apr 15 CONTENTS 1 FEATURES 2 GENERAL DESCRIPTION 2.1 Versions:
More information8-Bit CMOS Microcontorller
GMS97C1051 Features Compatible with MCS-51 TM Products 1 Kbytes of programmable EPROM 4.25V to 5.5V Operating Range Version for 12MHz / 24 MHz Operating frequency Two-Level Program Memory Lock with encryption
More informationMemory organization Programming model - Program status word - register banks - Addressing modes - instruction set Programming examples.
MICROCONTROLLERS AND APPLICATIONS 1 Module 2 Module-2 Contents: Memory organization Programming model - Program status word - register banks - Addressing modes - instruction set Programming examples. MEMORY
More informationMSM80C154S MSM83C154S MSM85C154HVS USER'S MANUAL
MSM8C54S MSM83C54S MSM85C54HVS USER'S MANUAL Copyright 988, OKI ELECTRIC INDUSTRY COMPANY, LTD. OKI makes no warranty for the use of its products and assumes no responsibility for any errors which may
More informationMICROCONTROLLER AND PLC LAB-436 SEMESTER-5
MICROCONTROLLER AND PLC LAB-436 SEMESTER-5 Exp:1 STUDY OF MICROCONTROLLER 8051 To study the microcontroller and familiarize the 8051microcontroller kit Theory:- A Microcontroller consists of a powerful
More informationSOLUTION MANUAL FOR THE 8051 MICROCONTROLLER 4TH EDITION BY MACKENZIE AND PHAN
SOLUTION MANUAL FOR THE 8051 MICROCONTROLLER 4TH EDITION BY MACKENZIE AND PHAN Chapter 1 - Introduction to Microcontrollers 1. (a)the first widely used microprocessor was the 8080. (b) The 8080 was introduced
More information8051 Serial Communication
8051 Serial Communication Basics of serial communication Parallel: transfers eight bits of data simultaneously over eight data lines expensive - short distance fast Serial : one bit at a time is transferred
More informationQuestion Bank Microprocessor and Microcontroller
QUESTION BANK - 2 PART A 1. What is cycle stealing? (K1-CO3) During any given bus cycle, one of the system components connected to the system bus is given control of the bus. This component is said to
More information8051 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 informationMigrating from the 8XC251Sx to the 8XC251Tx
Migrating from the 8XC251Sx to the 8XC251Tx Application Note May 1999 Order Number: 273252-001 Information in this document is provided in connection with Intel products. No license, express or implied,
More informationENE 334 Microprocessors
Page 1 ENE 334 Microprocessors Lecture 9: MCS-51: Moving Data : Dejwoot KHAWPARISUTH http://webstaff.kmutt.ac.th/~dejwoot.kha/ ENE 334 MCS-51 Moving Data Page 2 Moving Data: Objectives Use commands that
More information8-bit Microcontroller with 2/4-Kbyte Flash AT89LP2052 AT89LP4052
Features Compatible with MCS 51 Products 20 MIPS Throughput at 20 MHz Clock Frequency and 2.4V, 85 C Operating Conditions Single Clock Cycle per Byte Fetch 2/4K Bytes of In-System Programmable (ISP) Flash
More information8051 Serial Port. EE4380 Fall02 Class 10. Pari vallal Kannan. Center for Integrated Circuits and Systems University of Texas at Dallas
8051 Serial Port EE4380 Fall02 Class 10 Pari vallal Kannan Center for Integrated Circuits and Systems University of Texas at Dallas Serial Comm. - Introduction Serial Vs Parallel Transfer of data Simplex,
More informationCPU CPU MEMORY MICRO CONTROLLER MICRO PROCESSER. Consists Memory, I/o ports. Memory, I/O Ports to be connected externally. MEMORY I/O PORTS I/O PORTS
Microcontroller Contents Introduction Inside 8051 Instructions Interfacing Introduction Definition of a Microcontroller Difference with a Microprocessor Microcontroller is used where ever Definition It
More informationDistributed by: www.jameco.com 1-800-831-4242 The content and copyrights of the attached material are the property of its owner. 8051 8052 and 80C51 Hardware Description December 1992 Order Number 270252-006
More informationET2640 Microprocessors
ET2640 Microprocessors Unit -2 Processor Programming Concepts Basic Control Instructor : Stan Kong Email : skong@itt-tech.edu Figure 2 4 Bits of the PSW Register 8051 REGISTER BANKS AND STACK 80 BYTES
More informationIA8044/IA8344. SDLC Communications Controller. Data Sheet. SDLC Communications Controller January 9, 2015
IA8044/IA8344 SDLC Communications Controller Page 1 of 65 1-888-824-4184 Copyright 2015 by Innovasic Semiconductor, Inc. Published by Innovasic Semiconductor, Inc. 3737 Princeton Drive NE, Suite 130, Albuquerque,
More informationINTEGRATED CIRCUITS DATA SHEET. P89C738; P89C739 8-bit microcontrollers Dec 15. Product specification File under Integrated Circuits, IC20
INTEGRATED CIRCUITS DATA SHEET File under Integrated Circuits, IC20 1997 Dec 15 CONTENTS 1 FEATURES 2 GENERAL DESCRIPTION 3 ORDERING INFORMATION 4 BLOCK DIAGRAM 5 FUNCTIONAL DIAGRAM 6 PINNING INFORMATION
More informationAVR 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 informationIntroduction 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 informationEXPERIMENT NO.1. A Microcontroller is a complete computer system built on a single chip.
EXPERIMENT NO.1 AIM: Study of 8051 Microcontroller TOOLS: 8051 kit THEORY: Salient Features of 8051 A Microcontroller is a complete computer system built on a single chip. It contains all components like
More informationEngr. 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 informationUNIT 5. Microcontrollers. Syllabus
UNIT 5 Microcontrollers Syllabus Architecture of 8051 Signals Operational features Memory and I/O addressing Interrupts Instruction set Applications. OVERVIEW The past three decades have seen the introduction
More information20uA at VDD=5.5V 5uA at VDD=3.6V. 1T up to 20 (1T~8T can change on fly) RC ( 24MHz) Program Flash ( byte) 4K 4K RAM( byte)
SM894051 SM39R4051 SM39R4051 SM39R4051 SM894051 SM894051 SM39R4051 MCU ( 1) Feature SM894051 SM39R4051 (V) 3.0~5.5 2.7~5.5 I DD (Power Down) 20uA at VDD=5.5V 5uA at VDD=3.6V 3.5uA at VDD=5.0V System clock(mhz)
More informationBy the end of Class. Outline. Homework 5. C8051F020 Block Diagram (pg 18) Pseudo-code for Lab 1-2 due as part of prelab
By the end of Class Pseudo-code for Lab 1-2 due as part of prelab Homework #5 on website due before next class Outline Introduce Lab 1-2 Counting Timers on C8051 Interrupts Laboratory Worksheet #05 Copy
More informationChapter 2 Sections 1 8 Dr. Iyad Jafar
Introducing the PIC 16 Series and the 16F84A Chapter 2 Sections 1 8 Dr. Iyad Jafar Outline Overview of the PIC 16 Series An Architecture Overview of the 16F84A The 16F84A Memory Organization Memory Addressing
More informationDescription of the Simulator
Description of the Simulator The simulator includes a small sub-set of the full instruction set normally found with this style of processor. It includes advanced instructions such as CALL, RET, INT and
More informationMicroprocessors/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 informationComputer 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 informationThe Timers/Counters The Serial Interface The Interrupt System Reset P0.0-P0.7 P2.0-P2.7. Port 2 Drivers. Port 2 Latch
HARDWARE DESCRIPTION This chapter provides a detailed description of the 80C51 microcontroller (see Figure 1). Included in this description are: The port drivers and how they function both as ports and,
More information2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5.
DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EE6502- MICROPROCESSORS AND MICROCONTROLLERS UNIT I: 8085 PROCESSOR PART A 1. What is the need for ALE signal in
More informationMicrocontrollers can be considered as self-contained systems with a processor, memory and I/O ports.
8051 Architecture 1 Microcontrollers can be considered as self-contained systems with a processor, memory and I/O ports. In most cases, all that is missing is the software to define the operation of the
More informationPART - B (Answer all five units, 5 X 10 = 50 Marks)
Code: 13A04507 R13 B.Tech III Year I Semester (R13) Supplementary Examinations June 2017 MICROPROCESSS & INTERFACING (Common to CSE & IT) PART - A (a) Mention the function of the instruction ADD M of 8085
More informationUNIT MICROCONTROLLER AND ITS PROGRAMMING
M i c r o p r o c e s s o r s a n d M i c r o c o n t r o l l e r s P a g e 1 UNIT-7 8051 MICROCONTROLLER AND ITS PROGRAMMING INTRODUCTION The microcontroller incorporates all the features that are found
More informationPreliminary W77E58 8 BIT MICROCONTROLLER. Table of Contents-- Publication Release Date: March Revision A1
8 BIT MICROCONTROLLER Table of Contents-- GENERAL DESCRIPTION...2 FEATURES...2 PIN CONFIGURATION...3 PIN DESCRIPTION...4 BLOCK DIAGRAM...6 FUNCTIONAL DESCRIPTION...7 MEMORY ORGANIZATION...8 INSTRUCTION...29
More informationINSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad ELECTRONICS AND COMMUNICATION ENGINEERING QUESTION BANK
Course Name Course Code Class Branch INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad - 500 04 ELECTRONICS AND COMMUNICATION ENGINEERING QUESTION BANK : Microprocessors and Microcontrollers :
More information8-Bit Microcontroller with 8K Bytes Flash AT89S8252. Features. Description
Features Compatible with MCS-51 Products 8K Bytes of In-System Reprogrammable Downloadable Flash Memory SPI Serial Interface for Program Downloading Endurance: 1,000 Write/Erase Cycles 2K Bytes EEPROM
More informationDQ8051. Revolutionary Quad-Pipelined Ultra High performance 8051 Microcontroller Core
DQ8051 Revolutionary Quad-Pipelined Ultra High performance 8051 Microcontroller Core COMPANY OVERVIEW Digital Core Design is a leading IP Core provider and a System-on-Chip design house. The company was
More informationAli 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 informationW77LE58/W77L058A Data Sheet 8-BIT MICROCONTROLLER. Table of Contents- Publication Release Date: April 17, Revision A7
Data Sheet 8-BIT MICROCONTROLLER Table of Contents-. GENERAL DESCRIPTION... 2 2. FEATURES... 2 3. PIN CONFIGURATIONS... 3 4. PIN DESCRIPTION... 4 5. FUNCTIONAL DESCRIPTION... 5 6. MEMORY ORGANIZATION...
More informationW77IE58 8-BIT MICROCONTROLLER. Table of Contents-- Publication Release Date: December Revision A2
8-BIT MICROCONTROLLER Table of Contents-- GENERAL DESCRIPTION... 2 FEATURES... 2 PIN CONFIGURATIONS... 3 PIN DESCRIPTION... 4 BLOCK DIAGRAM... 6 FUNCTIONAL DESCRIPTION... 7 MEMORY ORGANIZATION... 8 Instruction...
More information7.2.1 Timer 2 Capture LSB... 24
Data Sheet 8-BIT MICROCONTROLLER Table of Contents-. GENERAL DESCRIPTION... 3 2. FEATURES... 3 3. PIN CONFIGURATIONS... 4 4. PIN DESCRIPTION... 5 5. FUNCTIONAL DESCRIPTION... 6 6. MEMORY ORGANIZATION...
More informationInterconnects, Memory, GPIO
Interconnects, Memory, GPIO Dr. Francesco Conti f.conti@unibo.it Slide contributions adapted from STMicroelectronics and from Dr. Michele Magno, others Processor vs. MCU Pipeline Harvard architecture Separate
More informationInfineon 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 informationFeatures. M. Krishna Kumar MAM/M5/LU13/2004 1
Features 232 Byte Register File. Register to Register Architecture. 10 bit A/D Converter with S/H. Five 8 bit I/O ports. 20 Interrupt Sources. Pulse Width Modulation Output. High speed I/O subsystem. Dedicated
More information