Adc attenuation without an effect on ESPS3

snutw_
Posts: 7
Joined: Wed Aug 21, 2024 1:48 pm

Adc attenuation without an effect on ESPS3

Postby snutw_ » Wed Aug 21, 2024 1:51 pm

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.

snutw_
Posts: 7
Joined: Wed Aug 21, 2024 1:48 pm

Re: Adc attenuation without an effect on ESPS3

Postby snutw_ » Thu Aug 22, 2024 5:27 am

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)
Last edited by snutw_ on Sat Aug 24, 2024 4:00 am, edited 1 time in total.

snutw_
Posts: 7
Joined: Wed Aug 21, 2024 1:48 pm

Re: Adc attenuation without an effect on ESPS3

Postby snutw_ » Thu Aug 22, 2024 7:24 am

Ah, ok it was moved to esp_adc component with the rest since IDF 5. Topic solved :)

Who is online

Users browsing this forum: Bing [Bot] and 116 guests