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/TMS320F28377S: 320F28377S

Part Number: TMS320F28377S
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

Hi,

I am trying to do sine epwm with F28377S.I have run epwm with delay and other examples, but dont know how to start with sine pwm. As a learner please guide me.

Thanks

  • Hi,

    You can refer to SGEN library in C2000ware. You can find the same here:
    C:\ti\c2000\C2000Ware_1_00_01_00\libraries\dsp\SGEN\c28

    Regards,
    Gautam
  • You may also like to refer to the 1-day training course for the F28379D device, which you can find online here:

    You can freely download the workshop materials, including manual and lab code.  In lab 4, you will find an example of sine wave generation to modulate a PWM duty cycle.  The lab is based on a dual-core device and illustrates inter-processor communications, so you can't run it directly on an F28377S.  Nevertheless the code will show you how to index into a sine wave look-up to modulate PWM duty cycle.  You should be able to modify it easily to run on your device.  

    There are other methods, but if all you want is a fixed frequency & amplitude sinusoid this one is simple and easy-to-use.

    Regards,

    Richard