-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
Spurious interrupts on GPIO 36 when using WiFi (IDFGH-2473) #4585
Comments
Hi, @vonnieda thanks !! |
我用BLE蓝牙时出现了GPIO39不断中断触发的情况,难道BLE内部也用了ADC? |
Thank you @koobest. Perhaps the documentation could be updated to explicitly state that the GPIO 36 and 39 issue is also caused by WiFi? It could have saved me a lot of time, and a board spin. |
So is this only with power save or even without? If adc is always on there will be no glitch right? |
@negativekelvin Just tested: If I explicitly set WIFI_PS_NONE it works fine. No spurious interrupts. |
Ok good, I don't know why #3714 is closed, I don't think adc power lock has been implemented |
Environment
Problem Description
I'm getting 5 unexpected interrupts per second on GPIO 36 once WiFi connects. This does not happen before WiFi is connected.
I have seen #1096 and other posts but these seem to indicate that as long as I'm not using "the power switch which controls the temperature sensor, SARADC1 sensor, SARADC2 sensor, AMP sensor, or HALL sensor" this should not happen, but I am not using those and it still happens.
Example code below. It counts interrupts on GPIO 36 and 39 printing them every 500ms. After 5 counts it initializes WiFi and continues. In my testing, I get 0 interrupts before initializing WiFi and then get 5 per second once WiFi is connected.
The text was updated successfully, but these errors were encountered: