cancel
Showing results for 
Search instead for 
Did you mean: 

Troubleshooting STM32 ADC Accuracy Issues

chickpeafilae
Visitor

I’m working on an STM32 project that uses the ADC to read sensor voltages. However, I’ve noticed inconsistent readings—sometimes fluctuating even when the input voltage is stable. I’ve tried adjusting the sampling time and using different reference voltages, but the problem persists.

Has anyone encountered similar ADC accuracy issues on STM32? Are there best practices for minimizing noise or improving stability in these readings? Any guidance or examples would be really helpful.

1 REPLY 1
TDK
Super User

Here are general tips:

How to optimize the ADC accuracy in the STM32 MCUs - Application note

If you want to look at specific issues, post your schematic and relevant details of your application.

In general, sample time has the largest impact on accuracy. Longer sampling time is more accurate.

No ADC is perfect--do not expect the reading to be noise-free.

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