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.

TMS320F28379D: CLA task1 not work ,just run task8;

Part Number: TMS320F28379D


My cla code, initialize to set Task1 to ADC1 trigger. The rest are triggered by software. After the code has only run task8, it is not running Task1. Delete the initialization code of running task8, you can run Task1, and it runs normally.

  • Hi,

    CLA tasks cannot be nested. So, if CLA is executing Task 8 and it receives a trigger for Task1, it will start Task1 only after finishing Task8.

    Is Task8 running in a forever loop?

    Regards,

    Veena

  • Hi,

                 CLA is not nested. Task1 is triggered by ADC1 with a frequency of 40k. Other Tasks are triggered by software, and the program of Task8 is only called once in initialization. The problem is that as long as Task8 is called after initialization, the CLA will not run Task1. If you delete the program that initiated the call to Task8, Task1 will run normally.

         The picture below is my CLA initialization configuration and the calling program from Task1 to Task8. Please help me see why cla started running task 8 [Cla1Regs.MIRUN.bit . int8 ]has always been 1. CLA has been occupied, unable to execute other Tasks

  • Hi,

    Sorry for the delayed response.

    Could you share the project with us so that we can try it our at our end.

    Thanks and Regards,

    Veena