cancel
Showing results for 
Search instead for 
Did you mean: 

ADC Reference Voltage In STM32L152RE

djtilava
Associate II
Posted on April 18, 2016 at 18:08

Hell everyone,

I am using STM NUCLEO L152RE board and LM35 . I,m using Internal ADC for measuring temperature. But i don't know what is the Reference voltage for ADC? And can I used external reference voltage for ADC ? If yes then How?

#stm32l152re-adc
1 REPLY 1
Posted on April 18, 2016 at 19:48

On the 64-pin package VREF+ is connected to VDDA, which I'm guessing in this case is 3V, you could stick a scope or meter to check. You can also benchmark against VREFINT, ie VDDA/VREF would be full-scale (4095), and VREFINT would be a bit less than half that (1.224V). So  4096 * 3000 / 1224 for a 3V VREF

''3. VREF+ can be internally connected to VDDA and VREF- can be internally connected to VSSA, depending on the package.Refer to Section 4: Pin descriptions for further details.''

http://www2.st.com/content/ccc/resource/technical/document/datasheet/group1/a7/13/6a/ce/1f/f3/40/c1/DM00098321/files/DM00098321.pdf/jcr:content/translations/en.DM00098321.pdf

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..