Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I have configured the three RX basic mailbox for which I am assigning the CAN ID (Extended ID)through code and trying to capture the data coming with these IDs in the CAN interrupt(CAN_ReceiveMsg()). It is storing some unknown data which is not at all on the bus. Also, observation is the IDs of the mailbox is getting change sometimes. Different from the ID which has been set through the code. It is taking some other CAN ID which CAN is receiving periodically on the bus.
Why it is storing unknown/junk data which is not at all on the bus from the desired basic mailbox ?
Is basic Rx mailbox can change it's ID by its own based on the messages coming on the bus?
Is using three basic mailbox is good way of design to capture data with three different extended CAN IDs and capturing data with these three IDs using ID filter in the interrupt?