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.

TMS320F28388D: A few questions about migrating CCS versions and project setup

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE, SYSCONFIG

Hi everyone,

I hope you’re all doing well. I have a few questions about working with the 28388D and migrating from Code Composer Studio 12 to version 20.

First, when I tried to debug in CCS 20, I noticed I couldn’t find the option to automatically load both CPU1 and CPU2 when debugging, like I used to in the previous version. Could you point me to where this functionality is now, or how to set it up?

Second, I’d like to know the recommended way to structure a project. Is it better to keep all source files inside the project or to link them from the TI directories? Also, if there’s any tool or recommended process for migrating a project between CCS versions, that would be great to know—just to make sure I’m doing it the recommended way.

Third, I came across the driver.lib files in these newer versions. Is there any application note or documentation that explains the recommended way to use them in detail?

And lastly, sometimes I find it a bit challenging to locate the right application notes on the TI site. Is there a best path or a recommended way to find these documents, not just for the C2000 but in general? Any guidance on navigating that would be super helpful.

Thanks a lot for your help!

Best,

  • Hi Jose,

    Let me respond to you on this later today.

    Best Regards,

    Aishwarya

  • Jose,

    First, when I tried to debug in CCS 20, I noticed I couldn’t find the option to automatically load both CPU1 and CPU2 when debugging, like I used to in the previous version. Could you point me to where this functionality is now, or how to set it up?

    When you start a debug session by right-clicking on the project and selecting either "Debug Project" or "Project-less debug", it'll ask you to select which CPUs, you'd like to load code to. If you are already past that portion, you can directly edit the launch.json file by following the guidelines on this page: 7.1. Debug Overview — Code Composer Studio 20.4.0 Documentation.

    Second, I’d like to know the recommended way to structure a project. Is it better to keep all source files inside the project or to link them from the TI directories? Also, if there’s any tool or recommended process for migrating a project between CCS versions, that would be great to know—just to make sure I’m doing it the recommended way.

    You can refer to any examples within C2000WARE, MC SDK, and/or DP SDK, and utilize those as a starting point. The path to the starter SDK examples is as follows: C:\ti\c2000\C2000Ware_6_XX_XX_XX\driverlib\f2838x\examples\c28x.

    The C2000 Academy is also a good place to start: C:\ti\c2000\C2000Ware_6_XX_XX_XX\training.

    Third, I came across the driver.lib files in these newer versions. Is there any application note or documentation that explains the recommended way to use them in detail?

    The READMEs/docs found within the SDK (ie. C2000WARE) has information on all the driverlib function and how to use them at a high level. The driverlib files themselves detail what the functions are and how to use them. These resources in conjunction with the TRM (that describes registers, software usage, etc.) will be the best resources!

    The example paths to the README and docs are as follows: 

    C:\ti\c2000\C2000Ware_6_XX_XX_XX\device_support\f2838x\docs

    C:\ti\c2000\C2000Ware_6_XX_XX_XX\docs

    And lastly, sometimes I find it a bit challenging to locate the right application notes on the TI site. Is there a best path or a recommended way to find these documents, not just for the C2000 but in general? Any guidance on navigating that would be super helpful.

    If you know what device you are wanting to know about, you can navigate to the product page such as TMS320F28388D data sheet, product information and support | TI.com, and refer to the "Technical Documentation" section. In general, I've found doing a Google search in the "[product name] [topic] [(optional) device] [app note/e2e/etc.] ti.com" method works pretty well for me!

    Best Regards,

    Aishwarya

  • Hi Aishwarya,

    Thank you very much for the clarifications, they were really helpful.

    I still have one doubt regarding multicore projects on the F28388D. I was specifically looking for an example that uses CPU1, CPU2, and the CM (ARM Cortex-M4) together, but I couldn’t find a complete reference project that includes all three cores in the same application. Is there an official example or reference design that demonstrates this setup?

    I opened the cpu_dual_blink_sysconfig example and noticed that it uses core application projects, where CPU1 and CPU2 are linked out of the same project and can be loaded automatically together. That part is clear now.

    My question is:
    If I want to include the CM core in the same workflow, is this done by modifying the system.xml file? Or is there another recommended way to add the CM to this multicore setup?

    Also, is there a guide or documentation that explains:

    • how to use system.xml for CPU1/CPU2/CM projects,

    • how to create this file from scratch,

    • and how to configure it properly in CCS 20?

    I couldn’t find an option in CCS 20 to generate this file automatically, so I’m not sure what the recommended workflow is for creating a full multicore (CPU1 + CPU2 + CM) application starting from zero.

    Thanks again for your support and guidance.

    Best regards,
    José

  • José,

    Let me look into resources and get back to you by end of this week. 
    As always, I would recommend using an existing project and modifying the system.xml files accordingly. This is not dependent on CCS version by rather dependent on how the project is created in the first place. 

    Best Regards,

    Aishwarya 

  • Jose,

    These examples showcase how to configure the C28x and CM in the same project: C:\ti\c2000\C2000Ware_6_00_00_00\driverlib\f2838x\examples\c28x_cm.

    Best Regards,

    Aishwarya

  • Thank you for the information.

    I checked the examples you mentioned, and they are all based on a CPU1 + CM configuration.
    In my case, I am looking for a reference design using CM + CPU2 + CM, which seems to be missing from the current C2000Ware example set.

    Please let me know if there is any internal example, application note, or recommended reference for this configuration.

    Best regards,
    Jose

  • Jose,

    Yes, that's correct, but as I mentioned earlier the system.xml can be modified to include CPU2 and you can add the related .c and .syscfg file to the already existing C28x + CM projects. This is the suggestion from our SW team as well. I believe SysConfig doesn't support CM configuration as well.

    TMS320F28388D: Configure Sysconfig for CPU1 + CPU2

    TMS320F28388D: sysconfig for CPU1, CPU2, CM

    Introduction — C2000Tm Multicore Development Guide

    Best Regards,

    Aishwarya