Basic LED Interface.

Slides:



Advertisements
Similar presentations
Chapter 11: Basic I/O Interface – Part 1. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. The Intel.
Advertisements

IO Interfaces and Bus Standards. Interface circuits Consists of the cktry required to connect an i/o device to a computer. On one side we have data bus.
Computer Organization, Bus Structure
I/O Organization popo.
Accessing I/O Devices Processor Memory BUS I/O Device 1 I/O Device 2.
INPUT-OUTPUT ORGANIZATION
8255 – PROGRAMMABLE PARALLEL
TK2633 Introduction to Parallel Data Interfacing DR MASRI AYOB.
Engineering 4862 Microprocessors Lecture 23 Cheng Li EN-4012
82C55 82C55 Programmable Peripheral Interface Interfacing Part III.
COMP3221: Microprocessors and Embedded Systems Lecture 17: Computer Buses and Parallel Input/Output (I) Lecturer: Hui.
I/O Unit.
Processor System Architecture
Chapter 11: Basic I/O Interface. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. The Intel Microprocessors:
HD44780 LCD programming From the Hardware Side Design and implementation details on the way to a valid SPI-LCD interface driver.
Room: Timbalan Pengarah Pusat Komputer Phone: Dr Masri Ayob TK 2633 Microprocessor & Interfacing Lecture 4: Introduction.
TK 2633 Microprocessor & Interfacing
P Address bus Data bus Read-Only Memory (ROM) Read-Write Memory (RAM)
Practical Session No. 10 Input &Output (I/O). I/O Devices Input/output (I/O) devices provide the means to interact with the “outside world”. An I/O device.
INPUT-OUTPUT ORGANIZATION
HD44780 LCD programming From the Hardware Side
Khaled A. Al-Utaibi Memory Devices Khaled A. Al-Utaibi
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
SAP1 (Simple-As-Possible) Computer
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
8086/8088 Hardware Specifications A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
MICROPROCESSOR INPUT/OUTPUT
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
I NTRODUCTION P IN CONFIGARATION O PERATING MODE.
Microcontroller based system design Asst. Prof. Dr. Alper ŞİŞMAN.
Khaled A. Al-Utaibi  Interrupt-Driven I/O  Hardware Interrupts  Responding to Hardware Interrupts  INTR and NMI  Computing the.
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.
(More) Interfacing concepts. Introduction Overview of I/O operations Programmed I/O – Standard I/O – Memory Mapped I/O Device synchronization Readings:
Microprocessor-Based System. What is it? How simple can a microprocessor-based system actually be? – It must obviously contain a microprocessor otherwise.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
Accessing I/O Devices Processor Memory BUS I/O Device 1 I/O Device 2.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
12/16/  List the elements of 8255A Programmable Peripheral Interface (PPI)  Explain its various operating modes  Develop a simple program to.
PPI-8255.
Programmable Interrupt Controller (PIC)
PROGRAMMABLE PERIPHERAL INTERFACE -8255
Basic I/O Interface Fixed Address Variable Address
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
The Computer System.
EE365 - Microprocessors period 26 10/23/00 D. R. Schertz # Parallel Ports.
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.
1 Microprocessors CSE – 341 Basic I/O Interfacing.
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.
بسم الله الرحمن الرحيم MEMORY AND I/O.
Lecture Overview Shift Register Buffering Direct Memory Access.
8085 INTERNAL ARCHITECTURE.  Upon completing this topic, you should be able to: State all the register available in the 8085 microprocessor and explain.
REGISTER TRANSFER LANGUAGE (RTL) INTRODUCTION TO REGISTER Registers1.
Counters and registers Eng.Maha Alqubali. Registers Registers are groups of flip-flops, where each flip- flop is capable of storing one bit of information.
Chapter 11: Basic I/O Interface – Part 1. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. The Intel.
Diagram of microprocessor interface with IO devices
E3165 DIGITAL ELECTRONIC SYSTEM
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Interfacing Memory Interfacing.
8255.
Parallel communication interface 8255
Programmable Peripheral Interface
82C55 Programmable Peripheral Interface
8255 – PROGRAMMABLE PARALLEL
HD44780 LCD programming From the Hardware Side
HD44780 LCD programming From the Hardware Side
8255 – PROGRAMMABLE PARALLEL
The Programmable Peripheral Interface (8255A)
Presentation transcript:

Basic LED Interface

Basic Input and Output Interfaces The basic input device is a set of three-state buffers. The basic output device is a set of data latches. The term IN refers to moving data from the I/O device into the microprocessor and The term OUT refers to moving data out of the microprocessor to the I/O device.

The Basic Input Interface Three-state buffers are used to construct the 8-bit input port depicted in Figure 11–3. External TTL data are connected to the inputs of the buffers. buffer outputs connect to the data bus The circuit of allows the processor to read the contents of the eight switches that connect to any 8-bit section of the data bus when the select signal becomes a logic 0.

Figure 11–3  The basic input interface illustrating the connection of eight switches. Note that the 74ALS244 is a three-state buffer that controls the application of the switch data to the data bus.

When the IN instruction executes, contents of the switches copy to the AL register. This basic input circuit is not optional and must appear any time input data are interfaced to the microprocessor. Sometimes it appears as a discrete part of the circuit, as shown in Figure 11–3. also built into a programmable I/O devices Sixteen- or 32-bit data can also be interfaced but is not nearly as common as 8-bit data.

The Basic Output Interface Receives data from the processor and usually must hold it for some external device. latches or flip-flops, like buffers in the input device, are often built into the I/O device Fig 11–4 shows how eight light-emitting diodes (LEDs) connect to the processor through a set of eight data latches. The latch stores the number output by the microprocessor from the data bus so that the LEDs can be lit with any 8-bit binary number.

Figure 11–4  The basic output interface connected to a set of LED displays.

Latches hold the data because when the processor executes an OUT, data are only present on the data bus for less than 1.0 µs. the viewer would never see the LEDs illuminate When the OUT executes, data from AL, AX, or EAX transfer to the latch via the data bus. Each time the OUT executes, the SEL signal activates, capturing data to the latch. data are held until the next OUT When the output instruction is executed, data from the AL register appear on the LEDs.

Handshaking Many I/O devices accept or release information slower than the microprocessor. A method of I/O control called handshaking or polling, synchronizes the I/O device with the microprocessor. An example is a parallel printer that prints a few hundred characters per second (CPS). The processor can send data much faster. a way to slow the microprocessor down to match speeds with the printer must be developed

Fig 11–5 illustrates typical input and output connections found on a printer. data transfers via data connections (D7–D0) ASCII data are placed on D7–D0, and a pulse is then applied to the STB connection. BUSY indicates the printer is busy STB is a clock pulse used to send data to printer The strobe signal sends or clocks the data into the printer so that they can be printed. as the printer receives data, it places logic 1 on the BUSY pin, indicating it is printing data

Figure 11–5  The DB25 connector found on computers and the Centronics 36-pin connector found on printers for the Centronics parallel printer interface.