cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use Vdda/Vref pin to get better range for ADC

RGima.1
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

4 REPLIES 4
Ozone
Lead II

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.

RGima.1
Associate II

I will compare this, thank you. Any way for me still interesting quesiton is it possible or not?

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.

When constructing the power source for VDDA, you have to observe this:

0693W00000AMt9gQAD.pngJW