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: Is bitwise operation and dot all operation for PIEACK register not same?

Part Number: TMS320F28379D

Hey!

I want to know the difference in the background operation when we clear a PIEACK bit either by .all operation or by .bit operation.

Because I have encountered a problem.

When I try to acknowledge the PIEACK bit using a .bit operation for a specific group the other group's PIEACK bits are also getting cleared.

But when I try to acknowledge the PIEACK bit using a .all operation for a specific group then the other group's PIEACK bits are not getting cleared and the specific group for which the PIEACK bit is cleared is done.

So what could be the difference in both the operations. And which one is preferable to use for this operation.

Test cases performed on Timer ISR:

Case 1: When in the timer ISR if I acknowledge other group PIEACK bit using .bit operation then still the timer Interrupt group PIEACK bit is getting acknowledged and next Timer Isr's are repeated.

Case 2: When in the timer ISR if I acknowledge other group PIEACK bit using .all operation then the next Timer ISR's are not repeated which holds the proper operation as per technical reference manual info.

Kindly help me with any sort of info on this.

Thank you.