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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Role for FPGA or CPLD with Raspberry Pi
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 143 replies
  • Subscribers 682 subscribers
  • Views 21450 views
  • Users 0 members are here
Related

Role for FPGA or CPLD with Raspberry Pi

michaelkellett
michaelkellett over 13 years ago

Interesting - we obviously move in rather different circles despite being in the same business:

 

Take the current project:

 

One master processor (ARM Cortex M4 with ARM serial debugging port and 4 wire trace, Ethernet, USB and serial for debugging)

One supervisor processor (ARM Cortext M0 with ARM serial debugging port)

FPGA with JTAG port

Up to 6 slave processors (ARM Cortex M4s with ARM serial debugging ports)

All in one little box about 25cm x 160cm x 5cm

 

Now to bring up the Ethernet on the master processor I can use its serial port for "printf" error messages (from the Ethernet/TCP/IP library) and the ARM debugging port to load/run/trace the processor. The ARM trace interace box (Keil Ulink Pro) is a USB interface to the development PC.

The superivisor processor is connected via another Ulink to another PC.

The FPGA JTAG interface is USB to yet another PC.

The fourth PC runs Wiresharc and is connected by Ethernet to see what's coming out.

 

It would be nice if the debug tools had Ethernet rather than USB interfaces but they don't.

I could isolate the serial debug port but since I must have three other non-isolated connections it's not worth the effort.

 

This system is all quite low power - so certainly safe to humans and fairly safe to computers. (The really exposed parts are the debug interfaces and there is nothing to be done about that since they need fast conenctions to the hardware.)

In the last 10 years I've lost one debugger and one PC due to my mistakes and in the same time at least 10 PCs have just died (as they do) so it's a cost effective approach.

 

Of course when these things connect to external systems handling real power different rules apply.

 

(AFIK most Ethernet interfaces are not specifically tested for mains safety - either during qualification or as part of normal regular safety checks (and the flash test requirement for Ethernet magnetics is 1500V AC which is OK for some equipment but not for all)).

 

Michael Kellett

  • Sign in to reply
  • Cancel
Parents
  • morgaine
    morgaine over 13 years ago

    @Michael: I guess there are two distinct targets:  education, and large project use.  Both are worthwhile.

     

    For education and small projects, a CPLD is probably an effective way into the subject.  Back when I was an EE lecturer, I gave 3rd year students simple projects using PALs and PEELs, which were educationally transparent rather than intimidating through complexity -- a very important property in Edu.

     

    For larger projects, FPGAs are the way to go, but the barrier to using them is quite substantial.

     

    I know you're in the FPGA group here already Michael (I just joined), but for the benefit of others ...

     

    Since we're on Element 14's site, it's worth pointing out some of the community resources available in http://www.element14.com/community/groups/fpga-group/ .  Paul Clarke's FPGA guides and reviews are pinned up there.

     

    If you want MAJOR personal inspiration and advice on starter kits and books, there is no better source for that than Jeri Ellsworth, http://www.element14.com/community/groups/jeri-ellsworth , a true ambassador for the hardware hacker community, informative, and very endearing.  Although she appears not to be posting here anymore, she has a terrific presence on Youtube and deals with numerous hardware topics including FPGAs.  Just search for "Jeri Ellsworth", or this link might work: http://www.youtube.com/results?search_query=Jeri+Ellsworth&oq=Jeri+Ellsworth&aq=f&aqi=g7&aql=&gs_nf=1&gs_l=youtube.3..0l7.2092.5319.0.6479.15.7.0.0.0.1.107.441.3j2.7.0.

     

    A more specific link:  here Jeri is describing the Papilio One, a very easy way into FPGAs -- http://www.youtube.com/watch?v=YW-ybUw_Elk .  The Papilio website is at  http://papilio.cc/ .

     

    Morgaine.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • morgaine
    morgaine over 13 years ago

    @Michael: I guess there are two distinct targets:  education, and large project use.  Both are worthwhile.

     

    For education and small projects, a CPLD is probably an effective way into the subject.  Back when I was an EE lecturer, I gave 3rd year students simple projects using PALs and PEELs, which were educationally transparent rather than intimidating through complexity -- a very important property in Edu.

     

    For larger projects, FPGAs are the way to go, but the barrier to using them is quite substantial.

     

    I know you're in the FPGA group here already Michael (I just joined), but for the benefit of others ...

     

    Since we're on Element 14's site, it's worth pointing out some of the community resources available in http://www.element14.com/community/groups/fpga-group/ .  Paul Clarke's FPGA guides and reviews are pinned up there.

     

    If you want MAJOR personal inspiration and advice on starter kits and books, there is no better source for that than Jeri Ellsworth, http://www.element14.com/community/groups/jeri-ellsworth , a true ambassador for the hardware hacker community, informative, and very endearing.  Although she appears not to be posting here anymore, she has a terrific presence on Youtube and deals with numerous hardware topics including FPGAs.  Just search for "Jeri Ellsworth", or this link might work: http://www.youtube.com/results?search_query=Jeri+Ellsworth&oq=Jeri+Ellsworth&aq=f&aqi=g7&aql=&gs_nf=1&gs_l=youtube.3..0l7.2092.5319.0.6479.15.7.0.0.0.1.107.441.3j2.7.0.

     

    A more specific link:  here Jeri is describing the Papilio One, a very easy way into FPGAs -- http://www.youtube.com/watch?v=YW-ybUw_Elk .  The Papilio website is at  http://papilio.cc/ .

     

    Morgaine.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • johnbeetem
    johnbeetem over 13 years ago in reply to morgaine

    We had a small but lively discussion about RasPi FPGAs earlier this year at http://www.raspberrypi.org/forum/general-discussion/fpga-stuff.  As noted earlier, there is no way to run Xilinx or Altera tools on a non-Intel machine, and FPGA vendors are hostile to opening up their architectures so that enthusiasts can write their own tools.  However, one thing you can do is to write front-end design and simulation tools that run on RasPi, and network to a common PC for synthesis, mapping, place, and route, and send the bitstream back to RasPi for download to actual silicon.

       Gert indicated in the RasPi Forum thread that designing a custom FPGA board for RasPi would probably cost US$75-$150 for 50 boards.  You're probably better off with an existing board such as the US$89 Spartan-6 demo board from Avnet, or others Morgaine suggested.

       I'm eagerly looking forward to hearing more about the ZedBoard (http://zedboard.org/), a "low-cost" Zynq-7000 EPP development board to be premiered at Avnet X-fest.  I'm tempted to go to San Jose, California this month to check it out, but it's a long way from Berkeley for something that may not be there due to unexpected delays and may end up costing a lot more than I want to spend.

       Special Computing has a cute FPGA board being designed for BeagleBone (https://specialcomp.com/beaglebone/BeagleBone_FPGA.html), but who knows when or if it will ship.  Lovely board -- uses a really nice Xilinx Spartan-3A 200K part.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
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