iMX8 ECSPI_InterruptGetStatus

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX8 ECSPI_InterruptGetStatus

1,426 Views
frank9
Contributor II

Encountered the following issue with the iMX8 fsl_ecspi_cmsis.c driver method ECSPI_InterruptGetStatus().  I needed to modify stat.busy as below.

frank9_0-1698162463243.png

 

4 Replies

1,407 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @frank9 ,

 

Could you please share more details?

What imx8 are you using and SDK version?

 

Best regards!

0 Kudos
Reply

1,389 Views
frank9
Contributor II

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.   

0 Kudos
Reply

1,381 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

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.

0 Kudos
Reply

1,368 Views
frank9
Contributor II

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.