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

emp32_32
Posts: 9
Joined: Mon Jan 31, 2022 7:02 pm

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

Postby emp32_32 » Thu Jun 09, 2022 6:54 pm

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.

emp32_32
Posts: 9
Joined: Mon Jan 31, 2022 7:02 pm

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

Postby emp32_32 » Thu Jul 14, 2022 8:17 pm

Anything on this from the espressif team?

Who is online

Users browsing this forum: No registered users and 88 guests