Hi,
We are having custom design board which using imx7d processor. Push button is implemented on the board - when we given rising edge configuration, we verified register settings of GPIO showing right values in GPIO interrupt configuration register and GPIO edge select register. But on both rising and falling edge event we are getting interrupt. This we tested in IMX7D SABRE reference board and there this issue is not seen. We don't have debounce logic also to suppress this issue. Can anyone help here to solve this issue if they face similar issues in their design.
Thanks in advance.
Hi Dhanaraj
one can try software glitch filtering described on many foums and articles, like
"How do I debounce inputs?" pigpio library
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
We downloaded code like below from sumo branch:
$ mkdir imx-yocto-bsp
$ cd imx-yocto-bsp
$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m
imx-4.14.98-2.0.0_ga.xml
$ repo sync