Hello,
Thanks for your help. It has been certainly useful. I have tried the example MULTICAN_1_KIT_TC297_TFT and it works.
I can see the the loopback mode is enabled. In file MULTICAN.c
g_multican.canNodeConfig.loopBackMode = TRUE;
With loopback enabled I can see that as soon as I send a CAN message it is received.
I have tried to disable the loopback mode and connect two boards. One board sends CAN messages (by calling transmitCanMessage() ) and the other just checks if there is any message read. I have only changed in the example
g_multican.canNodeConfig.loopBackMode = FALSE;
for node 1 and node 2.
I have connected the CAN port of both board as indicated in the figure https://www.infineonforums.com/attac...6&d=1588338543
I have connected pin2 to pin2, pin3 to pin3 and pin4 to pin4.
But I don't receive any message. And actually the sending of the message I get error code IfxMultican_Status_notSentBusy.
What else do I need to do to get two boards communicating over CAN?
Thanks for your help,
Francis.
Thanks for your help. It has been certainly useful. I have tried the example MULTICAN_1_KIT_TC297_TFT and it works.
I can see the the loopback mode is enabled. In file MULTICAN.c
g_multican.canNodeConfig.loopBackMode = TRUE;
With loopback enabled I can see that as soon as I send a CAN message it is received.
I have tried to disable the loopback mode and connect two boards. One board sends CAN messages (by calling transmitCanMessage() ) and the other just checks if there is any message read. I have only changed in the example
g_multican.canNodeConfig.loopBackMode = FALSE;
for node 1 and node 2.
I have connected the CAN port of both board as indicated in the figure https://www.infineonforums.com/attac...6&d=1588338543
I have connected pin2 to pin2, pin3 to pin3 and pin4 to pin4.
But I don't receive any message. And actually the sending of the message I get error code IfxMultican_Status_notSentBusy.
What else do I need to do to get two boards communicating over CAN?
Thanks for your help,
Francis.