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.

Synchronize ePWM on F28335 with digital data from the serial port McBSP

Hi!
I am receiving digital audio data (at fs=44.1 kHz, using I2S) with the serial port McBSP of the DSP without problems.
I want to setup a PWM output based on the digital audio samples. The PWM frequency (fPWM) should be 44.1 kHz or integer multiples of 44.1 kHz .


Which will be the best way to setup the PWM? . 

How can I Synchronize the PWM with the digital audio data coming from McBSP?


Thanks in advance!
Fernando