-
Notifications
You must be signed in to change notification settings - Fork 7.6k
GPIO36 "fake" falling interrupts #4903
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
Comments
interesting... there has been no change to the code for GPIO and interrupts here. I would guess that there has been a change in the wifi driver that is causing the issue to show, or do you not have WiFi/ADC on? |
Hello guys I noticed the same thing on an M5Paper device which uses GPIO36 as interrupt from the touch screen. I get constant 'ghost' interrupts. And I can confirm that it only happens if WiFi is active. As soon as I invoke a I only see the issue with With the previous version, e.g. Thanks |
This is in line with the hardware issue with IOs 36 and 39 mentioned in the ESP32-ECO and changes in the WiFi driver. |
I saw somewhere mentioned that |
Hello @me-no-dev thank you for the information. I can confirm that disabling the WiFi sleep mode prevents the 'ghost' interrupts. E.g.
Thanks |
Same here, with SDK Version v3.2.3-14-gd3e562907 - everything is good. @me-no-dev do you have a link to the hardware issue/bug reference you mentioned about the ESP-ECO? |
Thanks for this. If I use the WiFi.setSleep on version 3.10005.210223 / v3.3.4-432-g7a85334d8 then the interrupts fire as expected. |
Thank you so much for this. This solved my issue |
Hi, above solution not work for me.
[EDIT]: this is solution for my esp32:
|
Hardware:
Board: ESP32-WROOM-32U
Core Installation version: PlatformIO 5.1.1a3
IDE name: Platform.io
Computer OS: Windows 10
Description:
I'm using version 3.10005.210223 of platformio/framework-arduinoespressif32. If I attach a falling interrupt to GPIO36 it will continuously trigger. The pin is pulled high externally via a touch screen. Verified with scope.
Swapping back to version 3.10004.210126 fixes this issue and the interrupt returns to normal, only triggering on genuine transitions of the pin.
Describe your system( Hardware, computer, O/S, core version, environment).
Windows 10, Platform IO
This seems to be similar (but not identical to) this issue, espressif/esp-idf#1096
however I am not using the ADC or any power saving features (wifi is enabled).
The text was updated successfully, but these errors were encountered: