AnsweredAssumed Answered

GPIO INTERRUPT

Question asked by Sushma Mantagani on Nov 4, 2019
Latest reply on Nov 5, 2019 by Jorge Antonio Alcala Vazquez

Hello

I want to trigger an interrupt at both edges ( high-to-low and low-to-high), but my GPIO is pulled high externally (on hardware). So my IRQ gets triggered as soon as the system is powered (as it is pulled up externally, it sees low-to-high and fires IRQ)

I want to ignore the initial/first trigger (which is present in my hardware design and is not due to external system it is connected to). So what is the right procedure/steps to attach an IRQ in my case.

Steps followed so far :

Present Scenario : (a) Pin made to detect both edges

                               (b) Pin pulled high - externally

                               (c)IRQ triggered

Steps incorporated : (a)Cleared pending IRQ

                                 (b)Enabled IRQ

                                 (c) Attached handler

Kindly let me know the solution for the problem I'm facing at the earliest.

Thank you

Sushma Mantagani

Outcomes