Getting inaccurate value of ADC of STM32F030R8T6
Hello,
I am working on STM32F030R8T6 with HAL.
We are trying to read ADC values from the 4 ADC channels and 5th channel as VREFINT.
The ADC is configured in continuous DMA read by using:
HAL_ADC_Start_DMA(&hadc, (uint32_t *)ADC_Buffer, 5);
Our AVDD = 3.3 thus giving us resolution of 0.805mV for 12bit configuration.
My problem is that we are getting wrong values for the given input voltage.
and for VrefInt as well we are getting value of 1706, which seems quite high.
Can someone please guide me where can I go wrong?
