Design and Implementation of Serial Peripheral Interface Based on FPGA
Song Wang · Microcomputer Information · 2010
SPI bus is a data bus of synchronal and serial interface,which is characterized by full duplex communication,few signa lines,simple protocol,high speed,etc.The architecture and principle of SPI bus were introduced,and the differences between th four modes were compared,with focus on the analysis of SPI bus timing.A master module of SPI bus was designed in Verilog HDL and then simulated by ModelSim with the simulating waveforms presented.According to the analysis of the simulating waveforms,th function of the designed SPI master module is correct.Finally the module was synthesized and implemented in Xilinx ISE,afterwar configured and verified on a FPGA development board.