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.

TIDA-010054: TMS320F280049

Part Number: TIDA-010054
Other Parts Discussed in Thread: TMS320F280049, , TMS320F280049C

Hi Sir,

I am starting to work on Offline solar UPS and reference design from TI is “ TI DAB 10KW TIDA 010054”.

I looking for video tutorial/documents for TMS320F280049 controller which explains the clocks, peripherals and PWM to execute the project.

Also please share the calculations.xlsx sheet, mentioned in the main.syscfg as shown in attached image.

Thanks in advance.

  • Hi,

    Thanks for reaching out. The reference design is documented in the TIDA-010054 Design Guide, which can be found on https://www.ti.com/tool/TIDA-010054/ under design files.
    We do not have a video tutorial for TIDA-010054.

    I attached the missing calculations excel file.

    Best regards,

    Andreas

    calculation_Tida010054.xlsx

  • Hi Andreas,

     Thank you for your mail and support extended. I will go thru excel file and come back.

    Can you please explain in dab.h

                   DAB_pwmPhaseShiftPrimSec_ticks  =              (int32_t)((float32_t)DAB_pwmPhaseShiftPrimSec_ns *   DAB_PWMSYSCLOCK_FREQ_HZ * ONE_NANO_SEC *

                                                                                                                                      TWO_RAISED_TO_THE_POWER_SIXTEEN) - ((int32_t)2 << 16);

         Why multiply by TWO_RAISED_TO_THE_POWER_SIXTEEN and substract by ((int32_t)2 << 16).

    Any document on epwm with phase shift example will be helpful.

    Thank you

    Regards,

    Sivarajan

  • Hi Sivarajan,

    This is used to calculate how many clock ticks are necessary to achieve the desired phase shift between the PWMs. The TWO_RAISED_TO_THE_POWER_OF_SIXTEEN  necessary to convert the standard PWM ticks into the required High-Resolution ticks.
    The -2<<16 is necessary to correct for the offset there is in the synchronization of the PWMs. If you sync two PWM there is typically still a delay in the 2nd PWM of two ticks, that is why 2 ticks are subtracted and it needs to be shifted by <<16 to convert these two standard ticks to high resolution ticks. For more information  on the high resolution PWM please conduct the datasheet and technical reference manual of the TMS320F280049C C2000 MCU/

    Best regards,

    Andreas

  • Hi Andreas,

      Well explained.  Thanks for quick and presice answer.

    I will take some time to understand it practically and come back.

    Regards,

    Sivarajan