Netduino home hardware projects downloads community

Jump to content


Photo

wishbone bus on netduino plus


  • Please log in to reply
4 replies to this topic

#1 Marco Zora

Marco Zora

    New Member

  • Members
  • Pip
  • 8 posts

Posted 16 March 2012 - 02:25 PM

I to all, i would like to implement a wishbone bus interface between my netduino plus and an FPGA. I know the poor performances of GPIO due to microframework structure. It is possible to implement only a low level function and integrate it in the CLR? without the need to recomplile all? thanks to all, Marco

#2 Spork

Spork

    Advanced Member

  • Members
  • PipPipPip
  • 105 posts

Posted 18 March 2012 - 01:47 AM

i would like to implement a wishbone bus interface between my netduino plus and an FPGA.


I can't speak to your CLR question, but isn't Wishbone intended to be used between components on the FPGA? When it comes to bridging the gap between the FPGA and the Netduino, wouldn't you use i2c or SPI? There is a Wishbone compliant implementation of i2c (and probably an SPI one too) at www.OpenCores.org.

Sorry if this reply isn't a direct response to your question, but I'm wondering if you could comment.

#3 Marco Zora

Marco Zora

    New Member

  • Members
  • Pip
  • 8 posts

Posted 19 March 2012 - 01:37 PM

Wishbone is only an open bus standard. You are right, there are I2C and SPI to wishbone interfaces. BUT I2C and SPI are "relatively" slow serial bus as Wishbone is a parallel bus, so maybe it can be fast. If it were possible to drive netduino GPIO in a low level functions, you cold create a fast bridge between FPGA and netduino.

#4 CW2

CW2

    Advanced Member

  • Members
  • PipPipPip
  • 1525 posts
  • LocationCzech Republic

Posted 19 March 2012 - 02:53 PM

BUT I2C and SPI are "relatively" slow serial bus as Wishbone is a parallel bus, so maybe it can be fast.

There are two things worth considering: 1) according to the datasheet the maximum GPIO frequency is 25 MHz (resp. 30 MHz) for 40pF (resp. 20 pF) load and 2) there are only 4 consecutive bits of a port broken out on the Netduino (PB19 - PB22, the other four PB27 - PB30 have max frequency 12.5 MHz). You'd need to recompile the whole firmware to add Wishbone support.

#5 Marco Zora

Marco Zora

    New Member

  • Members
  • Pip
  • 8 posts

Posted 19 March 2012 - 04:16 PM

yes, you're right, I also believe that it is necessary to recompile everything.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2010-2014 Secret Labs LLC  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.