Page 1 of 1

Continuous ADC1 use with WiFi, BLE, and WiFi Power Save Mode

Posted: Thu Jun 09, 2022 6:54 pm
by emp32_32
Hello,

On an ESP32-WROVER, I would like to use ADC1 channels for continuous sampling, while also using WiFi and BLE. The IDF enforces some form of WiFi power saving must be used when WiFi and BLE coexist, however, WiFi power saving modes periodically shut off power to the SAR ADC module: https://github.com/espressif/esp-idf/issues/3714 -- "DMA ADC Fails On Connection to AP when in STA (station) mode (IDFGH-239) (IDFGH-1442)".

In the github issue, negativekelvin asks "will there be a way for the user app to take a lock to prevent this while still using powersave", that lock would prevent WiFi from turning off power to the SAR ADC module. igrr responds "Yes, we will implement this".
However, it is unclear from the github issue (which is now closed) if the "ADC power lock" was ever implemented in the IDF, to allow continuous ADC1 operation while WiFi power save modes are active.

Would someone from the espressif team please comment--has that ADC power lock been implemented in the IDF?

Thank you.

Re: Continuous ADC1 use with WiFi, BLE, and WiFi Power Save Mode

Posted: Thu Jul 14, 2022 8:17 pm
by emp32_32
Anything on this from the espressif team?