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.

TMS320F28335-Q1: SPI FIFO

Part Number: TMS320F28335-Q1

我使用SPI FIFO发送数据。

在第一个中断中,发送4个字节数据

在第二个中断中,读取4个字节数据

现在writeCnt,readCnt总是保存相等的,理论上来说SpiaRegs.SPIFFRX.bit.RXFFST的值在读取4个字节后是0,但是实际情况SpiaRegs.SPIFFRX.bit.RXFFST是3,spiFIFOtest一直在增加。

不知道什么原因?