The SPI (Serial Peripheral Interface) bus is a synchronous serial data link standard, invented by Motorola that operates in full duplex mode. Multiple slave devices are allowed with unique chip select lines. The XO2 EFB contains a SPI controller that can be configured as a SPI Master or SPI Slave.
This reference design provides a ready to use RTL code segment that implements intuitive interface between:
- An external SPI master and the XO2 internal registers (user logic)
- An external SPI master and memory extension in XO2
The SPI interface is used in master/slave mode where the master device initiates the communication. A typical application of this design would be to provide GPIO expansion to an SPI compliant micro-controller master or interfacing the SPI micro-controller to the Embedded Block RAM (EBR) in the XO2.