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.

Plotting waveforms in ccs

Hi,

I have written a program to generate pwm pulse for a single pulse inverter. I can see the output of it in a scope connected to the pwm pins in my F28335 experiimenters trainer kit. If there is  a provision to view the waveforms in ccs it would be easy for me to make adjustment, let me know if there is one such provision either in Ccs v4.2 or Ccs v5.2.

Thanks,

Abdullah

  • Abdullah,

    If the reason for doing this is to reduce the amount of hardware you need to carry around and make the system simpler, I would stick with using the oscilloscope.  If however, this is a system-need there are things that can be done...

    CCS4/5 gives an option to view a buffer of data: Tools>Graph>Single-Time (or Dual-Time)
    (our team uses this feature often to check on the feedback signal every time through the controller's interrupt)

    If your goal is to view the PWM waveform via the graphing feature mentioned above, meeting your goal may be difficult.  You'd need to use the ADC module to sample your PWM waveform at known points and then move these results into a buffer.  Depending on your PWM rates, this may or may not be fast enough to get an accurate representation of the PWM. 

    Another option is to use the eCAP module to sample edges and therefore confirm your PWM waveform is correct.  It could very easily capture the duty cycle and period of your PWM waveform.


    Thank you,
    Brett

  • Please suggest for CCS v6
  • Anish, the same applies for v6 too.

    Regards,
    Gautam
  • thanks Gautam