Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > Interrupt firing despite being disabled

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Interrupt firing despite being disabled
Moderator:
RKRM

Post Reply
Follow this topic



Interrupt firing despite being disabled

kristen posted on 20 Mar 2012 6:35 PM PST
Member
10 Forum Posts

 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.




Re: Interrupt firing despite being disabled

H L posted on 20 Mar 2012 07:09 PM PST
Top Contributor
679 Forum Posts

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

 



Re: Interrupt firing despite being disabled

kristen posted on 20 Mar 2012 08:28 PM PST
Member
10 Forum Posts

 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.



Re: Interrupt firing despite being disabled

H L posted on 20 Mar 2012 09:14 PM PST
Top Contributor
679 Forum Posts

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.

 



Re: Interrupt firing despite being disabled

Bob Marlowe posted on 21 Mar 2012 12:29 AM PST
Top Contributor
1768 Forum Posts

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



Re: Interrupt firing despite being disabled

U2 posted on 26 Mar 2012 02:22 AM PST
Cypress Employee
589 Forum Posts

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.






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20