esp32s3 ADC sampling rate
Posted: Wed Mar 15, 2023 8:30 pm
I have an application using esp32s3 where I want to sample three channels through ADC1. If I program a sampling rate of 3000 samples/sec, is it 3000 samples/sec per channel or 3000 samples across all channels. i.e. Do I see signal through channels 1, 2, 3 sampled at 3000samples/sec each, or 1000 samples/sec each.
In other words with the 3000 samples per second, 3 channels setting above, if I buffer 1 second worth of data, will I get 3000samples/channel * 3 channels = 9000 samples in the buffer or 3000 total samples in the buffer?
Related to that, the max sampling rate in soc_caps.h is 83333 samples/second, is this total or per channel max. i.e. if I have three channels, can I sample each of the channels at up to 83333 samples/second or is the max for each channel = 83333/3 = 27778 samples/second?
Thanks
Yohannes
In other words with the 3000 samples per second, 3 channels setting above, if I buffer 1 second worth of data, will I get 3000samples/channel * 3 channels = 9000 samples in the buffer or 3000 total samples in the buffer?
Related to that, the max sampling rate in soc_caps.h is 83333 samples/second, is this total or per channel max. i.e. if I have three channels, can I sample each of the channels at up to 83333 samples/second or is the max for each channel = 83333/3 = 27778 samples/second?
Thanks
Yohannes