Serial Peripheral Interface
See Wikipedia: Serial Peripheral Interface
Any digital IO line can be used as an SPI interface with the following code snippets and the VIs from the SDK. The data is transferred via 2 FIFOs. With every byte sent a byte will be received. The chip select signal is not part of this code and must be handled separately (required as soon as a device needs CS or more than one device is on the bus).