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.
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.
Hi Srisai Vangara,
You should be able to find the similar issue in this thread - (2) DSP 28335 Problem clearing PieCtrlRegs.PIEACK - C2000 microcontrollers forum - C2000︎ microcontrollers - TI E2E support forums
And which one is preferable to use for this operation.
I would prefer to acknowledge the PIEACK bit using the .all operation for a specific group.
Please have a look at this thread for more clarity - (2) PIEACK issue - C2000 microcontrollers forum - C2000︎ microcontrollers - TI E2E support forums
Thanks
Aswin
Thank you for sharing the right thread.
So it works fine if we use PieCtrlRegs.PIEACK.bit.ACKx for read operations and to perform a write operation using PieCtrlRegs.PIEACK.all = PIEACK_GROUPx .
(x = group number).