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.

Sinusoidal PWM generation using TMS320F28335 and code composer v3.3

Sir, I am a beginner to dsp and programming, trying to implement a simple sinusoidal PWM at ePWMA pins (with 50Hz sine and 5KHz Carrier). As far as i understood i have to change the CMPA value repeatedly after every comparison of counter with  CMPA. So i calculated all 100 CMPA values and stored it in an array. But i dont know how to interrupt the comparison after every (1/5KHz) sec and load the next CMPA value. (I am not using IQmath as i am having all CMPA values by-hand).

Please Help. Thank you