Part Number: AM4379
Hi,
lm trying to capture an interrupt for both edges but the interrupt is only generated for the falling edge although i've set the GPIO related bit in the GPIO_RISINGDETECT and GPIO_FALLINGDETECT register.
The Pin im using is K22 (GPIO0_12). Is there anyhting else to do but the following:
1.) set GPIO0_12 as an input
2.) set bit 12 in GPIO_RISINGDETECT and GPIO_FALLINGDETECT
3.) clear the interrupt flag by setting bit 12 in GPIO_IRQSTS_0
4.) activate the interrupt by setting bit 12 in GPIO_IRQSTS_SET
5.) setup of a new hwi (index 128)
6.) put 3.) in the ISR
The code works fine for falling edge interrupts. I just got issues with rising edge interrupts.
Best regards,
Michael