AnsweredAssumed Answered

Sabre_lite SD3 Card Detect Pin (GPIO) debounce

Question asked by Ameer Hamza on Apr 2, 2017
Latest reply on Apr 2, 2017 by igorpadykov

Dear all,


I am using sabre_lite target (IMX6 Quad core). I am try to SDIO driver and using SD3 (J18 slot) as SD device, at datasheet level (not using linux or u-boot). For this purpose I configured SD3_CD (SD3_DAT5_PAD) to GPIO7_IO00. And I configured GPIO7 interrupt to edge trigger that whenever card inserted or removed, i should have the interrupt. But the problem is that when I insert or remove the card, I get almost 15-20 interrupts (may be due to debounce), So is there any hardware bit in or method to control the debouncing affect on a pin. Thanks in advance.


P.S: I can not modify my hardware, neither afford delay in the interrupt handler. 


Best Regards,