TI中文支持网
TI专业的中文技术问题搜集分享网站

C6748 MCASP 查询方法发送和接收,调试时不能暂停?

C6748 MCASP 查询方法发送和接收,调试时不能暂停,一暂停之后软件就会卡在" while (CHKBIT(MCASP->SRCTL12, XRDY)==0) {}"这句语句里?

硬件上ADC/DAC的LRCK/BCLK都是由MACSP产生,手头上没有示波器,不知道是否因为软件调试暂停之后MCASP就不能产生LRCK时钟信号,然后查询标志位就会卡住?

截图中的XDRY一直都没有至“1”,于是软件就卡住了

Shine:

不能暂停的,在手册上有说明。

CAUTIONThe DSP does not support the emulation suspend signal. Therefore, if a datawindow is open in the Code Composer Studio™ integrated developmentenvironment to observe the XRBUF locations, the emulation read from theXRBUF locations causes an undesirable side effect of clearing the RDATA bitin RSTAT. Furthermore, if you write to the XRBUF through the Code ComposerStudio™ integrated development environment, the emulation write to theXRBUF locations causes the XDATA bit in XSTAT to be cleared.

http://www.ti.com/lit/ug/spruh79a/spruh79a.pdf

 

赞(0)
未经允许不得转载:TI中文支持网 » C6748 MCASP 查询方法发送和接收,调试时不能暂停?
分享到: 更多 (0)