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.

TMS320F280049: Adding CLA support in existing CCS project

Part Number: TMS320F280049
Other Parts Discussed in Thread: C2000WARE

Hello,

We have a working CCS project without using CLA on F280049 MCU. In order to increase bandwidth, we wish to add CLA functionality in the existing project. Is there a step by step process on converting an existing non-CLA CCS project to include CLA functionality?

With regards,

Vijay

  • Hello Vijay, 

    I don't know of a step-by-step for this. It is a good question. A few things you will need to do:

    • Update the linker command file to include memory sections for the CLA. There are examples in C2000Ware device_support/<device>common/cmd
    • Update the initialization to enable the CLA, and give memory ownership to the CLA.
    • Decide what part of your code you want to move to a CLA Task. The CLA does best as a floating-point helper to the main CPU.
    • Decide on, and setup, the trigger(s) for your cla task(s) 
    • Create a shared .h file - our examples do this - with shared header file information. Shared globals should be defined in the .c file (not .cla).

    You may find https://software-dl.ti.com/C2000/docs/cla_software_dev_guide/index.html helpful. I would suggest starting out with a blank CLA project and test out your code first, then integrate it into your other project.

    Regards

    Lori

  • Hello Lori,

    Thanks for your help. We will follow the steps you suggested and refer the related online documentation on the subject for additional information and details.

    With regards,

    Vijay