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

fdcan: don't reset CAN cores w/ disabled transceivers #2134

Closed
wants to merge 10 commits into from

Conversation

sshane
Copy link
Contributor

@sshane sshane commented Jan 29, 2025

No description provided.

@sshane
Copy link
Contributor Author

sshane commented Jan 30, 2025

This won't work. After ignition off, the transmit error counter builds and our new check will prevent the CAN core from being reset at quick pace, however once ignition is back, the messages in the STM buffer will be one by one sent to the CAN core after each reset. This PR just defers the CPU starving CAN core reset loop from ignition off to ignition on.

image

We'll need to rate limit the resets: #2137

@sshane sshane closed this Jan 30, 2025
@sshane sshane deleted the can-core-repro branch January 30, 2025 04:00
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