2020-07-13 11:34 PM
There is no problem in ADC1 and ADC3 offset calibration in STM32H745.
However, when it comes to ADC2 offset calibration, it does not get out of the routine of calibration completion check routine.
Is it ADC2 HW fault or ... ?
I used the LL_ADC_StartCalibration(ADC2 , LL_ADC_CALIB_OFFSET, LL_ADC_DIFFERENTIAL_ENDED ) and LL_ADC_IsCalibrationOnGoing(ADC2) from LL library.
2020-07-14 04:43 AM
> Is it ADC2 HW fault or ... ?
More likely to be a software bug.
Post the complete code you're using to initialize and calibrate the ADC. Ensure the ADC clock is started.
2020-07-14 06:31 AM
In STM32H745, the clock for ADC1 and ADC2 is common.
ADC1 and ADC2 are configure with the same data.
ADC1 offset calibration is okay, but ADC2 offset calibration is stuck at the calibration check routine.