STM32L031F6 ADC read multiple channels
Hi,
can anyone please provide help/sample/tutorial on how to read two different ADC Pins on my STM32L031F6 using STM32CubeIDE, idealy without DMA, but with would also work.
I have two analog signals on PA2 and PA3 and would like to read them. I suppose this are CHANNEL_2 and CHANNEL_3. I tried to follow different tutorials but the important settings are not available in my IDE (Scan Conversion Mode, Number of Conversions, ...).
I suppose it is a configuration issue, because when performing the classical HAL_ADC_PollForConversion and HAL_ADC_GetValue it either returns always 0 or always the same Value for all channels (seems to be the first one).
Any hints?
Regards, Durpex
