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 21419 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
Reply
  • 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
Children
  • morgaine
    morgaine over 13 years ago in reply to johnbeetem

    Thanks John, looks very interesting.

     

    OpenOCD has an entry for Lattice in their Debug Adapter Hardware section, pointing to Lattice's download cables -- http://www.latticesemi.com/lit/docs/devtools/UG48.pdf . I don't know if this relates in any way to these new ICE40 boards though.

     

    I looked around at my local Lattice stockist (Mouser) and found the ICE40 board listed for 27 pounds, but not in stock.  They have lots of ICE40 devices listed too, the smaller ones for under 3 quid in single units, but alas all non-stocked and on 14 week delivery.

     

    I see that my Mouser also has the Lattice XP2 Brevia Dev Kit in stock though,  for 34 pounds, which seems quite reasonable -- http://www.latticesemi.com/products/developmenthardware/developmentkits/xp2brevia2developmentkit.cfm .  Their CPLD ranges are of course even cheaper.

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

    More Lattice ICE40 links:

     

    • Lattice announcement - http://www.latticesemi.com/corporate/newscenter/productnews/2012/r120508announcesproductio.cfm
    • ICE40 Marketing page - http://www.latticesemi.com/products/cpld/ice40series.cfm?CFID=76612705&CFTOKEN=53568543&jsessionid=f0308cbc51f09d4ff973157115e4c7052644
    • iCEblink40-HX1K Evaluation Kit - http://www.latticesemi.com/products/developmenthardware/developmentkits/iceblink40hx1kevaluationk.cfm
    • Front/Back/Side images - http://www.latticesemi.com/images/img45631.jpg , http://www.latticesemi.com/images/img45633.jpg , http://www.latticesemi.com/images/img45635.jpg
    • Development resources - http://www.latticesemi.com/dynamic/index.cfm?fuseaction=view_documents&sloc=01-01-09-00-22
    • iCEcube2 Design Software - http://www.latticesemi.com/products/designsoftware/icecube2/index.cfm
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 13 years ago in reply to morgaine

    While poking around Lattice goodies at Mouser, I just noticed that they also stock the Lattice MachXO2 range of "PLD" devices which Michael described earlier as an FPGA-CPLD crossover with added hardwired peripherals.  At 21 pounds for the breakout board, that certainly looks appealing.

     

    • Lattice LCMXO2-1200ZE-B-EVN - http://uk.mouser.com/ProductDetail/Lattice/LCMXO2-1200ZE-B-EVN/?qs=vI1DwPFGRq8Zkw8xAIBGGUlXAPoDVpLrLaAGRk6g8KM%3d
    • MachXO2-1200ZE Breakout Board Evaluation Kit - http://www.latticesemi.com/documents/EB68.pdf

     

    Farnell UK has a somewhat more expensive MachXO2 board in stock:

     

    • Lattice LCMXO2-1200ZE-P1-EVN - http://uk.farnell.com/lattice-semiconductor/lcmxo2-1200ze-p1-evn/dev-kit-programmer-machx02-pico/dp/2064276
    • MachXO2 Pico Development Kit - http://www.latticesemi.com/documents/EB61.pdf

     

    I haven't yet compared the two.

     

    PS.  Now I have.  The first (cheaper) unit is just a breakout board, hence better for embedding, whereas the second is a little development / evaluation kit with a few simple devices available on board for the PLD to poke, even a small LCD.  Both are very useful boards, horses for courses.

     

    General MachXO2 device information:

     

    • MachXO2  Family Data Sheet, 103 pages - http://www.latticesemi.com/documents/38834.pdf
    • MachXO2 Family Handbook, 436 pages - http://www.latticesemi.com/documents/HB1010.pdf
    • MachXO2 Overview Video -http://www.latticesemi.com/products/cpld/machxo2/overviewvideo.cfm?gclid=CL7c7PCk968CFcshtAodBX9VDw

     

    And intriguingly ...

     

    • "The WISHBONE Bus in the MachXO2 is compliant with the WISHBONE standard from OpenCores." -- http://www.latticesemi.com/documents/TN1205.pdf

     

    That rings the right bell for me. image

    • 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
  • 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