iMX8 ECSPI_InterruptGetStatus

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

iMX8 ECSPI_InterruptGetStatus

1,879 次查看
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 回复数

1,860 次查看
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 项奖励
回复

1,842 次查看
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 项奖励
回复

1,834 次查看
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 项奖励
回复

1,821 次查看
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.