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.

CCS/TMS320F28379D: TMS320FD28379D

Part Number: TMS320F28379D

Tool/software: Code Composer Studio

I am getting an error when trying to enable software interrupt from CLA task1... What is the method to set the CPU11.1 interrupt from software?

My code and the corresponding error is below:

__interrupt void Cla1Task1 ( void )
{

Cla1SoftIntRegs.SOFTINTEN.bit.TASK1 = 1;
Cla1SoftIntRegs.SOFTINTFRC.bit.TASK1 = 1; //Set CPU Interrupt from software
//This disables End-of-task interrupt
}

Error" #20 identifier "ClaSoftIntRegs" is undefined

  • Hi,

    I am looking into this issue and will get back shortly.

    Thanks

    Vasudha

  • Hi,

    You need to add follwing includes in shared.h files to use ClaSoftIntRegs in CLA code.

    #include "F2837xD_Cla_typedefs.h"
    #include "F2837xD_cla.h"

    Also, by default the end of task triggers the interrupt at CPU if the corresponding interrupt is enabled at C28x side. The software trigger is needed only SOFTINTEN is modified to one. If the above two lines are removed from the CLA code, the interrupt should be recieved at C28x side on task completion.

     Let me know if this resolves the issue. 

    Thanks

    Vasudha