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.

  • Resolved

[FAQ] CLA: Can the CLA interrupt the C28x CPU?

Guru 70215 points

Replies: 1

Views: 710

Q: Can the CLA interrupt the C28x CPU?  When and how can the CLA send an interrupt to the C28x?

Lori Heustess
C2000 Software Engineering

  • A:

    End of Task:  The CLA will send an interrupt to the PIE (peripheral interrupt expansion block) to let the main CPU (C28x) know a task has completed. Each task has an associated vector in the PIE. This interrupt is automatically fired when the associated task completes. For example when task 1 completes, CLA1_INT1 in the PIE will be flagged.   If this interrupt is not enabled, then the C28x will ignore it.

    Forced Interrupt:  This applies to CLA type 1 and later.   (Note: when this option is enabled it automatically disables the end of task interrupt).  The CLA has a Software Interrupt Capability, where a task can enable and force an interrupt to the main CPU. For example Task 1 can enable a software interrupt for task 2, by writing to the TASK2 bit of the CLA1SOFTINTEN register, and then forcing that interrupt by writing to the TASK2 bit of the CLA1SOFTINTFRC register.  

    Overflow and Underflow: There are dedicated interrupts in the C28x PIE for CLA floating-point overflow and underflow conditions.

    Click here for more CLA FAQs and resources.

    Lori Heustess
    C2000 Software Engineering

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.