Page 1 of 1

Adc attenuation without an effect on ESPS3

Posted: Wed Aug 21, 2024 1:51 pm
by snutw_
Does anyone else has a problem with adc attenuation?
I am using ESPs3 and adc1_config_channel_atten does not seem to have any effect. I still have the same values read when the V ref is 1.1 (or the ones close to this) - consistently with a manual measurement.

Re: Adc attenuation without an effect on ESPS3

Posted: Thu Aug 22, 2024 5:27 am
by snutw_
Ah, and I forgot to mention: I'm using IDF 5.2.2. Why there the attenuation function adc1_config_channel_atten is placed in the "deprecated" folder in the "driver" directory?
And why all the files there have a suffis "_legacy" (od "_deprecated")?
Were these options moved somwhere else?
Or they are really no longer supported? (but without info of such change)

Re: Adc attenuation without an effect on ESPS3

Posted: Thu Aug 22, 2024 7:24 am
by snutw_
Ah, ok it was moved to esp_adc component with the rest since IDF 5. Topic solved :)