-
-
Notifications
You must be signed in to change notification settings - Fork 235
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
MCP2515 bandwidth issues at 500K and 1Mbps -> SPI command optimizations #31
Comments
Thanks for filing this! |
Thank you @timurrrr ! With your fix I got 0% packets loss from over 30% when I tried multiple messages with the same time cycle. |
fterretf
added a commit
to fterretf/arduino-CAN
that referenced
this issue
May 23, 2023
fterretf
added a commit
to fterretf/arduino-CAN
that referenced
this issue
May 23, 2023
fterretf
added a commit
to fterretf/arduino-CAN
that referenced
this issue
Jun 1, 2023
-remove eCan3
fterretf
added a commit
to fterretf/arduino-CAN
that referenced
this issue
Jun 7, 2023
sandeepmistry#31 rework eCanBusId
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I made a few optimizations to improve the performance of the interface for the MCP2515. There are a couple of commands to reduce the overhead of the SPI to increase the data throughput to and from the MCP2515; LOAD RX BUFFER, RTS, and READ RX BUFFER. I added it endPacket() even though it doesn't matter as much since it waits for the packet to complete sending before returning (there is still an improvement), the improvement in parsePacket() is nice.
The text was updated successfully, but these errors were encountered: