AnsweredAssumed Answered

Generate Sine Wave through DAC using DMA ping pong buffers in FRDM k64 using MQX

Question asked by OLIVIA CHRISTY VARGHESE on Mar 1, 2017
Latest reply on Apr 11, 2017 by OLIVIA CHRISTY VARGHESE

Hi guys,

I have a code which generate a perfect audio output through DAC using DMA  ping pong buffers. But now I want to generate a stable sine wave using this same DMA ping pong buffer. I tried with the audio code but failed. he sine wave is not continuously coming on the scope . Is it possible to use this same audio code to generate a sine wave or do I have to write another code for that.


If it possible to use the Audio code for generating sine wave what changes should I make in the code.

I am writing the code in MQX 4.2


please help