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.

TMS320F280021: project transferring from 28004x to 280021

Part Number: TMS320F280021
Other Parts Discussed in Thread: TMS320F280025, , C2000WARE, TIDM-1022

Good day Colleagues,

My customer is trying to migrate from STM to TMS320F280021 and to TMS320F280025 (for future projects).

His main question is: Do we have any user guide about how to make a project transferring from 28004x to 280021?

But he is also claiming about the next aspects of his C2000 evaluation. Will be thankful if you can comment all of them below:

1) we do not have consolidated information about C2000 family. Schematics, datasheets, software and examples are in different places. There are no direct links.

2) looking at disassembler he saw, the compiler is not good at optimization. Customer read the SPRAA85E, but described methods don't work for him. He also made tests and thinking there are problems with the compiler and libraries.

3) our examples are very complex and functions names and variables are just symbols. It's very difficult to understand what this function is doing.

Thank you, Mikhail

  • Hi Mikhail,

    We have generated a Migration Guide for F28004x to F28002x.  Migration document is available in the F28002x Product Folder under Technical Documentation tab (SPRACK2A).

      - The main C2000 Family of real-time control MCUs link is available in ti.com. The link has informational tabs for Processing (C28x, FPU, TMU, FDIV, parallel processing with CLA where applicable), Peripherals (list of control/analog/digital/communications modules), Portfolio (orderable C2000 products),  and Functional Safety.  User can navigate to the Portfolio tab first and browse available product offerings categorized on performance (MIPS), available volatile /non-volatile memory and pin count.  The headers in the device portfolio link directly to  the orderable part number list that link to the specific product folder.

      - Within the product folder are tab links for Product Details (basic info such as ADC resolution, CPU speed, number of peripherals, pin#/pkg ...etc), Technical Documentation (Datasheet, TRM, Errata, Migration Guides, various application notes and some other related literature), Design and Development (Evaluation Modules, Emulators, ControlCards, LaunchPads, other related HW kits, Software Development/C2000Ware and Examples/MotorControl/CCS/DigitalPower, Simulation Tools and Reference Designs) and Ordering Information.

    These are all very generic links but if there are specific support needed for the examples and functions, reference designs or migration from previous product.  Please feel free to reach out in E2E so we can have this addressed.

    Thanks and regards,

    Joseph  

  • Good day Joseph,

    Thank you for answering! Appreciate it.

    Could you also comment customer's feedback on this below?

    "looking at disassembler he saw, the compiler is not good at optimization. Customer read the SPRAA85E, but described methods don't work for him. He also made tests and thinking there are problems with the compiler and libraries".

    Thank you, Mikhail

  • Good day Joseph,

    The customer read the Migration Guide for F28004x to F28002x and told this document describes only obvious things.

    He is asking, how to transfer the ILPFC_valley_switching_nonpowerSUITE_F28004x to F280021?

    This project uses the CLA, but F280021 doesn't have such core. So the customer is asking how resolve this limitation?

    Thank you, Mikhail

  • Hi Mikhail,

    Apologies, I was out of office last day of last week so I was not able to respond.  I'll forward the thread to the experts who may be able to guide the customer to the issues with the compiler and with PFC examples.

    Regards,

    Joseph

  • Hi Mikhail,

    Another resource that you can recommend to the customer is this optimization guide.  Also, could you get more information from the customer regarding:

    "looking at disassembler he saw, the compiler is not good at optimization. Customer read the SPRAA85E, but described methods don't work for him. He also made tests and thinking there are problems with the compiler and libraries"

    Maybe customer can give code snippets where they do not think they are optimizing well or are seeing problems with compiler and libraries so we can get specific help needed.

    Thanks,

    Joseph

  • Hi Mikhail,

    He is asking, how to transfer the ILPFC_valley_switching_nonpowerSUITE_F28004x to F280021?

    This project uses the CLA, but F280021 doesn't have such core. So the customer is asking how resolve this limitation?

    Is valley switching a must for customer? or they are just interested in interleaved boost PFC?

    As you mentioned, since f280021 does not have CLA, it is not possible to transfer everything directly to f280021 from f28004x.

    The whole multi mode algorithm including valley switching/ZVS/fixed_freq implemented in this reference design requires CLA.

    However, if customer are only interested in boost PFC or valley switching itself, f280021 should be able to support it.

    In terms of the porting procedure, the basic changes are probably known by the customers such as ADC module, PWM sync etc which can refer to the porting guide Joseph mentioned. This will tell what are the device difference and what pherephal needs change.

    Other than that, customer can remove all the CLA related files/code. For example, .cla file is not needed. The highest speed ISR which was the only ISR running in CLA needs to be moved from CLA to C28 if needed.

    Feel free to let me know if you have any other questions. 

    Regards,

    Chen

  • Good day Chen,

    Thank you for answering. Could you tell me, what reference design are you talking about? 

    You said:

    The whole multi mode algorithm including valley switching/ZVS/fixed_freq implemented in this reference design requires CLA.

    Thank you, Mikhail

  • Hi Mikhail,

    I am talking about TIDM-1022 which is the ILPFC_valley_switching_nonpowerSUITE_F28004x that mentioned in your reply.

    Regards,

    Chen