I am using the SDK for the SPI0 with Flexcomm0 for the LPC54605 MCU.
I am using the SPI_MasterTransferBlocking function. It works fine, but the SPI0->STAT stalled bit is always set and the MSTIDLE flag is never set to one again. Also the SSA flag is stuck to one as well.
I need to poll for the transfer to be complete, not poll for the FIFO to be empty.
My SPI Init routine:
And you can keep sending data just fine, but the STALLED bit stays set even when using the SPI_MasterTransferBlocking.And MSTIDLE never is set again.
I don't need to receive anything, I even set the RXIGNORE flag in FIFOWR. But that did nothing.