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.

PWM ON at power ON condition in LAB02a

Other Parts Discussed in Thread: TMS320F28069F

I am using TMS320F28069F controller in my board. I implemented example code lab02a. I observed that when I power off and on the control board then EPWM1A, EPWM2A and EPWM3A ON for near about 380us and then it will OFF. Can any one know why this happen? Or something I missed in my code.

  • any one have any idea about above problem?

  • Amtech,

    I haven't had a chance to verify if this happens on my HW. Apologies for the delay, we are looking into it.

     

  • Amtech,

    Good catch. I'm really surprised we didn't notice this before.

    Here is the fix. Adding it to the bug list to eventually get fixed in a release (probably _11 as _10 goes out next week)

     

    In your drv.c file

     

    Change:

     

     Add this _disablePwm command before the exsiting  // setup the PWMs:

     

      // disable the PWM

      DRV_disablePwm(handle);

      

      // setup the PWMs

      DRV_setupPwms(handle,

                    pUserParams->systemFreq_MHz,

                    pUserParams->pwmPeriod_usec,

                    USER_NUM_PWM_TICKS_PER_ISR_TICK);