Interrupt firing despite being disabled

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 Hi, 

   

I thought I'd move this to a new post, given that the problem has now changed direction a little.  Has anyone else had any problems with interrupts firing that have previously been explicitly disabled?  I've tried using both isr_Disable() and isr_Stop(). In both cases, the interrupt is definitely firing despite being disabled.  Any ideas?

   

Thanks.

0 Likes
1 Solution
Anonymous
Not applicable

It helps if you can post your project here so people can see what could be the problem.

View solution in original post

0 Likes
5 Replies
Anonymous
Not applicable

It helps if you can post your project here so people can see what could be the problem.

0 Likes
Anonymous
Not applicable

 I understand what you are saying, but it isn't possible for me to do that.  We are working on something confidential in nature.  The project is also very complex and wouldn't make much sense without a lot more information.

0 Likes
Anonymous
Not applicable

I assume you are using the ISR signal.

   

I guest you enable the interrupt some where during initilization.

   

One thing you can check is NOT enabling the interrupt at all, comment out all enable of the interrupt and see if that is still firing.

   

or

   

do you have enabling the interrupt in mutiple places, if that is the case, you can add a counter to count if your have matching enable/disable pairs.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

In an ISR-configuration you specify how an interrupt is triggered. That implies (for some modules) that you have to reset the int-reason. This is normally done by reading a status-register of the component that signaled the int.

   

Which device are you using and which silicon-version Is there an ES? and which?

   

bob

0 Likes
Anonymous
Not applicable

Also be aware of the fat that in PSoC, the actual ISR source can be a hardware signal and by connecting an ISR component you are assigning an interrupt vector and a priority to it. In addition to disabling this interrupt it might as well be required to kill the source of this interrupts to isolate the problem. Try to disable the source(some hardware signal in your design) of this interrupt and see if it gets resolved.

0 Likes