This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PWM dithering with DMA

I would like to dither the PWM duty cycle by triggering DMA cycle by cycle. 

EX: for a 2 bit PWM. I would like to alternate the duty cycle pattern cycle by cycle 

00 01 00 01 00 01

I am trying to operate at a high pwm frequency and do not want to load down the processor with this task. DMA triggering is preferred

Can someone help me with this?