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: Instructions......

Part Number: TMS320F28379D


Tool/software: Code Composer Studio

hello

i am going through some examples and i got some doubts 

what is the meaning of this instruction

PieCtrlRegs.PIEACK.all = PIEACK_GROUP3;

i can change the number 3 to 0,1,or 2,.....4.....n

this one had any relation with this instruction

IER |= M_INT3;
PieCtrlRegs.PIEIER3.bit.INTx1 = 1;

  • Hi,

    what is the meaning of this instruction

    PieCtrlRegs.PIEACK.all = PIEACK_GROUP3;

    When interrupt is fired for specific group, other interrupt can not be taken on same group unless it has been acknowledged. Above instruction is to acknowledge the GROUP 3 interrupt and is done inside ISR. Based on group interrupt, the number changes.

    this one had any relation with this instruction

    IER |= M_INT3;
    PieCtrlRegs.PIEIER3.bit.INTx1 = 1;

    Yes, IER enables the GROUP interrupt so in this case GROUP 3 is getting enabled.

    PieCtrlRegs enables different interrupt inside group. So in this case INTx1 in GROUP 3 is getting enabled. One can have different interrupt in a group enabled.

    As I mentioned in one of my earlier post, please refer the workshop and other documents for such information.

    Vivek Singh

  • Thank you Vivek
    so if it is like this means : INTx1 in GROUP1 is getting enabled
    IER |= M_INT1;
    PieCtrlRegs.PIEIER1.bit.INTx1 = 1;

    i am correct
  • That is correct.

    Vivek Singh