Question
STM32G030F6 ADC channel 15 in a scan sequnce
Post edited by ST moderator to follow the community rule to post a code snippet: How to write your question to maximize your chances to find a solution
I need to use scan sequence of 3 ADC channel and DMA transfer of the 3 ADC value .
The 3 channel are:
sConfig.Channel = ADC_CHANNEL_TEMPSENSOR;
sConfig.Rank = ADC_REGULAR_RANK_1;
sConfig.Channel = ADC_CHANNEL_VREFINT;
sConfig.Rank = ADC_REGULAR_RANK_2;
sConfig.Channel = ADC_CHANNEL_15;
sConfig.Rank = ADC_REGULAR_RANK_3;
but doing this the HAL_ADC_ConvCpltCallback is called only once.
if I change the ADC_CHANNEL_15 with ADC_CHANNEL_VREFINT everything is working correct.
Why ?
