NRF52832's GPIO interrupt mis-triggering

I use the gpio8 interrupt to detect whether the SD card is inserted. When a falling edge is generated, it means that the SD card is inserted. But I found that sometimes, the SD card is connected normally, and I did not move the SD card, but gpio8 generated a falling edge interrupt, which led to the program to initialize the SD card again. In other words, when the level of the gpio port did not change, the interrupt was triggered incorrectly. What might be the reason?

Parents Reply Children
No Data
Related