Skip to content

Fix slow frame handling #86

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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

sans-ltd
Copy link

@sans-ltd sans-ltd commented Apr 7, 2025

  • During our tests with recorded data from a cars CAN bus (500kBit/s) we had a loss of over 90% while forwarding from CAN0 to CAN1.
  • The main reason are were the sleeps in task_CAN()
  • To overcome the sleeps without stability issues, we moved the creation of the queues to _init()
  • The creation and deletion if the tasks ist still active, as introduced in the fix to assert failed: spinlock_acquire spinlock.h:122 #48
  • In addition, the extra init of task_LowLevelRX() was cleaned up

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

Successfully merging this pull request may close these issues.

1 participant