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.

SPWM using F28035

Other Parts Discussed in Thread: CONTROLSUITE

I am a beginner in using microcontrollers, and I have been given a task to perform sinusoidal PWM using Picolo f28035
Can anyone kindly give me directions, as to how i can do that.
it will be of great help

  • Guarav,

    If you just want to output a sinusoidal waveform with a fixed frequency and amplitude of your choosing it's pretty straightforward. The simplest way is to generate a look-up table and use a pointer to index through it, wrapping on the last element. We do this in lab 4 of the F28377D 1-day workshop, the files for which you can find here: processors.wiki.ti.com/.../F2837xD_Workshop

    There is a 5 quadrant sine table in the lab4 source files for CPU2. If this is what you want I suggest starting with a simple header file example for the F28035 in controlSUITE, and integrating the look-up table and relevant lines from lab4 into your code.

    Regards,

    Richard