Recently, I began to debug the SPI read and write external flash in S32K144 platform. However, If I don't use interrupt to process read flash, there may lose some information. If I using Interrupt to process read flash, I don't know how to return the current function task to use the read value to continue next opreation.
So can anyone to share the demo to refer.
I assume that you are using the SDK LPSPI driver.
I'm not sure if I understand what is the issue here, but you can install a call back function.
It is shown in the example that is attached here:
Please read the SDK documentation available in the SDK installation folder.