I am a novice with microcontrollers so I assume this is a fairly simple issue. I want to be able to send messages back and forth between two TRK-KEA128 microcontrollers. I'm using the msCAN driver and the example project has a receive_DataFrame function and a send_DataFrame function. So I have one set to simply send a frame and the other set to receive the frame and then turn on a light signifying it was received. However, the receiver gets stuck in a loop where it looks for a flag that buffer_status == NEWDATA, which never triggers.
I don't know if there is something extra I must put in the code to send data over or if I simply made a mistake in the way the microcontrollers were wired to each other. In addition, both MCUs use a different computer to receive power. Can anyone give me some guidance of where I might have gone wrong?