11-09-2019 12:30 PM - edited 11-09-2019 12:32 PM
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?
11-13-2019 08:30 AM
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.