Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receiving no packages #8

Open
benedikt-bartscher opened this issue Sep 20, 2018 · 3 comments
Open

Receiving no packages #8

benedikt-bartscher opened this issue Sep 20, 2018 · 3 comments
Labels

Comments

@benedikt-bartscher
Copy link

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
Copy link
Owner

adlerweb commented Nov 3, 2018

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

@adlerweb adlerweb added the feedback Waiting for feedback label Nov 4, 2018
@adlerweb adlerweb added bug and removed feedback Waiting for feedback labels Dec 4, 2018
@adlerweb
Copy link
Owner

adlerweb commented Dec 4, 2018

Upstream readMsgBufID doesn't work as expected in some situations

adlerweb added a commit that referenced this issue Dec 4, 2018
Currently using readMsgBufID will not correctly signal "no packet" and runs into a loop
Ref #8
@graynet-dev
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants