WiFi and ADC1

balix53
Posts: 27
Joined: Mon Jan 21, 2019 8:47 am

WiFi and ADC1

Postby balix53 » 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.

balix53
Posts: 27
Joined: Mon Jan 21, 2019 8:47 am

Re: WiFi and ADC1

Postby balix53 » Mon Sep 27, 2021 9:04 am

This seems to be an issue on IDF v4.2.2. It works without issue on the github master branch.

Who is online

Users browsing this forum: Bing [Bot], stdenits and 325 guests