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.

6726B 的spi从模式,接收数据是怎么个过程,如何判断有数据

6726B 的spi从模式,接收数据是怎么个过程,如何判断有数据

  • 你用的是哪种模式?3-pin,4-pin还是5-pin的SPI?

    以4-Pin With Chip Select Option为例,主机发出时钟并把SPIx_SCS管脚拉低后,从机检测到SCS管脚拉低后,在时钟上升沿或下降沿采SPIx_SIMO管脚开始接收数据。

    是否有看过SPI文档?
    http://www.ti.com/lit/ug/spru718b/spru718b.pdf