cancel
Showing results for 
Search instead for 
Did you mean: 

I'm using a stm32f429Idisc and I'm trying to read via the adc a LM35. I observe that each measure differs from the other up to 5mv. This is a normal behavior or something is configured worng? thanks, Piero

Hicss.2033
Associate III

 I'm sampling at 100 msec and adc is in single mode with PRESC_PCLK_DIV6 and SAMPLE_480CYCLES.

2 REPLIES 2
TDK
Guru

It is normal for ADC values to have some amount of noise. 5mV of noise for 3.3V full scale seems quite reasonable. This means you're getting just over 9 bits of accuracy.

For methods of improving accuracy, read:

https://www.st.com/resource/en/application_note/cd00211314-how-to-get-the-best-adc-accuracy-in-stm32-microcontrollers-stmicroelectronics.pdf

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

Thanks. May be that adding an OPAMP may improve the situation