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