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.

TMS320C6678 Multicore navigator 的PDSP作用和配置

Other Parts Discussed in Thread: TMS320C6678

各位专家好,我最近在学习TMS320C6678的多核导航模块,其中PDSP 中有一个accumulator的东西,这个在例程里没有讲具体怎样配置,现在主要问题是:

1.将descriptor 压入到对应的队列中accumulator收不到这个操作的结果,没有中断产生,而且相对应的list中没有增加内容,中断的配置已经验证没有问题;

2.不太明白清除accumulator 中断的具体步骤,除了需要写EOI寄存器之外,对counter 和status寄存器需要怎样操作?

3.有个download_pdsp_firmware函数,不知道其具体作用是干什么的,那个<ti/drv/qmss/firmware/acc48_be_bin.h>文件中的内容是什么作用?

希望专家能不厌其烦给以指教,如果有说的不明白的地方请及时指出,我会详细描述。谢谢。

  • 建议参考SDK中multicore navigator例程,其中有使用accumulator的例子。

    http://www.deyisupport.com/question_answer/dsp_arm/c6000_multicore/f/53/t/47664.aspx

    1 没有中断产生的原因很多,对照例子check相关的初始化;

    2 中断后处理在multicore navigator user guide中有明确的说明,同时参考例程中断的处理代码;

    3 PDSP是需要下载相应的firmware才能工作。

  • 1.我加载了SPRUGRF9(2013年)的multicore navigator手册后面的例程代码,但是运行后结果都是失败,而且这个例程代码中就没有downloadfirmware以及中断处理的部分,今天又试了一下,是从队列中pop时可以产生中断,与手册所说不一致,另外中断后写interrupt count register寄存器(0x2aa0320+N*4)无法将其清零,反而会出发status register引发另一个中断,导致我的中断一个接着一个进入了死循环,是不是这个手册有问题或者我的操作有问题?谢谢,麻烦指导一下。