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.

dm8168 MCASP的问题



        首先是CPU与codec的连接上由于MCASP的TX帧同步信号没有与codec连接,只有RX的帧同步信号进行了连接,所以CPU作为slave模式下无法进行数据发送,请问有什么补救办法?

再是当CPU作为master模式下,MCASP初始化后,进了3次发送中断后,XSTAT寄存器的状态就变成0x171(即transmitter buffer underrun),这个underrun的状态有什么办法避免?我在发送中断处理函数中对XBUF设值并对XSTAT进行清空这个操作是否合理?

附上程序请大师看看。