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.
Tool/software: Code Composer Studio
Hello,
I'm trying to run the CLA task 8 every time ADC conversions from ADCINT1 to ADCINT8 take place, in order to do so, I'm using the SOCPRIORITY register to make SOC0 to SOC8 'High Priority' and using the same trigger from the EPWM to trigger all the conversions. Finally, I configured the ADCINT8 as a trigger to task 8 in the CLA and placed a GPIO11 toggle in the cla_isr8 to test the code. So far the conversions are taking place, and the cla_isr8 is been served (since the GPIO11 is toggling), however, it looks like the CLA isn't running at all since the counter I placed in task 8 isn't changing. I've seen almost every example in C2000ware referring to this topic, but no success so far. I suspect the problem comes when assigning the CLA memory in the linker command file. Could someone please give me some advice?
I'm attaching the project down below
Thank you in advance
Daniel,
A few things to check:
For futher guidence, the CLA hands-on-workshop 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.