我有查过,模式0就是 the SCK signal is 0 when idle and transitions to 1 whenever doing a data transfer; and the receiver latches the data on the first transition of SCK from idle state.
简单的说就是 clock is positive polarity and the data is latched on the positive edge of SCK
你能理解吗?我不知道SPH,SPO这两位是不是都应该是0阿?
我想看你的CODE是因为我想看看你得SPI init 和SPI write ,SPI read 是怎么写的,我总觉得自己有个什么地方没设置好,以至于老是读不到数据,你可以给我这三部分看看吗?非常感谢!
还有你用SPI与WIFI模块通讯这一份功能应该是实现了吧?