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.

[参考译文] CCS/TMS320DM6446:如果没有 DM6446 DSP 上的 EDMA、McBSP 接收将无法正常工作

Guru**** 2563990 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/614138/ccs-tms320dm6446-mcbsp-receive-not-working-properly-without-edma-on-dm6446-dsp

器件型号:TMS320DM6446

工具/软件:Code Composer Studio

我在不使用 EDMA 的情况下读取 DSP 上的 McBSP 数据。 我已将 SPCR 寄存器位4-5配置为2h、这样 DSP 将在接收到帧同步时中断、并且我已配置16位的字长

我的代码被剪切的样子  

while (SPCR & RRDYBIT ==0);

asprxbuffer =*(volatile short*) 0x11E20000;

但中断正在触发、代码正在进入中断处理程序、但我观察到 RBR 和 RDY 位持续为高电平、 即使在我读取 DRR 寄存器后、RBR 位也不会变为低电平、并且与 DRR 寄存器相比、我在接收缓冲器中获得的值也不正确。

此致