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.

TMS320F280038C-Q1: Acknowledge Specific PIE Vector on driver lib.

Part Number: TMS320F280038C-Q1


Tool/software:

Hello,

I have driverlib based project and I use ADC C that is triggered by an PWM channel. It works well. As you can below code, I acknowledge the group.

    // ================= Interrupt Flag Clear ================= //
    ADC_clearInterruptStatus(ADCC_BASE, ADC_INT_NUMBER1); // Clear the interrupt flag
    if(true == ADC_getInterruptOverflowStatus(ADCC_BASE, ADC_INT_NUMBER1))
    {
        ADC_clearInterruptOverflowStatus(ADCC_BASE, ADC_INT_NUMBER1);
        ADC_clearInterruptStatus(ADCC_BASE, ADC_INT_NUMBER1);
    }
    Interrupt_clearACKGroup(INTERRUPT_ACK_GROUP1);  // Acknowledge the interrupt
    // ================= ~~Interrupt Flag Clear ================= //

I just want to directly acknowledge the INT1.3 and not the all group 1. Can you provide me code section for this one? As a reminder, I use driverlib based project.

Kind regards,

  • Hi Gokhan,

    Each ACK only correlates to a specific ePIE group. There are no ACKs for individual interrupts inside groups. Each time an ISR is branched to, the ACK for the entire group will be "opened" automatically, which blocks other interrupts from the group from propagating during the execution of the ISR.

    I would recommend keeping your code as is, this is the recommended use.

    Best Regards,

    Delaney