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
