Wrong adc count

There are two channels on single ADC. Voltage is getting on one of pins only but the count is getting generated on both channels in firmware. I tried to configure ADC several times changing configuration but issue is same.
It is stm32f030k6 uc.
Can you suggest troubleshoot ??


Sandip, enable only one channel at a time and read them. Or you can use DMA to do the transfer if its present on the MCU you are using.

There will always be cross talk between ADC channels. Disabling will reduce it.


yes…reading only single channel at a time.