We are trying to trigger off of both edges of a GPIO pin.
The Falling edge works well but the rising edge is giving us multiple interrupts.
Admittedly the rising edge has a really long rise time (200uSec +) but is clean of noise. It looks like we are getting about 3 interrupts from this long rising edge. They seem to be 7 to 10 uSec apart.
We did change the code from both interrupts to looking for a falling, then inside the ISR we clear the Falling and set rising. Then when in the ISR the next time we clear the falling and look for rising, but we still get interrupts on the risinged edge when looking for falling edge.
I assume there is an indeterminet state where the pin is getting both rising and falling edges at the same time?
Thanks,