Hello,
I have some questions about the DCAN cell.
1) I need to get the bus-off and and wakeup interrupt, so I need to configure the EIE and SIE bit to get the interrupt on this cases.
But I also configure the Mailbox for reception with filtering, so I also have some interrupts due these mailbox.
My question is how to not get the status interrupt of RxOK and TxOK, because I don't need them. This makes a high number of DCAN interrupt for nothing, since I get interrupt for every CAN frames on the bus, even if thoses frames are not received by my node. I just want to manage the mailbox interrupt and error and wakeup.
2) I want to disable the automatic retransmission by setting the DAR bit. This is ok for me.
How can I know if the frame is not transmitted due to error or arbitration loss? is there an interrupt in this case? How can I make the difference between the cases?
Thanks for your feedback.