2025-05-09 12:19 AM - last edited on 2025-05-09 7:04 AM by mƎALLEm
Does STM32 support dual-ADC multi-channel sampling? For example, ADC1 enables IN1 and IN2, and ADC2 enables IN3 and IN4. Is the storage method in the adc_buffer as follows?
adc_buffer[0]: High 16 bits = ADC1 IN1, Low 16 bits = ADC2 IN3
adc_buffer[1]: High 16 bits = ADC1 IN2, Low 16 bits = ADC2 IN4
And how should I configure this in CubeMX?
2025-05-09 6:54 AM
In general, yes, although samples will be interleaved. Look up dual mode interleaved in the relevant Reference Manual of your chip.
2025-05-09 7:06 AM
Hello,
You need always provide the STM32 part number.
Please review how to post a thread in this community on this post.
Thank you for your understanding.