Hi,
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.
Thanks!
Xinguang
Hi,
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:
How do I know if the SPI slave has received the data?
Please read the SDK documentation available in the SDK installation folder.
.../NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_RTM_3.0.0/doc/Start_here.html
BR, Daniel
Hi Daniel,
Thanks for your kindly advice,I'll try it.
Best Regards!
Xinguang