Skip to main content
Associate II
Apr 14, 2025 2:18 AM UTC
Solved

Simple questions about ADC input pin when doing ADC calibration

 

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.
TDK
TDKBest answer
Apr 14, 2025 2:38 AM UTC

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.

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

2 replies

TDK
TDKBest answer
Apr 14, 2025 2:38 AM UTC

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.

"If you feel a post has answered your question, please click ""Accept as Solution""."
soulshineAuthor
Associate II
Apr 14, 2025 2:40 AM UTC

Thank you TDK!