IMXRT1010 LPI2C problem using debug mode

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMXRT1010 LPI2C problem using debug mode

ソリューションへジャンプ
1,252件の閲覧回数
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 解決策
1,227件の閲覧回数
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 返答(返信)
1,228件の閲覧回数
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 件の賞賛
返信
1,205件の閲覧回数
LuigiV
Contributor III
Hi Daniel,
I apologize I haven't signed the post as "solved"...

Thanks anyway, Luigi
0 件の賞賛
返信