NI SPI Example for the NI PXIe-5644R by NI - Toolkit for LabVIEW Download
This example implements serial peripheral interface (SPI) communication through the DIO port on the NI PXIe-5644R, including support for both master and slave functionality.

Version | 1.0.0.3 |
Released | May 19, 2016 |
Publisher | NI |
License | NI Sample Code License |
LabVIEW Version | LabVIEW=12.0 |
Operating System | Windows |
Project links | Homepage |
Description
Serial Peripheral Interface (SPI) buses are commonly used to communicate between a controller (master) device and a target (slave) device. In general, SPI buses require four lines for communication: chip select/clock enable, serial clock, master serial data out (MOSI), and master serial data in (MISO). In some cases only a subset of these lines are used; some devices multiplex both MOSI and MISO onto a single bidirectional data line. This example includes LabVIEW FPGA code for both an SPI master and an SPI slave.