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: Trigger PWM interrupts

Part Number: TMS320F28379D

hello, I'm triggering the CLA unit on the f28379d processor with a 100kHz pwm interrupt. my question is can I write code into the pwm interrupt function on the main processor that we use when triggering CLA? also, in which unit should I clear the pwm interrupt flag AND the PIR flag, is it in the CLA or pwm interrupt function?

  • Hi,

    It is okay to have a EPWM event triggering an interrupt on C28 core and a task on CLA. The pwm interrupt flag should be cleared by C28 only.

    What do you mean by PIR flag? Do you mean the FIR flag in PIE? This need not be cleared by software. It is cleared by hardware on ISR entry. ISR needs to clear the PIEACK

    Regards,

    Veena