AnsweredAssumed Answered

Use ADC with internal VREF (STM32L151)

Question asked by levy.udi.001 on Feb 13, 2017
Latest reply on Feb 13, 2017 by waclawek.jan

Hi,

 

I am trying to use the ADC on STM32L151, the external pin VREF+ is "not connected" in my design, instead I would like to use the VREFINT (internal reference voltage). The datasheet states: "VREFINT is internally connected to the ADC_IN17 input channel. It enables accurate monitoring of the VDD value (when no external voltage, VREF+, is available for ADC)."

 

My questions:

1) Is it possible to use the VREFINT on packages that do have VREF+ pin?

2) If so- what should I configure in my code to enable this?

 

Thanks

Outcomes