asysbus icon indicating copy to clipboard operation
asysbus copied to clipboard

Receiving no packages

Open benedikt-bartscher opened this issue 5 years ago • 3 comments

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...

benedikt-bartscher avatar Sep 20 '18 17:09 benedikt-bartscher

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

adlerweb avatar Nov 03 '18 21:11 adlerweb

Upstream readMsgBufID doesn't work as expected in some situations

adlerweb avatar Dec 04 '18 01:12 adlerweb

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.

graynet-dev avatar Jun 15 '19 22:06 graynet-dev