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.
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
Hi Arun,
As you're a beginner, I would suggest you to start with CCS v6.1 and not CCS v3.3.
Arun George said:But i dont know how to interrupt the comparison after every (1/5KHz) sec and load the next CMPA value.
For SPWM refer this thread:
F28069 sinusoidal PWM generation - C2000 microcontrollers forum - C2000™︎ microcontrollers - TI E2E support...
Regards,
Gautam