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.
如图所示,蓝色为我MOSI的波形,红色为CS的波形,
我需要发送完数据以后再把电平拉高,我尝试过用GPIO来控制,但是没有效果
以下是我的主要函数:
DL_GPIO_clearPins(GPIO_SPI_0_CS0_PORT, GPIO_SPI_0_CS0_PIN );
DL_SPI_fillTXFIFO8(SPI0, ®, 1);
DL_SPI_drainRXFIFO16(SPI0, &bufp[0], 8);
DL_GPIO_setPins(GPIO_SPI_0_CS0_PORT, GPIO_SPI_0_CS0_PIN );
顺便,为什么MOSI发送数据是会先拉低电平半个单位再发送数据,如图我发的是0x8F,前面会拉低半个电平