Page 1 of 1

WiFi and ADC1

Posted: Tue Aug 03, 2021 1:29 pm
by balix53
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.

Re: WiFi and ADC1

Posted: Mon Sep 27, 2021 9:04 am
by balix53
This seems to be an issue on IDF v4.2.2. It works without issue on the github master branch.