Other Parts Discussed in Thread: AM3359
DCAN Interrupt Problem on AM3359 although DCANxINT is 0
Hi all,
we have got a huge problem:
We are using the AM3359 with both DCAN interfaces. While communicating via CAN we sometimes have a strange behavior. In case of this failure the value of the DCANxINT register is 0. Although it is 0 the interrupt controller indicates a DCAN Interrupt. Hence the DCAN ISR is again and again called although the DCANxINT register is 0. Because of the recurring ISR no other code is able to execute.
Most of the time the interrupt service routine seems to work correctly. The error case occurs sporadically.
As a workaround in failure case, we set the DCAN controller in init mode, cleared and set the corresponding bit in the interrupt mask register and set the controller back in normal mode. Unfortunately this conclusion did not work.
I added the register view of the failure case. How we can clear the interrupt and how is it possible, that an interrupt is generated although the DCANxINT register is 0?
Does anyone have an idea?
Best regards,
Andreas
