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.

HIRES Pwm module example code

Other Parts Discussed in Thread: CONTROLSUITE

Does TI for example code of HIRES Pwm module using AUTO CONV and run time calibration MEP ?

  • Hi Sutthinee,

     

    Yes, we do have HRPWM example code that covers these topics. 

    One of the examples you can refer to is the “Example_2806xHRPWM_Duty_SFO_V6.c” found in this directory:  “C:\TI\controlSUITE\device_support\f2806x\v110\F2806x_examples\hrpwm_duty_sfo_v6”.

     

    The latest examples (automatically updated) are available from ControlSUITE, download ControlSUITE from : www.ti.com/controlsuite

     

    Regards, 
    Jeff 

  • Hi Jeff,

    Thank. We already tried this example. 
    C:\TI\controlSUITE\device_support\f2803x\v125\DSP2803x_examples_ccsv4\hrpwm_duty_sfo_v6

    - Typical time required for SFO() function should be around 2.23msec at  SYSCLK freq. 60Mhz.  But what I got is about 100msec. So,maybe something wrong.    Do you have any suggestion ? 

    - I cannot find source code  of this SFO() function. Do you have it ?  Could you please share more details of  function inside SFO() function may be in C- source code or flow chart ? 

    Thank you.