SSEI Senior Design Project

Slides:



Advertisements
Similar presentations
INPUT-OUTPUT ORGANIZATION
Advertisements

MM Player Supervised by: Dr. Luai Malhis. Prepared by: Mustafa Assaf & Mahmoud Musa.
1 iHome Automation System Home Automation System Team: Million Dollar Contingency Regiment Adam Doehling Chris Manning Ryan Patterson.
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.
82C55 82C55 Programmable Peripheral Interface Interfacing Part III.
Local Asynchronous Communication and RS-232. Goals Explain how electric current can be used to transmit bits over short distances Present a popular mechanism.
PH4705 ET4305 Interface Standards A number of standard digital data interfaces are used in measurement systems to connect instruments and computers for.
1 Performed By: Khaskin Luba Einhorn Raziel Einhorn Raziel Instructor: Rivkin Ina Spring 2004 Spring 2004 Virtex II-Pro Dynamical Test Application Part.
Portable Web-based Tracking System Group Members Jennifer Arnold Barabara Davis Luther Durkop Greg Feiner.
OUTLINE WHAT ? HOW ? WHY ? BLUEPOST Poster and Message Content Specified by the User Displaying the Poster Content on a Monitor Sending Messages to.
Wireless Terminal and PC Interface Using VLSI EE452 - Senior Project Members: Chris Brophy Matt Olinger Advisor: Dr. V. Prasad 5/2/02.
TAP (Test Access Port) JTAG course June 2006 Avraham Pinto.
USB Mass-Storage Implementation on an Embedded System (D0113) Supervisor: Dimitry Sokolik Performed by: Yoav Gershoni Shachar Faigenblat Final Presentation.
7-1 Digital Serial Input/Output Two basic approaches  Synchronous shared common clock signal all devices synchronised with the shared clock signal data.
COMP541 Input Devices: Keyboards, Mice and Joysticks
1 Mid-term Presentation Implementation of generic interface To electronic components via USB2 Connection Supervisor Daniel Alkalay System architectures.
Local Asynchronous Communications. Bit-wise data transmission Data transmission requires: Encoding bits as energy Transmitting energy through medium Decoding.
USB: UNIVERSAL SERIAL BUS Joe Kaewbaidhoon Alex Motalleb Vishal Joshi Prepared for EECS 373 University of Michigan, Ann Arbor 1.
18 - Winter 2003 EE EE 766 Computer Interfacing and Protocols 1 USB (Universal Serial Bus) Need for “Plug and Play” capability for PC peripherals outside.
INPUT-OUTPUT ORGANIZATION
Overview What kind of LCD Interfacing the LCD Displaying Text and Numbers Common Issues.
May 8, The EASY Way to Create I/O Devices John Hyde Intel Corporation intel.com.
USART Communication using the RS standard ETEC6416.
Serial Communication ETEC 6416.
Computerized Train Control System by: Shawn Lord Christian Thompson.
Camera Link Communication Interface for Vision Applications J. Egri 6/7/05.
ECE 265 – LECTURE 12 The Hardware Interface 8/22/ ECE265.
USB host for web camera connection
CSE430/830 Course Project Tutorial Instructor: Dr. Hong Jiang TA: Dongyuan Zhan Project Duration: 01/26/11 – 04/29/11.
USB host for web camera connection
LSU 10/22/2004Serial I/O1 Programming Unit, Lecture 5.
ECE 371 – UNIT 20 Universal Serial Bus (USB). References 1. Universal Serial Bus Specification, Revision 2.0. This specification is available on the World.
Wireless Sensor Monitoring Group Members: Daniel Eke (COMPE) Brian Reilly (ECE) Steven Shih (ECE) Sponsored by:
Input/Output mechanisms
LOGO BUS SYSTEM Members: Bui Thi Diep Nguyen Thi Ngoc Mai Vu Thi Thuy Class: 1c06.
MICROPROCESSOR INPUT/OUTPUT
Lecture Set 9 MCS-51 Serial Port.
Robot and Servo Drive Lab. Department of Electrical Engineering Southern Taiwan University of Science and Technology 05/07/2014 T A R Y U D I Interfacing.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
Scott Baker Will Cross Belinda Frieri March 9 th, 2005 Serial Communication Overview ME4447/6405.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
Other Chapters From the text by Valvano: Introduction to Embedded Systems: Interfacing to the Freescale 9S12.
CDR- Digital Audio Recorder/Player Brian Cowdrey Mike Ingoldby Gaurav Raje Jeff Swetnam.
Platform Architecture Lab USB Performance Analysis of Bulk Traffic Brian Leete
ENG241 Digital Design Week #8 Registers and Counters.
Universal Asynchronous Receiver/Transmitter (UART)
Team 4 Project 1 Presentation Mapping Parallel Ports to LPT’s & USB Host Controller Interfaces Tom, Jen, Curtis, Ashley, Scott.
1 Presented By: Eyal Enav and Tal Rath Eyal Enav and Tal Rath Supervisor: Mike Sumszyk Mike Sumszyk.
1 COMP541 Input Devices: Keyboards, Mice and Joysticks Montek Singh Apr 6, 2015.
L/O/G/O Input Output Chapter 4 CS.216 Computer Architecture and Organization.
Chapter 5 Input/Output 5.1 Principles of I/O hardware
Humble Hubble Team 18 Tim Brown. Abstract The proposed project is a self-aiming telescope. This telescope will obtain its global position and the local.
PS/2 Mouse/Keyboard Port
Communication Techniques Design Team 2 Luke LaPointe Nick Timpf Mark VanCamp Brent Woodman Steve Zuraski Design Team 2 Luke LaPointe Nick Timpf Mark VanCamp.
Protocol Layering Chapter 11.
1 Chapter Overview Modems The Internet and Web Browsers.
بسم الله الرحمن الرحيم MEMORY AND I/O.
CE-2810 Dr. Mark L. Hornick 1 Serial Communications Sending and receiving data between devices.
SEPTEMBER 8, 2015 Computer Hardware 1-1. HARDWARE TERMS CPU — Central Processing Unit RAM — Random-Access Memory  “random-access” means the CPU can read.
Final Design Review By: Alireza Veiseh Anh-Thu Thai Luai Abou-Emara Peter Tsang.
DEPARTMENT OF ELECTRONICS ENGINEERING V-SEMESTER MICROPROCESSOR & MICROCONTROLLER 1 CHAPTER NO microcontroller & programming.
Jeremy Sandoval University of Washington May 14, 2013
Chapter 6 Input/Output Organization
Cypress CY3663 Development Kit
Computer Organization and Design
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
Serial Communication Interface
Founded in Silicon Valley in 1984
Presentation transcript:

SSEI Senior Design Project FPGA to USB Integration Sponsor: Kevin Daily of SSEI Group Members: Douglas Pace (CSE) Norman Heath (CSE) Mark Steddom (EE) Nathan Ball (EE) David Penick (EE) Mark Steddom

Project Overview Design and Build a USB Interface Adaptor for the FPGA-eb1 P.C. USB Power & Ground SSEI Bus [0:7] FPGA-eb1 Mark Steddom

Project Overview Demonstrate the Power and Usefulness of the Product P.C. USB SSEI Bus [0:7] Power & Ground LCD Bus [0:10] L.C.D. FPGA-eb1 G.P.S. GPS Bus [0:2] Mark Steddom

Project Overview Demonstrate the Power and Usefulness of the Product P.C. USB SSEI Bus [0:7] Power & Ground LCD Bus [0:10] L.C.D. FPGA-eb1 Byte Blaster Parallel Interface G.P.S. GPS Bus [0:2] Mark Steddom

Project Schedule Firmware 28 days 01/22/01 02/28/01 Device Driver FPGA_EB1 Development 38 days 01/22/01 03/14/01 USB Hardware Device 23 days 02/12/01 03/14/01 David Penick

Project Schedule cont. Toy Development 7 days 02/12/01 02/20/01 Application 43 days 01/15/01 03/14/01 Integration 8 days 03/15/01 03/26/01 Full Complete Systems Test 10 days 03/27/01 04/09/01 David Penick

Integration Plan USB chipset FPGA code FPGA to USB GPS LCD display David Penick

Critical Path Application Integration & Test VHDL Device Driver Firmware Hardware GPS LCD Capstone Conference David Penick

Critical Path cont. Firmware 2/28/01 Device Driver 3/7/01 Tested with USB Interconnect Hardware 3/14/01 USB interconnect David Penick

Critical Path cont. VHDL 3/14/01 Toy 2/20/01 Application 3/14/01 FPGA_eb1 connected to USB interconnect Toy 2/20/01 GPS 2/20/01 LCD 2/15/01 Application 3/14/01 Map Display 3/2/01 NMEA Decoder 2/2/01 USB Driver Interface 2/27/01 David Penick

The “Toy” David Penick GPS LCD USB CHIP EZ-USB USB Host Controller Device Driver Application Port fpga_eb1 Demonstration Devices David Penick

Toy Motorola GT Plus Oncore OEM will utilize 3 connections on the SPI connector of FPGA_eb1 The GPS will support the NMEA (National Marine Electronics Association) protocol at 4800 baud Motorola binary protocol at 9600 baud Software selectable output rate (cont. or poll) David Penick

NMEA standard protocol used by GPS receivers to transmit data output is EIA-422A, can consider it RS-232 compatible 4800 bps, 8 data bits, no parity and one stop bit (8N1) sentences are all ASCII David Penick

NMEA cont. Each sentence begins with a dollar sign ($) and ends with a carriage return linefeed Data is comma delimited All commas must be included as they act as markers Some GPS do not send some of the fields David Penick

Toy cont. LCD Display will utilize 11 connections on the fpga_eb1 board The LCD screen will be black pixels on white background It will have a resolution of 640 by 480 pixels It allows for independent pixel drawing David Penick

Toy cont. Display data transferred in the form of two 4-bit parallel data through shift registers When the data of one line (640 pixels) has been inputted, it will be held automatically by the built-in LCD driver. David Penick

FPGA and VHDL Nathan Ball GPS LCD USB CHIP EZ-USB USB Host Controller Device Driver Application Port fpga_eb1 Demonstration Devices Nathan Ball

VHDL Max Plus II Baseline Graphical Editor Text Editor (VHDL) Floor-plan Editor Wave-form Editor Simulator Nathan Ball

VHDL Implements functions on an FPGA Makes use of subroutines Makes use of previously defined functions Extensive libraries Parallel functionality Nathan Ball

Graphical Implementation Nathan Ball

VHDL CODE --vhdl code for AND2 gate library IEEE; use IEEE.STD_LOGIC_1164.all; entity AND2 is port ( Input_1, Input_2: in STD_LOGIC; Output_1 : out STD_LOGIC; ); end AND2; architecture V1 of AND2 is begin Output_1 <= (Input_1 and Input_2); end V1; Nathan Ball

Requirements USB Interface –8 I/O lines Toy Interface GPS –Serial Data: 2 lines LCD –Parallel Data: 2 lines 4 lines Unused Toy Interface Out to GPS: 3 Lines - 2 Data, 1 GND Out to LCD: 11 Lines - 2 CLK, 8 Data, 1 GND Nathan Ball

Structure FPGA USB Interface Pipe Data GPS Unit LCD Display Parallelize Data Nathan Ball

Paralellizing the Data First Bit placed in lowest order bit of upper register Second Bit placed in lowest order bit of lower register 1 Data Line In => 8 Data Lines Out Sent in on a Clock Signal Sent out with 2 Clock Signals Nathan Ball

The USB Interface Mark Steddom GPS LCD USB CHIP EZ-USB USB Host Controller Device Driver Application Port fpga_eb1 Demonstration Devices Mark Steddom

USB Interface Adaptor AN21XX Mark Steddom

USB Interface Adaptor USB-B AN21XX Mark Steddom

USB Interface Adaptor USB-B MAX882 AN21XX Mark Steddom

USB Interface Adaptor USB-B MAX882 AN21XX 24LC00 Mark Steddom

USB Interface Adaptor USB-B MAX882 AN21XX SN75240 24LC00 Mark Steddom

Mark Steddom

Firmware and Device Driver GPS LCD USB CHIP EZ-USB USB Host Controller Device Driver Application Port fpga_eb1 Demonstration Devices Douglas Pace

Firmware and Driver Requirements Must be compliant with the USB 1.1 Specification Document. Allow for bi-directional communication between a host computer and the fpga_eb1. Douglas Pace

New Non-functional Requirements Should be easy for the end user to develop applications and lab experiments. Provide the most versatile interface as possible. Douglas Pace

Firmware and Device Driver Must allow for bi-directional support between any application and the fpga_eb1. Must be easy to design applications and VHDL for the fpga_eb1. Should have the ability to utilize as many or as few of the I/O pins on the EZ-USB chipset as needed. Douglas Pace

USB Basics USB Communication all occurs between endpoints. These endpoints are device defined. The EZ-USB supports up to endpoint 15. There are 4 types of transfer types: ISO Bulk Interrupt Control Douglas Pace

USB Transfer Types ISO or isochronous transfers Bulk transfers Data integrity not guaranteed. Data speed is always guaranteed. Packet sizes of up to 1023 bytes during each frame. Bulk transfers Data speed is not guaranteed. Utilizes all integrity checks available. Packet sizes are limited to 8,16,32,64 bytes. Douglas Pace

Driver->Firmware Protocols Utilize 5 endpoints other than the system defined endpoint 0. Endpoint 1 will be a bulk configuration endpoint. Endpoint 2 & 3 are bulk endpoints. 2 will be input, 3 output. Endpoint 8 & 9 will be ISO endpoints. 8 will be input, 9 output. Douglas Pace

Firmware Protocol Cont. Endpoint 1 will accept 8 byte long packets. Packet Identifier 1 byte I/O Pin Number Input / Output Serial (0) or Parallel (1) Extra Info: Interrupt line to link for Parallel or timer length for Serial 4 bytes Douglas Pace

Firmware Protocol Cont. Endpoints 2,3,8,9 will utilize 64 byte packets. I/O Line 1 byte Number of Bytes Data 62 bytes Douglas Pace

Firmware->FPGA Protocol As we have already seen, the firmware will allow both serial and parallel data loads to the fpga. This will be done using strictly timed data reads or dumps, or using an external interrupt line as the clock for parallel data. This will allow a versatile system that allows for multiple styles of data transfer. Douglas Pace

Driver Driver will attempt to maintain data integrity by only allowing a single application access to the USB device at a time. Driver will format packets using specific functions, allowing simple and rapid application development. Douglas Pace

The Application Norman Heath GPS LCD USB CHIP EZ-USB USB Host Controller Device Driver Application Port fpga_eb1 Demonstration Devices Norman Heath

Application Requirements It must communicate with the fpga via the USB driver and interconnect. It will display a topographical map and relevant information from the GPS unit. Norman Heath

Design Methodology We are using an incremental model approach in the design and implementation of the application. We will add features to the application during the rest of design and implementation. Norman Heath

Why use an Incremental approach A thorough set of requirements was never specified for the application. This will allow us to have a functioning program for the rest of the project. We can show what we have to anyone and they can make suggestions at anytime. It almost guarantees a functioning application when the project is over. Norman Heath

Application Design The design of the application centers around the follow: It will gather information from a GPS unit through the USB driver and device interconnect. It will display this information to the user by using a topographical map and textual/graphical feedback. Norman Heath

Application Design One of its capabilites is: It allows the user to import a compressed or uncompressed .bmp file representing a map. It then allows the user to configure a settings file for that map. These settings are persistent (they remain after the application is terminated). Norman Heath

Configuring a map Norman Heath

Application Design Other capabilities At any time it allows users to display any maps they have previously loaded and setup. As GPS location coordinates transition off a map, it will prompt the user to select another map that has coordinates that are in range of the current latitude and longitude. Norman Heath

Key Components of the Application Application Design Key Components of the Application Simulator GPS - USB Interface Model View Observer Observable Norman Heath

Questions? Team SSEI_FPGA2USB Norman Heath