Tool/software:
Hellow:
I have a question about different CLATASKs as bellow:
I am currently using CLAtask2 and CLAtask3 in my projects,
task2 is forcibly triggered by the IACK instruction after sampling is completed in the ADC interrupt
Task3 Triggered by a PWM frequency higher than the adc interrupt rate.
Part of the CLA configuration is as follows:
Cla1Regs.MCTL.bit.IACKE = 1;
Cla1Regs.MIER.all = 0x00FF;
PieCtrlRegs.PIEIER11.all = 0xFFFF;
IER |= M_INT11;
DmaClaSrcSelRegs.CLA1TASKSRCSEL1.bit.TASK3 = 38U;
During debugging, I found that the number of times task3 was triggered was affected by the execution time of task2 tasks.
In the data book I see that CLA tasks cannot be nested, so when one task is executing, the other task has to wait for its completion.
Is that right? If so, does that mean that I can't achieve the desired goal with two CLA tasks, or can I solve the problem in another way.
THANK YOU!
