STM32F030R8T6 ADC Calibration Error
i am using Nucleo-F030R8 board. I want to get adc calibration factor.
By writing
#define VREFINT_CAL (*((uint16_t *) 0x1FFFF7BA))
i got VREFINT_CAL = 1521 which is actually factory stored value, that good no problem.
but when i try to calibrate it by self writng
MX_ADC_Init();
while(HAL_ADCEx_Calibration_Start(&hadc) != HAL_OK);
VREFINT_CAL = HAL_ADC_GetValue(&hadc);
i got VREFINT_CAL = 64 or 65. what is this i am not getting it.
it should around 1521.
