I met a problem about CAN receive problem on the platform MPC5744P;the code looks below.I can send many datas(a frame as a data) on CAN0, for example,I want to receive IDs( 0x18776260,0x18786260,0x18796260); but I can not find the mistakes. Can anyone help me to solve it ?Thank you!
Hi,
given codes do not show how the RX MB is prepared, so hard to say. Also it looks you are using individual masking registers for acceptance filters (MCR[IRMQ] set), but nowhere those registers are initialized. Note this must be done in freeze mode.
BR, Petr