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.

C2000WARE: cannot see ePWM output.

Part Number: C2000WARE


i want to control dc-dc converter. i am using f28335 experimental kit.
i want to see ePWM output so that I can see the deadband is working and how PWM is generated. 

  • Tauquir,

    Are you still trying to use Matlab? I think it is as simple as configuring the "Deadband unit" tab of the PWM block.

    If you are using C2000Ware example please look at "C:\ti\c2000\C2000Ware_1_00_06_00\device_support\f2833x\examples\epwm_deadband".

    Regards,
    Cody 

  • my interest is to see ePWM output in real time.
    morever i am using digital output GPIO DO to feed pwm instead of PWM as i am unable to see the output of the ePWM.
    more question how can i see the pwm of the signal sent to dsp in real time ?
  • Tauquir iqbal said:
    my interest is to see ePWM output in real time.

    Please use an oscilloscope.

    Tauquir iqbal said:
    morever i am using digital output GPIO DO to feed pwm instead of PWM as i am unable to see the output of the ePWM.

    I am unsure what a GPIO DO is, can you please clarify? It sounds like it might have configured the GPIO's mux to be an output rather than selecting the ePWM module's output. If that is correct then I wouldnt expect you to see any output unless you were toggling the GPIO.

    Tauquir iqbal said:
    more question how can i see the pwm of the signal sent to dsp in real time ?

    I am somewhat unclear what you wish to do here. I think you want to measure a PWM signal sent from an external source. If that is correct you should look at the eCAP module. It contains a series of edge senstive timers that are used for measuring the period and duty of digital signals.

    Regards,
    Cody 

  • thanks for your reply.
    yeah i am using Matlab and thankfully could generate phase shift as well.
    i am using oscilloscope only to see the PWM.
    can i any means i can also see PWM in the desktop for interfacing ?
    1. i just want to see the ePWM in real time.
    2. now i want to start and stop sending ePWM to the controller from Matlab. how can i do that ?
  • Taquir,

    If you want to look at the values I would suggest the memory browser. If you want to graph the values, CCS has the ability, but it is limited to slower signals. Please see Lab 7 of the Multiday workshop.

    http://processors.wiki.ti.com/index.php/C2000_Archived_Workshops#F28335_Workshops

    I don't think there is a direct way to control the PWM output from MATLAB. So you will need to build this into your code. It should be pretty easy enough to use UART for communication. Write some MATLAB code that sends out commands over UART and the F28335 can receive these using the SCI module and respond accordingly.

    Regards,
    Cody