Hi I already asked for multi channel ADC in STM32G030K8 PA0,PA2,PA5,PA9,PA11,PA12.while debugging I am getting all ADC values as same if I made one by one its working properly Can any one help how to proceed with that.
set Sequencer to "fully configurable"
set Enable in Scan Conversion Mode
set Sampling Time
Set Number of Conversion to quantity of your channel needed
and set each channel in Rank.
in your code, you can get data for each channel by run polling and getADC for each channel.
And I suggest to use interrupt or DMA is easier than polling.