Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to communicate using I2C, SPI, UPP and SATA

Millie,

 

The FPGA board would not be a bad choice, but remember that you will also need to purchase the FPGA Module to be able to program the boards, so that is another cost to take into consideration. Also remember that you must have the same version of the FPGA Module that you have of LabVIEW. For example if you have LabVIEW 2010 you must have the 2010 FPGA Module, just something to keep in mind.

 

The benefit of the HSDIO boards is that they do not require the FPGA Module or any other module to program, but they are not as flexible as the FPGA devices. These HSDIO boards just use the HSDIO driver that can be used with various version of LabVIEW.

 

We do have some examples for I2C and SPI on ni.com/ipnet. I would recommend looking there to see if there is some example code that can help you get started. I have also attached a couple of links that you might find helpful for understanding the implementation of these digital communication protocols.

 

Developing Digital Communication Interfaces with LabVIEW FPGA

https://www.ni.com/en/shop/electronic-test-instrumentation/add-ons-for-electronic-test-and-instrumen...

 

Implementing SPI Communication Protocol in LabVIEW FPGA

https://forums.ni.com/t5/Example-Code/Implementing-SPI-Communication-Protocol-in-LabVIEW-FPGA/ta-p/3...

 

I2C Implementation in LabVIEW FPGA:

http://decibel.ni.com/content/docs/DOC-1151 

Aaron W.
National Instruments
CLA, CTA and CPI
0 Kudos
Message 11 of 12
(1,486 Views)

Thanks Aaron.

Those links were very informative.

 

I think once I get the hardware, I will be ready to play around with it.

Thanks for the helpSmiley Happy

0 Kudos
Message 12 of 12
(1,481 Views)