MICROPROCESSOR TECHNOLOGY

Similar documents
MICROPROCESSOR TECHNOLOGY

MICROPROCESSOR TECHNOLOGY

MICROPROCESSOR TECHNOLOGY

1. state the priority of interrupts of Draw and explain MSW format of List salient features of

MICROPROCESSOR TECHNOLOGY

8051 Microcontroller


1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085.

Architecture of 8085 microprocessor

8254 is a programmable interval timer. Which is widely used in clock driven digital circuits. with out timer there will not be proper synchronization

MICROPROCESSOR TECHNOLOGY

Lecture-55 System Interface:

General Purpose Programmable Peripheral Devices. Assistant Professor, EC Dept., Sankalchand Patel College of Engg.,Visnagar

Microcomputer Architecture and Programming

Pin Description, Status & Control Signals of 8085 Microprocessor

Lecture-15 W-Z: Increment-Decrement Address Latch:

2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5.

Control Unit: The control unit provides the necessary timing and control Microprocessor resembles a CPU exactly.

Chapter 1: Basics of Microprocessor [08 M]

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY

Am186ER/Am188ER AMD continues 16-bit innovation

8086 Hardware Specification

MICROPROCESSOR TECHNOLOGY

3. (a) Explain the steps involved in the Interfacing of an I/O device (b) Explain various methods of interfacing of I/O devices.

Topics. Interfacing chips

8/26/2010. Introduction to 8085 BLOCK DIAGRAM OF INTEL Introduction to Introduction to Three Units of 8085

Pin diagram Common SignalS Architecture: Sub: 8086 HARDWARE

Microprocessor & Interfacing Lecture DMA Controller--1

12-Dec-11. Gursharan Singh Maninder Kaur. Introduction to 8085 BLOCK DIAGRAM OF INTEL Introduction to Introduction to 8085

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

CENG-336 Introduction to Embedded Systems Development. Timers

History and Basic Processor Architecture

DRAM Refresh Control with the

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

Exercise 4-1. DSP Peripherals EXERCISE OBJECTIVES

EXPERIMENT NO.1. A Microcontroller is a complete computer system built on a single chip.

9/25/ Software & Hardware Architecture

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

Microcontroller & Interfacing

Using the MC9S12 in Expanded Mode External Ports S12CPUV2 Reference Manual Multiplexed External Bus Interface (MEBI) Module V3 Block User Guide

To Interface The 8085 Microprocessor

Moodle WILLINGDON COLLEGE SANGLI (B. SC.-II) Digital Electronics

MICROPROCESSOR TECHNOLOGY

EE 308 Spring Lecture 28 March 30, 2012 Review for Exam 2. Introduction to the MC9S12 Expanded Mode

Description of the Simulator

Chapter 13 Direct Memory Access and DMA-Controlled I/O

UNIT - II PERIPHERAL INTERFACING WITH 8085

Three criteria in Choosing a Microcontroller

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

MICROPROCESSOR B.Tech. th ECE

Lecture-9 Intel 8085 Microprocessor It is a 40-pin DIP(Dual in package) chip, base on NMOS technology, on a single chip of silicon.

CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 09, SPRING 2013

These three counters can be programmed for either binary or BCD count.

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers

Program controlled semiconductor device (IC) which fetches (from memory), decodes and executes instructions.

UNIT II OVERVIEW MICROPROCESSORS AND MICROCONTROLLERS MATERIAL. Introduction to 8086 microprocessors. Architecture of 8086 processors

Chapter Operation Pinout Operation 35

EC4205 Microprocessor and Microcontroller

Common Computer-System and OS Structures

Subject Code: Model Answer Page No: /25

IA32 Intel 32-bit Architecture

AE66/AC66/AT66/ AE108/AC108/AT108 MICROPROCESSORS & MICROCONTROLLERS

Interface DAC to a PC. Control Word of MC1480 DAC (or DAC 808) 8255 Design Example. Engineering 4862 Microprocessors

Hello and welcome to this Renesas Interactive module that provides an overview of the RX DMA Controller

CS370 Operating Systems

Hardware and Software Architecture. Chapter 2

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

END-TERM EXAMINATION

MICROCONTROLLER AND PLC LAB-436 SEMESTER-5

QUESTION BANK. EE 6502 / Microprocessor and Microcontroller. Unit I Processor. PART-A (2-Marks)

Microcomputer System Design

1. Attempt any three of the following: 15

1. Internal Architecture of 8085 Microprocessor

PIN DIAGRAM. Richa Upadhyay Prabhu. NMIMS s MPSTME January 19, 2016

Instructions Involve a Segment Register (SR-field)

Course Introduction. Purpose: Objectives: Content: 27 pages 4 questions. Learning Time: 20 minutes

Summer 2003 Lecture 21 07/15/03

INTRODUCTION OF MICROPROCESSOR& INTERFACING DEVICES Introduction to Microprocessor Evolutions of Microprocessor

icroprocessor istory of Microprocessor ntel 8086:

EC 6504 Microprocessor and Microcontroller. Unit II System Bus Structure

UNIT 1. Introduction to microprocessor. Block diagram of simple computer or microcomputer.

Microcontroller basics

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

Question Bank Microprocessor and Microcontroller

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

1. What is Microprocessor? Give the power supply & clock frequency of 8085?

EEM336 Microprocessors I. The Microprocessor and Its Architecture

8051 microcontrollers

SYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET

Basics of Microprocessor

Freescale Semiconductor, I

Registers Format. 4.1 I/O Port Address

Department of Computer Science, Institute for System Architecture, Operating Systems Group. Real-Time Systems '08 / '09. Hardware.

Intel 8086 MICROPROCESSOR. By Y V S Murthy

ECE3120: Computer Systems Chapter 8: Timer Module

1. Internal Architecture of 8085 Microprocessor

Microprocessor Architecture

MP Assignment IV. 1. A. Describe the 80386DX memory system and explain the purpose and operation of the bank selection signals.

MICROPROCESSOR MICROPROCESSOR ARCHITECTURE. Prof. P. C. Patil UOP S.E.COMP (SEM-II)

Transcription:

MICROPROCESSOR TECHNOLOGY Assis. Prof. Hossam El-Din Moustafa Lecture 14 Ch.6 The 80186, 80188, and 80286 Microprocessors 21-Apr-15 1

Timers The 80186/80188 contain three fully programmable 16-bit timers and each is totally independent of the others. Timer 0 and timer 1 have input and output pins that allow them to count external events or generate waveforms. Timer 2 connects to the 80186/80188 clock. It is used as a DMA request source, as a pre-scaler for other timers, or as a watchdog timer. 21-Apr-15 2

M / IO The Timer Unit The timer unit contains one counting element which is responsible for updating all three counters. The counter element is responsible for generating the outputs on the pins T0OUT and T1OUT, reading the T0IN and T1IN pins, and causing a DMA request from the terminal count (TC) of timer 2. 21-Apr-15 3

Timer Register Operation Timers are controlled by a block of registers in the PCB. Each timer has a count register, maximum count register, and a control register. The count register contains a 16-bit number that is incremented whenever an input to the timer occurs. Timers 0, 1 are incremented at the +ve edge on an external input pin every fourth clock or by timer 2 o/p. 21-Apr-15 4

Timer Register Operation Timer 2 is clocked on every fourth clock pulse and has no other timing source. In the 8 MHz version, timer 2 operates at 2 MHz, and the maximum counting frequency of timers 0,1 is 2 MHz. Each timer has at least one maximum-count register, called a compare register that is loaded with the maximum count of the count register to generate an output. 21-Apr-15 5

Timer Register Operation Timers 0, 1 each have a second maximum count compare register. Using both maximum count registers allows the timer to count up to 131,072 instead of 65,536. The control register of each timer is 16-bit wide and specifies the operation of the timer. EN: Enable bit allows the timer to start counting INH: Inhibit bit allows a write to the timer control register to affect the enable bit. 21-Apr-15 6

Timer Register Operation INT: The interrupt bit allows an interrupt to be generated by the timer. RIU: Register in use bit indicates which maximumcount compare register is currently used by the timer. (Read-only bit) MC: Maximum count bit indicates that the timer has reached its maximum count. RTG: Re-trigger bit is active only for external clocking. It is used by timers 0,1 to select the operation of the timer input pins. 21-Apr-15 7

Timer Register Operation P: Prescaler bit selects the clocking source of timers 0,1. If P=1, the source is timer 2. If P=0, the source is one fourth the clock frequency. EXT: External bit selects internal timing when EXT=0 ALT: Alternate bit selects single maximum- count mode if ALT=0 or alternate if ALT=1. CONT: Continuous bit selects continuous operation if CONT=1 (i.e The counter automatically continues counting after it reaches its maximum) 21-Apr-15 8

Timer Output Pin Timers 0, 1 have an output pin used to generate either square waves or pulses. To produce pulses, the timer is operated in single maximum-count mode. To produce square waves the alternating mode ALT=1 is selected. Any duty cycle can be generated in the alternate mode. Example: 10% duty cycle 21-Apr-15 9

Timer Output Pin Solution: Maximum count register A is loaded with 10 Maximum count register B is loaded with 90 The o/p is logic 1 for 10 clocks and logic 0 for 90 clocks. ------------------------------------------------------------------------- See the real-time clock example pages 146, 147 ------------------------------------------------------------------------- 21-Apr-15 10

DMA Controller The DMA controller has two fully-independent DMA channels. Each channel has its own set of 20-bit address registers. These registers are located in the PCB at offset address C0H-DFH Each channel contains a control word, a source and destination pointer, and a transfer count. The transfer count is 16-bit wide. The source and destination pointers are 20-bit wide 21-Apr-15 11

Channel Control Register M/IO: Indicates memory or I/O location DEC: Causes the pointer to be decremented. INC: Causes the pointer to be incremented. TC: Stop transfers when the channel count register is decremented to 0000H. INT: Enables interrupts to the interrupt controller SYN: Selects the type of synchronization for the channel P: Selects the channel priority (P=1 high priority) 21-Apr-15 12

Chip Selection Unit The chip selection unit simplifies the interface of memory and I/O to the 80186/80188. It contains programmable chip selection logic. Memory Chip Selects: Six pins are used to select different external memory components. The UCS pin enables the memory device located in upper portion of memory map (ROM). 21-Apr-15 13

Chip Selection Unit The LCS pin selects the memory device (RAM) that begins at memory location 00000H. The remaining 4 pins select middle memory devices. Peripheral Chip Selects: Seven external peripheral devices can be addressed with pins PCS0 PCS6. 21-Apr-15 14

Real-Time Operating System (RTOS) The RTOS is an operating system used in embedded applications that performs tasks in a predictable amount of time. Operating systems, like WINDOWS, defer many tasks and do not guarantee their execution in a predictable time. There are three components to all operating systems: (1) Initialization (2) Kernel (3) Data & Procedures 21-Apr-15 15

Real-Time Operating System (RTOS) The initialization section is used to program all hardware components in the system, load drivers specific to a system, and program the contents of the µp s registers. The kernel performs the basic system task, provides system calls or functions, and comprises the embedded system. The data & procedure section holds all procedures and any static data used by the OS. 21-Apr-15 16

Introduction to 80286 The 80286 is an advanced version of the 8086 that was designed for multi-user and multitasking environments. The 80286 addresses 16MB of physical memory and 1 GB of virtual memory. The 80286 is an optimized 8086 that executes instructions in fewer clocking periods than the 8086. The 80286 contains a memory manager 21-Apr-15 17

The 80286 Hardware Features The 80286 contains a memory management unit (MMU) which is called the address unit in P. 160. The address bus is now 24-bit wide to accommodate the 16 MB of physical memory (A0 A23). The 80286 does not have a multiplexed address/data bus. New additional pins: BUSY, CAP, ERROR, PEREQ, and PEACK 21-Apr-15 18

The 80286 Hardware Features The 286 operates in both the real and protected modes. In real mode, the 80286 addresses 1MB memory address space and is virtually identical to 8086. In protected mode, the 80286 addresses 16 MB of memory space. The clock is provided by the 82284 clock generator. The system control signals are provided by the 82288 system bus controller. No latch circuits (No de-multiplexing) 21-Apr-15 19

Additional Instructions The extra instructions control the virtual memory system through the MMU. CLTS: Clear task-switched flag clears the TS flag bit to logic 0. LAR: The Load Access Rights instruction reads the segment descriptor and places a copy of the access rights byte into a 16-bit register. LSL: Load Segment Limit loads a userspecified register with the segment limit. 21-Apr-15 20

Additional Instructions ARPL: Adjust Requested Privilege level is used to test a selector so that the privilege level of the requested selector is not violated. VERR: Verify for Read access verifies that a segment can be read. VERW: Verify for Write access verifies that a segment can be written. 21-Apr-15 21

Thank You With all best wishes!! 21-Apr-15 22