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.

关于sci fifo中rxffil设置问题



当设置rxffil为4时,表明fifo中数据>=4时产生接收中断,此时在中断中就可以读取这4个字节。

如果我在中断中一次读取5个或者更多,并且,给dsp发送5个或更多的数据,那么此时我能读取到发送的数据么?

例如:

Rxffil=4;

接收中断中:

  for(i=0;i<5;i++)

          rdata[i]=rxbuf;

然后我向dsp中一次性发送0x11 0x12 0x13 0x14 0x15

那么我的rdata中是否也是 0x11 0x12 0x13 0x14 0x15.

假设 dsp的fifo为16level。