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: Urgent Issue with CMD File Configuration for CLA Math

Part Number: TMS320F28388D

Tool/software:

Dear TI experts,

I hope you can assist me with an issue I've been struggling with for two months. I am eager to find a solution. Here are the details:

Following up on my previous inquiry posted here: https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1350857/tms320f28388d-the-use-of-cla-math-lib, I've encountered an issue with the CMD file when using the CLA math function on the 28388D.

All calculations are correct with the "f2838x_cla_c_lnk.cmd" file:

However, when I switch to "2838x_RAM_CLA_lnkcpu1", there are no compile errors and warnings, but the calculations performed by the CLA yield results that are consistently zero, which is wrong.

Note: Why do I need to change this cmd file? Because "f2838x_cla_c_lnk.cmd" does not produce results in CPU2 (always zero), yet I require the CLA function to operate on CPU2. My initial plan was to switch to "2838x_RAM_CLA_lnkcpu1", and if successful, further switch to "2838x_RAM_CLA_lnkcpu2" to enable CLA functionality in CPU2. If you could advise on how to directly modify "f2838x_cla_c_lnk.cmd" to function correctly in CPU2, it would be greatly appreciated.

To simplify the verification process of that f2838x_cla_c_lnk.cmd" does not produce results in CPU2 (always zero), I ran a simple multiplier code on CPU2.

When I run this code using F2838x_RAM_Cla_lnk_cpu1, both vg and vg^2 display correctly in the expression table.

However, when I run the code using f2838x_cla_c_lnk.cmd, both vg and vg^2 show as 0 in the expression table.

Here is the one-drive link to the CCS project: 

https://unisydneyedu-my.sharepoint.com/:u:/g/personal/lwan6253_uni_sydney_edu_au/EewLXQt77rxKnTWQEoEwImgBanKcu9i6kdV9kiJU-fF_-A?e=gKuTqZ

Even if I relocate .bss in f2838x_cla_c_lnk from <RAMGS0_1, PAGE = 0> to <RAMLS7, PAGE = 1>, the results remain the same.

Best regards,

Eric