Skip to main content
RallyTronics
Associate II
Aug 5, 2025 9:00 PM UTC
Solved

STM32H725VGT3TR Vref changes when I enable ADC1

I have my internal Vref set to 2.5V (stage 0).  

RallyTronics_1-1754427522996.png

The value reads correct (2.52V) with a meter on the test point below until I call HAL_ADC_Start_DMA().   Once HAL_ADC_Start_DMA() -> ADC_Enable() -> LL_ADC_Enable() is called the voltage goes up to around 2.9V.

 

RallyTronics_0-1754427194978.png

Any thoughts as to why this is happening?

 

Thanks!

This topic has been closed for replies.
TDK
TDKBest answer
Aug 5, 2025 9:06 PM UTC

Are you converting channels out of bounds? (above 2.5 V?)

"If you feel a post has answered your question, please click ""Accept as Solution""."

4 replies

TDK
TDKBest answer
Aug 5, 2025 9:06 PM UTC

Are you converting channels out of bounds? (above 2.5 V?)

"If you feel a post has answered your question, please click ""Accept as Solution""."
RallyTronics
Associate II
Aug 5, 2025 9:11 PM UTC

No, I am currently trying to digitize a 1V DC test signal.

RallyTronics
Associate II
Aug 5, 2025 9:18 PM UTC

Let me double check my unused channels.

RallyTronics
Associate II
Aug 5, 2025 9:21 PM UTC

Looks like that's the problem.