cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 ADC VREFINT / TEMP reads maximal value 4095

FufiFlupi
Associate

Hi,

I’m trying to read internal temperature sensor on ADC1, but the ADC result is always 4095.

I use STM32L471, and I know that the problem is not HW related, when I run a different bin it reads the temp ok.

Tried to read VREFINT, raw value is also 4095.

Attached below screenshots with clock tree configuration and code.

Screenshot 2026-01-20 152910.pngScreenshot 2026-01-20 153102.pngScreenshot 2026-01-20 155308.png

p.s. also tested with different clock speeds and sample cycles with no luck.

 

 

 

 

0 REPLIES 0