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 21363 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
  • johnbeetem
    johnbeetem over 13 years ago

    Regarding inexpensive FPGA development boards, here's a new pair of boards for the Lattice iCE40 "Los Angeles" family: $39 for a small board with a 1280-cell + 64Kb FPGA and built-in USB programmer.   I hadn't heard of the iCE40 before -- it seems to be something Lattice got when it acquired SiliconBlue.  The iCE40 looks like a pretty clean and simple architecture, making it quite suitable for students.  As usual, you need a PC to run proprietary tools, but at least they say they run under GNU/Linux.  The USB programming interface is an AT90USB processor.  I don't know if they provide an open way to talk the the AT90USB or if you have to use Lattice tools (or reprogram the AT90USB).

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

    John Beetem wrote:

     

    Regarding inexpensive FPGA development boards, here's a new pair of boards for the Lattice iCE40 "Los Angeles" family: $39 for a small board with a 1280-cell + 64Kb FPGA and built-in USB programmer.   I hadn't heard of the iCE40 before -- it seems to be something Lattice got when it acquired SiliconBlue.  The iCE40 looks like a pretty clean and simple architecture, making it quite suitable for students.  As usual, you need a PC to run proprietary tools, but at least they say they run under GNU/Linux.  The USB programming interface is an AT90USB processor.  I don't know if they provide an open way to talk the the AT90USB or if you have to use Lattice tools (or reprogram the AT90USB).

    According to Geek Times (http://www.eetimes.com/electronics-products/electronic-product-reviews/fpga-pld-products/4394909/Promo-pricing-for-new-Lattice-iCEblivk40-eval-kits), Lattice has temporarily reduced the pricing for the iCE40 eval kits to US$19.  Sweet!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 13 years ago in reply to johnbeetem

    Very sweet!

     

    It seems that it's their policy to do that with their evaluation boards every now and then.  They held a similar dramatic price reduction for a period with their XP2 Brevia 2 board.

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

    Unfortunately if you try to order direct from Lattice it goes through a Mouser driven shop which doesn't tell you what will be charged to your card until after you have given up your card number (I gave up !)

    If you try to buy through Mouser UK it costs £22.98 + £12 shipping = $55.

     

    If I get time I'll ask Lattice in the UK if $19 means I can actually get one for the £12 it should be !

     

    Michael Kellett

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

    Michael Kellett wrote:

     

    Unfortunately if you try to order direct from Lattice it goes through a Mouser driven shop which doesn't tell you what will be charged to your card until after you have given up your card number (I gave up !)

    If you try to buy through Mouser UK it costs £22.98 + £12 shipping = $55.

     

    If I get time I'll ask Lattice in the UK if $19 means I can actually get one for the £12 it should be !

     

    Michael Kellett

    I ordered through the Lattice site (http://www.latticesemi.com/store/softwarecablesboards/fpgaboards.cfm) in the USA and got US$19 plus shipping and taxes to be computed.  The shipping info says there's no handling charge.  I have no idea what this means for UK -- it may be that shipping from the Lattice site "powered by mouser.com" ends up being more expensive than buying from Mouser UK image

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

    Michael Kellett wrote:

     

    Unfortunately if you try to order direct from Lattice it goes through a Mouser driven shop which doesn't tell you what will be charged to your card until after you have given up your card number (I gave up !)

    If you try to buy through Mouser UK it costs £22.98 + £12 shipping = $55.

     

    If I get time I'll ask Lattice in the UK if $19 means I can actually get one for the £12 it should be !

     

    Michael Kellett

    I ordered through the Lattice site (http://www.latticesemi.com/store/softwarecablesboards/fpgaboards.cfm) in the USA and got US$19 plus shipping and taxes to be computed.  The shipping info says there's no handling charge.  I have no idea what this means for UK -- it may be that shipping from the Lattice site "powered by mouser.com" ends up being more expensive than buying from Mouser UK image

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

    FYI, MrMarkus at raspberrypi.org is thinking about offering a Xilinx XC3S200 board that interfaces to RasPi.  He's asked for level of interest and suggestions at http://www.raspberrypi.org/phpBB3/viewtopic.php?f=63&t=18688.

    • 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