Hi,
I have a problem when I try to clear an interrupt (CHIPSIG3, event 31) triggered from the DSP (C67x) towards ARM.
It seems like the interrupt is not cleared after writing the correct "1" in CHIPSIG_CLR. Only second time the interrupt handler is invoked the interrupt is (?) properly cleared.
To verify this assumption I verify SRSR1 register and the corresponding bit (31) is cleared only second time.
Is there something I am missing? Some trick?
This is the code to clear the interrupt:
r = (volatile UINT32 *)((CHIPSIG_CLR))
*r = CHIPSIG3
with the proper lock/unlock for KICK0 and KICK1 registers.
So basically the problem is that I get called twice for the same interrupt.
Any ideas?
Thanks!