Real ADC max sample rate?

brown_x
Posts: 12
Joined: Wed Mar 08, 2017 11:07 am

Real ADC max sample rate?

Postby brown_x » Fri Apr 21, 2017 11:05 am

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 ...

alejol
Posts: 2
Joined: Tue Sep 20, 2022 11:34 pm

Re: Real ADC max sample rate?

Postby alejol » Wed Sep 21, 2022 12:27 am

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.

Who is online

Users browsing this forum: No registered users and 58 guests