求DSP 6747与FPGA用EMIF 通信例程

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了求DSP 6747与FPGA用EMIF 通信例程相关的知识,希望对你有一定的参考价值。

674x就行   

参考技术A 供参考

Code Segment
The following code segment sets up the EMIF as described above using the
TMS320C6000 Peripheral Runtime Support Control Library.
#include <emif.h>
.
. /*OTHER USER CODE*/
.
/* Get default values for all EMIF registers */
unsigned int g_ctrl = GET_REG(EMIF_GCTRL);
unsigned int ce0_ctrl = GET_REG(EMIF_CE0_CTRL);
unsigned int ce1_ctrl = GET_REG(EMIF_CE1_CTRL);
unsigned int ce2_ctrl = GET_REG(EMIF_CE2_CTRL);
unsigned int ce3_ctrl = GET_REG(EMIF_CE3_CTRL);
unsigned int sdram_ctrl = GET_REG(EMIF_SDRAM_CTRL);
unsigned int sdram_ref = GET_REG(EMIF_SDRAM_REF);
/* Set Global Control - Enable CLKOUT2,SDCLK, and SSCLK*/
/* - Disable CLKOUT1 */
/* - Set for ½x SBSRAM interface */
RESET_BIT(&g_ctrl, SSCRT);
SET_BIT(&g_ctrl, CLK2EN);
RESET_BIT(&g_ctrl, CLK1EN);
SET_BIT(&g_ctrl, SSCEN);
SET_BIT(&g_ctrl, SDCEN);
/* Configure CE2 as SBSRAM */
LOAD_FIELD(&ce2_ctrl ,MTYPE_32SBSRAM, MTYPE , MTYPE_SZ );
/* Store EMIF Control Registers */
emif_init(g_ctrl, ce0_ctrl, ce1_ctrl, ce2_ctrl, ce3_ctrl,
sdram_ctrl, sdram_ref);
.
. /*OTHER USER CODE*/
.

以上是关于求DSP 6747与FPGA用EMIF 通信例程的主要内容,如果未能解决你的问题,请参考以下文章

求助,C6747 EMIFB SDRAM工作不正常

FPGA与DSP之间的是怎么传输的?我一点也不懂,请问应该怎么去学习啊?非常非常感谢!

创龙基于C66x平台DSP与FPGA通信测试

有没有DSP与FPGA通信的硬件测试软件

FPGA与DSP相连的问题,跪求大神解决之~~

请问FPGA可以通过EMIF口读DSP中的数吗