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.

CCS/TMS320F28069M: How to generate SPWM ?

Part Number: TMS320F28069M
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

I had reffered and struggled a bit with sgen library but didnt got any sucess.

Can somebody guide me steps of how to generate a SPWM signals for single phase.

  • Please have a look at the module user's guide first. You need to configure the PWM properly and then set the sgen.step_max based on the PWM frequency and target signal frequency.
  • Dear Yanming,

    I have revisited the user guide, and i am able to configure and use the ePWM module. But I am getting difficulty in using the svm library with ePWM module.

  • You could refer to an example project for motor control in controlSUITE if you want to use it for motor control. If not, just to generate a sinusoidal waveform using SPM, you might refer to the SGEN library in controlSUITE.

    C:\ti\controlSUITE\libs\dsp\SGEN\v101