Hi again,
I am using the SPI module in interrupt mode with FIFO. I am using the STE signal as a chip select which in most cases works fine. The case that I am having issues with is when the SPI interrupt for transmitting fires multiple times in a row. I have set the FIFO level to 3 and SPICHAR to 8, but I am seeing back to back bursts of 24 bits without the chip select going low.
How can I force the STE pin low after 24 bits exactly are transmitted? My best solution at this point was to pause at the end of the TX interrupt with a simple for loop counting to 100k. It's hacky at best and unreliable at worst, so is there a better way?
I doubt it makes much of a difference for this problem but I'm using an F28377S.
Thanks!