EEE /INSTR/CS F241 ES C263 Microprocessor Programming and Interfacing

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
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
Engineering 4862 Microprocessors Lecture 23 Cheng Li EN-4012
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
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.
MICROPROCESSOR BASED SYSTEM DESIGN
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.
Memory interface Memory is a device to store data
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.
8086/8088 Hardware Specifications Power supply:  +5V with tolerance of ±10%;  360mA. Input characteristics:  Logic 0 – 0.8V maximum, ±10μA maximum;
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.
8085. Microcomputer Major components of the computer - the processor, the control unit, one or more memory ICs, one or more I/O ICs, and the clock Major.
Engineering 4862 Microprocessors Lecture 21
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.
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.
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.
Memory Interface EEE 365 [FALL 2014] LECTURER 12 ATANU K SAHA BRAC UNIVERSITY.
Welcome to the presentation given by Rock group topic of presentation:- pin configuration of st member:-Mithun majumdar 2 nd member:-Gaurav Kumar.
COURSE OUTCOMES OF Microprocessor and programming
Everybody.
Chapter 9: 8086/8088 Hardware Specifications
The 8085 Microprocessor Architecture
16.317: Microprocessor System Design I
Introduction to the processor and its pin configuration
CPU Sequencing 6/30/2018.
PIN description of 8086 in Minimum Mode
COURSE OUTCOMES OF Microprocessor and programming
The 8085 Microprocessor Architecture
8086 MICROPROCESSOR ARCHITECTURE & SEGMENTATION
EE3541 Introduction to Microprocessors
Tutorial 7 Module 5.
Dr. Michael Nasief Lecture 2
DMA CONTROLLER 8257 Features: It is a 4-channel DMA.
8086/8088 Hardware Specifications
8085 microprocessor.
8085 Microprocessor Architecture
..
8086 and families.
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Architecture of Microprocessor (Intel 8085) Unit-I
Interfacing Memory Interfacing.
Architecture & Support Components
8085 Microprocessor Architecture
X1 & X2 These are also called Crystal Input Pins.
The 8085 Microprocessor Architecture
第四章 80386的存贮器和输入/输出接口 作业:P335 5,7,13,17,21,25,36,37,41,44,45,46,48,52,65 21:46.
Flags Carry flag Overflow Parity flag Direction Interrupt enable
CHAPTER HARDWARE CONNECTION.
8085 Microprocessor Architecture
CPU Sequencing 7/20/2019.
8086 microprocessior PIN OUT DIAGRAM OF  Power supply and frequency signals  It uses 5V DC supply at V CC pin 40, and uses ground at V SS pin.
Presentation transcript:

EEE /INSTR/CS F241 ES C263 Microprocessor Programming and Interfacing Pawan Sharma Lecture 33 21-03-2012

Today’s Lecture 8086 – Pin out & Bus Operations Demultiplexing of CPU buses Timing diagrams

8086 GND 1 40 VCC AD14 2 39 AD15 AD13 3 38 A16/S3 AD12 4 37 A17/S4 S4 S3 characteristics 0 0 ES 0 1 SS 0 CS 1 DS S5: status of EI flag bit S6: 0 AD13 3 38 A16/S3 AD12 4 37 A17/S4 AD11 5 36 A18/S5 AD10 6 37 A18/S6 AD9 7 35 BHE/S7 S7: spare status bit AD8 8 33 MN/MX AD7 9 32 RD AD6 10 8086 31 ALE INTA DEN DT/R M/IO WR HLDA HOLD RQ/GT0 AD5 11 30 RQ/GT1 AD4 12 29 LOCK AD3 13 28 S2 AD2 14 27 S1 AD1 15 26 S0 AD0 16 25 QS0 NMI 17 24 QS1 INTR 18 23 TEST CLK 19 22 READY GND 20 21 RESET next

Minimum & Maximum Modes of Operations 8088/8086 can be configured to work in any of the two modes Minimum Mode MN/MX’ –logic 1 Single processor in system Smaller systems/ Cheaper Maximum Mode MN/MX’ – logic 0 Larger systems – more than one processor e.g. – Numeric Data processor (8087) –co-processor back

Instruction Cycle Machine Cycle T states MOV BX,[0114H] 8B1E 1401

One cycle of this clock is called a state CLK is crystal controlled clock signal sent to 8086 from an external clock generator device such as 8284 One cycle of this clock is called a state A state is measured as rising/falling edge of one clock pulse to rising/falling edge of next clock pulse Different versions of 8086 have maximum clock frequencies of between 5MHz and 10MHz The minimum time of one state will be between 200nS to 100nS A basic operation such as reading a byte from memory /port or writing a byte to a memory/port is called a machine cycle back

ADDRESS & DATA being MULTIPLEXED on the ADDRESS BUS A0 – A15 + D0 – D15 AD0 – AD15 De-multiplexed externally using latch

LS273 OE G ALE back

9

M/IO’ IOR’ RD’ M/IO’ RD’ WR’ Bus cycle 1 MEMR’ MEMW’ IOR’ IOW’ M/IO’ IOW’ WR’ M/IO’ MEMR’ RD’ M/IO’ MEMW’ WR’ back

Read Machine Cycle 8086 asserts M/IO’ high if read is from memory and low if read is from port. Send out ALE to latch the address 8086 asserts DT/R’ signal low to put data buffers in receive mode ( why are buffers needed?) Then 8086 sends out the address on AD0 to AD19 and the signal BHE’. Pulls ALE low and address is held on output of latches. Asserts RD’ low to read data from memory or port. RD’ then goes high indicating valid data available on data bus. Asserts DEN’ low to enable the data bus buffers Data put on the data bus by an addressed port or memory will then be able to come in through the buffers to 8086 on the AD0 to AD15 bus

Buffered Systems Buffering of control/data/addr busses  to make signals sufficiently strong to drive various IC chips Pulse leaves IC chip - drop in strength due to parasitic capacitances. As the signal value changes from 0 to 1 or 1 to 0, these unwanted capacitors are charged and discharged. Based on distance between the IC generating the signal & the IC receiving the signal and their input capacitances . More Pins a signal is connected (Fan-out) to, stronger must be the signal Bus buffering  Boosting the signals traveling on the bus Unidirectional Buffer - 74LS244 Bidirectional Buffer - 74LS245

E DIR A Bus Inputs/Outputs B Bus DEN DT/R

Bus Cycle & Time States Bus cycle defines the basic operation that a µp performs to communicate with ext devices Bus Cycles – MEMR’, MEMW’, IOR’, IOW’ Corresponds to the sequence of events that starts with an address being o/p on the system bus followed by a read/write data transfer During these operations - a series of control signals are also produced by the µp to control the direction and timing of the bus Each bus cycle is made of at least 4 clock periods – called T-states

Signals of 8086 used during a bus transfer AD15 – AD0 – Multiplexed Address & Data A19/S6 – A16/S3 – Higher order Address / Status M/IO’ – Indicates whether access is to memory or I/O RD’ - Read Operation from Memory/IO WR’ - Write Operation to Memory/IO ALE - When set – Multiplexed AD0 – AD15 has address DT/R’ - 8086 is transmitting/receiving data DEN’ - Enable data buffers connected to 8086

Bus Timings for a Read Operation Tw T1 T2 T3 T4 CLK A19-A16/S6–S3 S7 – S3 BHE’/A19 – A16 AD19- AD16 A15-A0 Bus reserved for Data in Data Data Setup Address Setup M/IO’ ALE DT/R’ RD’ DEN’ Memory access time 200 ns 800 ns Bus Timings for a Read Operation

During write cycle 8086 asserts DT/R’ signal high to put the buffers in the transmit mode When 8086 asserts DEN’ low to enable the buffers- data o/p from 8086 will pass through the buffers to the addressed port or memory location back

T1 T2 T3 T4 CLK A19-A16/S6–S3 A19 – A16 S7 – S3 AD19- AD16 A15-A0 Data Address Setup M/IO’ ALE DT/R’ WR’ DEN’ 200 ns 800 ns Bus Timings for a Write Operation

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

A16-A19 S6-S3 BHE’/S7 ALE AD8-AD15 AD0-AD7 MN/MX’ A16-A19 LS373 BHE’ G OE’ ALE 8086 LS373 AD8-AD15 A8-A15 G OE’ LS373 AD0-AD7 A0-A7 G OE’ MN/MX’ 5V

RD WR M/IO AD8-AD15 DT/R’ DEN’ AD0-AD7 MN/MX’ MEMR LS244 LOGIC CIRCUIT MEMW WR IOR M/IO OE’ IOW 8086 LS245 AD8-AD15 D8-D15 DT/R’ DIR OE’ DEN’ LS245 AD0-AD7 D0-D7 DIR OE’ MN/MX’ 5V

A Fully buffered 8086 system 22 22