I am having trouble getting two F2812 nodes to communicate over CAN.
The physical configuration is two nodes connected over a bus along with a CAN-Analyzing program acting as a third listening node on the bus.
Using the v120 header files and sample code I am successfully able to run the "Example_281xECanBack2Back.c" program while in self-test mode (STM = 1).
Once I set STM to 0 (or remove it completely from compilation) then I get hung up on:
while(ECanaRegs.CANTA.all != 0x0000FFFF) {}
I figured that having both nodes transmitting the same thing could cause problems, so I removed the three lines responsible for transmission on the second node (though I did try it without disable those 3 lines as well.)
I've observed signals traveling over the bus with an oscilloscope and I am able to see error frames on the CAN-Analyzer, but they're not very well defined and often mention a delimiter issue or receiving an error frame.
I've also experimented a bit with the RMP bit and used other TI sample code (RXLoop.c) to try and configure the second node only for receiving.
Any more insight to this or possible options to continue trying would be greatly appreciated.