STM32L471 ADC1 unstable calibration and accuracy at 80Mhz. Stable at 40Mhz.
Hello,
I'm working on a project involving the STM32L471 device clocked at 80Mhz (External
crystal oscillator with internal PLL).
We are using ADC1, also clocked at 80Mhz (CKMODE = 0x01)
We are noticing an issue concerning the calibration (and the consequent readings accuracy).
The ADC calibration result gives different result at every board power up (calculated value in the CALFACT register is different at after each calibration). Also recalibrating the ADC without powering off the board gives different CALFACT result.
This lead to incorrect readings accuracy (INTVREF reading is wrong).
Note that ADC readings (12 bit) are incorrect but very stable. AVDD is stable and noise free, and the VREF+ signal is connected to a precision voltage reference (3V).
We noticed that if we reduce ADC clock frequency to 40Mhz (CKMODE = 0x10) all works fine. Calibration gives always the same result, and readings are very accurate.
We checked on the datasheet, and it seems that ADC can be clocked at 80Mhz. Is this true? Or for some reasons ADC doesn't work properly at 80Mhz?
Thank you.
Regards.
