element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum how to connect FPGA with linux
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 3 replies
  • Answers 2 answers
  • Subscribers 474 subscribers
  • Views 579 views
  • Users 0 members are here
Related

how to connect FPGA with linux

kamtar
kamtar over 11 years ago

Hello,

I was thinking about how to directly connect a FPGA to linux (iMX233 board based on the olimex design).

I have two ideas:

- SPI (maybe with MCU for parallel interface with FPGA and basic data processing).

- External "address translation" system and use few bytes of memory space for some universal parallel interface.


I'm doing it just for myself (universal board for fun) so no special purpose.

Anyone with experience in this? Any tips?


 

  • Sign in to reply
  • Cancel

Top Replies

  • michaelkellett
    michaelkellett over 11 years ago +1 suggested
    On real designs I often do both and a bit more: SPI with a couple of extra handshake lines memory interface, sometimes with full address bus but often with most of the address lines missed off leaving…
  • kamtar
    kamtar over 11 years ago +1
    Thank you, I think that its a good idea to have both, FPGA with parallel data bus. Then MCU and buffer so i can communicate with it directly or over SPI (if i need to use MCU for realtime data processing…
Parents
  • michaelkellett
    0 michaelkellett over 11 years ago

    On real designs I often do both and a bit more:

     

    SPI with a couple of extra handshake lines

    memory interface, sometimes with full address bus but often with most of the address lines missed off leaving perhaps A0, A1, A2 and A19,A19 and  a couple of chip selects -  this saves a lot of pins and tracks but if you do blocks of sequential reading or writing it can be very fast.

    It's always good to have a few additional control signals which will save your bacon as the design evolves over time.

     

    I quite like UARTS as well, I've taken to adding debug UARTS to bigger FPGA designs so I can just connect a PC to them via one the FTDI USB to UART bridge 'wires' and talk to them.

     

    MK

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • michaelkellett
    0 michaelkellett over 11 years ago

    On real designs I often do both and a bit more:

     

    SPI with a couple of extra handshake lines

    memory interface, sometimes with full address bus but often with most of the address lines missed off leaving perhaps A0, A1, A2 and A19,A19 and  a couple of chip selects -  this saves a lot of pins and tracks but if you do blocks of sequential reading or writing it can be very fast.

    It's always good to have a few additional control signals which will save your bacon as the design evolves over time.

     

    I quite like UARTS as well, I've taken to adding debug UARTS to bigger FPGA designs so I can just connect a PC to them via one the FTDI USB to UART bridge 'wires' and talk to them.

     

    MK

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube