S32K344 EMIOS OUC problem

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

S32K344 EMIOS OUC problem

244 Views
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 Kudos
Reply
4 Replies

193 Views
_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 Kudos
Reply

159 Views
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 Kudos
Reply

162 Views
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 Kudos
Reply

170 Views
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 Kudos
Reply