Skip to main content
MHuyg.1
Associate
April 29, 2021
Question

ADC of STM jumping over value's

  • April 29, 2021
  • 2 replies
  • 1214 views

So I’m trying to sample 2 analogue signals with the use of DMA. The ADC’s are running on highest possible speeds (core clock). But when I’m looking at the results for some reason one ADC avoid some “lines�? of value’s and instead of giving the right value it remains the previous value. See picture.0693W00000AMuMgQAL.png 

first  samples are from the 1e ADC.(left side)

second 10000 samples are from the 2e ADC. (right side)

This topic has been closed for replies.

2 replies

MHuyg.1
MHuyg.1Author
Associate
April 29, 2021

Fergot to mention I'm using STM32F303RE. ADC 1 & 2 but I also have the same problem on other channels and sometimes it switches. Also the value of the white line just changes.

TDK
April 30, 2021

Custom board? Is VREF stable and do you have a decoupling capacitor near the pin?

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