Muhammad, Thanks, the workshop you are using is from the C2000 Teaching ROM. Also, could you please let me know which development tool you are using? Since this workshop is very old, I am guessing that you are using the code with a newer version of CCS. The ePWM setup code in your photo matches the solution file, however the PWM waveforms should have a 50% duty cycle (with or without the phase shift) and this does not match your photo. Double check that you are connecting the oscilloscope to the correct ePWM1A/2A/3A outputs. Please try running the solution file and see if you get the expected results. Remember, if you change the TBPRD value, you should change it for all three ePMW modules. (That is, all three should match). I hope this helps. If this answers your question, please click the green "Verified Answer" button. Thanks. - Ken
↧