ADC Calibration in stm32g473
Hi everyone!
I have a project where I start, with the help of the Timer 3, three ADCs(ADC1, ADC2 and ADC4). Each of them samples 256 samples and then stops. Then I disable them and start a calibration process on all three ADCs.This is repeated with a frequency of 4Hz approx. Interesting thing is that after calibration I get very often different calibration values for ADC1, not really often for ADC2 and rarely for ADC4. Like this:
60, 61, 62
60, 61, 62
61, 61, 62
60, 61, 62
60, 60, 62
61, 61, 62
61, 61, 62
60, 61, 62
60, 61, 62
...
Calibration is done with HAL function from ST. ADCs are turned of during calibration (ADEN = 0). Vref is external(3v) and it is stable, but I believe that offset calculation during calibration does not really use Vref voltage. Or it does?
So I’m a bit confused. Is here some ADC guru of Yoda level?
I appreciate any help.
