Hi,
It's possible that you are simply trying to interrupt to fast and that it's overrunning it self - ie, another interrupt occurs before while servicing the first one. Try removing the all code from your ISR and replace with a simple TOGGLE PORTB.0 or whatever, measure the frequency of the output, that should give a clue as to what is going on.




Bookmarks