AnsweredAssumed Answered

DMA as double buffer

Question asked by Wenderson Oliveira on Aug 11, 2014
Latest reply on Aug 12, 2014 by Wenderson Oliveira

Hi All,

 

I'm writing a code to output sound tones on DAC, with DMA. Due to precision that I need on tones, I need to use a dual buffer to process and output data via DMA (ping pong buffer).

Well, I've tried to process data and change the source address at DMA OnComplete event, but I haven't enough time to process all data. In some DMAs, we have a hardware trigger to do ping pong buffer; the DMA present in KL25Z can do that?

 

Thanks

Outcomes