WiFi and ADC1
Posted: Tue Aug 03, 2021 1:29 pm
Hello,
I have an issue with the simultaneous usage of ADC1 and WiFi. The documentation states that ADC2 read will fail when using WiFi. However there doesn't seem to have anything wrong using ADC1.
The issue I face is the same every time, when reading an ADC value, the WiFi will be disconnected (reason 200: beacon timeout) then when trying to join again the AP it will fail indefinitely (reason 201: no AP found).
I tried disabling WiFi power save mode as it seemed to have an effect on ADC1 according to this thread: https://github.com/espressif/esp-idf/issues/3714
But I still got the same errors and my ESP32 is disconnected from the WiFi.
I have an issue with the simultaneous usage of ADC1 and WiFi. The documentation states that ADC2 read will fail when using WiFi. However there doesn't seem to have anything wrong using ADC1.
The issue I face is the same every time, when reading an ADC value, the WiFi will be disconnected (reason 200: beacon timeout) then when trying to join again the AP it will fail indefinitely (reason 201: no AP found).
I tried disabling WiFi power save mode as it seemed to have an effect on ADC1 according to this thread: https://github.com/espressif/esp-idf/issues/3714
But I still got the same errors and my ESP32 is disconnected from the WiFi.