2018-05-05 02:02 AM
Hi,
I beginner in stm32 i am using stm32l071 adc channel 9
what is vref ?
vref is Vdda
i am connect vdda as 2.5v this is internally connected to vref yes or not?
can i enable vref by software(in code)?
Sampling time variation gets different adc values
Thanks and Regards
Vitthal R
2018-05-05 07:21 AM
VREFINT is Channel 17 (ADC_IN17) and nominally 1.224V
Channel 9 looks to be PB1 ADC_IN9, and VREFOUT can be output there
My understanding of the documentation is that you can route the VREFINT out of PB0 and/or PB1 so you can measure it with test equipment, and over voltage, temperature, etc.
2018-05-07 07:20 AM
Hi,
can use PB1 as Analog input?
in analog input can i set pull-up or pull-down or no pull-up and pull-down
2018-05-07 07:43 AM
>>can use PB1 as Analog input?
I think we established it was ADC_IN9 in the previous post.
>>in analog input can i set pull-up or pull-down or no pull-up and pull-down
You'd really want to avoid having it pull up/down, wouldn't you?
I'd set the PUPDR bits to 00
2018-05-07 07:58 AM
hi,
I configured ADC_IN9 as anlog input but not get current reading compare with input voltage