SPI

Serial Peripheral Interface
see Serial_Peripheral_Interface

Any digital IO line can be used as as a SPI interface with the following code snippets and the VIs from the SDK. The data is transferred vis 2 FIFOs. With every byte sent a byte will be received. Chip select Signal is not part of this code and must be taken care of, if more than one chip is on the SPI bus.

FPGA Code

RT Code

  • Last modified: 6 months ago