TK2633 8085 I/O Peripherals Interface DR MASRI AYOB.

Slides:



Advertisements
Similar presentations
8085 Microprocessor Architecture – Demultiplexing the AD7-AD0
Advertisements

1 The 2-to-4 decoder is a block which decodes the 2-bit binary inputs and produces four output All but one outputs are zero One output corresponding to.
5.4 Decoders A decoder is a multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs, where the input and output codes.
Parul Polytechnic Institute
The Intel 8255 Programmable Peripheral Interface chip is used to give the microprocessor (8088) access to programmable input/ output devices. It has three.
Logical Design.
Seven Segment Display. What's A 7-Segment Display? A 7-segment display is a package with 7 bar-shaped LEDs arranged to allow the display of many useful.
Subject Code : Name Of Subject : Microprocessor and assembly language programming Name of Unit : Instruction cycle and Timing diagram Topic : Instruction.
8051 I/O Interfacing Need for more ports PPI 8255
System Digital Encoder, Decoder, and Contoh Penerapanya.
TK2633 Introduction to Parallel Data Interfacing DR MASRI AYOB.
Input/Output (I/O) Ports and Interfacing
Input/Output Ports and Interfacing ELEC 330 Digital Systems Engineering Dr. Ron Hayne Images Courtesy of Ramesh Gaonkar and Delmar Learning.
The 8085 Microprocessor Architecture
I/O Unit.
ECE 2372 Modern Digital System Design
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
1 TK2633TK Microprocessor Architecture DR MASRI AYOB.
Room: Timbalan Pengarah Pusat Komputer Phone: Dr Masri Ayob TK 2633 Microprocessor & Interfacing Lecture 4: Introduction.
TK 2633 Microprocessor & Interfacing
Dr Masri Ayob TK 2633: Microprocessor & Interfacing Lecture 5: Arithmetic and Logic Instructions.
TK Memory Interface DR MASRI AYOB. 2 Requirement and memory structure There are two types of memory: –RAM: read and write –ROM: read only Figure.
OTHER COMBINATIONAL LOGIC CIRCUITS
DIGITAL CIRCUITS Dr. L M Head Sophomore Clinic Fall 2004.
OTHER COMBINATIONAL LOGIC CIRCUITS WEEK 7 AND WEEK 8 (LECTURE 2 OF 3)
1 Forging new generations of engineers. 2 DESIGN EXAMPLE “Date of Birth Problem”
BCD to 7-Segment Display
Lab 6 :Digital Display Decoder: 7 Segment LED display Slide #2 Slide #3 Slide #4 Slide #5 Slide #6 Slide #7 Display Decoder Fundamentals LT Control Input.
Digital Outputs 7-Segment Display
Dewan Tanvir Ahmed SITE, UofO
Logic Device and Memory. Tri-state Devices Tri-state logic devices have three states: logic 1, logic 0, and high impedance. A tri-state device has three.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Decoders.
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
Input/Output Ports and Interfacing
The 8253 Programmable Interval Timer
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,
Microcontroller based system design Asst. Prof. Dr. Alper ŞİŞMAN.
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
Computer Architecture Lecture 9 by Engineer A. Lecturer Aymen Hasan AlAwady 10/2/2014 University of Kufa - Information Technology Research and Development.
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
Khaled A. Al-Utaibi  Memory Interface and the 3 Buses  Interfacing the 8088 Processor  Interfacing the 8086 Processor  Interfacing.
TK2633 : MICROPROCESSOR & INTERFACING Lecture 10: Fixed Point Arithmetic Lecturer: Ass. Prof. Dr. Masri Ayob.
Ass. Prof. Dr Masri Ayob Lecture 5: Arithmetic and Logic Instructions TK 2633: Microprocessor & Interfacing.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Projects 8051.
Decoders. A decoder is multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs. Input code with fewer bits than the.
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
ECE 320 Homework #3 1. Simplify the Boolean function F using the don’t care conditions d, in both S.O.P. and P.O.S. form: a) F=A’B’D’+A’CD+A’BC d=A’BC’D+ACD+AB’D’
Magnitude Comparator Dr. Ahmed Telba.
Basic LED Interface.
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.
BCD S EVEN SEGMENT D ECODER. I NTRODUCTION  A Decoder IC, is a device which converts one digital format into another and the most commonly used device.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Tutorial 9 Module 8 – 8.1,8.2,8.3. Question 1 Distinguish between vectored and non-vectored interrupts with an example Build a hardware circuit that can.
MICROPROCESSOR AMARTYA ROY-72 ANGSHUMAN CHATTERJEE-80 ASHISH LOHIA-70 MOLOY CHAKRABORTY-60.
Module 8 Tutorial  An 8086 system is used for controlling the speed of a motor. The motor can operate at 5 different speeds (1- 5).  The speed.
B ASIC I NTERFACING C ONCEPTS ( CONT.) L ECTURE 2 Gunjeet Kaur Dronacharya Group of institutions.
8255: Programmable Peripheral Interface (PPI)
Memory Interfacing.
Lab02 :Logic Gate Fundamentals:
Display Devices 7 segment led display.
Interfacing 64Kb EPROM with 8085
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Interfacing Memory Interfacing.
CSCE 211: Digital Logic Design
TK2633: MICROPROCESSOR & INTERFACING
Design Example “Date of Birth Problem”
CSCE 211: Digital Logic Design
Presentation transcript:

TK I/O Peripherals Interface DR MASRI AYOB

2 I/O Peripherals Interface The objective of interfacing I/O peripherals: –is to obtain information or results from process. –to store, process or display. The instructions IN and OUT perform this operation. The following examples shows the process of instruction: 2050D3OUT 01H

3

4 I/O Peripherals Interface Figure 2 Note: In IO interfacing, only one segment of the address bus (low or high addresses) is sufficient (both segment have same address).

5 I/O Peripherals Interface Figure 2 shows one of the way to decode address lines to obtain output address 01H. The line address A 7 -A 0 is connected to eight NAND gates function as decoder. The line A 0 is connected directly, A 7 -A 1 are connected through inverter gates. The G 2 gate is combined with gate G 1 and IO/W control signal to generate select signal I/O whenever both signals are active low.

6 Multiple output address, I/O interface Figure 2 have shown the technique to decode I/O output address in absolute decoding technique. There is another technique which is cost saving - partial decoding. This technique gives the flexibility to user as to use more than one addresses to one output or input device.

7 Multiple output address, I/O interface Figure 3: Partial Decoding

8 Multiple output address, I/O interface The address lines A 1 and A 0 are unused. Depending on the logic input given at address lines A1 and A0; –the output addresses: 00h, 01h, 02h or 03h, which refer to the same output device. The multiple address is normally used in a small system; –OK if those addresses are not being used by any other system, input or output devices.

9 Input Interface Figure 4: IN FFH

10 Input Interface The assembly instruction for that circuit in fig. 4 is IN FFH. Note: FFH = binary The line address is decoded using NAND gates. When address A 7 -A 0 is active high (FFH), the output of NAND gate will have an active low signal and then combined with control signals IOR at G 2. Suppose the μp run the IN FFH instruction, data at DIP switches will be placed at data bus and copied to accumulator.

11 I/O interface using decoder Figure 5

12 I/O interface using decoder Circuit in figure 5 decode input and output device at once using 3-to-8 decoder and four input NAND gates. The address lines A 2, A 1 and A 0 are used as inputs to decoder, and the remaining line address A 7 ke A 3 is used to enable the decoder chip. The decoder has eight output; therefore we can use the decoder to address eight kind of input and output devices.

13 Seven segment display output interface. Figure 6

14 Seven segment display output interface Fig 6 shows two different type of 7-segment display; common cathode and common anode. 7-segment display consists of a few LEDs and are arranged physically as shown in figure 7a. It has seven segment from A to G that normally connected to data bus D 0 to D 6 respectively. If decimal point is used, D 7 will be connected to DP; and left unconnected if it is unused.

15 Seven segment display output interface. Figure 7

16 Seven segment display output interface. Fig. 7 shows the example to interface seven segment display and address decoder with an address of FDH. The common anode display is used therefore 0 logic is needed to activate the segment. Suppose to display number 4 at seven segment display, therefore the segment F, G, B and C have to be activated. Follows are the instructions to execute it: –MVI A, 66H OUT FDH D 7 D 6 D 5 D 4 D 3 D 2 D 1 D 0 X = 66 H Data lines: NC G F E D C B A Bits: Segments:

17 Thank you Q&A