2024-07-25 07:10 AM
Hi all,
Currently I am working on a project using STM32U575ZG with both ADC1 and ADC4 enable.
1. On both ADCs I have multiple channels enabled and every loop cycle the module will start single conversion on all of them.
2. A second ADC task I would like to perform besides the above one is to re-configure to have ONLY 1 channel per ADC and continuously make conversion during a short amount of time. Afterward, the ADCs should be reconfigure back to normal with all channels up and running without de-initialize the peripheral. This is done to save as much time as possible during conversion time and only focusing on converse a single important channel.
I use HAL_ADC_Library and when working with STM32F091 with only one ADC before this was the method I used: