04-29-2011 02:27 PM
I've ported the I2C and SPI examples from IP NET to the 7842R FPGA. However, there is no slave implementation of either I2C or SPI in the included code. Where can I find slave implementations of I2C and SPI for the FPGA? While a free NI solution is preferable, a for-pay 3rd party option would be acceptable.
Thanks!
05-02-2011 07:33 PM
Hi Ster,
Please refer to the following links on how to develop master/slave structures using I2C and SPI.
http://zone.ni.com/devzone/cda/epd/p/id/6163
http://zone.ni.com/devzone/cda/epd/p/id/6080
There are many helpful resources at ni.com that will help you develop your own code. However, if you are looking for a packaged code, our Alliance partners would be happy to assist you with this. More information can be found at http://www.ni.com/alliance/overview.htm. Good luck and have a great day!
Regards,
Jackie
05-03-2011 10:55 AM
Thanks Jackie,
Unfortunately, those links provide no insight into the slave implementation of I2C or SPI. That was my original question.
It's great NI provides master implementations of SPI and I2C - but unfortunately that's only half of the equation. Anyone else out there have a working slave implementation of I2C or SPI? Did you use a 3rd party vendor?
05-04-2011 02:03 PM
Hi Ster,
While this example doesn't use your exact hardware, you should be able to change that in the project explorer and drag all the files over to your target.
http://zone.ni.com/devzone/cda/epd/p/id/3458
Once you download, extract, and open that project, you'll see that it includes a vi for slave, and master.
I hope this helps.
Dave T.
09-23-2015 04:54 AM
Hello,
I have the same request here.
SPI slave implementation have additional challenges comparing to Maste mode.
Best Regards,
Marwen.
09-24-2015 10:10 AM
Hi Marwen!
The thread that you have posted on here is a few years old. You'll get a better response from the community if you create a new thread and post your question.
Thanks!