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.
Dear Champs,
I am asking this for our customer.
Is it possible to trigger a CLA task from another CLA task directly without interrupting CPU?
1) Is it possible to use CLA task1 completion to trigger CLA task2 by hardware?
2) Is it possible to use CLA task1 to trigger CLA task2 by software?
If yes, how to do that?
3) What if CLA task1 writes to a peripheral that CLA can access and then use it to trigger CLA task2? Do you think it makes sense?
For example,
CLA task1 to set EPWMx.ETFRC and then use EPWMx to trigger task2?
Any concern here?
Hi Wayne,
I will have a response to you on this tomorrow. Sorry for the delay.
Best Regards,
Delaney
Hi Wayne,
Delaney is out of the office today. Please allow for another 1-2 days for a response. Thanks for the patience in the meantime.
Best Regards,
Allison
Hi Wayne,
I apologize for the delay. Below are the answers to your questions:
This is not possible through hardware since the CLA doesn't have a CLA trigger source configuration option. However yes, they could do a CLA software trigger of task2 at the end of task1 using the CLA_forceTasks(CLA1_BASE,CLA_TASKFLAG_2);
function call.
I believe the third option you mention would also work, although it would be adding some unnecessary steps. I would recommend doing the software trigger in this case.
Best Regards,
Delaney