hello
here is my coonfiguration code for the mailbox zero as receiving:
void ConfigMailBox_0_RX()
{
// configure reception mailbox0
ECanaRegs.CANME.bit.ME0 = 0; // disable mailbox 0
// set local acceptance mask
ECanaLam.LAM0.bit.LAM_H = 0x000;
// set standard identifier
//ECanaMboxes.MBOX0.MID.bit.MSGID_H = 0x000 << 2;
ECanaMboxes.MBOX0.MID.all = 0;
ECanaMboxes.MBOX0.MID.bit.IDE = 0; // configure to Standard Identifier
ECanMboxShadow.MBOX2.MID.bit.AAM = 0; // auto answer mode off
ECanaMboxes.MBOX0.MID.bit.AME = 0; // enable-1/disable-0 the usage of the acceptance mask
ECanaRegs.CANMD.bit.MD0 = 1; // Config as receive mailbox
ECanaRegs.CANME.bit.ME0 = 1; // enable mailbox 0
}
the issue that i have is that i'm receiving just messages with the 0x000 ID.
how do i set it up for receiving all the ID's?
thanks