LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-28-2013, 09:09 AM   #1
abb
LQ Newbie
 
Registered: Feb 2013
Posts: 1

Rep: Reputation: Disabled
Lightbulb Linux Driver: USB vs PCIe how to choose?


Hi community,

I have an Intel ATOM chip running linux debian live. I need to get data from a FPGA, about 5mb/s. I can't decide what is the best option since I never have developed a linux driver. Any advices?

ON FPGA side: - Option PCIe: direct PCIe core, less effort
- Option USB: need to add a USB chip to manage USB comm (was thinking of a FX3 with the GPIF bus between the 2 chips)

ON ATOM side: here is my question. Which driver is the easiest to develop and debug? PCIe or USB

Thanks for your advices!
 
Old 02-28-2013, 09:45 AM   #2
mina86
Member
 
Registered: Aug 2008
Distribution: Debian
Posts: 517

Rep: Reputation: 229Reputation: 229Reputation: 229
I have no experience with PCIe, but USB has two features that might be useful:
1. Hot plugging. You can connect and disconnect your device at any time so (i) if you need to fix something in hardware, you don't have to reboot your computer, and (ii) by disconnecting the FPGA (and turning it off if it has external power) you reset it's state, which may be harder to ensure on PCIe.
2. You can write driver in user space by using libusb. Or so I've heard… Never tried it myself.

So if I were you, and adding USB interface to the FPGA chip was not a problem to me, I'd use USB.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PCIe re-enumation in linux driver question (pcie hotplug doesn't work) blavo Programming 5 08-02-2012 02:12 PM
Linux PCIE and PCI device driver difference? ningzhanghnu Linux - General 2 03-04-2012 10:30 AM
Designing a PCIe driver... slkjas Linux - Embedded & Single-board computer 1 11-05-2008 09:38 PM
What is the Linux difference between PCIE and PCI device driver? jbreaka4lyfe Linux - General 0 06-04-2008 02:54 PM
Looking for ABIT Radeon XT600 PCIe Driver for Linux 9.3 or 10.0 haeusermannanna Linux - Newbie 4 01-01-2006 06:09 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration