Question
STM32L072 Adc Vref source
Posted on June 16, 2018 at 20:16
Hi,
I'm a little bit confused about adc and vref.
From reference manual
The internal voltage reference (VREFINT) provides a stable (bandgap) voltage output for the
ADC and Comparators. VREFINT is internally connected to the ADC_IN17 input channel. Theprecise voltage of VREFINT is individually measured for each part by ST during productiontest and stored in the system memory area. It is accessible in read-only mode.What exactly it means?
- I can use VREFINT as source for adc and ignore vref+? if so how I can select it from the code? I can't find anything to say 'adc select VREFINT as your source'
- VREFINT is only an adc channel to sample VDD and Temp? if so I have to supply a stable vref+ to increase adc accuracy?
- If VFREINT is only for internal purpose, I can use it to sample my unstable vref+ and correct the value I read from other ADC channel? if so there is a formula already cooked?
Thanks for your help
