How can I use Vdda/Vref pin to get better range for ADC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-20 12:57 AM
Hello.
I need STM with external Vref 3V. But I don't need so much pins like 100pins in ST where we have special pin Vref. Could I use VDDA/Vref pin in STM32F103RC according to drawing belloow? I wanna connect precision voltage reference to VDDA on 3V, and normal 3V from other high power source for VDD. Is it possible or not? If is not possible could you explane why? I don't want use external ADC for this application because it is expansive.
Thank you.
Solved! Go to Solution.
- Labels:
-
ADC
-
STM32F1 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-22 5:04 AM
Hi @RGima.1​ ,
Yes it is possible as long as you are aligned with operating conditions described in product datasheet.
My confirmation is also based on the content of AN2566 Getting started with STM32F10xxx hardware development:
To improve conversion accuracy, the ADC has an independent power supply that can be filtered separately, and shielded from noise on the PCB.
- the ADC voltage supply input is available on a separate VDDA pin
- an isolated supply ground connection is provided on the VSSA pin
- On packages with 64 pins or less, the VREF+ and VREF- pins are not available, they are internally connected to the ADC voltage supply (VDDA) and ground (VSSA).
But in such case, you need also to pay attention to the details of the section "Power supply schemes": The VDDA pin must be connected to two external decoupling capacitors (100 nF Ceramic + 1 µF Tantalum or Ceramic).
And to complete my answer, I suggest you to have a look to AN2834 for tips on How to get the best ADC accuracy in STM32 microcontrollers.
-Amel
PS: Once your question is answered, please click on "Select as Best" for the comment containing the answer to your initial question.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-20 1:06 AM
Reference voltage sources are designed for stability over a wide temperature range, but very limited currents.
The supply requirements of the MCU analog peripherals are way beyond those of reference sources.
I think getting an external version as stable as the internal reference in the way you want to do it, an expernal ADC would be cheaper.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-20 2:03 AM
I will compare this, thank you. Any way for me still interesting quesiton is it possible or not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-22 5:04 AM
Hi @RGima.1​ ,
Yes it is possible as long as you are aligned with operating conditions described in product datasheet.
My confirmation is also based on the content of AN2566 Getting started with STM32F10xxx hardware development:
To improve conversion accuracy, the ADC has an independent power supply that can be filtered separately, and shielded from noise on the PCB.
- the ADC voltage supply input is available on a separate VDDA pin
- an isolated supply ground connection is provided on the VSSA pin
- On packages with 64 pins or less, the VREF+ and VREF- pins are not available, they are internally connected to the ADC voltage supply (VDDA) and ground (VSSA).
But in such case, you need also to pay attention to the details of the section "Power supply schemes": The VDDA pin must be connected to two external decoupling capacitors (100 nF Ceramic + 1 µF Tantalum or Ceramic).
And to complete my answer, I suggest you to have a look to AN2834 for tips on How to get the best ADC accuracy in STM32 microcontrollers.
-Amel
PS: Once your question is answered, please click on "Select as Best" for the comment containing the answer to your initial question.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-29 5:11 AM
When constructing the power source for VDDA, you have to observe this:
JW
