Currently I am taking 16 bit waveform data stored in an array, splitting it into two 8 bit bytes, and sending to two control registers. This works great, but I want the DMA to do this so I do not have to run the waveform in a forever loop. See the current wave generating code below.
Could someone guide me to do this with the DMA? I attached a picture of the control register set up... I placed DMAs as I think they would be used. I added Status regs but I do not think I even need them. I just want the data to stream over to the control registers. I will adjust the speed with the clocks after it is working...
I do not know what to do here...
Solved! Go to Solution.
Please take a look at this example of data transfer from 32-bit array to 3x 8-bit destinations (2xVDAC + ControlReg).
You can easily modify it for 16-bit to 2x8-bit DMA transfer.