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.

CAN interrupts

Other Parts Discussed in Thread: AM3356

Hi,

We are using AM3356 on our custom platform. We are using CAN0 interface. We enabled all interrupts (IE0, SIE, EIE bits of CAN CTL register, table 23.4.1.1 in TRM). We also enabled HW filtering so that CAN message handler filters only required CAN packets in to message objects.

We are seeing lot of interrupts (RxOK) as part of status interrupts (in the order of thousands per second). When I check TRM, it says RxOK status interrupt is independent of acceptance filtering. Why is that like that? Main problem we are seeing sometimes CPU is starving. We can disable status interrupts so that we can avoid getting spurious RxOK interrupts, but we will also not get TxOK status which is not good. Is there any way to avoid RxOK status interrupts for all CAN packets when acceptance filtering is enabled? We will anyway get interrupt when required CAN packet gets in to one of the message objects as per the filters.

Thanks,

Srinivas