Hello, thank you for always answering my questions.
Today, I ask a question because of the IF3 problem of CAN. My code is to send data using message box 1 and message box 2 of CAN1 IF1 and receive data to message box 1 and message box 2 of CAN2 IF3.
Obviously, I thought that if I sent message box 1 of CAN1 IF1, it would be received by message box 1 of CAN2 IF3.
However, in the first frame, CAN2 IF3 is received by message box 0.
As a result, data copy from CAN2 interrupt to RX buffer does not work normally, and even if data is transmitted from CAN1 again, data is not copied normally from CAN2.
From my tests, it looks like one frame is being sent with a delay.
Is it impossible to classify data by IF3 of CAN by distinguishing message box number? Or I'm wondering if I'm using it wrong.
Below is my code. Usage => (fWhile = 7) = send CAN1 IF1 message_box1, (fWhile = 8) = send CAN1 IF1 message_box2