Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Regarding USB interface with FPGA

Status
Not open for further replies.

preet

Advanced Member level 4
Joined
Jan 10, 2005
Messages
112
Helped
7
Reputation
14
Reaction score
5
Trophy points
1,298
Activity points
902
Dear all,
I want to implement USB controller on xilinx/ altera FPGA,
my question is-

1. is it possible to directly connect USB data+ and data- pin to FPGA ?
2. is there any additional interface IC needed to achieve the same?
3. please provide links for USB Controller document details

Regards

Preet
 

dfordivam

Newbie level 1
Joined
Jun 8, 2011
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,290
You cannot connect usb D+ and D- pins directly to the FPGA pins. You atleast need a simple USB peripheral controller and using this chip you can implement the USB protocol yourself on FPGA.

Checkout the following link for USB protocol implementation on FPGA
Joris' Webpage - USB data transfer in VHDL

USB preipheral controller - https://shop.maxim-ic.com/storefron...t=Sample&menuitem=Sample&Partnumber=MAX3420E#

But doing all this is a very big and tedious task. You should better look at this USB controller, which does most of the work for you. And you need to only implement the control block to get data from this chip.
Cypress EZ-USB FX2LP - EZ - USB FX2LP™ - USB host - peripheral controllers - PDAs - Set - top boxes - MP3 players / Personal Media Players - Cypress Semiconductor
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
48,198
Helped
14,203
Reputation
28,665
Reaction score
12,898
Trophy points
1,393
Location
Bochum, Germany
Activity points
279,221
There are some designs, that are implementing the USB controller function in FPGA logic, from IP vendors (e.g. System Level Solutions- Designing Through Innovation) as well as opencores.org. They are using at least external USB drivers or a full USB PHY. The latter is at least necessary for high speed USB. If you aren't required to keep the USB electrical specification exactly, e.g. for an USB interchip or similar short distance application, FPGA I/Os can drive the USB data lines directly.

Mentioning these solutions doesn't mean to suggest them, however. In many cases, an external USB controller will be a more convenient solution. FTDIchip.com should be also considered for simple interfaces.
 

preet

Advanced Member level 4
Joined
Jan 10, 2005
Messages
112
Helped
7
Reputation
14
Reaction score
5
Trophy points
1,298
Activity points
902
thanks for the replies,

could i use differential pin of any fpga as D+ and D-

Regards

Preet
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top