各位大神:
我在调节SPI的时候,发现时钟总是开头多一个刺,导致数据错乱,程序如下:
cs_low;
SPI_transmit16Bits(SPIB_BASE, 0x3003);
temp56= SPI_receive24Bits(SPIB_BASE, SPI_DATA_LITTLE_ENDIAN, 0,0);
cs_high;
实际CS和SPI时钟如下:
请大家帮忙看看是哪里的问题。。。
感谢~~
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的时候,发现时钟总是开头多一个刺,导致数据错乱,程序如下:
cs_low;
SPI_transmit16Bits(SPIB_BASE, 0x3003);
temp56= SPI_receive24Bits(SPIB_BASE, SPI_DATA_LITTLE_ENDIAN, 0,0);
cs_high;
实际CS和SPI时钟如下:
请大家帮忙看看是哪里的问题。。。
感谢~~