The Synopsys Serial Peripheral Interface (SPI) module is compliant with the Motorola Serial Peripheral Interface specification. It supports all four SPI modes, can be programmed as master or slave, and contains 8 slave select lines. The SPI module interfaces to the system over an AMBA® APB bus.
The SPI module runs off a single clock. The clock generator inside can scale the SPI clock from 1/8 to 1/254 of the input clock rate, so with a 100MHz APB clock, the maximum SPI clock will be 12.5MHz. Each byte transmitted/received by the SPI module needs to be controlled by the processor.