cancel
Showing results for 
Search instead for 
Did you mean: 

ADC + DMA Sometimes read Zeros

Mlee.3
Associate

I am reading the data after sampling 2048 each 3 times.

But is there a reason why sometimes the data is read as 0?

0693W00000Y8TlIQAV.jpg0693W00000Y8Tl8QAF.jpg0693W00000Y8Tl3QAF.jpg

The cube mx configuration and part of the code are as follows.

0693W00000Y8TlcQAF.png0693W00000Y8Tm6QAF.png0693W00000Y8TlwQAF.png0693W00000Y8TmLQAV.png0693W00000Y8TmkQAF.png

please help thank you

1 REPLY 1
FBL
ST Employee

Hello @Mlee.3​ 

Could you please specify the product you are using?

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.