Skip to main content
Explorer
April 14, 2025
Solved

Simple questions about ADC input pin when doing ADC calibration

  • April 14, 2025
  • 2 replies
  • 339 views

 

Hello ST Experts,

 

I'm using STM32H747 and I try to run adc calibration at the start of the code, like under lines.

 

    HAL_ADCEx_Calibration_Start(&hadc3, ADC_CALIB_OFFSET_LINEARITY, ADC_SINGLE_ENDED);
    HAL_ADCEx_Calibration_Start(&hadc3, ADC_CALIB_OFFSET, ADC_SINGLE_ENDED);
 
I'm wondering if there is a need to apply a specific voltage to the ADC input lines before calling the above functions.
 
 
 
 
    This topic has been closed for replies.
    Best answer by TDK

    No, it's all done internally. The ADC pins can be connected to whatever you need them connected to. They don't need even need to be initialized for calibration.

    2 replies

    TDKAnswer
    Super User
    April 14, 2025

    No, it's all done internally. The ADC pins can be connected to whatever you need them connected to. They don't need even need to be initialized for calibration.

    soulshineAuthor
    Explorer
    April 14, 2025

    Thank you TDK!