2023-07-13 01:50 AM
Is it possible to use 4 ADC input channel and sample them simultaneously in any of the STM32 product on a single board?
2023-07-13 06:12 AM
No. To sample 4 analog inputs at ones you need 4 ADC, check out nucleo-G474re
2023-07-13 07:30 AM
The F303 also has 4 ADCs.
2023-07-13 07:56 AM
As I recall this could be done on the F3-DISCO board. ie ADC1 and 2, and ADC3 and 4, could be paired and synchronized with a common clock trigger. Data Buffering perhaps not ideal, but could be managed.
https://www.st.com/en/evaluation-tools/stm32f3discovery.html
2023-07-13 12:45 PM
You are saying that it's impossible and then immediately suggesting a device, which can do it...
2023-07-20 12:07 AM
I know how to operate ADC1 and ADC2 together similarly this will work for ADC3 and ADC4. But how to do all 4 simultaneously? You said we can do that by common clock trigger.
Do you have example for that? Or do you know how to do that?
2023-07-20 06:35 AM
Simply set the same event to trigger all ADC.
hadc1.Init.ExternalTrigConv = ADC_EXTERNALTRIG_T1_TRGO;
Here is an example for G-474, search another one for your uCPU