adlerweb / asysbus

Arduino System Bus
GNU General Public License v3.0
27 stars 17 forks source link

Receiving no packages #8

Open benedikt-bartscher opened 6 years ago

benedikt-bartscher commented 6 years ago

I am trying to send and receive a package between two Arduino Nanos. I am using the SeedStudio CAN_BUS_Shield library (your fork is marked as deprecated). Sending and receiving is no problem with send_Blink and receive_Blink from SeedStudios library. But with your library i am only able to send packages...

adlerweb commented 5 years ago

No problems receiving packages over here. Keep in mind only valid aSysBus-Packages are parsed/processed.

adlerweb commented 5 years ago

Upstream readMsgBufID doesn't work as expected in some situations

graynet-dev commented 5 years ago

The problem is in the CAN_BUS_Shield library. If in the example send_Blink.ino set CAN.sendMsgBuf (0x70, 1, 8, stmp); RX is missing. The solution is to change mcp2515_initCANBuffers. I used the code from the library MCP_CAN coryjfowler.