COSC 456 Lesson 19: Laboratory 5 IBM PC Interfacing The parallel port is a 25-pin DB-25 (D-shaped) connector accessible from the back of the PC The expansion.

Slides:



Advertisements
Similar presentations
MICROPROCESSOR BASED SYSTEM DESIGN
Advertisements

INPUT-OUTPUT ORGANIZATION
The Intel 8255 Programmable Peripheral Interface chip is used to give the microprocessor (8088) access to programmable input/ output devices. It has three.
MC68HC11 System Overview. System block diagram (A8 version)
Chapter 10 Input/Output Organization. Connections between a CPU and an I/O device Types of bus (Figure 10.1) –Address bus –Data bus –Control bus.
Chapter 10 Input / Output Organization CS 147 Yueyang Zhou.
I/O Interfaces.
©annax1 PC-technology Keyboard Graphics Interface cards.
8255 – PROGRAMMABLE PARALLEL
82C55 82C55 Programmable Peripheral Interface Interfacing Part III.
I/O Unit.
CSNB373: Microprocessor Systems
CS-334: Computer Architecture
Input-output and Communication Prof. Sin-Min Lee Department of Computer Science.
EET Advanced Digital Parallel Ports. n In contrast to serial ports, parallel ports ‘present’ all bits at one time. n ‘The parallel port reflects.
Chapter 10 Supporting I/O Devices. You Will Learn…  How to install peripheral I/O devices  How to use ports and expansion slots for add- on devices.
I/O Subsystem Organization and Interfacing Cs 147 Peter Nguyen
P Address bus Data bus Read-Only Memory (ROM) Read-Write Memory (RAM)
9/20/6Lecture 3 - Instruction Set - Al Hardware interface (part 2)
18 Nov 2003Ryan Kittredge Digital Communications Ryan Kittredge Technical Topic Report 19 November 2003.
EE 316 Computer Engineering Junior Lab Lecture on PC Parallel port.
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.
Chapter 4 Section 3.
Parallel Ports of PC Methods of interfacing Examples.
University of Tehran 1 Interface Design Keyboard and Printer Omid Fatemi.
INPUT-OUTPUT ORGANIZATION
PS/2 Keyboard USB Ports Serial Port VGA Port Speakers Line In Microphone PS/2 Mouse RJ-45(Ethernet) LPT1 (Parallel) Game Port (Joystick)
INPUT/OUTPUT ARCHITECTURE By Truc Truong. Input Devices Keyboard Keyboard Mouse Mouse Scanner Scanner CD-Rom CD-Rom Game Controller Game Controller.
CSC 370 (Blum)1 Hardware Overview Continued. CSC 370 (Blum)2 Serial Port The serial port is used along with a local communication standard that transmits.
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
Computer Organization CSC 405 Bus Structure. System Bus Functions and Features A bus is a common pathway across which data can travel within a computer.
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
CHAPTER 5 I/O PRINCIPLE Understand the principles of System Bus
1 Chapter Overview Understanding Expansion Buses Configuring Expansion Cards Cables and Connectors.
1 System Resources. 2 Interrupt Request (IRQ) Channels Interrupt Request (IRQ) Channels Direct Memory Access (DMA) Channels Direct Memory Access (DMA)
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
Basic I/O Interface A Course in Microprocessor
Input/Output Interface Circuits and LSI Peripheral Devices
Input/Output 2 What is I/O? How we get the CPU to communicate with devices From the computer’s point of view, it’s just 1’s and 0’s Gets interpreted.
Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CE-321: Computer.
Applications of PPI A/D - Temperature Sensor. Analog to Digital.
Buses All devices in the computer are connected to the External Data Bus Extension to External Data Bus called Expansion Bus –Used for devices that might.
Computer System Internal components - The processor - Main memory - I / O controllers - Buses External components (peripherals). These include: - keyboard.
Printer Port * 0= * 1= * 6= 60 1 * 4 = 4 = 164 Decimal Binary We use Ten Symbols
CSIT 301 (Blum)1 Hardware Overview Continued. CSIT 301 (Blum)2 Serial Port The serial port is used along with a local communication standard that transmits.
PPI-8255.
Semester One 2001/2002 Sheffield Hallam University1 What does a PC do? computers collect, process, store, and communicate information Collect via input.
I/O AND THE 8255; ISA BUS INTERFACING
Basic I/O Interface Fixed Address Variable Address
ENEE 440 Chapter PPI 8255 Register Select -CS A1 A0 REGISTER R/W PORT A R/W PORT B R/W PORT C R/W CR W 1 X X8255 NOT.
Basic LED Interface.
Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower than CPU.
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.
Input Output Techniques Programmed Interrupt driven Direct Memory Access (DMA)
Lesson 5 Installation and Configuration Core Hardware Fundamentals.
KAASHIV INFOTECH – A SOFTWARE CUM RESEARCH COMPANY IN ELECTRONICS, ELECTRICAL, CIVIL AND MECHANICAL AREAS
Memory Mapped IO (and the CerfBoard). The problem How many IO pins are available on the 8051? What if you are using interrupts, serial, etc…? We want.
Intel 8255A PPI EEE 365 [FALL 2014] LECTURE ATANU K SAHA BRAC UNIVERSITY.
Microprocessors CSE- 341 Dr. Jia Uddin Assistant Professor, CSE, BRAC University Dr. Jia Uddin, CSE, BRAC University.
8255 Programmable Peripheral Interface
Input / Output.
CS-401 Compute Architecture & Assembly Language Programming
CS703 - Advanced Operating Systems
IRQ, DMA and I/O Ports - Introduction -
Physics 413 Chapter 10.
I/O Interfacing CSE 2312 Maher Al-Khaiyat.
COMPUTER PERIPHERALS AND INTERFACES
Presentation transcript:

COSC 456 Lesson 19: Laboratory 5

IBM PC Interfacing The parallel port is a 25-pin DB-25 (D-shaped) connector accessible from the back of the PC The expansion slot provides access to the address bus, data bus, several IRQ lines, clock signal, and several control lines

Parallel Port (DB-25 connector)

DB-25 Pin Functions Pins 2 through 9 are the 8 data pins D0 through D7. Data Port = “base” address of the printer port(378) Pins 18 through 25 are ground pins Pins 1, 14, 16, and 17 are -strobe, -auto feed, initialize, and -select input. These are all outputs to the printer and accessed via the Control Port whose address is base + 2 Pins 10, 11, 12, 13, and 15 are -acknowledge, busy, paper empty, select, and -error. These are outputs from the printer and accessed via the Status Port whose address is base + 1.

Moving data IN and OUT INReads in the data from a peripheral device (I/O) OUTSends data out to a peripheral device(I/O) MOV sends data to and from memory

IN and OUT the right way... IN AL, 40HData from port 40h is read into AL OUT 40H, ALData from AL is sent to port 40h IN AL, 340HIllegal because 340 is > FF MOV DX, 378 Data from port 378 is read into AL IN AL, DX OUT DX, ALData from AL sent to port 378

Memory Map FF1KInterrupt Vectors A BFFFF128 KVideo RAM B8000-BBFFF16KCGA A0000-AFFFF64KVGA FF1/4 KBIOS Data Area F FFFFF64 KBIOS ROM

I / O Map FDMA controller8237A PIC1 (master)8259A Keyboard controller Real-time clockMC DMA page register74LS612 1F0-1F8Hard-disk controller Game adapter FParallel "printer" port 2 (LPT2) FPrototype adapter for interfacing FParallel "printer" port1 (LPT1) 3D0-3DFCGA / VGA controller 3F0-3F7"Floppy" disk controller 3F8-3FFSerial port1 (asynchronous: COM1)