Part Number:TMS320F280039C
各位大神:
我在调节SPI的时候,发现时钟总是开头多一个刺,导致数据错乱,程序如下:
cs_low;
SPI_transmit16Bits(SPIB_BASE, 0x3003);
temp56= SPI_receive24Bits(SPIB_BASE, SPI_DATA_LITTLE_ENDIAN, 0,0);
cs_high;
实际CS和SPI时钟如下:
请大家帮忙看看是哪里的问题。。。
感谢~~
Yale Li:
请看一下这篇帖子:
https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1248486/tms320f280025c-issues-with-manual-control-of-cs-pin-in-spi-when-using-driverlib-functions/4726334#4726334