Part Number: TMS320F280039C
Dear Champs,
I am asking this for our customer.
Can CLA in a running task clear another MIFR/MIOVF of another task (non-task8-background)?
In CLA task1, the user tried to clear task2 MIFR/MIOVF by the following codes, but it failed.
Would you please help check if there is anything wrong?
interrupt void Cla1Task1()
{
....
asm(" MEALLOW");
Cla1Regs.MIER.bit.INT2 = 0;
if (Cla1Regs.MIOVF.bit.INT2 == 1)
Cla1Regs.MICLROVF.bit.INT2 = 1;
if (Cla1Regs.MIFR.bit.INT2 == 1)
Cla1Regs.MICLR.bit.INT2 = 1;
Cla1Regs.MIER.bit.INT2 = 1;
asm(" MEDIS");
....
}
Wayne Huang
