Skip to main content
MGehr.3
Associate II
April 7, 2021
Solved

ADC Sampling of Voltages > 2.8V effects VDD

  • April 7, 2021
  • 4 replies
  • 1243 views

Using STM32L431RCT6 (VDDA and VREF+ bondet together). VDDA/VREF is 3.0V and VDD is 1.8V. If i'm sampling voltages larger then 2.8V that effects VDD (Jumping from 1.8V to approx. 2.06V for approx. 400ms). Any Idea's what i'm doing wrong?

This topic has been closed for replies.
Best answer by MGehr.3

Hey good to know. Yes i'm using them. I have to change them...

Unfortunately with following workaround we fixed the behavor. We were enabling and disabling the ADC. If we keep the ADC always enabled the effects on VDD are gone. It did happen always with changing the Multiplexer Inputs (Register SQR1)...

Thanks for the quick support :)

4 replies

Technical Moderator
April 8, 2021

Hello @MGehr.3​ and welcome to the STM32 Community :)

​What is the pin used for ADC input?

​May be it is a TT_x pin !

0693W000008yzoiQAA.jpg0693W000008yzonQAA.jpgImen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
MGehr.3
MGehr.3AuthorBest answer
Associate II
April 9, 2021

Hey good to know. Yes i'm using them. I have to change them...

Unfortunately with following workaround we fixed the behavor. We were enabling and disabling the ADC. If we keep the ADC always enabled the effects on VDD are gone. It did happen always with changing the Multiplexer Inputs (Register SQR1)...

Thanks for the quick support :)

waclawek.jan
Super User
April 9, 2021

This is interesting.

> We were enabling and disabling the ADC.

Did you also change the mode of the related pins in GPIO_MODER, from Analog to some of the GPIO?

Thanks,

JW

MGehr.3
MGehr.3Author
Associate II
April 9, 2021

No we leave them always in Analog Mode as ADC...