> Van: Andy Shaw > Aan: PICLIST@MITVMA.MIT.EDU > Onderwerp: Re: Interrupt triggered when intcon mask clear - help! > Datum: dinsdag 2 juni 1998 23:43 > > Hi Caisson, > Yeah I've had this problem as well (sigh). I should have said in my original > posting that the *ONLY* interrupt that I ever enable (in the intcon reg) is > RBIE. When I get a break on the noop all of the intcon enable flags are > clear except GIE. > > Thanks > > Andy Another thing comes to mind : The interrupt latency. When you disable a Interrupt the interrupt-handler (especially the RETFIE instruction) could re-enable it. There is a piece of code in my book that states that you have to _check_ if your interrupt is off. Example states : LOOP: bcf INTCON,GIE btfsc INTCON,GIE goto LOOP Hope this is the solution to your problem ... Greetz, Rudy Wieser