Skip to main content
Associate II
September 7, 2026
Question

Suggest improvements in my data acquisition system

  • September 7, 2026
  • 4 replies
  • 98 views

so this is my data acquisition system, i want you to suggest some improvements in it. as the adc + dma ping pong buffer is working fine, but after that the conversion and its transmission via dma+uart ping-pong buffer is so much miserable. there is no synch between these buffers.
here is my project:
Vishwas1523/dataAcquisitionSystem

PS: i am using stm32 nucleo f446re

4 replies

AScha.3
Super User
September 7, 2026

Basically your way ADC- > DMA - > 2 buffers , is good.

But to get it automatic in sync , just set the DMA to circular and use callbacks .

In half / full callback you move the data from the block to your ...big buffer for analysis, or whatever you want to do.

to enable callbacks generated by Cube:

 

If you feel a post has answered your question, please click on " Best Answer ".
Associate II
September 8, 2026

Thankyou for giving your time and thoughts to my question, i will try to do this and hopefully it will work :)

 

KDJEM.1
ST Technical Moderator
September 23, 2026

Hello ​@vishwas1523 ;

 

Did ​@AScha.3’s proposal help you?

If yes please click on “'Best answer'”on the reply which solved your issue.

 

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.
Associate II
September 23, 2026

sadly i did not work. i am trying other methods, lets see what happens