Part Number: TMS320F28069
Hi Champs,
According to the TRM, PIEACK msut be cleared by SW.
However, PIEACK seems automatically cleared when 0 is written onto PIEIERx register.
Is it the correct behavior as TI's specification.
This is the example code for ADCINt1 ISR as follows:
interrupt void IntrHndr_adcint1( void )
{
volatile SDT_UINT16 u16_PieIer = (SDT_UINT16)PieCtrlRegs.PIEIER1.all;
IER |= M_INT1;
IER &= MINT1;
PieCtrlRegs.PIEIER1.all &= (SDT_UINT16)MG11; /* Note: MG11=0x0000. PIEACK is cleared after that. */
SDC_ASM_NOP;
EINT;
intrAdc_ConvEnd( );
PieCtrlRegs.PIEACK.all = 0x0001;
DINT;
PieCtrlRegs.PIEIER1.all = u16_PieIer;
}
Moreover, the PIEACK would be also cleared when the group interruptions are all disabled by PIEIERx register.
Could you please check if the condition are correct expectedly or not.
Thank you for your kind support.
Best regards,
Hitoshi