Question
NUCLEO-H723ZG ADC Accuracy
I'm currently using single 16-bit ADC, my requirement is to have ADC conversion error less than 1mV.
I'm using the ADC with DMA. I'm a beginner, currently getting 1-2mV error and it is not constant too.
#define SCALE (3300.0f/65535.0f)
uint16_t adc_val = 0;
uint16_t ADC_ARR[5];
void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef *hadc){
adc_val = ADC_ARR[0]*SCALE;
}
HAL_ADCEx_Calibration_Start(&hadc1, ADC_CALIB_OFFSET_LINEARITY, ADC_SINGLE_ENDED);
HAL_ADC_Start_DMA(&hadc1, (uint32_t*)ADC_ARR,1);
Also the ADC clock is derived from HSI
