Question
STM32F407 ADC measurement to Voltage
Posted on March 29, 2016 at 14:36
Dear Friends,
I have a good experience in STM32F103, but trapped in STM32F407's ADC two weeks already. My HW plateform is STM32F407VGT.Vref+ connect to 2.048V; Vdda connect to 3.1VADC resolution configured to be 12bitsQuestions :1. I can read and transfer ADC value to AdcValue, how to calculate to transfer ADCvalue to proper voltage? Is the formula : 1-1. AdcValue x 3.1 / 4095... or 1-2. AdcValue x (3.1 - 2.048) / 4095 ...or 1-3. AdcValue x (2.048 -1.8) / 4095 .....or 1-4. There is another proper formula..Because I cannot find the proper reference in two weeks searching, while reading ADC-CH17, Vref (2.048V) internal channel, AdcValue is around 400. #!stm32 #adc #stm32f4 #dac #filter