S32K344 EMIOS OUC problem

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

S32K344 EMIOS OUC problem

108 次查看
XPW
Contributor I

I have configured EMIOS0 with CH6 CH11 CH12 CH13 CH14 CH15, with a separate notification function for each channel. The problem now is that these notification functions no longer enter after a certain number of times.

0 项奖励
回复
4 回复数

57 次查看
_Leo_
NXP TechSupport
NXP TechSupport

Thank you for your interest in our products and for contributing to our community.

Please refer to the SAOC Example Project of the following community post:

S32M27x/S32K3 – eMIOS Usage -> https://community.nxp.com/t5/S32M-Knowledge-Base/S32M27x-S32K3-eMIOS-Usage/ta-p/2129760

We hope this resolves your issue.

0 项奖励
回复

23 次查看
XPW
Contributor I
Okay, I have identified the issue. When the newly written comparison value is 0, the situation I described earlier will occur
0 项奖励
回复

26 次查看
XPW
Contributor I
And at this point, return (0U!=(cpcxBase ->CH.UC [Channel]. C&eMIOS_C_SEN-MASK)? TRUE : FALSE; Always equal to TRUE
(0U != (cpcxBase->CH.UC[Channel].S & eMIOS_S_FLAG_MASK)) ? TRUE : FALSE; Always equal to False
0 项奖励
回复

34 次查看
XPW
Contributor I

I am glad to receive your reply. I have carefully reviewed the routine you provided, but the issue has not been resolved. I found that after no longer entering the OCU notification function, Interrupt handler for Emios channels 12-15 for Emios instance 0 is no longer triggered。(ISR(EMIOS0_2_IRQ))
0 项奖励
回复