Abstract:In order to extend multiple SPI peripheral devices based on current C6000 series DSP chips, this article presents a multi-channel SPI controller system solution based on FPGA and EMIF interface. By utilizing the EMIF interface in C6000 series DSP chips, an interface through which DSP can communicate with FPGA, multiple SPI controllers can be extended on FPGA. Interface module, register module and multiple generic SPI modules are implemented on FPGA. Simulation experiments are done under ModelSim environment, the result shows SPI controller can communicate in full-duplex mode. Finally, real tests are conducted on a DSP-FPGA embedded computer. A CAN controller chip with SPI interface, MCP2515, is connected to an extended SPI controller, using which to control MCP2515. The result shows DSP can communicate with other CAN device through MCP2515, which means the extended SPI controller works normally.