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.

TMS320F28377S: about PIEACK clear

Part Number: TMS320F28377S
Other Parts Discussed in Thread: CONTROLSUITE

Hi al,

The following two ISRs have different PIEACK clearing methods.

Which method is recommended (1) or (2)?

(1)  C:\ti\controlSUITE\device_support\F2837xS\v210\F2837xS_examples_Cpu1\usb_dev_bulk\cpu01\usb_dev_bulk.c

__interrupt void
SysTickIntHandler(void)
{
//
// Update our system tick counter.
//
g_ui32SysTickCount++;
PieCtrlRegs.PIEACK.all |= 1;
}

(2) C:\ti\controlSUITE\device_support\F2837xS\v210\F2837xS_examples_Cpu1\watchdog\cpu01\watchdog_cpu01.c

__interrupt void wakeint_isr(void)
{
WakeCount++;

//
// Acknowledge this interrupt to get more from group 1
//
 PieCtrlRegs.PIEACK.all = PIEACK_GROUP1;

}

Best regards,

Sasaki