-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why gpio34 can't receive input level? (IDFGH-14795) #15532
Comments
To debug such issue, please first disconnect any external hardware from the board. Make sure no continuous GPIO interrupt will gets triggered with the devkit itself. How did you initialize the IO and register the interrupt? Did you take the generic_gpio example as a reference? |
Hi songruo, I'm sure remove all peripheral from board, it does receive input.
|
@Ares-bit I tried your code on release/v5.2 with an ESP32 devkit. I could not reproduce, I didn't see the interrupt keep getting triggered. Please provide more information, or check your hardware. |
@songruo Here is my board, you can see that there is no peripheral. |
Maybe try with removing the devkit from the bread board? Or even you can use a wire to connect IO34 to GND. |
Thx, I remove the devkit from bread board, it stopped. The reason is GPIO34 is too sensitive, when I touch it with my finger, it get triggered. Is that normal? What should I do to normalize it? |
Answers checklist.
General issue report
board: ESP32-WROOM-32
ide: ESP-IDF
version: v5.2
expect:
I connect a button between VIN and GPIO34(input mode, posedge trigger), and connect a LED light to GPIO27(output mode). I expect that when I press the button, GPIO34 should give an interrupt and set GPIO27 to high level to turn on the LED light.
fact:
I don't press the button, GPIO34 continuely give interrupts by itself.
question:
Why this would happen? I don't even press the button, GPIO34 should have no input, where does it receive input? What should I do to stop GPIO34 interrupt?
The text was updated successfully, but these errors were encountered: