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.

TMS320F280049C: control ISR in CLA

Part Number: TMS320F280049C
Other Parts Discussed in Thread: C2000WARE

Hi expert:

I want to offload the control ISR into CLA,and handle in CLA.

So I would like to know what tasks CLA is good at and what tasks it is not good at.

if there is some state machine, and a lot of  "if /else if" task in my control ISR, Does those task is recommend to be offloaded into CLA?

Best regard.

  • Hi, 

    Your query has been forwarded to an expert.

    Best Regards

    Siddharth

  • Hi,

    Here are some recommendations. 

    1. CLA is good at floating point compute and is generally used for offloading control algorithms.

    2. Integer computation and if-then-else code is not very efficient on CLA.

    3. If integer types are being used, it is recommended that any variables used as flags that are assigned state can be 16-bit integer type, but other variables especially those used in computation should be 32-bit.

    4. Inlining function calls is recommended for more efficient execution

    5. CLAmath library functions can be used for optimized math operation. C2000Ware has documentation listing math functions that are supported. 

    Thanks,

    Ashwini