Tool/software: TI-RTOS
Hi,
I am using callback function generated by interrupt. I am able to configure DIO as Input and enabled interrupt on that successfully.
INPUT1 | PIN_INPUT_EN | PIN_NOPULL | PIN_IRQ_BOTHEDGES,
Here I am configuring IO to generate interrupt on both rising and falling edge. My issue is source of interrupt is noisy, there is voltage fluctuation of around 400 mV both at high state and low state. Fluctuation at high state is not issue, because its at 3.8 V level. However at low state it generates interrupt multiple times. Is there a way to set threshold voltage for rising as well as falling edge interrupt? Can we configure registers so that interrupt is generated only when voltage falls below threshold voltage.
Thanks