您好!
我现在的项目需要使用C6416与FPGA通过EMIF接口连接,
我在网上调查的资料,有代码是使用到#include <csl_emifa.h>
但是我的CCS开发环境下只有csl_emif4f.h文件,
请问,这两个文件的使用目的有什么不同吗?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好!
我现在的项目需要使用C6416与FPGA通过EMIF接口连接,
我在网上调查的资料,有代码是使用到#include <csl_emifa.h>
但是我的CCS开发环境下只有csl_emif4f.h文件,
请问,这两个文件的使用目的有什么不同吗?
我下载安装了http://www.ti.com/tool/sprc090的csl库,但是
csl_emif.h,csl_emifa.h里面内容很少,global function declarations 都是空的,
比如CSL_emifaOpen函数声明也没有。感觉是少很多内容。
附件是我安装后的csl_emif.h文件。
是这样的吗?
您在前一次的回答中提到:在使用CSL时,要在工程里加入相应芯片的pre-define。
具体是怎么操作呢?
我现在在使用C6416的EMIFA功能时,编译出现了以下错误:
#35 #error NO CHIP DEFINED (use -dCHIP_XXXX where XXXX is chip number, i.e. 6201) . external location: C:\Program Files\C6xCSL\include\csl_chiphal.h C/C++ Problem
csl_chiphal.h 中的相应的代码如下:
#define CHIP_OROFALL (\
CHIP_6201 | \
CHIP_6202 | \
CHIP_6203 | \
CHIP_6204 | \
CHIP_6205 | \
CHIP_6211 | \
CHIP_6701 | \
CHIP_6711 | \
CHIP_6712 | \
CHIP_6713 | \
CHIP_DA610 | \
CHIP_DM642 | \
CHIP_DM641 | \
CHIP_DM640 | \
CHIP_6412 | \
CHIP_6414 | \
CHIP_6415 | \
CHIP_6416 | \
CHIP_6711C | \
CHIP_6712C | \
CHIP_6411 |\
CHIP_6410 |\
CHIP_6413 |\
CHIP_6418 \
)
#if (CHIP_OROFALL==0)
#error NO CHIP DEFINED (use -dCHIP_XXXX where XXXX is chip number, i.e. 6201)
#endif
请问此处修改做修改吗?