Interfacing I/O Devices

Slides:



Advertisements
Similar presentations
MICROPROCESSOR BASED SYSTEM DESIGN
Advertisements

Accessing I/O Devices Processor Memory BUS I/O Device 1 I/O Device 2.
Parul Polytechnic Institute
MICROPROCESSORS TWO TYPES OF MODELS ARE USED :  PROGRAMMER’S MODEL :- THIS MODEL SHOWS FEATURES, SUCH AS INTERNAL REGISTERS, ADDRESS,DATA & CONTROL BUSES.
The 8085 Microprocessor Architecture
The 8085 Microprocessor Architecture. Contents The 8085 and its Buses. The address and data bus ALU Flag Register Machine cycle Memory Interfacing The.
CS-280 Dr. Mark L. Hornick 1 Parts of a GP Computer (Microcomputer) Contains separate Microprocessor chip Memory/Memory controller MB control chips Peripheral.
DEEPAK.P MICROPROCESSORS AND APPLICATIONS Mr. DEEPAK P. Associate Professor ECE Department SNGCE 1.
Memory and I/O Interfacing
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
Fig 8-4 p-341. S 5 =IF flag (interrupt Enable). S 6 =0 always.
Input/Output. I/O Initiation & Control  Transfer of data between circuitry external to the microprocessor and the microprocessor itself.  Transfer of.
Computer Architecture Lecture 8 by Engineer A. Lecturer Aymen Hasan AlAwady 30/12/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
BASIC INPUT AND OUTPUT INTERFACING.  8085A communicate with outside world using the I/O devices.  Since memory and I/O devices share the system bus,
Basic I/O Interface A Course in Microprocessor
1. Introduction 2. Methods for I/O Operations 3. Buses 4. Liquid Crystal Displays 5. Other Types of Displays 6. Graphics Adapters 7. Optical Discs 10/01/20151Input/Output.
By, Prof. Tambe S. S. S.N.D. College of Engineering and Research Center Department of Electrical Engineering.
Microcontroller based system design Asst. Prof. Dr. Alper ŞİŞMAN.
Computer Architecture and Organization Introduction.
Computer Architecture Lecture 9 by Engineer A. Lecturer Aymen Hasan AlAwady 10/2/2014 University of Kufa - Information Technology Research and Development.
ELEC4601 Microprocessors Lab 2 Tutorial Signal Waveforms and Parallel port programming.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
Basic I/O Interface Fixed Address Variable Address
Khaled A. Al-Utaibi  I/O Ports  I/O Space VS Memory Space  80x86 I/O Instructions − Direct I/O Instructions − Indirect I/O Instructions.
I/O Interface. INTRO TO I/O INTERFACE I/O instructions (IN, INS, OUT, and OUTS) are explained. Also isolated (direct or I/O mapped I/O) and memory-mapped.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
8085 Microprocessor: Architecture & Support Components.
The 8085A is a general-purpose microprocessor with low hardware overhead requirements. Within the 8085A are contained the functions of clock generation,
Index What is an Interface Pins of 8085 used in Interfacing Memory – Microprocessor Interface I/O – Microprocessor Interface Basic RAM Cells Stack Memory.
نظام المحاضرات الالكترونينظام المحاضرات الالكتروني The 8085 Microprocessor Architecture.
STUDY OF PIC MICROCONTROLLERS.. Design Flow C CODE Hex File Assembly Code Compiler Assembler Chip Programming.
8255 Programmable Peripheral Interface
Types of format of data transfer
Seminar On 8085 microprocessor
BLOCK DIAGRAM OF INTEL 8085.
Everybody.
The 8085 Microprocessor Architecture
UNIT – Microcontroller.
Diagram of microprocessor interface with IO devices
Input/Output.
The 8085 Microprocessor Architecture
Serial I/O and Data Communication.
TIMING DIAGRAM OF 8085.
8085 microprocessor.
8085 Microprocessor Architecture
Microcomputer Architecture
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Architecture of Microprocessor (Intel 8085) Unit-I
Instruction Formats Each instruction consists of two parts:
Kanwaljeet Singh, Lovely Professional University.
Interfacing Memory Interfacing.
Number Representations and Basic Processor Architecture
I/O Interfacing CSE 2312 Maher Al-Khaiyat.
Instruction cycle Instruction: A command given to the microprocessor to perform an operation Program : A set of instructions given in a sequential.
ECEG-3202 Computer Architecture and Organization
Parallel communication interface 8255
Architecture & Support Components
8085 Microprocessor Architecture
ECEG-3202 Computer Architecture and Organization
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
Programmable Peripheral Interface
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
The 8085 Microprocessor Architecture
Prof. Nitin Ahire XIE, Mahim
UNIT-III Pin Diagram Of 8086
8085 Microprocessor Architecture
AGENDA Architecture Microprocessor Communication and Bus Timings
AGENDA Architecture Microprocessor Communication and Bus Timings
A CCESSING I/O DEVICES. I/O devices accessed through I/O interface. Requirements for I/O interface: –CPU communication –Device communication –Data buffering.
Presentation transcript:

Interfacing I/O Devices

Bus control signals 8085 IO/M RD WR MEMR MEMWR IOWR

Interfacing I/O Devices Using I/O devices data can be transferred between the microprocessor and the outside world. This can be done in groups of 8 bits using the entire data bus. This is called parallel I/O. The other method is serial I/O where one bit is transferred at a time using the SI and SO pins on the Microprocessor.

Dealing with I/O Devices Consider them like any other memory location. They are assigned a 16-bit address within the address range of the 8085. The exchange of data with these devices follows the transfer of data with memory. The user uses the same instructions used for memory. This is called memory-mapped I/O.

Dealing with I/O Devices Treat them separately from memory: I/O devices are assigned a “port number” within the 8-bit address range of 00H to FFH. The user in this case would access these devices using the IN and OUT instructions only. This is called I/O-mapped I/O or Peripheral-mapped I/O.

Basic interfacing concepts The first step in interfacing an I/O device would be to determine which instructions will be used to access it. IN/OUT instructions Peripheral-mapped I/O device. Data transfer instructions (LDA, STA, etc.) Memory mapped I/O device.

Peripheral I/O instructions There are two instructions: IN brings data (8-bits) from an input device to the accumulator OUT brings data (8-bits) from the accumulator to an output device. They are both 2 byte instructions with the second byte holding the 8-bit address of the device.

Peripheral I/O instructions Given that there are separate instructions for input and output, the 8085 can actually communicate with 256 different input devices AND an additional 256 different output devices.

Comparison of Memory Mapped I/O and Peripheral I/O Characteristics Memory Mapped I/O Peripheral I/O Device Address 16 bit 8 bit Control signals MEMR/MEMW IOR/IOW Instructions STA,LDA,STAX,LDAX, MOV M,R ADDM etc. IN, OUT Data transfer Between any register and IO Only between I/O and the accumulator

Comparison of Memory Mapped I/O and Peripheral I/O Characteristics Memory Mapped I/O Peripheral I/O Maximum No. of I/Os possible 64K is shared between I/Os and system memory 256 input devices and 256 output devices Execution speed 13 T-states(STA,LDA) 7 T-states (MOV M,R) 10 T- states Hardware Requirements More hardware is needed to decode 16 bit address Less Hardware is required to decode 8 bit address Other features Arithmetic and logical operations can be directly performed with I/O data Not Available