This External SPI IP basically has the same behavior like 8051's internal SPI controller. The IP provides the interface to EMIF (External Memory Interface) of 8051 core in HME FPGA and can be programmed to work as master or as slave device.
Features
Full duplex mode
Three wire synchronous transfers
Master or Slave mode
SPI Master baud rates
Slave Clock Master baud rates
Serial clock with programmable polarity and phase
Data transmitted Most Significant Bit (MSB) first and Least Significant Bit(LSB) last
Slave select Output port to control external slave devices
Programmable address space for internal registers
Supports 8 bits,16bits, 32bits SPI data width
Supports AHB interface and EMIF interface
Programmable BASE_ADDR for internal registers, EMIF interface base address must be 0x20 aligned, AHB interface address must be 0x80 aligned
Supports AHB single no-sequence transaction