Page 1 of 1

ESP32S2 ADC different attenuation on every channel

Posted: Wed Apr 12, 2023 10:12 am
by pc1010
Hello everyone!
I'm having an issue with setting different attenuation on ADC channels with IDF 5.0.1 using adc_continuous_config function.
Whenever I do it, the function is aborting with "ESP_ERROR_CHECK failed: esp_err_t 0x102 (ESP_ERR_INVALID_ARG)".
I see that in adc_continuous.c:588 there is a check "} else if (handle->adc1_atten != pat->atten) {" that checks if all channels have the same attenuation.
In previous releases it was possible to configure it separately :?
Thanks

Re: ESP32S2 ADC different attenuation on every channel

Posted: Wed Sep 17, 2025 8:17 am
by ginspe
Please fix this issue.

Re: ESP32S2 ADC different attenuation on every channel

Posted: Wed Sep 17, 2025 11:44 am
by Minatel
Are you facing the same issue with the ESP32-S2, @ginspe?

I see another topic created by you here.

Re: ESP32S2 ADC different attenuation on every channel

Posted: Wed Sep 17, 2025 11:57 am
by ginspe
Are you facing the same issue with the ESP32-S2, @ginspe?

I see another topic created by you here.
No it's with C6. Saw this topic was quite old so I thought I'd start a new one. But the issue still stands.