Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 230551

Forum Post: RE: Problem in GPIO interrupt handling using peripheral library

$
0
0

[quote user=" stellaris dinesh "]

now FAULTISR is solved[/quote]

That's good - (perhaps warrants green Verify tick)

And you report no interrupt action - but leave silent your method for detecting that misfortune.

Have you placed a break-point - atop each/every interrupt service routine?  If you rely upon "follow-on" program execution - your analysis may be confounded...

Further - your code plain is "loitered" with multiple, different interrupt triggers!  (i.e. Rising, Falling, Both) Edges.  Are you absolutely certain that you've provided the proper logic edge - with so many differing requirements - to the appropriate MCU pin?

Yesterday Dave W. advised that posts should be restricted - simplified - to better reveal the logic and flow of your code objective.  Yet your code includes "kitchen sink" - every conceivable condition stands present/accounted for - and has great likelihood of confounding your results. 

Short, simple, single-edge interrupt - confined to one known good Port/Pin - and then re-test - my suggestion...  (kitchen sink approach - not so much...)


Viewing all articles
Browse latest Browse all 230551

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>