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.

TMS320F28335: SINE PWM generation with the help of MATLAB 2015b and DSP TMS320F28335

Part Number: TMS320F28335

Hello all,

I was looking to generate the SINE PWM by using TMS320F28335 with the help of MATLAB 2015b. I have all supported packages for embedded coder toll box. I have successfully generated SINE PWM by using matlab simulink and TMS320F28335. My approach was, i took sine block and repeating sequence block and one rational operator and fed rational operator output to gpio block of F28xxx block. After building the simulink model on DSP , selected gpio pin provides sine pwm output and i have checked this by oscilloscope. Sine wave frequency is 50Hz and triangular wave switching frequency is 20 KHz.  

Is my method correct or not. Is there some other method to get sine pwm.   

Please help me in this.