cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronised ADC and DAC with DMA

anas27
Associate II
Posted on May 26, 2014 at 15:12

Hi everyone,

I'm very new to the world of MCUs and would be grateful is someone could give me a brief outline as to how to use the DMA to read values from the ADC and store them in a buffer, then have the processor modify the values and then use DMA again to transfer the value to the DAC. It's an audio application and needs to run in real time so the ADC and DAC need to be synchronised so they are both triggering at the same rate.

I've already implemented this but only by using an ADC interrupt handler and the ADC is triggered by a timer but I want to speed it up.

Thanks a lot!
1 REPLY 1
Posted on May 26, 2014 at 20:53

Which STM32?

I've posted a lot of examples over the years of ADC, DAC code driven by common TIM triggers, and using DMA.
Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..