Hi all, I am testing to configure node 2 and node 3 on module CAN1 to be linked to the inside can bus and out. My final aim is to transfer some data on cun node 1- 2 and receive it on can ...Read more
I am testing to configure node 2 and node 3 on module CAN1 to be linked to the inside can bus and out.
My final aim is to transfer some data on cun node 1- 2 and receive it on can nodes 1- 3 without any processing in the CPU.
no purifier configuration and messages to be transferred, no pack/ unpack function- just as simple as that loop back out.
so I set all needed configurations where I had the node working on normal mode( transfer and receive messages, filter, and messages defined), but also I removed the configurations of the filter and added to the configuration the needed flag
rc = canNodeConfig (& nodeConfig, reeCanNode);// set common configurations * nodeSfr = IfxCan_getNodePointer (nodeConfig.can,nodeConfig.nodeId); nodeSfr->NPCR.B.LOUT = 1;
for both nodes 1- 2 and 1- 3.
what eventually happens is that I send from an outside source and it looks like the CPU receives (no errors on the bus) but the other bus has errors on it.
how can I be sure that the messages entered into that node? will interrupt for TX/RX receive?
what should I do to test it correctly?
is the setup OK for my purpose? (loop back out)?
Thank YouRead less