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.

TIDM-1007 Function/Library Documentation

Other Parts Discussed in Thread: TIDM-1007, TIDM-02008, C2000WARE-DIGITALPOWER-SDK, C2000WARE, POWERSUITE

Dear Matthew,

I have previously studied TIDM_1001, but its efficiency is low and power consumption is large; therefore, I have bought F280049M's EVM and Docking Station for TIDM-1007 (IBLPFC). Then, invoked the project "pfc1ph3ilttpl_nonpowerSUITE_F28004x" with CCS Ver.9.3, but found that most of the programs were written by the function library. Please provide documentations for these libraries. Thank you very much.

 

Best Regards

Hung-Jin Chen

  • Hung-Jin,

    The whole source code is provided as part of the SDK, our goal for the function in the source code is to provide readability they are not built as APIs. The functions are as source code and not a library. 

    We have basic SW structure in shown in fig 19

    http://www.ti.com/lit/ug/tidud61c/tidud61c.pdf

    All the documentation that is available is part of that document. 

  • I got it.

    Thank you very much.

    Regards

    Hung-Jin Chen

  • Dear All,

    According to p.15 of “Design Guide: TIDM-2008/TIDM-1007”, I can’t find “CCM Totem Pole PFC TIDM-02008” project in Resource Explorer as Figure 2.

    Could anyone can help me to find the software project .

    Regards,

    Hung-Jin Chen

  • Hung-Jin,

    We just released SDK version 3.0.0.1, please download the latest for the correct location of the items!

    Regards

    Manish Bhardwaj 

  • Dear Manish Bhardwaj ,

    Sorry, We can find "C2000WARE-DIGITALPOWER-SDK_3.00.00.00" as following, but can't find SDK version 3.0.0.1 in Ti website.

    http://www.ti.com/tool/download/C2000WARE-DIGITALPOWER-SDK

    Regards,

    Hung-Jin

  • Hung,

    Please download the 3.00.00.00 , this is the latest version.

    -Manish 

  • Dear 

    1. When we were tracing the main program pfc1ph3ilttpl.c of TIDM-1007, we encountered some difficult about filter’s functions. Because of insufficient documentation, we don’t know the meaning and arguments of these functions, like as the following two lines; "//" represents the function where is.

    #174 static inline void SPLL_1PH_SOGI_config(); //spll_1ph_sogi.h file

    #507 computeNotchFltrCoeff();    //pfc1ph3ilttpl.c file

    May I have relevant documents?

    2. In addition, because the main program has almost no program comments, it is difficult to understand the relevant meaning between the commands. May I have relevant documents or process descriptions?

    Regards,

    Hung-Jin Chen

  • Hung-Jin,


    We do not have detailed documentation, SW is provided as example code which is readable enough for you to understand.

    For the PLL, we should have documentation under

    C2000Ware_DigitalPower_<>\docs

  • Dear Manish Bhardwaj,

    I use this path”C: \ ti \ c2000 \ C2000Ware_DigitalPower_SDK_3_00_00_00 \ solutions \ tidm_02008”.

    The main program is "pfc1ph3ilttpl.c", and I change the variable INCR_BUILD to any value from 1 to 3, and using CCS V10 to Compiler; as a result, the Compiler is unsuccessful and INCR_BUILD will automatically change back to 6.

    I would like to ask how to set up, so that Compiler succeeds and INCR_BUILD will not change back to 6 (I want to use PFC mode only.).

    Best Regards,

    Hung-Jin

  • Hung-Jin,

    Did you import the project with powerSUITE? then the only way to change incremental builds is through the CFG/powerSUITE page of the solution. Please open the CFG page and edit from there. 

    -Manish

  • Dear Manish,

    //             _____________             __________________

    //               |           |             |               |

    //   GPIO4   -| I/P X-BAR |-----TZ1-----| ePWM TZ Module |-----TZ-Event

    //             |___________|             |________________|

    //

    According to the C:\ti\c2000\C2000Ware_DigitalPower_SDK_2_00_01_00\c2000ware\driverlib\f28004x\examples\epwm \epwm_ex1_trip_zone.c file, I can understand that GPIO4 is connected to the X-BAR INPUT1 program on line 351.

    But, how does the INPUT1 connect to TZ ? I just can not realize the lines 357 to 359 can connect to TZ!!

    And, what is the relationship about GPIO11 in TZ’s function ?

    Thank you very much for your help in this thread.

    Regards

    Hung-Jin Chen

  • Dear Manish,

     

    I am tracing the main program of pfc1ph3ilttpl_F28004x of TIDM1007. When I see the line 352, then jump to the first line of ” setupBoardProtection” function as follows:

    XBAR_enableEPWMMux(XBAR_TRIP4, 0x00);

    1. I do not understand the meaning above line about the comment ” // Disable all the muxes first”, but I just can find the TRIP4 is routed to ePWM Modules from Figure 9-1 Input X-BAR of F280049_Reference Manual. Couls you please explain what is the meaning ?
    2. Do you have more information about the function of setupBoardProtection( )?

    Regards

    Hung-Jin Chen

  • Hung, 

    For the question regarding the epwm_ex1_trip_zone.c , you should post that in a new thread, so it can get an appropriate reply. Let;s use this thread for only TIDM-1007code related questions. 

    On F28004x we have a X-Bar that can be used to combine trips from multiple sources to generate one or more trip signal that goes to the PWM. In the TIDM-1007 code we use the TRIP4 to trip the PWM. 

    The line 

    XBAR_enableEPWMMux(XBAR_TRIP4, 0x00);

    is used to reset all the Muxes in the X-bar that are used to select sources for TRIP4, it is good programming pactise. They will be by default zero at power up.

    I will highly recommend the below training to take, as this will help you understand the code and the device usage even better,

    It is typically not possible for us to document each and every line of the code. 

    https://training.ti.com/c2000-f28004x-microcontroller-workshop