IMXRT1010 LPI2C problem using debug mode

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

IMXRT1010 LPI2C problem using debug mode

跳至解决方案
527 次查看
LuigiV
Contributor III

I use the IMXRT1010 EVK and the MCUXpresso; I configured the LPI2C in transfer mode and the SAI in interrupt mode (word); both units work right but not at the same time.

The LPI2C works correctly only when I don't enable the SAI interrupt, if I enable the SAI interrupt the

"LPI2C_MasterWaitForTxReadyF(LPI2Cbase)" seems to freeze the code....

Anyone may help me ?

Thank you, Luigi

 

 

0 项奖励
回复
1 解答
502 次查看
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

Could you please tell me the SDK version you are using?
Could you confirm SAI works correctly if it runs independently?
By debug mode you mean you have a debug session running, am I right? Is this problem still occurs if you don't run it with the debug session?

Regards,
Daniel.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
503 次查看
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

Could you please tell me the SDK version you are using?
Could you confirm SAI works correctly if it runs independently?
By debug mode you mean you have a debug session running, am I right? Is this problem still occurs if you don't run it with the debug session?

Regards,
Daniel.

0 项奖励
回复
480 次查看
LuigiV
Contributor III
Hi Daniel,
I apologize I haven't signed the post as "solved"...

Thanks anyway, Luigi
0 项奖励
回复