DSPRelated.com
Forums

How can I have a broked nested interrupt scheduling???????

Started by ahma...@yahoo.com January 1, 2009
Hi,
I want to use two periodic nested interrupts as follows:
when the second interrupt occured while the ISR of first interrupt is running the ISR for second interrupt begins to start without waiting for the first ISR to finish. furthermore after finishing the ISR of second interrupt the program should not come back to continue the first ISR and it should wait for comming new interrupt. Could you say me what is the required setting. I am writing with C language and my default setting exexuts the ISR by waiting to finishing the previuos one even the new interrupt has been come.
Regards
Hi

    1. donot use the DISABLEINTERRUPT in the begining of Ist ISR.
    2. in the second interrupt ISR,  you may have a while loop to keep waiting for next interrupt.  and once it comes u can have an ISR to return to second interrupt ISR and inturn it can return to first ISR.( using of DISABLE INTERRUPT may not be required at the begining of II ISR ).

   HI
     the last statement is not clear to me. so not able to answer.
Regards,
Pradeep.

 

________________________________
From: "a...@yahoo.com"
To: c...
Sent: Thursday, 1 January, 2009 9:24:49 PM
Subject: [c55x] How can I have a broked nested interrupt scheduling???????
Hi,
I want to use two periodic nested interrupts as follows:
when the second interrupt occured while the ISR of first interrupt is running the ISR for second interrupt begins to start without waiting for the first ISR to finish. furthermore after finishing the ISR of second interrupt the program should not come back to continue the first ISR and it should wait for comming new interrupt. Could you say me what is the required setting. I am writing with C language and my default setting exexuts the ISR by waiting to finishing the previuos one even the new interrupt has been come.
Regards