Skip to main content
JLee.2254
Associate
July 14, 2020
Question

STM32H745 ADC2 offset calibration

  • July 14, 2020
  • 2 replies
  • 895 views

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.

This topic has been closed for replies.

2 replies

TDK
July 14, 2020

> 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
JLee.2254Author
Associate
July 14, 2020

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.