Calibration issue on STM32H750 - DIV256 versus DIV1
The calibration at a DIV256 works most of the time but some MCU must be calibrated with a DIV1 otherwhise I get an offset of zero. We use VREFBUFF as reference. We try to swap an MCU with good result (DIV256 worked). One MCU calibrated but with errornous value, at least better at DIV1. Any ideas ?
ClockPrescaler = ADC_CLOCK_ASYNC_DIV1
HAL_ADC_Init(&hadc3)
HAL_ADCEx_Calibration_Start(&hadc3, ADC_CALIB_OFFSET, ADC_SINGLE_ENDED)
ClockPrescaler = ADC_CLOCK_ASYNC_DIV256;
HAL_ADC_Init(&hadc3)
HAL_ADCEx_Calibration_Start(&hadc3, ADC_CALIB_OFFSET, ADC_SINGLE_ENDED)