cancel
Showing results for 
Search instead for 
Did you mean: 

Simple questions about ADC input pin when doing ADC calibration

soulshine
Associate II

 

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.
 
 
 
 
1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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

View solution in original post

2 REPLIES 2
TDK
Guru

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".
soulshine
Associate II

Thank you TDK!