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.
Hi team:
I would like to know whether other .c files in the project can call the functions defined in the .cla file?
If not, How can I do to make both .c file and .cla file access the same function?
Best regards
F.F said:I would like to know whether other .c files in the project can call the functions defined in the .cla file?
The C28x can't call a CLA task in the traditional sense - i.e. C28x main() calling clafunc() . The C28x can fire a task in SW, however, which will start the CLA and execute the code within that task. - i.e. C28x -> start CLA taskN .... CLA -> executes taskN.
The example projects provided in c2000Ware demonstrate how to set this up, populate the task vector for the cla code and perform a SW trigger.
You may also find the CLA hands-on-workshop useful. It is very good at describing the CLA, how to develop code for it, and also how to debug it in Code Composer Studio. I think you will find it helpful. Here is the link to the workshop:
Click here for more CLA FAQs and resources.
I hope this helps. If this answers your question, please click the green "Verified Answer" button.
Best Regards
Lori