Solution
Yes, it is possible. NI provides a
free SPI and I2C driver API which uses the FPGA digital I/O lines to communicate with SPI or I2C devices.
When selecting the digital hardware there are three options to consider:
- NI Single-Board RIO hardware works with both SPI and I2C drivers.
- NI 9401 C Series module works best with SPI drivers.
- NI 9402 C Series module works best with I2C drivers.