cancel
Showing results for 
Search instead for 
Did you mean: 

unexpected double External IRQ

gabriel2399
Associate II
Posted on September 04, 2006 at 07:09

unexpected double External IRQ

1 REPLY 1
gabriel2399
Associate II
Posted on September 04, 2006 at 07:09

Using the ST7 321 µC I have following problem:

On PB0 (ei2-Interrupt) I have to detect rising and falling edge, which

is realized by switching sensivity by the IPB Flag.

On Port B the other pins are used by ei3-IRQ (falling edge only).

On every detection of the signal-edge I get a double IRQ (two for falling

and two for rising).

In the ei2-ISR execution I test the Level of the PB0 Signal and Toggle the IPB-Flag.

What is the reason and how can it be handled correctly?