Skip to main content
Michael Gross
Associate
Nov 21, 2017 7:47 PM UTC
Question

ADC measuring

Posted on November 21, 2017 at 20:47

Hello!

I want to calculate battery voltage, that connected to STM32L476RG board.

I've connected ADC pin and this battery with divider (so Vbattery<Vref.adc).

But I need to know how to get some factors/parameters.

See formula here: 

http://www.st.com/content/ccc/resource/technical/document/reference_manual/02/35/09/0c/4f/f7/40/03/DM00083560.pdf/files/DM00083560.pdf/jcr:content/translations/en.DM00083560.pdf

  (p.578)

And please tell me, where and how to get: VREFINT_CAL, VREFINT_DATA. And what does these parameters mean?

Thank you very much for your attention!

#stm32 #adc #battery-voltage
This topic has been closed for replies.