Encountered the following issue with the iMX8 fsl_ecspi_cmsis.c driver method ECSPI_InterruptGetStatus(). I needed to modify stat.busy as below.
Hello @frank9 ,
Could you please share more details?
What imx8 are you using and SDK version?
Best regards!
We are using i.MX 8M Plus LPDDR4 EVK. I believe it is MIMX8ML8DVNLZAA. We download SDK version 2.12 and then at a latter date download SDK version 2.14. Method ECSPI_InterruptGetStatus() is the same in both versions.
Hello @frank9 ,
Thank you.
Is there a way to replicate your issue?
Or could you please point to me the exact error that you are having?
Best regards.
I really do not have any more information to share beyond what I posted. In my application, I decided to check driver busy status by calling ECSPI_InterruptGetStatus() before starting a SPI transfer, and that was when I encountered this issue. With the posted modification to ECSPI_InterruptGetStatus() my application appears to be functioning correctly. I just wanted to share a modification that I needed to implement.