ADC Vref?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-05-05 2: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-05-05 7: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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-05-07 7: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-05-07 7: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
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-05-07 7:58 AM
hi,
I configured ADC_IN9 as anlog input but not get current reading compare with input voltage
