cancel
Showing results for 
Search instead for 
Did you mean: 

NucleoG032k8 My DMA measurements from ADC are bad. Can you help me with this issue?

MvA54
Associate

The configuration I made for the ADC via STM32CUBEIDE to NucleoG032k8 is as follows.

MvA54_1-1695905464785.png 

There are 3 channels. These are as follows;

rank1:PA0(2V VOLT)

rank2:Channel temperature sensor

rank3:Channel Vrefint

 

MvA54_2-1695905952715.png

What is the reason why the raw value of 2 volts fluctuates so much?

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

Could be that the signal fluctuates that much. Could be that your VREF+ fluctuates. Could be a high impedance source.

General advice for improving ADC accuracy is here:

https://www.st.com/resource/en/application_note/an2834-how-to-optimize-the-adc-accuracy-in-the-stm32-mcus-stmicroelectronics.pdf

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

View solution in original post

1 REPLY 1
TDK
Guru

Could be that the signal fluctuates that much. Could be that your VREF+ fluctuates. Could be a high impedance source.

General advice for improving ADC accuracy is here:

https://www.st.com/resource/en/application_note/an2834-how-to-optimize-the-adc-accuracy-in-the-stm32-mcus-stmicroelectronics.pdf

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