when I use S32R274 CAN receive data, I want receive many data from different ids, i can receive many data form different ids by many MB . how to use one MB to receive many ids?
try to clear Mask register, either global or individual, whichever you use.
Clearing mask register the incomming ID is don't care and all IDs will be received into defined MB.
thanks for you reply. I will try it , thanks again.
there are some questions about MB , I set seven MB from MB to MB to receive ,but only MB,MB,MB,MB can be interrupted ,and MB,MB,MB can not be interrupted.
There is what I set IMASK
CAN_0.IMASK1.R = 0x0000007F;
do you know what i wrong.
did you also enable interrupt in INTC for vector #523 which belongs to CAN0 MB4-7?
Set INTC.PSR.R and define your ISR routine into vector table.
Retrieving data ...