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.

TMS320F28386D: SPI

Expert 2360 points
Part Number: TMS320F28386D


I use the SPI want to send out the two transctions, but they are connected.

I want separate them, 0x39, 0x84.

Then 0x38,0x00.

The cs is PIN is GPIO_setPinConfig(GPIO_94_SPID_STEN);

//
// FIFO and interrupt configuration
//
SPI_enableFIFO(SPID_BASE);
SPI_clearInterruptStatus(SPID_BASE, SPI_INT_TXFF);
SPI_setFIFOInterruptLevel(SPID_BASE, SPI_FIFO_TX16, SPI_FIFO_RX4);

As I know, add the delay will fix this problem. But Is there other method?

Also we cannot use interrupt due to project forbid it.

I tried to use SPI_isBusy(SPID_BASE) to wait, but still failed.