AnsweredAssumed Answered

BF707 Ez Kit "invalid edge sense" when using both edges of GPIO input

Question asked by rs85 on Mar 4, 2018
Latest reply on Mar 9, 2018 by rs85

Hi there, 


I'm trying to trigger an interrupt on both edges of a GPIO button press for the onboard tactile switches on a BF707 dev board. I'm using the example GPIO code, and the interrupt works fine when edge sense is set to rising edge or falling edge. However, if I set it to ADI_GPIO_SENSE_BOTH_EDGES, CheckResult fails with result = ADIO_GPIO_INVALID_EDGE_SENSE. 


Any idea why this could be happening?


 /* set input edge sense */
 result = adi_gpio_SetPinIntEdgeSense(