Page 1 of 1

Real ADC max sample rate?

Posted: Fri Apr 21, 2017 11:05 am
by brown_x
I am interested in the ESP32's ADC maximum sample rate - I did search on this forum and found 6Khz, than on other one 100Khz.

Question is: what is the real rate when timer is on maximum? I could not find too much doc about the SAR ADC to know how many cycles it needs to make a complete conversion ...

Re: Real ADC max sample rate?

Posted: Wed Sep 21, 2022 12:27 am
by alejol
adc1_get_raw(ADC1_CHANNEL_0) tooks 42 microseconds.
analogRead(ADC1_CHANNEL_0) tooks 80 microseconds.
There are a bug in Espressif files and analogSetClockDiv(clockDiv)
and adc_set_clk_div(clockDiv) doesn’t work . The clock is fixed unfortunatelly.