Skip to main content
Associate II
September 7, 2026
Question

Suggest improvements in my data acquisition system

  • September 7, 2026
  • 2 replies
  • 39 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

2 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 :)