cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H745 ADC2 offset calibration

JLee.2254
Associate II

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.

2 REPLIES 2
TDK
Guru

> 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.

If you feel a post has answered your question, please click "Accept as Solution".
JLee.2254
Associate II

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.