LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SPI and I2C Driver API CS Info

Solved!
Go to solution

The IP in the API is only for a master, correct? That is, whatever RIO you are using will be the master. My problem is that my RIO is the slave so I don't think this API will work.

 

Anyone know of any existing FPGA I2C code that acts as slave?

0 Kudos
Message 11 of 12
(305 Views)

Having it be the slave should be easier. If you know what the master is doing to trigger the communication you should be able to set up your system to look for that condition. I would assume that there would be some sort of trigger to tell the slave that something has changed. Otherwise you should be able to set up and just read the I2C channel.

 

Have you looked in the LabVIEW examples? They do have some I2C and SPI examples.

Tim
GHSP
0 Kudos
Message 12 of 12
(279 Views)