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.

SPI_transfer没有接受数据为什么没有阻塞?

Other Parts Discussed in Thread: CC2640R2F

SPI_transfer没有接受到数据为什么没有阻塞,依然返回true?     参数设置:spiParams.transferMode = SPI_MODE_BLOCKING;

ccs9, simplelink_cc2640r2_sdk_3_20_00_21

  • 请问使用的是哪个例程,现象是什么?
  • 看红框处明明设置了 spiParams.transferMode =  SPI_MODE_BLOCKING;  没有收到从机发来的数据,他依然返回transferOK=true

    以上用的是以下历程:file:///C:/ti/simplelink_cc2640r2_sdk_3_20_00_21/docs/tidrivers/doxygen/html/_s_p_i_8h.html

    我试过把发送的内容去掉(即不发送内容),只进行收数据,但在没收到数据的情况下,它依然返回transferOK=ture

    芯片是:CC2640R2F