Skip to main content
Senior
Jul 15, 2026 21:14 UTC
Solved

STM ADC Single vs Differential Ended Channels

I use H563 and G491 MCUs. There is HAL_ADCEx_Calibration_Start() on both MCUs to calibrate for single or differential ended inputs. If I have mixed single and differential ended inputs on the same ADC, which do I use? Single or differential?

Hal3Best answer
Visitor II
Jul 15, 2026 22:03 UTC

For the 563, calibrate twice, once single ended, then again differential. The appropriate cal factor is then automatically applied. Read the 563 reference manual on the subject. See if the 491 reference manual covers the subject.

3 replies

Hal3Best answer
Visitor II
Jul 15, 2026 22:03 UTC

For the 563, calibrate twice, once single ended, then again differential. The appropriate cal factor is then automatically applied. Read the 563 reference manual on the subject. See if the 491 reference manual covers the subject.

TDK
Jul 15, 2026 22:04 UTC

As the reference manual suggests, both. Do single ended calibration, then differential calibration.

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
mccabehmAuthor
Senior
Jul 15, 2026 22:08 UTC

I see it now in the H563 ref man.

Yes, the G491 ref man also shows 2 calibrations (one for single ended, one for differential ended).