PGA411-Q1与28335 用SPI通讯,可以发出去数据但接收不到数据,发送的数据拿示波器看正确,片选信号,时钟信号也对。
The NCS pin is kept low when sending a 32-bit command. One byte is loaded to the SPI shift registers
and then sent to the slave device, which occurs 4 times to maintain the 32-bit time frame.
(1)拿EVM板采波形,看到它是发送一个字节然后延迟了4us,然后4个字节为一组,这期间片选信号为低。我将28335设为字节(8位)发送,然后加了延迟,片选就不是四个字节为低了,这样还是没有数据接收。
(2)四个字节一起发送,没有延迟,四个字节期间片选信号均为低,还是没有数据接收。
请问这是怎么回事啊?