Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

c6678 NDK and CPU interrupt

$
0
0

hello:

I am using NDK, I have 4 interrupt include network interrupt ,and I find that code in the .cfg:

Ecm.eventGroupHwiNum[0] = 7;

Ecm.eventGroupHwiNum[1] = 8;

Ecm.eventGroupHwiNum[2] = 9;

Ecm.eventGroupHwiNum[3] = 10;

This mean the  event  4~31 wil be mapped to CPU interrupt 7,and event 31~62 mapped to CPU interrupt 8, and so on.

if my project have 4 event between 4~31, and  It may happen that the 4 event come together, only one event can be serverd by the ISR,because 4 event use one ISR.

So other event may not be severed by  the ISR,witch leads to event loss.

1.Now I don't want to use event Group, 4 event mapped to 4 ISRs!  I remove the 4 lines  event Group code, and the run my project, the net is not OK and interrupt does not work! Why??

2. if I want to achieve my idea, what need I do?

 

ThankS!

 

 


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>