-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Fix: Determine if CAN TX is ongoing by reading from the TXBnCTRL register. #55
Conversation
Memory usage change @ f66a9ec
Click for full report table
Click for full report CSV
|
Thank you very much for the test. I'd prefer this variant to your PR, since it does not contain any busy-wait. If this is fine with you I'll merge this and close the other. As for the remaining errors ... possibly the CAN timings are too tight leading to frame errors due to out-of-margin bit-timings? Possibly also the SPI clock is too high for the MCP2515 resulting in bit errors during transmission? Those timing issues are hard to pin down ... |
Agree with you. Thanks for taking the time to check this and come up with a better solution. |
Possible alternate solution for #54, without busy waiting.
@pepeRossRobotics can you please test? 🙏