AnsweredAssumed Answered

ADC measuring

Question asked by Michael Gross on Nov 21, 2017

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/…  (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!

Outcomes