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.

SM/TM320F2808, how to use ePWM to generate 400-500Khz squarewave

Can anyone provide me ePWM source code example in c, to generate fixed frequency adjustable between 400Khz-500Khz without any dependency on interrupt or code, ie it has to run alone once configured.