Skip to main content
MGehr.3
Associate II
Apr 7, 2021 7:43 AM UTC
Solved

ADC Sampling of Voltages > 2.8V effects VDD

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.
MGehr.3
MGehr.3Best answer
Associate II
Apr 9, 2021 4:52 AM UTC

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

ST Technical Moderator
Apr 8, 2021 12:37 PM UTC

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
Apr 9, 2021 4:52 AM UTC

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
Apr 9, 2021 7:46 AM UTC

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
Apr 9, 2021 8:09 AM UTC

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