Interrupts triggered multiple times when pins are touched
Posted: Wed Mar 13, 2019 11:42 pm
Hello everyone,
I'm testing the gpio_example_main.c example, which indicates that some output pins must be connected to some input pins.
I've tested this example a long time ago without issues, but this time I'm having troubles when I do not connect the input pins. Every time I touch one of these input pins, their respective interrupts get triggered. This unexpected behaviour gets even worse when I connect a wire to the pins, whose interrupts get triggered when I approach my hand to the wire, just as they had some kind of capacitive nature.
First I thought it might be a matter of pull resistors so I used external ones without luck.
Is there something I'm missing here? Do you have any comment or suggestion?
Thanks a lot
Best regards
Verde
I'm testing the gpio_example_main.c example, which indicates that some output pins must be connected to some input pins.
I've tested this example a long time ago without issues, but this time I'm having troubles when I do not connect the input pins. Every time I touch one of these input pins, their respective interrupts get triggered. This unexpected behaviour gets even worse when I connect a wire to the pins, whose interrupts get triggered when I approach my hand to the wire, just as they had some kind of capacitive nature.
First I thought it might be a matter of pull resistors so I used external ones without luck.
Is there something I'm missing here? Do you have any comment or suggestion?
Thanks a lot
Best regards
Verde