MICROPROCESSOR BASED SYSTEM DESIGN

Slides:



Advertisements
Similar presentations
8086/8088 Hardware Specifications (Chapter 8)
Advertisements

Gursharan Singh Tatla PIN DIAGRAM OF 8086 Gursharan Singh Tatla Gursharan Singh Tatla
8086 [2] Ahad. Internal! External? 8086 vs _bit Data Bus 20_bit Address 8_bit Data Bus 20_bit Address Only external bus of 8088 is.
Parul Polytechnic Institute
8088/86 Microprocessors and Supporting Chips
Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
ECE 2211 Microprocessor and Interfacing Chapter 8 The 8088/8086 Microprocessors and their memory and I/O interfaces Br. Athaur Rahman Bin Najeeb Room.
Khaled A. Al-Utaibi 8086 Bus Design Khaled A. Al-Utaibi
82C55 82C55 Programmable Peripheral Interface Interfacing Part III.
8086.  The 8086 is Intel’s first 16-bit microprocessor  The 8086 can run at different clock speeds  Standard 8086 – 5 MHz  –10 MHz 
SYSTEM CLOCK Clock (CLK) : input signal which synchronize the internal and external operations of the microprocessor.
The 8085 Microprocessor Architecture
Microprocessor and Microcontroller
8086 Pin diagram 8086 is a 40 pin DIP using MOS technology. It has 2 GND’s as circuit complexity demands a large amount of current flowing through the.
I/O Unit.
CSNB373: Microprocessor Systems
Parul Polytechnic Institute Subject Code : Name Of Subject : Microprocessor and assembly language programming Name of Unit : Introduction to Microprossor.
Designing the 8086/8088 Microcomputer System
4-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL Hardware Detail of Intel.
1 TK2633TK Microprocessor Architecture DR MASRI AYOB.
Chapter 10 Hardware Details on the 8088 Objectives: The general specification on the 8088 microprocessors The processor’s control signal names and specifications.
Design of Microprocessor-Based Systems Hardware Detail of Intel 8088 Dr. Esam Al_Qaralleh CE Department Princess Sumaya University for Technology.
Chapter 9: 8086/8088 Hardware Specifications. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. The.
GURSHARAN SINGH TATLA PIN DIAGRAM OF 8085 GURSHARAN SINGH TATLA
Microcomputer & Interfacing Lecture 2
Khaled A. Al-Utaibi  8086 Pinout & Pin Functions  Minimum & Maximum Mode Operations  Microcomputer System Design  Minimum Mode.
MODES OF Details of Pins Pin 1 –Connected Ground Pins 2-16 –acts as both input/output. Outputs address at the first part of the cycle and outputs.
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
8086/8088 Hardware Specifications A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
Wait states Wait states can be inserted into a bus cycle
8086/8088 Hardware Specifications Power supply:  +5V with tolerance of ±10%;  360mA. Input characteristics:  Logic 0 – 0.8V maximum, ±10μA maximum;
8086/8088 Hardware specifications
Minimum System Requirements Clock Generator Memory Interfacing.
MODES OF Details of Pins Pin 1GND –Connected Ground Pins 2-16 AD14-AD0–acts as both input/output. Outputs address at the first part of the cycle.
Unit-III Pipelined Architecture. Basic instruction cycle 6/4/2016MDS_SCOE_UNIT32.
Unit - 2 DMA 8237A-5.
8254 Timer.
80386DX. Features of 80386DX It supports 8/16/32 bit data operands It has 32-bit internal registers It supports 32-bit data bus and 32-bit non-multiplexed.
80386DX functional Block Diagram PIN Description Register set Flags Physical address space Data types.
Computer Architecture Lecture 6 by Engineer A. Lecturer Aymen Hasan AlAwady 1/12/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
PPI-8255.
EFLAG Register of The The only new flag bit is the AC alignment check, used to indicate that the microprocessor has accessed a word at an odd.
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
Block diagram of 8086.
8086/8088 Hardware Specifications. Objectives Describe the functions of all 8086/8088 pins Understand DC characteristics and fan out Using the clock generator.
MACHINE CYCLE AND T-STATE
The 8085 Microprocessor Architecture. What 8085 meant for? 80 - year of invention bit processor 5 - uses +5V for power.
Chapter 9: 8086/8088 Hardware Specifications. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. The.
8085 Microprocessor: Architecture & Support Components.
Multiplex of Data and Address Lines in 8088 Address lines A0-A7 and Data lines D0-D7 are multiplexed in These lines are labelled as AD0-AD7. –By.
Architecture of 8085 Nitin Mishra. Registers Microprocessor Instruction Cache Arithmetic & Logic Unit Control Unit Bus Interface Unit Data Cache Instruction.
Memory Interface EEE 365 [FALL 2014] LECTURER 12 ATANU K SAHA BRAC UNIVERSITY.
EEE /INSTR/CS F241 ES C263 Microprocessor Programming and Interfacing
Everybody.
Chapter 9: 8086/8088 Hardware Specifications
16.317: Microprocessor System Design I
Introduction to the processor and its pin configuration
PIN description of 8086 in Minimum Mode
COURSE OUTCOMES OF Microprocessor and programming
EE3541 Introduction to Microprocessors
Dr. Michael Nasief Lecture 2
8086/8088 Hardware Specifications
8085 Microprocessor Architecture
Mikroişlemci Sistemleri
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Programmable Peripheral Interface
8085 Microprocessor Architecture
X1 & X2 These are also called Crystal Input Pins.
The 8085 Microprocessor Architecture
8085 Microprocessor Architecture
Presentation transcript:

MICROPROCESSOR BASED SYSTEM DESIGN Lecture # 13 - 14 BY PROF. DR. B. S. CHOWDHRY

        CLEAR YOUR CONCEPTS This is how a Professor explained Marketing Concepts to a class: 1. You see a Gorgeous Girl at a party. You go up to her and say: "I am very rich. Marry me!" - That's Direct Marketing. 2. You are at a party with a bunch of friends and see a Gorgeous Girl. One of your friends goes up to her and pointing at you says: "He's very rich. Marry him!" - That's Advertising. 3. You are at a party and see a Gorgeous Girl. She walks up to you and says: "You are very rich! Can I marry you?" - That's Brand Recognition.

4. You see a Gorgeous Girl at a party 4. You see a Gorgeous Girl at a party. You go upto her and say: "I am very rich. Marry me!" She gives you a nice hard slap on your face. - That's Customer Feedback. 5. You see a Gorgeous Girl at a party. You go upto her and say: "I am very rich. Marry me!" And she introduces you to her husband. - That's Demand and Supply Gap. 6. You see a Gorgeous Girl  at a party. You go upto her and before you say: "I m rich, Marry me!", your wife arrives. - That's Restriction for Entering New Markets.  I hope Concepts are clear...

8086 / 8088 HARDWARE SPECIFICATIONS Pin functions of 8086 / 8088 Microprocessors Clock Generation (Use of 8284 IC) Bus Latching, Bus Buffering Timing Diagrams Wait states Bus Controller (8288)

PIN FUNCTIONS Both 8086 & 8088 are packaged in 40 Pin DIP (Virtually no difference between two microprocessors). 8086 is a 16-bit processor with 16-bit data bus. 8088 is a 16-bit processor with 8-bit data bus (DATA BUS WIDH IS A MAJOR DIFFERENCE BETWEEN THESE PS).

PIN FUNCTIONS (Cont..) Minor Differences Both P require + 5.0V 8086 has M/ I0 pin 8088 has I0 / M pin 8086 has BHE/ S7 8088 has SSO pin Both P require + 5.0V Both P operate in ambient temperatures of between 320F (00C) and about 1800F (820C). (This is not enough range to be used outdoors in the winter or even in the summer). But extended temperature-range versions of 8086 / 8088 P are also available from -400 F ( 400C) through + 2550F (1250C).

PIN CONNECTIONS AD7-AD0 The 8088 address/data bus lines compose the multiplexed address/ data bus of the 8088 and contain the rightmost 8-bits of the memory address or I/O port number whenever ALE is active high (logic 1) or data whenever ALE is active low (logic 0). These pins are at their high-impedance state during a hold acknowledge (HLDA).

PIN CONNECTIONS (Cont...) A15-A8 The 8088 address bus provides the upper-half memory address bits that are present throughout a bus cycle. These address connections go to their high-impedance state during a hold acknowledge (HLDA).

PIN CONNECTIONS (Cont...) AD15-AD8 The 8086 address/data bus lines Compose the upper multiplexed address/data bus on the 8086. These lines contain address bits A15-A8 whenever ALE is a logic 1, and data bus connections whenever ALE is Logic 0. D15-D8. These pins enter a high- impedance state whenever a hold acknowledge occurs.

PIN CONNECTIONS (Cont...) A19/S6-A16/S3 The address/status bus bits are multiplexed to provide address signals A19-A16 and also status bits S6-S3. These pins also attain a high-impedance state during the hold acknowledge Status bit S6 always remains a logic 0, bit S5 indicates the condition of the IF flag bits, and S4 and S3 show which segment is accessed during the current bus cycle. Refer to Table 1for the truth table of S4 and S3.

PIN CONNECTIONS (Cont...) RD Whenever the read signal is a logic 0, the data bus is receptive to data from the memory or I/O devices connected to the system. This pin floats to its high- impedance state during a hold acknowledge. READY This input is controlled to insert wait states into the timing of the microprocessor. If the READY pin is placed at a logic0 level, the microprocessor enters into wait states and remains idle. If the READY pin is placed at a logic 1 level, it has no effect on the operation of the microprocessor

PIN CONNECTIONS (Cont...) INTR Interrupt request is used to request a hardware interrupt. If INTR is held high when IF = 1, the 8086/8088 enters an interrupt acknowledge cycle (INTA becomes active) after the current instruction has completed execution. TEST The Test pin is an input that is tested by the WAIT instruction. IF TEST is a logic 0, the WAIT instruction functions as a NOP. If TEST is a logic 1, then the WAIT instruction waits for TEST to be become a logic 0. This pin is most often connected to the 8087 numeric coprocessor.

NMI. The non-maskable interrupt input is NMI The non-maskable interrupt input is similar to INTR except that the NMI interrupt does not check to see if the IF flag bit is a logic1. If NMI is activated, this interrupt input uses interrupt vector 2. RESET The reset input causes the microprocessor to reset itself if this pin is held high for a minimum of four clocking periods. Whenever the 8086 or 8088 is reset, it begins executing instructions at memory location FFFFOH and disables future interrupts by clearing the IF flag bit. CLK The clock pin provides the basic timing signal to the microprocessor. VCC This power supply input provides a +5.0 V, 10 % signal to the microprocessor.

GND. The ground connection is the return for the. power supply GND The ground connection is the return for the power supply. Note that the 8086/8088 microprocessors have two pins labeled GND both must be connected to ground for proper operation. MN/MX The minimum/maximum mode pin selects either minimum mode or maximum mode operation for the microprocessor. If minimum mode is selected, the MN/MX pin must be connected directly to +5.0 V. BHE/S7 The bus high enable pin is used in the 8086 to enable the most- significant data bus bits (D15-D8) during a read or a write operation. The state of S7 is always a logic1. Minimum Mode Pins. Minimum mode operation of the 8086/8088 is obtained by connecting the MN/MX pin directly to +5.0 V.

I0/M or M/IO. The IO/M (8088) or the M/IO (8086) I0/M or M/IO The IO/M (8088) or the M/IO (8086) pin selects memory or I/O. This pin indicates that the microprocessor address bus contains either a memory address or an I/O port address. This pin is at its high-impedance state during a hold acknowledge. WR The write line is a strobe that indicates that the 8086/808 is outputting data to a memory or I/O device. During the time that the WR is a logic 0, the data bus contains valid data for memory or I/O. This pin floats to a high- impedance during a hold acknowledge. INTA The interrupt acknowledge signal is a response to the INTR input pin. The INTA pin is normally used to gate the interrupt vector number onto the data bus in response to an interrupt request.

ALE. Address latch enable shows that. the 8086/8088 address/data bus ALE Address latch enable shows that the 8086/8088 address/data bus contains address information. This address can be a memory address or an I/O port number. Note that the ALE signal does not float during a hold acknowledge. DT/R The data transmit/receive signal shows that the microprocessor data bus is transmitting (DT/R = 1) or receiving (DT/R = 0) data. This signal is used to enable external data bus buffers.

HOLD. The hold input requests a direct memory. access (DMA) HOLD The hold input requests a direct memory access (DMA). If the HOLD signal is a logic 1, the microprocessor stops executing software and places its address, data, and control bus at the high-impedance state. If the HOLD pin is a logic 0, the microprocessor executes software normally. HLDA Hold acknowledge indicates that the 8086/8088 microprocessors have entered the hold state. SSO The SSO status line is equivalent to the S0 pin in maximum mode operation of the microprocessor. This signal is combined with IO/R and DT/R to decode the function of the current bus cycle (refer to Table 2).

Maximum Mode Pins. In order to achieve maximum mode for use with external coprocessors, connect the MN/MX pin to ground. S2, S1, and SO The status bits indicate the function of the current bus cycle. These signals are normally decoded by the 8288 bus controller. Table 3 shows the function of these three status bits in the maximum mode. RO/GTI and The request/grant pins request RO/GTO direct memory accesses (DMA) during maximum mode operation. These lines are both bi- directional and are used to request and grant a DMA operation.

LOCK The lock output is used to lock peripherals off the system. QS1 and QS0 The queue status bits show the status of the internal instruction queue. These pins are provided for access by the numeric coprocessor (8087). Refer to Table 4 for the operation of the queue status bits.

Clock Generator (8284A) 8284A clock generator is supporting IC of 8086/8088 P. X1 & X2 – Crystal Inputs: Pins connect to an external crystal used as the timing source for the clock generator and all of its functions. RES – Reset Input: To provide power on resetting. RESET- Reset Output: The signal is connected to 8086/8088 RESET input pin. CLK – Clock: An output pin that provides the CLK input signal to 8088/86 P and OTHER COMPONENTS in the systems.

Bus Buffering & Latching Before the 8086/8088 P can be used with memory or I/O interfaces, their multiplexed bus must be demultiplexed. Buses need to be buffered for large systems. Because the maximum fan-out is 10, the system must be buffered if it contains more than 10 other components. 74LS373 Latches are used to demultiplex the address/dada bus connection & multiplexed address/status connections. 373 act as a latch, buffer & demultiplexer.

Bus Timing It is essential to understand bus timing before choosing a memory or I/O device for interfacing with 8086/8088 P. It provides insight into the operation of the bus signals and the basic read & write timing of the 8086/8088. The three buses of 8086/8088 –address, data, and control- function in exactly the same manner as those of any other P. The 8086/8088 Ps use the memory & I/O in periods of time called BUS CYCLES. Each bys cycle equals four system-clock periods (T States). If the clock is operated at 5MHz (The basic operating frequency for these two Ps), then one 8085/8088 bus cycle is complete in 800 ns.

The Ready & Wait State The READY input causes wait states for slower memory & I/O components. A wait state(Tw) is an extra clocking period, inserted between T2 & T3, that lengthens the bus cycle. If one wait state in inserted, then the memory access time, normally 460 ns with a 5 MHz clock, is lengthened by one clocking period (200ns) to 660 ns.

MINIMUM MODE VERSUS MAXIMUM MODE These are two available modes of operations for the 8086/8088 P. Minimum mode operation is obtained by connecting the mode selection pin MN/MX to +5.0V, 2 maximum mode is selected by grounding this pin. Maximum mode is new and unique and designed to be used when ever coprocessor exists in a system. Maximum mode operation differs from minimum mode in that some of the control signals must be externally generated. THIS REQUIRES THE ADDITION OF AN EXTERNAL BUS CONTROLLER- the 8288 chip.