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.

F280x SPI 接收问题

F28075作为SPI主设备, F28035作为从设备。

    F28035一直往TXBUF中写入[100,  1000] 这个区间的数,F28075 接收数据(发送伪数据,比如3.)

   F28075能够接收到伪数据3,也能接收到[100, 1000]这个区间的数据。

  理想情况,不是不应该收到伪数据3 吗?

下面是我的F28035的主要代码:

SpiaRegs.SPITXBUF = i++;
if (i >= 1000)
i = 100;

F28075 的主代码就是接收数据。

问题: 能帮忙解释为什么会收到伪数据3吗?