Handling multiple interrupts on single EXTI line
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-01-16 8:20 PM
Posted on January 17, 2013 at 05:20
Hi all,
I want to use a multiple interrupts on the single EXTI line. In my case I want to handle interrupts of PF8 and PG8 pins on EXTI_Line8 so how can i do that? Do you have any sample code for that? When I initially define EXTI_Line8 for both pins PF8 and PG8 then my device get stuck in EXTI_GetITStatus function, I think controller is unable to identify EXTI_Line8 for both pins. So how can I handle that? Thanks & Regards Jonam
This discussion is locked. Please start a new topic to ask your question.
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-01-16 8:53 PM
Posted on January 17, 2013 at 05:53
You'll need to gate it externally, or use a priority decoder. Or use different pins.
Someone asked a similar question the other week.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-01-16 9:20 PM
Posted on January 17, 2013 at 06:20
Hi clive1,
Thanks for your reply. How can i get it externally? I cant use different pin.Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-01-16 9:33 PM
Posted on January 17, 2013 at 06:33
Cant we handle it from software side?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-01-17 4:52 AM
Posted on January 17, 2013 at 13:52
Cant we handle it from software side?
You could poll them in a SysTick interrupt. In hardware you could OR high going signals externally into a single pin, a then have the other pin look at one of the sources.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-01-19 3:54 AM
Posted on January 19, 2013 at 12:54 Hi clive1, Thanks buddy. I have done the same polling method and it works, not properly but yes it is working. Not properly means you know task which i can perform properly using EXTI line can not be perform properly by polling method, but still it is working so no problem. Thanks & Regards JoNaM
