基于FPGA和EMIFA的SPI控制器系统设计
DOI:
CSTR:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

TP334

基金项目:


A Design of a SPI controller system based on FPGA and EMIF
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    为了在现有C6000系列DSP芯片上扩展多路SPI外围设备,提出了一种基于FPGA和EMIF接口的多路SPI控制器系统方案。该方案采用C6000系列DSP上的EMIF接口与FPGA进行数据交互,扩展出多路SPI控制器。在FPGA上实现了接口模块、寄存器读写模块以及多路通用SPI模块。在ModelSim环境下对所设计的SPI控制器进行了仿真实验,仿真结果表明SPI控制器可以进行全双工通信。随之,在DSP-FPGA集成计算机上进行了实物测试,扩展的SPI控制器外接具有SPI接口的CAN控制器芯片MCP2515,通过扩展的SPI控制器控制MCP2515的数据收发,测试结果显示DSP可以通过MCP2515与其它CAN设备进行通信,扩展的SPI控制器工作正常。

    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.

    参考文献
    相似文献
    引证文献
引用本文

杨宇科,王保成.基于FPGA和EMIFA的SPI控制器系统设计计算机测量与控制[J].,2019,27(5):82-86.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2018-10-30
  • 最后修改日期:2018-11-28
  • 录用日期:2018-11-28
  • 在线发布日期: 2019-05-15
  • 出版日期:
文章二维码