Page 1 of 1

Using microcontroller-integrated ADC vs dedicated ADC component (ESP32-S3)

Posted: Tue Mar 04, 2025 9:07 pm
by thechade
I'm a novice to PCB design and circuit design. For an university project, I need to design a PCB which samples 16 different signals at a rate of 800Hz per signal (ie need total sample rate 16x800=12800 Hz) and also has BLE capabilities.

I was planning on using the ESP32-S3 microcontroller for that since it has BLE, 2 (12bit)ADCs with 10 channels each so it seemed perfect. And according to the ESP32-S3 datasheet, it can sample at 100 kHz so even more perfect.

But while reading sections 39.3.2 and 39.3.3 of the following [datasheet](https://www.espressif.com/sites/default ... ual_en.pdf) I saw that there are two different types of controllers for the ADCs :
- a digital controller for ADC1 with all the features I need (namely multi-channel scanning at defined interval) but which can only control the first ADC
- Real Time Clock Controllers available for ADC1 and ADC2, which don't have these nice features (can only do single channel conversion, somehow can be configured by the ULP coprocessor whatever that means ?). ChatGPT tells me that having to issue a single channel conversion command separately for each channel at several thousand Herz could introduce a lot of latency and not work, but I don't trust ChatGPT for technical advice.

So I now have three choices :

1. Use Digital Controller on ADC1 to monitor 10 channels (straightforward ?) and RTC controller on ADC2 to monitor 6 channels (maybe challenging ?) but I need to synchronize the two controllers which run on two different clocks, the real time and the main clock (possibly hard ?)

2. Use RTC controllers on ADC1 and ADC2 to monitor 8 channels each (maybe challenging), but at least I don't need to synchronize anything.

3. Simply buy external ADCs that have the desired specs and not bother with the integrated ADCs. Pros : I was told dedicated component ADCs are more precise than integrated ones and will need less code to clean/make usable the digitized signal. Cons : one more component to deal with on my PCB, I was trying to keep it simple since it's my first time.

That's a very precise question and maybe it's not a very smart one either, but thank you in advance for your advice.

Re: Using microcontroller-integrated ADC vs dedicated ADC component (ESP32-S3)

Posted: Thu Mar 06, 2025 5:19 am
by username
According to the ESP32-S3 datasheet and technical reference manual, the ADC1 and ADC2 channels overlap with certain Wi-Fi functions:

ADC2 is shared with Wi-Fi: When Wi-Fi is active, ADC2 may not function properly or may not be available for use.
ADC1 is more stable: ADC1 is not directly affected by Wi-Fi but still experiences some noise during RF transmission.

If your using BT or WiFi you'd be better off using and external ADC