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.

TMS320F2800137: C2000 microcontrollers forum code migration

Part Number: TMS320F2800137
Other Parts Discussed in Thread: TMS320F280049, , TIDM-02008, TIDM-02013

hi !

Is it possible to convert 28049 master code to F2800137 code in TIDM02008 solution? How to operate? thank you

  • I am afraid your question is not very clear. There is no part called “28049”. Are you referring to TMS320F280049? Also, you need to clarify what you mean by “master code”.

  • I'm sorry for not explaining my problem clearly!
    What I mean is that I want to transplant the code of TIDM02008 power solution to TMS320F2800137. The main control of TIDM02008 power solution is TMS320F280049. Is it possible to realize the convenient way of converting the code of TMS320F280049 to the code of TMS320F2800137? How to operate? I have seen that the training of TMS320F2800137 new product release mentioned this point before, but did not talk about it in too much detail. I do not know how to realize the code conversion between different chips. Do you have relevant information to provide?
  • Hi Luoyongg,

    Thanks for the deatiled explanation. Are you planning on using TI control card for F28003x or a custom designed control board? May I know the reason for the porting?

    Please refer to the below porting guide for differences and see the peripheral requirements in TIDM-02008 design guide. My initial observation is F28003x has enough PWM channels, ADC instances and CMPSS for this solution. 


    https://www.ti.com/lit/ug/spruiw3/spruiw3.pdf?ts=1689285495157&ref_url=https%253A%252F%252Fwww.google.com%252F 

    Thanks
    Srikanth

  • Hi Srikanth Yerra

     We plan to refer to the design of TIDM-02008 and design a power control board with F2800137 as the main control. I want to find a simple way to transplant the code, and I don't want to waste too much time. As you said, can I assume that the code of F280049 is directly converted to the code of F2800137 by referring to the documentation you provided through some software?

    Thanks


  • Hi Luoyoongg, 

    Based on "Table 3-1. Key Controller Peripherals Used for Control of Power Stage on Board" from the design guide document of TIDM-02008 you should be able to port to F28003x. 

    There is no other document for this migration apart from the one I have shared. You may have to follow the common description in the lab user's guide to change the device configuration code in the hal.c and hal.h files according to the board you are going to design.

    And set the PWMs on F28003x according to the GPIO and interface needed by the board. You may also refer to the TTPLPFC portion of TIDM-02013 design for which the F28003x device is used for TTPLPFC with two interleaved phases. But please note that some of the control algorithm may differ from the TIDM-02008 design.


    Thanks

    Srikanth

  • Ok, thank you very much! Srikanth