ESP32S2 ADC different attenuation on every channel

pc1010
Posts: 1
Joined: Wed Apr 12, 2023 10:03 am

ESP32S2 ADC different attenuation on every channel

Postby pc1010 » Wed Apr 12, 2023 10:12 am

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

ginspe
Posts: 8
Joined: Mon Aug 04, 2025 7:39 am

Re: ESP32S2 ADC different attenuation on every channel

Postby ginspe » Wed Sep 17, 2025 8:17 am

Please fix this issue.

Minatel
Espressif staff
Espressif staff
Posts: 432
Joined: Mon Jan 04, 2021 2:06 pm

Re: ESP32S2 ADC different attenuation on every channel

Postby Minatel » Wed Sep 17, 2025 11:44 am

Are you facing the same issue with the ESP32-S2, @ginspe?

I see another topic created by you here.

ginspe
Posts: 8
Joined: Mon Aug 04, 2025 7:39 am

Re: ESP32S2 ADC different attenuation on every channel

Postby ginspe » Wed Sep 17, 2025 11:57 am

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.

Who is online

Users browsing this forum: Google [Bot] and 4 guests