Hello everyone, I am trying to code for multichannel ADC in STM32F103RB. I have 9 analog inputs. I am using polling method to get values. The values get shifted when i read the adc values. Please help me find my mistake.
I have configured 9 channels as follows:- channel 5,8,9,10,11,12,13,14,15. Now Sampling time for all channels is ADC_SAMPLETIME_1CYCLE_5. I have attached potentiometer for as input voltage. Now when I change pot of channel 9, it gets reflected in cha...