Skip to main content
Associate
Dec 7, 2025 7:20 PM UTC
Question

STM32H533CET6 ADC Reading

I am encountering an issue with ADC readings on a custom board based on the STM32H533CET6.

Hardware Setup: I have a simple analog filter connected to the ADC input. I have verified the input signal with a multimeter, and it correctly varies from 0V to 3V.

The Problem: Despite the varying input voltage, the value in the ADC_DR register appears to be stuck at 1024. It does not change regardless of the voltage level applied to the pin.

Configuration details:

  • Resolution: 12-bit

  • VREF+: 3.3V

Has anyone experienced a similar issue with the H5 series or sees what I might be missing?

obraz (9).pngobraz (8).pngobraz (7).pngobraz (6).pngobraz (5).pngobraz (4).pngobraz (3).pngobraz (2).pngobraz (1).pngobraz.png

4 replies

TDK
Dec 8, 2025 1:04 AM UTC

You're converting two channels, so you should be using DMA and reading values from the buffer, not from ADC->DR. Buffer size doesn't seem sufficient given that you're converting two channels.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Karol123Author
Associate
Dec 9, 2025 11:53 AM UTC

Thnak you for answer. Can you tell me how can I fix it?

TDK
Dec 15, 2025 4:01 PM UTC
"If you feel a post has answered your question, please click ""Accept as Solution""."
Aug 4, 2026 12:31 PM UTC

Did you manage to solve this? I have the same issue, on DMA or on polling the ADC, always 1024, I’d appreciate any knowledge of how you got out of it!