Advanced Computers and Communications (ACC) Faculty Advisors: Dr. Charles Liu Dr. Helen Boussalis 10/25/20121NASA Grant URC NCC NNX08BA44A Student Assistants:

Slides:



Advertisements
Similar presentations
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.
Advertisements

INPUT-OUTPUT ORGANIZATION
1  1998 Morgan Kaufmann Publishers Interfacing Processors and Peripherals.
PROGRAMMABLE PERIPHERAL INTERFACE -8255
EXTERNAL COMMUNICATIONS DESIGNING AN EXTERNAL 3 BYTE INTERFACE Mark Neil - Microprocessor Course 1 External Memory & I/O.
Programmable Interval Timer
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.
Programmable Keyboard/ Display Interface: 8279
8255 – PROGRAMMABLE PARALLEL
TK2633 Introduction to Parallel Data Interfacing DR MASRI AYOB.
Input/Output Organization Asynchronous Bus
82C55 82C55 Programmable Peripheral Interface Interfacing Part III.
Microprocessor and Microcontroller
Direct Memory Access Introduction to 8237
I/O Unit.
Processor System Architecture
Input-output and Communication Prof. Sin-Min Lee Department of Computer Science.
Distributed Tuple-space Server for Ubiquitous Video Conferencing Faculty Advisors Dr. Helen Boussalis Dr. Charles Liu Student Assistants: John Paul Adigwu.
4-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL Hardware Detail of Intel.
Ubiquitous Video Conferencing Faculty Advisors: Dr. Helen Boussalis Dr. Charles Liu Dr. Darrell Guillaume Dr. Chivey Wu Dr. Khosrow Rad Student Assistants:
EET Advanced Digital Parallel Ports. n In contrast to serial ports, parallel ports ‘present’ all bits at one time. n ‘The parallel port reflects.
9/20/6Lecture 3 - Instruction Set - Al Hardware interface (part 2)
Unit-5 CO-MPI autonomous
INPUT-OUTPUT ORGANIZATION
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.
Computer Architecture Lecture 08 Fasih ur Rehman.
May 9, USB 2.0 High Bandwidth Peripheral Design Challenges Robert Shaw Cypress Semiconductor Robert Shaw Cypress Semiconductor
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
Basic I/O Interface A Course in Microprocessor
By, Prof. Tambe S. S. S.N.D. College of Engineering and Research Center Department of Electrical Engineering.
I NTRODUCTION P IN CONFIGARATION O PERATING MODE.
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.
 8251A is a USART (Universal Synchronous Asynchronous Receiver Transmitter) for serial data communication.  Programmable peripheral designed for synchronous.
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.
8279 KEYBOARD AND DISPLAY INTERFACING
12/16/  List the elements of 8255A Programmable Peripheral Interface (PPI)  Explain its various operating modes  Develop a simple program to.
©2008 R. Gupta, UCSD COSMOS Summer 2008 Peripheral Interfaces Rajesh K. Gupta Computer Science and Engineering University of California, San Diego.
PPI-8255.
8279 KEYBOARD AND DISPLAY INTERFACING
Programmable Interrupt Controller (PIC)
PROGRAMMABLE PERIPHERAL INTERFACE -8255
Basic LED Interface.
Parallel I/O. Introduction This section focuses on performing parallel input and output operations on the 68HC11 3 operation types – Simple, blind data.
8255:Programmable Peripheral Interface
8251 USART.
Gandhinagar Institute of Technology
Intel 8255A PPI EEE 365 [FALL 2014] LECTURE ATANU K SAHA BRAC UNIVERSITY.
8255 Programmable Peripheral Interface
ASYNCHRONOUS DATA TRANSFER
Interconnection Structures
Department of Computer Science and Engineering
PROGRAMMABLE PERIPHERAL INTERFACE -8255
Chapter 6 Input/Output Organization
Chapter 10 Input/Output Organization
Presented By: Navneet Kaur Randhawa Lect. I.T. Deptt. GPC,Amritsar
Diagram of microprocessor interface with IO devices
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
The 8255 Programmable Peripheral Interface
Computer Organization and Design
PROGRAMMABLE PERIPHERAL INTERFACE -8255
8255.
Serial Communication Interface: Using 8251
Parallel communication interface 8255
Programmable Peripheral Interface
82C55 Programmable Peripheral Interface
8255 – PROGRAMMABLE PARALLEL
Programmable Peripheral Interface
8255 – PROGRAMMABLE PARALLEL
The Programmable Peripheral Interface (8255A)
Presentation transcript:

Advanced Computers and Communications (ACC) Faculty Advisors: Dr. Charles Liu Dr. Helen Boussalis 10/25/20121NASA Grant URC NCC NNX08BA44A Student Assistants: Airs Lin Aleksander Milshteyn Gabriel Nunez Evan Tsai

Handshaking Protocol 7/19/2012NASA Grant URC NCC NNX08BA44A2

Handshaking Protocol 7/19/2012NASA Grant URC NCC NNX08BA44A3 Flow of data: PC (Application)  USB Output  FPGA Input PC (Application)  USB Input  FPGA Output Begin End

Simple Parallel I/O Processor writes data into output port Processor reads data from input port No latching of data No indication that data has changed

Strobe Synchronization Strobe – additional control signal accompanies the data Notifies the microcontroller when new data is ready at the input port Notifies external devices when new data is ready at an output port A latch asserts interrupt The microcontroller must read data before next input strobe occurs Problem: Data can be sent by input device without receiver being ready

Handshaking Synchronization A second control line is used Form of acknowledgement or busy signal Solves the problem of data being sent before the receiving end is ready Potential race condition exist: Microcontroller is testing its Busy bit, prior to the Output Device asserting busy. It forces Microcontroller to send another chunk of data to Output Device, since the busy signal has not reached it on time. Race Condition!

Full Handshaking (Solving Race Condition) Uses both edges of the strobe and busy signals The Request for Data signal is held high when it is ready to accept new data from Input Device The Data Available signal is held high when Input Device is ready to send new data Based on two above conditions – Data Transfer occurs and Busy is asserted When the data recipient (Microcontroller) acknowledges receipt of data, the Request signal is lowered Input Device “learns” that data has been received, removes the data, and waits for the next data request

EZ-USB Basic Block Diagram

Modes In ‘Ports’ mode, all the IO pins are general-purpose IO ports. ‘GPIF master’ mode uses the PORTB and PORTD pins as a 16-bit data interface to the four EZ-USB endpoint FIFOs EP2, EP4, EP6 and EP8. In this ‘master’ mode, the EZ-USB FIFOs are controlled by the internal GPIF, a programmable waveform generator that responds to FIFO status flags, drives timing signals using its CTL outputs, and waits for external conditions to be true on its RDY inputs. In the ‘Slave FIFO’ mode, external logic or an external processor interfaces directly to the EZ-USB endpoint FIFOs. In this mode, the GPIF is not active, since external logic has direct FIFO control. Therefore, the basic FIFO signals (flags, selectors, strobes) are brought out on EZ-USB pins. The external master can be asynchronous or synchronous, and it may supply its own independent clock to the EZ-USB interface.

Custom Handshaking Interface (Ports Mode) 7/19/2012NASA Grant URC NCC NNX08BA44A11

WriteToFPGA Mode 7/19/2012NASA Grant URC NCC NNX08BA44A12

ReadFromFPGA Mode 7/19/2012NASA Grant URC NCC NNX08BA44A13

Windows Application 7/19/2012NASA Grant URC NCC NNX08BA44A14

Loop Test 7/19/2012NASA Grant URC NCC NNX08BA44A15

Handshaking Block-Diagram FPGA Side 7/19/2012NASA Grant URC NCC NNX08BA44A16

Handshaking WR Mode (Encoding) 7/19/2012NASA Grant URC NCC NNX08BA44A17

Handshaking WR Mode (Encoding) 7/19/2012NASA Grant URC NCC NNX08BA44A18

Handshaking RD Mode (Encoding) 7/19/2012NASA Grant URC NCC NNX08BA44A19

Handshaking RD Mode (Encoding) 7/19/2012NASA Grant URC NCC NNX08BA44A20

7/19/2012NASA Grant URC NCC NNX08BA44A Handshaking Protocol - Project Steps (2013) Compiling and Debugging of Cypress FX2 Board & Encoding/Decoding Application